Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Product Chat / can i make tanks shoot the player

Author
Message
da2020
16
Years of Service
User Offline
Joined: 26th Dec 2009
Location: C:\\Program Files\\
Posted: 29th Dec 2009 09:23 Edited at: 29th Dec 2009 10:54
i would like the to tank shoot at the player is it possible? if yes please tell me how.
Nomad Soul
Moderator
19
Years of Service
User Offline
Joined: 9th Jan 2007
Location: United Kingdom
Posted: 29th Dec 2009 11:11
Yes.

You need to make your tank entity into a character.

Place the firespot of the character at the end of the tanks gun. Make a duplicate of the WW2 bazooka and assign it to the tank but delete the vweap.x file so the bazooka doesn't actually appear on the tank.

Of course you'll need to do any animations e.g. turret rotation etc and custom AI script to make everything work.
charger bandit
16
Years of Service
User Offline
Joined: 10th Nov 2009
Location: Slovenia
Posted: 29th Dec 2009 12:25
No you dont need what Nomad Soul said.Your tank must be in two parts,one the body of tank and the other the top piece of the tank.Make the bottom piece static,then make the upper piece a character.Place the two parts and give the upper part this script as main script:



Give your upper part a weapon(preferably bazooka) and test

A.K.A djmaster
Marc Steene
FPSC Master
20
Years of Service
User Offline
Joined: 27th Mar 2006
Location: Bahrain
Posted: 29th Dec 2009 12:29
:state=0,plrdistwithin=800:rotatetoplr,shootplr
:state=0,plrdistfurther=900:state=1
:state=1:state=0

You spelled it 'dust' originally


THE ONLY WAY TO STAY OUT OF IGNORANCE IS TO KEEP ASKING
da2020
16
Years of Service
User Offline
Joined: 26th Dec 2009
Location: C:\\Program Files\\
Posted: 29th Dec 2009 13:00
how can i make the tank in 2 parts?
ace93
17
Years of Service
User Offline
Joined: 22nd Feb 2009
Location:
Posted: 29th Dec 2009 14:43
edit it.
charger bandit
16
Years of Service
User Offline
Joined: 10th Nov 2009
Location: Slovenia
Posted: 29th Dec 2009 15:14
Open it in milkshape or fragmotion,then look up on some tutorials how to detach parts and save each part.

A.K.A djmaster
FPSCgamerguy
User Banned
Posted: 29th Dec 2009 16:08
What about airplanes that fly and drop bombs(grenades)?
da2020
16
Years of Service
User Offline
Joined: 26th Dec 2009
Location: C:\\Program Files\\
Posted: 30th Dec 2009 05:37 Edited at: 20th Mar 2011 10:39
.....

Login to post a reply

Server time is: 2026-07-17 23:54:39
Your offset time is: 2026-07-17 23:54:39