Page 1 of 1
20mm flak.....WHY!!!!!!!!!!
Posted: Sat Aug 24, 2002 10:22 pm
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
Model
Posted: Sun Aug 25, 2002 3:03 am
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,
Posted: Wed Sep 04, 2002 9:21 am
by KcAX18
well first the script_model isnt a red box its blue
and i tryed it and it didnt work 4 me
Posted: Fri Sep 06, 2002 5:31 pm
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.