Soldier_gun help
by Wayne Eversole · in General Discussion · 07/17/2011 (8:48 am) · 3 replies
Hello everyone. I created a gun in Milkshape and used the details from the Soldier_gun.
What I noticed is that the Soldier_gun will not shoot like a normal gun. It looks like
it shoots out the bullets randomly? How can I fix this and do I need to add anything to
the models other then the shape in Milkshape?
Thanks
What I noticed is that the Soldier_gun will not shoot like a normal gun. It looks like
it shoots out the bullets randomly? How can I fix this and do I need to add anything to
the models other then the shape in Milkshape?
Thanks
About the author
#2
07/17/2011 (1:58 pm)
The soldier's gun uses a spread factor, that is defined in the state machine I believe, which is what adds the randomness to the shots in onFire(). As for multiple projectiles, also take a look at onFire. That is where the projectiles are spawned and you can create more projectiles there for something like a shotgun.
Torque Owner Wayne Eversole
Default Studio Name
Thanks