Blockland Forums
Home
Help
Login
Register
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Projectile size?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Projectile size? (Read 843 times)
EV0_
February 07, 2015, 02:35:14 PM
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?
Ad Bot
Advertisement
Thorfin25
February 07, 2015, 02:37:45 PM
Add your scale modifier to the ProjectileData datablock.
EV0_
February 07, 2015, 02:42:54 PM
Quote from: Thorfin25 on February 07, 2015, 02:37:45 PM
Add your scale modifier to the ProjectileData datablock.
Meaning:
Code:
[Select]
projectileScale = X Y Z;
or
Code:
[Select]
scale = X Y Z;
Advanced Bot
February 07, 2015, 03:09:36 PM
or you can package the Projectile::onAdd, and then you do %projectile.setScale(x y z)
EV0_
February 07, 2015, 03:29:33 PM
What are the variables to Projectile::OnAdd?
%this / %obj?
Advanced Bot
February 08, 2015, 01:17:15 AM
function Projectile::onAdd(%datablock,%projectile)
Print
Pages: [
1
]
« previous
next »
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Projectile size?