#1 08-11-2008 06:55

Cenya
From: Missouri
Registered: 08-11-2008
Posts: 2

Changing Action Keys

[large]I have a bunch of CLEO mods and was wondering how and what I could edit to change what keys activate them.

So what in the code defines the keys for the mods?[/large]

Offline

#2 08-11-2008 07:08

Seemann
Registered: 07-08-2006
Posts: 2,155

Re: Changing Action Keys

Depends. It could be opcode 0AB0, or 00E1, or various techniques to make a cheat code (pressing a set of keys), like, for example, this one.

Offline

#3 08-11-2008 18:46

Cenya
From: Missouri
Registered: 08-11-2008
Posts: 2

Re: Changing Action Keys

well i mean like specifically for this mod...

zeti's ACC

it's zeti's Advanced Car Controls and I would like to change the code so that instead of "P" & "L" to turn on/off the engine, I want to use "Page Up" & "Page Down"
Also I would like "L" to control the lights

Where in his code can I change that and what do I change it to?

Offline

#4 08-11-2008 22:40

Seemann
Registered: 07-08-2006
Posts: 2,155

Re: Changing Action Keys

Decompile this script using Sanny Builder, find the lines similar to

0AB0:  key_pressed 100

and change the number (100 - key code) to an appropriate one (according to this list of key codes).

Offline

Board footer

Powered by FluxBB