Author Topic: Projectile size?  (Read 843 times)

I want to use the GravityRocket projectile for a weapon, but I want it to fire small-sized rockets. How do I scale the rockets without creating an entirely new model?

Add your scale modifier to the ProjectileData datablock.

Add your scale modifier to the ProjectileData datablock.
Meaning:
Code: [Select]
projectileScale = X Y Z;or
Code: [Select]
scale = X Y Z;

or you can package the Projectile::onAdd, and then you do %projectile.setScale(x y z)

What are the variables to Projectile::OnAdd?

%this / %obj?

function Projectile::onAdd(%datablock,%projectile)