09-21-2011, 15:35
Hello,
New tutorial, this is about a command that doesnt work in PC as far as I know(I dont know if they work with 360 controllers), is for Xbox360, PS3 and Wii players, it makes the controller vibrate in different ways, for the command you have to call it like this:
Example of a grenade rumble:
Here is a list of Rumbles:
Also, in xbox or whatever it is you can modify the rumble file, they work in a similar way to a weapon file:
AC130 example:
You can find lowRumbleFiles and highRumbleFiles in the rumble folder, these files load the data of the rumble, I dont really understand how they work.
Thats all
New tutorial, this is about a command that doesnt work in PC as far as I know(I dont know if they work with 360 controllers), is for Xbox360, PS3 and Wii players, it makes the controller vibrate in different ways, for the command you have to call it like this:
Code:
PlayRumbleOnPosition("rumble you want",position);
Example of a grenade rumble:
Code:
PlayRumbleOnPosition("grenade_rumble",self.origin);
Here is a list of Rumbles:
Spoiler (Click to View)
Code:
RUMBLE\lowRumbleFile\file that has the low rumble\highRumbleFile\file that has the high rumble\duration\in seconds\range\range it has\fadeWithDistance\set 1 to make it change its scale with the distance to the position where the rumble was played\broadcast\0
AC130 example:
Code:
RUMBLE\lowRumbleFile\damage_heavy_l.rmb\highRumbleFile\damage_heavy_h.rmb\duration\1\range\1024\fadeWithDistance\1\broadcast\0
You can find lowRumbleFiles and highRumbleFiles in the rumble folder, these files load the data of the rumble, I dont really understand how they work.
Thats all