Blockland Forums > Modification Help
Changing explosion shape based on projectile velocity
Raeyok:
I'm trying to script a grenade-firing weapon and the grenade detonates in midair upon right clicking. Firstly, is the topic title even possible? If so, how on Earth would one go about doing it?
Red_Guy:
detonating the grenate when you right click is possible. Off the top of my head im not sure exactly how.
but "changing explosion shape based on projectile velocity" - what do you mean here? how do you want the explosion shape to change?
Raeyok:
For instance, if a grenade in real life shot from a weapon is traveling at over 100 fps, it won't explode in a spherical explosion, the explosion will rather blow outwards in the direction of travel. The faster the grenade is traveling upon detonation, the farther the explosion will blow forward.
WRB852:
What is the purpose of this? It seems to me that it's more work than it's worth.
otto-san:
--- Quote from: WRB852 on July 10, 2010, 01:38:08 AM ---What is the purpose of this? It seems to me that it's more work than it's worth.
--- End quote ---
--- Quote from: Raeyok on July 10, 2010, 12:23:55 AM ---if a grenade in real life
--- End quote ---
realism