Game Development Community

AMMO

by James Reue · in Torque Game Engine · 12/11/2001 (1:12 pm) · 2 replies

Anyone know what the variable is that defines when the ammo drops.

I want to create a rifle where the bullet goes mostly straight until it
hits something.. i don't want it to drop as much as the defaul rifle does

thanks

#1
12/11/2001 (2:22 pm)
Change the muzzleVelocity in the datablock ProjectileData(RifleProjectile) in rifle.cs. The reason it's arching down is because its going so slow that gravity affects it.
#2
12/11/2001 (3:04 pm)
or, change gravitymod to something low... or both
Ryan