Author Topic: how to make projectiles scale with players  (Read 589 times)

i want to know this a bit quickly please and thank you

Be more specific - what exactly do you need help with?

Be more specific - what exactly do you need help with?
some projectiles will scale in size with the player, i believe. like rocket launcher rockets

being a player 5x larger will make you fire 5x larger rockets



some projectiles in other weapon add-ons however do not scale up with the player

%scale = getWord(%player.getScale(), 2); //projectiles and movement are scaled with the player's Z axis size by default.

look for the part in the custom weapon that creates the projectile - something akin to
%proj = new Projectile{
 datablock = something;
etc
};

and do %proj.setScale(%scale SPC %scale SPC %scale); on it i think.