|QUOTE (ashdexx @ May 19 2004, 05:23)|
| id like it to change the values for what ID numbers are assigned to police cars. but this might not be practical unless you also find the internal model loader, as so far you can only change them to a vehicle loaded externally by the main.scm.|
so maybe not...
i intend to build another asi-like plugin for gtavc to enable calling
internal code in gta-vc via the plugin, this way we could spawn cars anywhere..
some progress on my offsets:
this image is here just for fun..
i messed with pcj a bit.. and came up with this result, that
rotates pcj with swaped heading instead leaning:
to show what i mean again: this bike doesn't lean but instead it rotates its heading
like this, see the displaced lights:
and i found out some very vierd ways to hold on the bike
this is f*cking cool!!
(also notice the delphi 4 boxes on the floor
i have no idea how this happened, i just messed with the data,
here is 3000 bytes data dump for this bike (i don't know how many bytes vehicle blocks "cost") http://www.infofeast...he_vierd_pcj.cb
by editing and importing this file you should get this to import over another pcj and see the effect.. maybe..
ok, decimal-offsets now:
car block pointer +
if non-zero then the car is moving
if this is zero then the vehicle flies
otherwise it is some sort of suspension
pressure, watch it when car falls to
ground and tires are pushed upwards
unsigned single-byte value !! ??
doesn't seem to work on bikes..
4899147 = panzer cheat car Id
you can spawn normal cars with this, car doesn't get any tank abilities..
here is new version of P_Trainer: http://www.infofeast...p/p_trainer.zip
use the '~' key to access console now!
an example list of commands file is included
the syskeyhook dll hooks up system keyboard access
and sends the keys to the trainer app real-time,
many trainers use same methods, it is harmless and the best way.
to operate console:
use the '~' key and type commands, if all goes ok you will see the
effect otherwise you will be notified about errors.
the console is quite safe, it checks for valid player-model changing
and valid ide car numbers, but it doesn't detect bikes yet, so commands
like the one that "patches and reinflates" all car tires crash when used on a bike.
to test the thing:
put the files into gta-vc.exe dir and run the exe and load jernej.gcl file (my real
name is Jernej if you realy need to ask about the file-name)
then go to the gta-game and test keys 1-0 and Q, don't use the W key because
it is mapped to unsafe command!!!!!!!!!111!!!!!!!!!!!!!!!!!!!!1111!!!!!!!!!
some stuff is in the app for no reason or for debugging things (like buttons that are visible when you are in a car and some test bike-detection, leave that stuff)
have a productive hacking session (or something..)