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
20mm flak.....WHY!!!!!!!!!!
Moderator: Moderators
Model
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,
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,
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.
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.
