Saturday, 23 February 2013

[Script] Fus Ro Dah power

This was another user request, its simple, detect pedestrians, objects and cars in front of player then push then away from player.

Download: GTA 4 Mods (GTA Garage)





When the user press the hotkey i play the intial sound ("Fus") and while the hotkey is down the amount of push force its increased.
When release the hotkey the player do an animation moving his head backward, when animation finish i detect the game objects and push them away and play the last sound ("Ro Dah")

To create some visual effect i draw one rectangle in entire screen and reduce its Alpha value until zero very fast, causing the impression of an flash, also i use one particle effect, an smoke, the idea its make it similar to wind effect

0 comments:

Post a Comment