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

Related Posts:

  • Adf.ly tipAs you can see i use Adf.ly in great part of my links to earn some money :)Yes, i need money, and to don't sell my mods i use Ads in links, it, generally, costs only 5 seconds of your life and who really pays is the owners of… Read More
  • [TUT] Flight ideas for pedsI know basically three ideas that can be used in GTA IV to simulate an ped flying.One: Control ped velocity propertyTwo: Control ped current vehicle speedThree: Control an object velocity, and attach the ped to this objectTo … Read More
  • Iron Man IV - Installation guide (based on last version)Last version of Iron Man IV may need some different steps to be installed, i will describe the installation step by step here.*** BEFORE TRY THIS MOD ***1-Make sure that you have at least GTA patch 1.0.4.0 installed2- Make su… Read More
  • Iron Man IV - Armor pack to replace mission charsThis armor pack has been setup to replace mission chars, this will avoid the add peds method side effects/"crashes".So if your game crash when you select an added armor or your EFLC not even opens, you should try this method … Read More
  • [TUT] AnimationsAnimations can give another look to an modification. In this tutorial i will show what i know about animations in GTA IV, you can download the code of this tutorial here and download the list of GTA IV animation here.We … Read More

0 comments:

Post a Comment