Author Message

amilmand

00
Posts: 259

Location: ---
Occupation:
Age:
V$:
#158129   2019-09-28 00:59          
This may be of interest to some other people too maybe
Gorgoil asked for a way to set the max rpm more dynamically than to set it on the block and then updatevariables the chassis:

Ok I figured it out I think
The actual max rpm the game uses is in the runtime dyno data there is a pointer to it on the offset 0x1FBC from the base native chassis pointer the 6th float is the max rpm in the runtime dyno data
so to query:
RawEdit.getF(RawEdit.getI(player.car.chassis.getIndexedAddr(0x1FBC))+24);
to set
RawEdit.setF(RawEdit.getI(player.car.chassis.getIndexedAddr(0x1FBC))+24,7000,0);

proof:

This post was edited by amilmand (2019-09-28 01:07, ago)