Jump to content
Sign in to follow this  
Genshiken

[Config] initSpeed parameter of weapon

Recommended Posts

Hello, I ve tried to alter the damage dealing by certain weapon using the same bullet class. Since bullet "hit" parameter is a damage at "typicalSpeed" parameter speed and then lineraly decreasing, I `ve set weapon initSpeed to 10 and thought it will decrease, but nothing changed. Can anyone explain me how this works?

Share this post


Link to post
Share on other sites

initspeed does nothing for weapons... you have to change initspeed for the magazines of that weapon.

If you want to reduce damage, reduce bullet hit property. Otherwise your bullet will exit the muzzle with 10 m/s and fall to the ground after a few meter, because that's what initspeed=10 does.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×