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)
ac130_25mm_fire
ac130_40mm_fire
ac130_105mm_fire
assault_fire
bodytoss_impact
controllerRumble
collapsing_building
crash_heli_rumble
crash_heli_rumble_rest
c130_flyby
damage_heavy
damage_light
defaultweapon_fire
defaultweapon_melee
dsm_rummage
falling_land
grenade_rumble
heavy_1s
heavy_2s
heavy_3s
heavygun_fire
icepick_climb
icepick_hang
icepick_release
icepick_slide
light_1s
light_2s
light_3s
jeepride_bridgesink
jeepride_cliffblow
jeepride_pillarblow
mig_rumble
minigun_rumble
pistol_fire
pistol_fire_auto
riotshield_impact
sheperd_pistol
shot_collapse
shotgun_fire
silencer_fire
smg_fire
sniper_fire
so_bridge_collapse
steady_h
steady_l
steady_rumble
stinger_lock_rumble
stryker_rumble
tank_rumble
viewmodel_large
viewmodel_medium
viewmodel_small
ac130_40mm_fire
ac130_105mm_fire
assault_fire
bodytoss_impact
controllerRumble
collapsing_building
crash_heli_rumble
crash_heli_rumble_rest
c130_flyby
damage_heavy
damage_light
defaultweapon_fire
defaultweapon_melee
dsm_rummage
falling_land
grenade_rumble
heavy_1s
heavy_2s
heavy_3s
heavygun_fire
icepick_climb
icepick_hang
icepick_release
icepick_slide
light_1s
light_2s
light_3s
jeepride_bridgesink
jeepride_cliffblow
jeepride_pillarblow
mig_rumble
minigun_rumble
pistol_fire
pistol_fire_auto
riotshield_impact
sheperd_pistol
shot_collapse
shotgun_fire
silencer_fire
smg_fire
sniper_fire
so_bridge_collapse
steady_h
steady_l
steady_rumble
stinger_lock_rumble
stryker_rumble
tank_rumble
viewmodel_large
viewmodel_medium
viewmodel_small
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