20mm flak.....WHY!!!!!!!!!!

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
KcAX18
Corporal
Posts: 37
Joined: Sat Jul 20, 2002 7:57 am
Location: australia
Contact:

20mm flak.....WHY!!!!!!!!!!

Post by KcAX18 »

hello
i have made a 20mm flak in my map and i made it point to the sky but when i compile it and play it is faceing straigt ahead
WHY!!!!!!
thx
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

Model

Post by tltrude »

I have had that problem too. Try turning it into a script_model. To do that, you create a small brush and hit key N. Then double click on script_model. The brush will turn into a small red box. Now add the path to the model tik file like this:

model
models/statweapons/20mmflak.tik

You can change the angles by putting this in as well:

angles
90 0 0

These may not be the right numbers for your gun, but the three numbers are pitch, yaw, and roll.

Good luck,
Tom Trude,

Image
KcAX18
Corporal
Posts: 37
Joined: Sat Jul 20, 2002 7:57 am
Location: australia
Contact:

Post by KcAX18 »

well first the script_model isnt a red box its blue

and i tryed it and it didnt work 4 me
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Try adding a script_origin on the location you want your cannon to aim at.
Then add the following line to your map script:
$[gun] setaimtarget $[target]
where '[gun]' is the targetname of your cannon and '[target]' the targetname of the script_origin.
For this to work, you must use the 'turret_weapon' version of the gun and not a script_model.
Post Reply