Post: Controller Vibration/Rumble [C#] [1.17]
05-01-2014, 06:25 AM #1
Shark
Retired.
(adsbygoogle = window.adsbygoogle || []).push({}); Since a few people have asked me about how to make your controller vibrate/rumble when you want it, idk maybe for a menu or something like enstone does in his menu... but anyway

    
//Offsets I used
//G_AddEvent = 0x279950
//G_Entity = 0x16B9F20
//G_RumbleIndex = 0x276BB8
//Rumble Event = 0x70

public static uint G_Entity(int entityIndex, uint Mod = 0x00)
{
return (0x16B9F20 + (UInt32)Mod) + ((uint)entityIndex * 0x31C);
}

public static int G_RumbleIndex(string RumbleName)
{
return RPC.Call(0x276BB8, RumbleName);
}

public static void playRumble(int clientIndex, int RumbleIndex)
{
if (RumbleIndex != 0)
{ RPC.Call(0x279950, G_Entity(clientIndex), 0x70, RumbleIndex); }
}


How To Use It
    
playRumble(0, 13);
//Will Play A Soft Rumble on Client 0
//If You Know Any Rumble Names You Can Do
playRumble(0, G_RumbleIndex("RumbleNameHere"));//I dont know any rumble names so yea :p


If you wish to find this yourself on other cods idk like bo1, ghost, mw3 you can find the function "ScrCmd_PlayRumbleInternal(int event)" and reverse it like I have for bo2 :p

You must login or register to view this content.

Yes this is done in IDA!
(adsbygoogle = window.adsbygoogle || []).push({});

The following 10 users say thank you to Shark for this useful post:

-SuperMan, ALI ALHILFI, ImAzazel, Luphox, Mango_Knife, Notorious, RouletteBoi, Hash847, xPAQz
05-01-2014, 06:34 AM #2
Luphox
Bounty hunter
Good work Sharky! Happy
05-01-2014, 06:39 PM #3
seb5594
Proud Former Admin
Nice shark i had this too but i have it done in a other way (CG_RumbleOnEntity or what the func is)
Here are some Rumble Names...

Originally posted by another user
damage_heavy
reload_large
reload_small
reload_clipout
reload_rechamber
dtp_rumble
05-01-2014, 09:33 PM #4
Shark
Retired.
Originally posted by seb5594 View Post
Nice shark i had this too but i have it done in a other way (CG_RumbleOnEntity or what the func is)
Here are some Rumble Names...


seb noob CG_ shit only works for local clients, so ive heard :fa:
05-01-2014, 09:40 PM #5
seb5594
Proud Former Admin
Originally posted by Shark View Post
seb noob CG_ shit only works for local clients, so ive heard :fa:


CG_GetWeaponIndexForName is local only? :fa:
Yeah i know the func i had is local only ^^
05-01-2014, 09:41 PM #6
Shark
Retired.
Originally posted by seb5594 View Post
CG_GetWeaponIndexForName is local only? :fa:
Yeah i know the func i had is local only ^^


some cg_ functions are fun to fuck around with tears

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo