Coding

 Reply to this postStart new topic

[Help] Making Rev Counter

Albreht
post Mar 3 2012, 09:15 AM
Post #1


Trained Newbie

Posts: 21
Joined: 19-February 12



i want to make rev counter,
CamHack rev counter is perfect but i want to make it as CLEO.

so if someone knows memory address or good method, plz tell me! smile.gif
Go to the top of the page
 
+Quote Post
Deji
post Mar 3 2012, 11:58 AM
Post #2


Coding like a Rockstar!

Group Icon

Posts: 1,468
From: ???
Joined: 28-May 09



There's nothing specifically documented to revs in the vehicle structure. It'd be best to find out how CamHack did it first.

Some useful struct members...
CODE
49C m_fGasPedal
4A0 m_fBreakPedal
4B4 currentGear
4B8 m_fGearChangeCount

(CAutomobile)
880 GasPedalAudioRevs


--------------------
Go to the top of the page
 
+Quote Post
Albreht
post Mar 6 2012, 03:05 PM
Post #3


Trained Newbie

Posts: 21
Joined: 19-February 12



QUOTE (Deji @ Mar 3 2012, 08:58 PM) *
There's nothing specifically documented to revs in the vehicle structure. It'd be best to find out how CamHack did it first.

Some useful struct members...
CODE
49C m_fGasPedal
4A0 m_fBreakPedal
4B4 currentGear
4B8 m_fGearChangeCount

(CAutomobile)
880 GasPedalAudioRevs


thank you for reply ^^

i thought disassembling CamHack is fast too
but i cannot disassembling :/
i have to learn it XD

880 GasPedalAudioRevs
this address is [float] and shows engine sound length right?
Go to the top of the page
 
+Quote Post
Deji
post Mar 6 2012, 08:43 PM
Post #4


Coding like a Rockstar!

Group Icon

Posts: 1,468
From: ???
Joined: 28-May 09



I assume it's an RPM value to determine the appropriate engine audio parameters. You might be able to use it, but it'd be better to trace the value and see if there's something more suited first.


--------------------
Go to the top of the page
 
+Quote Post
Albreht
post Jun 12 2012, 11:08 AM
Post #5


Trained Newbie

Posts: 21
Joined: 19-February 12



i found memory address.
CODE
0x280 - size 2 byte - Current RPM


and i wish i could find current gear address smile.gif
Go to the top of the page
 
+Quote Post
Reply to this postStart new topic

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: