IMG

 
IMG
IMG   IMG
  Welcome to GTAForums! Be sure to check out the Grand Theft Auto V Forum.

You are not registered! (If you are, click here to login) Registering is fast, free and easy and allows you to instantly reply to any topic on GTAForums.
Why wait? Click here to register your own unique username and become part of the ever-growing community!


( Log In | Register | Revalidate Validation E-mail )
Quick Log-In:
  IMG
       
>
Forum Rules GTA Modification Forums

Please post mod releases in the Mod Showroom

GTAGarage.com
free mod hosting from GTANet, simply login with your GTAForums account details

GTAModding.com
GTANet's modding wiki

GTA Modding Chatroom
provided by irc.gtanet.com (Don't have an IRC client? Click here)


  Reply to this topicStart new topicStart Poll

 [HELP] Changing key to use in CLEO mod!

 
Burgerman1234  
Posted: Sunday, Jun 24 2012, 18:37
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Jun 24, 2012

XXXXX



Hello, I'd like to change the key to ] please! I've tried and read tutorials but to no avail. If someone could be so kind and pick the code out <3

CODE
// This file was decompiled using sascm.ini published by Seemann (http://sannybuilder.com/files/SASCM.rar) on 13.10.2007

{$VERSION 3.1.0027}
{$CLEO .cs}

//-------------MAIN---------------
thread 'FA18D_HORNET'
32@ = 0
0A9F: 4@ = current_thread_pointer
4@ += 16
0A8D: 4@ = read_memory 4@ size 4 virtual_protect 0
4@ -= -8270

:FA18D_HORNET_60
Model.Load(615)
038B: load_requested_models
if
  Model.Available(615)
jf @FA18D_HORNET_60
jump @FA18D_HORNET_90

:FA18D_HORNET_90
wait 0
gosub @FA18D_HORNET_8221
if and
056D:   actor $PLAYER_ACTOR defined
  Player.Defined($PLAYER_CHAR)
jf @FA18D_HORNET_90
0A8D: 1@ = read_memory 12010644 size 4 virtual_protect 0
1@ += 4
0A8D: 1@ = read_memory 1@ size 4 virtual_protect 0
2@ = 0
jump @FA18D_HORNET_169

:FA18D_HORNET_169
0A8D: 0@ = read_memory 1@ size 1 virtual_protect 0
1@ += 1
if and
 0@ >= 0
 128 > 0@
jf @FA18D_HORNET_255
005A: 0@ += 2@ // (int)
if
  Car.Model(0@) == #HYDRA
jf @FA18D_HORNET_255
gosub @FA18D_HORNET_298
jump @FA18D_HORNET_255

:FA18D_HORNET_255
2@ += 256
if
 2@ > 65280
jf @FA18D_HORNET_169
gosub @FA18D_HORNET_8418
jump @FA18D_HORNET_90

:FA18D_HORNET_298
gosub @FA18D_HORNET_3682
gosub @FA18D_HORNET_5545
gosub @FA18D_HORNET_3381
gosub @FA18D_HORNET_3585
0A97: 29@ = car 0@ struct
29@ += 1692
0A8D: 29@ = read_memory 29@ size 4 virtual_protect 0
29@ += 156
0A8D: 29@ = read_memory 29@ size 4 virtual_protect 0
0AB1: call_scm_func @FA18D_HORNET_7934 1 29@ 10@ 11@ 12@
0AB1: call_scm_func @FA18D_HORNET_7781 7 29@ 10@ 11@ 12@ 19.389 -18.931 0.0
0085: 28@ = 29@ // (int)
28@ += 152
0A8D: 28@ = read_memory 28@ size 4 virtual_protect 0
0A97: 13@ = car 0@ struct
13@ += 2440
0A8D: 13@ = read_memory 13@ size 4 virtual_protect 0
13@ *= 20.0
0AB1: call_scm_func @FA18D_HORNET_7934 1 28@ 10@ 11@ 12@
0AB1: call_scm_func @FA18D_HORNET_7781 7 28@ 10@ 11@ 12@ 0.0 0.0 13@
29@ += 156
0A8D: 29@ = read_memory 29@ size 4 virtual_protect 0
0AB1: call_scm_func @FA18D_HORNET_7934 1 29@ 10@ 11@ 12@
0AB1: call_scm_func @FA18D_HORNET_7781 7 29@ 10@ 11@ 12@ 19.389 18.931 0.0
0085: 28@ = 29@ // (int)
28@ += 152
0A8D: 28@ = read_memory 28@ size 4 virtual_protect 0
0AB1: call_scm_func @FA18D_HORNET_7934 1 28@ 10@ 11@ 12@
0AB1: call_scm_func @FA18D_HORNET_7781 7 28@ 10@ 11@ 12@ 0.0 0.0 13@
0A97: 14@ = car 0@ struct
14@ += 2156
0A8D: 14@ = read_memory 14@ size 2 virtual_protect 0
if
 14@ > 500
jf @FA18D_HORNET_800
14@ -= 500
0093: 14@ = integer 14@ to_float
14@ *= 0.02
jump @FA18D_HORNET_810

:FA18D_HORNET_800
14@ = 0.0

:FA18D_HORNET_810
29@ += 156
0A8D: 29@ = read_memory 29@ size 4 virtual_protect 0
0AB1: call_scm_func @FA18D_HORNET_7934 1 29@ 10@ 11@ 12@
0AB1: call_scm_func @FA18D_HORNET_7781 7 29@ 10@ 11@ 12@ 0.0 14@ 0.0
0085: 28@ = 29@ // (int)
28@ += 152
0A8D: 28@ = read_memory 28@ size 4 virtual_protect 0
0AB1: call_scm_func @FA18D_HORNET_7934 1 28@ 10@ 11@ 12@
0A97: 13@ = car 0@ struct
13@ += 2448
0A8D: 13@ = read_memory 13@ size 4 virtual_protect 0
13@ *= -20.0
0AB1: call_scm_func @FA18D_HORNET_7781 7 28@ 10@ 11@ 12@ 13@ 0.0 5.049
14@ *= -1.0
29@ += 156
0A8D: 29@ = read_memory 29@ size 4 virtual_protect 0
0AB1: call_scm_func @FA18D_HORNET_7934 1 29@ 10@ 11@ 12@
0AB1: call_scm_func @FA18D_HORNET_7781 7 29@ 10@ 11@ 12@ 0.0 14@ 0.0
0085: 28@ = 29@ // (int)
28@ += 152
0A8D: 28@ = read_memory 28@ size 4 virtual_protect 0
0AB1: call_scm_func @FA18D_HORNET_7934 1 28@ 10@ 11@ 12@
0A97: 13@ = car 0@ struct
13@ += 2448
0A8D: 13@ = read_memory 13@ size 4 virtual_protect 0
13@ *= 20.0
0AB1: call_scm_func @FA18D_HORNET_7781 7 28@ 10@ 11@ 12@ 13@ 0.0 -5.049
29@ += 156
0A8D: 29@ = read_memory 29@ size 4 virtual_protect 0
0AB1: call_scm_func @FA18D_HORNET_7934 1 29@ 10@ 11@ 12@
091F: get_plane 0@ landing_gear_status_to 16@
0097: make 16@ absolute_float
16@ -= 1.0
16@ *= 20.0
0AB1: call_scm_func @FA18D_HORNET_7781 7 29@ 10@ 11@ 12@ 16@ 0.0 20.49
29@ += 156
0A8D: 29@ = read_memory 29@ size 4 virtual_protect 0
0AB1: call_scm_func @FA18D_HORNET_7934 1 29@ 10@ 11@ 12@
0AB1: call_scm_func @FA18D_HORNET_7781 7 29@ 10@ 11@ 12@ 16@ 0.0 -20.49
16@ *= -1.0
29@ += 156
0A8D: 29@ = read_memory 29@ size 4 virtual_protect 0
0AB1: call_scm_func @FA18D_HORNET_7934 1 29@ 10@ 11@ 12@
0AB1: call_scm_func @FA18D_HORNET_7781 7 29@ 10@ 11@ 12@ 16@ 0.0 5.049
29@ += 156
0A8D: 29@ = read_memory 29@ size 4 virtual_protect 0
0AB1: call_scm_func @FA18D_HORNET_7934 1 29@ 10@ 11@ 12@
0AB1: call_scm_func @FA18D_HORNET_7781 7 29@ 10@ 11@ 12@ 16@ 0.0 -5.049
29@ += 156
0A8D: 29@ = read_memory 29@ size 4 virtual_protect 0
gosub @FA18D_HORNET_5279
18@ *= -15.0
0AB1: call_scm_func @FA18D_HORNET_7934 1 29@ 10@ 11@ 12@
0AB1: call_scm_func @FA18D_HORNET_7781 7 29@ 10@ 11@ 12@ 18@ 0.0 0.0
29@ += 156
0A8D: 29@ = read_memory 29@ size 4 virtual_protect 0
gosub @FA18D_HORNET_5417
18@ *= -15.0
0AB1: call_scm_func @FA18D_HORNET_7934 1 29@ 10@ 11@ 12@
0AB1: call_scm_func @FA18D_HORNET_7781 7 29@ 10@ 11@ 12@ 18@ 0.0 0.0
gosub @FA18D_HORNET_4650
29@ += 156
0A8D: 29@ = read_memory 29@ size 4 virtual_protect 0
0AB1: call_scm_func @FA18D_HORNET_7934 1 29@ 10@ 11@ 12@
19@ *= -20.0
0AB1: call_scm_func @FA18D_HORNET_7781 7 29@ 10@ 11@ 12@ 19@ 0.0 0.0
18@ *= 45.0
29@ += 156
0A8D: 29@ = read_memory 29@ size 4 virtual_protect 0
0AB1: call_scm_func @FA18D_HORNET_7934 1 29@ 10@ 11@ 12@
0AB1: call_scm_func @FA18D_HORNET_7781 7 29@ 10@ 11@ 12@ 18@ 0.0 0.0
29@ += 156
0A8D: 29@ = read_memory 29@ size 4 virtual_protect 0
095F: get_car 0@ componentA 2 rotation_to 19@
0097: make 19@ absolute_float
19@ *= 15.0
0AB1: call_scm_func @FA18D_HORNET_7934 1 29@ 10@ 11@ 12@
0AB1: call_scm_func @FA18D_HORNET_7781 7 29@ 10@ 11@ 12@ 19@ 0.0 0.0
gosub @FA18D_HORNET_4299
gosub @FA18D_HORNET_4537
gosub @FA18D_HORNET_4588
0087: 13@ = 17@ // (float)
13@ *= -90.0
29@ += 156
0A8D: 29@ = read_memory 29@ size 4 virtual_protect 0
0AB1: call_scm_func @FA18D_HORNET_7934 1 29@ 10@ 11@ 12@
0AB1: call_scm_func @FA18D_HORNET_7781 7 29@ 10@ 11@ 12@ 0.0 13@ 0.0
29@ += 156
0A8D: 29@ = read_memory 29@ size 4 virtual_protect 0
0AB1: call_scm_func @FA18D_HORNET_7934 1 29@ 10@ 11@ 12@
0AB1: call_scm_func @FA18D_HORNET_7781 7 29@ 10@ 11@ 12@ 0.0 13@ 0.0
29@ += 156
0A8D: 29@ = read_memory 29@ size 4 virtual_protect 0
0AB1: call_scm_func @FA18D_HORNET_7934 1 29@ 10@ 11@ 12@
0AB1: call_scm_func @FA18D_HORNET_7781 7 29@ 10@ 11@ 12@ 0.0 13@ 0.0
29@ += 156
0A8D: 29@ = read_memory 29@ size 4 virtual_protect 0
0AB1: call_scm_func @FA18D_HORNET_7934 1 29@ 10@ 11@ 12@
0AB1: call_scm_func @FA18D_HORNET_7781 7 29@ 10@ 11@ 12@ 0.0 13@ 0.0
13@ *= -1.0
29@ += 156
0A8D: 29@ = read_memory 29@ size 4 virtual_protect 0
0AB1: call_scm_func @FA18D_HORNET_7934 1 29@ 10@ 11@ 12@
0AB1: call_scm_func @FA18D_HORNET_7781 7 29@ 10@ 11@ 12@ 0.0 13@ 0.0
29@ += 156
0A8D: 29@ = read_memory 29@ size 4 virtual_protect 0
0AB1: call_scm_func @FA18D_HORNET_7934 1 29@ 10@ 11@ 12@
0AB1: call_scm_func @FA18D_HORNET_7781 7 29@ 10@ 11@ 12@ 0.0 13@ 0.0
29@ += 156
0A8D: 29@ = read_memory 29@ size 4 virtual_protect 0
0AB1: call_scm_func @FA18D_HORNET_7934 1 29@ 10@ 11@ 12@
0AB1: call_scm_func @FA18D_HORNET_7781 7 29@ 10@ 11@ 12@ 0.0 13@ 0.0
29@ += 156
0A8D: 29@ = read_memory 29@ size 4 virtual_protect 0
0AB1: call_scm_func @FA18D_HORNET_7934 1 29@ 10@ 11@ 12@
0AB1: call_scm_func @FA18D_HORNET_7781 7 29@ 10@ 11@ 12@ 0.0 13@ 0.0
29@ += 156
0A8D: 29@ = read_memory 29@ size 4 virtual_protect 0
0AB1: call_scm_func @FA18D_HORNET_7934 1 29@ 10@ 11@ 12@
0AB1: call_scm_func @FA18D_HORNET_7781 7 29@ 10@ 11@ 12@ 0.0 13@ 0.0
29@ += 156
0A8D: 29@ = read_memory 29@ size 4 virtual_protect 0
0087: 13@ = 16@ // (float)
13@ *= -65.0
0AB1: call_scm_func @FA18D_HORNET_7934 1 29@ 10@ 11@ 12@
0AB1: call_scm_func @FA18D_HORNET_7781 7 29@ 10@ 11@ 12@ 13@ 0.0 0.0
29@ += 156
0A8D: 29@ = read_memory 29@ size 4 virtual_protect 0
0087: 13@ = 16@ // (float)
13@ *= 19.0
0AB1: call_scm_func @FA18D_HORNET_7934 1 29@ 10@ 11@ 12@
0AB1: call_scm_func @FA18D_HORNET_7781 7 29@ 10@ 11@ 12@ 13@ 0.0 0.0
0085: 28@ = 29@ // (int)
28@ += 152
0A8D: 28@ = read_memory 28@ size 4 virtual_protect 0
0AB1: call_scm_func @FA18D_HORNET_7934 1 28@ 10@ 11@ 12@
0087: 13@ = 16@ // (float)
13@ *= 85.0
0AB1: call_scm_func @FA18D_HORNET_7781 7 28@ 10@ 11@ 12@ 13@ 0.0 0.0
gosub @FA18D_HORNET_4036
gosub @FA18D_HORNET_4537
gosub @FA18D_HORNET_4588
29@ += 156
0A8D: 29@ = read_memory 29@ size 4 virtual_protect 0
0AB1: call_scm_func @FA18D_HORNET_7934 1 29@ 10@ 11@ 12@
17@ *= 90.0
17@ += -90.0
0AB1: call_scm_func @FA18D_HORNET_7781 7 29@ 10@ 11@ 12@ -13.081 17@ 3.819
29@ += 156
0A8D: 29@ = read_memory 29@ size 4 virtual_protect 0
0AB1: call_scm_func @FA18D_HORNET_7934 1 29@ 10@ 11@ 12@
0AB1: call_scm_func @FA18D_HORNET_7781 7 29@ 10@ 11@ 12@ 0.0 41.1 0.0
0085: 28@ = 29@ // (int)
28@ += 152
0A8D: 28@ = read_memory 28@ size 4 virtual_protect 0
0AB1: call_scm_func @FA18D_HORNET_7934 1 28@ 10@ 11@ 12@
16@ *= -40.0
16@ += 40.0
0AB1: call_scm_func @FA18D_HORNET_7781 7 28@ 10@ 11@ 12@ 16@ 0.0 0.0
return

:FA18D_HORNET_3381
0A97: 15@ = car 0@ struct
15@ += 1069
0A8D: 15@ = read_memory 15@ size 1 virtual_protect 0
0A97: 10@ = car 0@ struct
10@ += 1668
0A8D: 10@ = read_memory 10@ size 4 virtual_protect 0
0AB1: call_scm_func @FA18D_HORNET_7934 1 10@ 11@ 12@ 13@
if and
 15@ == 208
 13@ > 0.025
jf @FA18D_HORNET_8219
0AB1: call_scm_func @FA18D_HORNET_7781 7 10@ 11@ 12@ 0.0 0.0 0.0 0.0
0AB1: call_scm_func @FA18D_HORNET_6897 4 0@ 0.0 9.2 0.44
0AB1: call_scm_func @FA18D_HORNET_7577 4 0@ 0.0 7.2 0.44
return

:FA18D_HORNET_3585
0A97: 10@ = car 0@ struct
10@ += 1668
0A8D: 10@ = read_memory 10@ size 4 virtual_protect 0
0AB1: call_scm_func @FA18D_HORNET_7934 1 10@ 11@ 12@ 13@
005B: 13@ += 30@ // (float)
0AB1: call_scm_func @FA18D_HORNET_7781 7 10@ 11@ 12@ 13@ 0.0 0.0 0.0
return

:FA18D_HORNET_3682
0A97: 10@ = car 0@ struct
10@ += 1300
0A8D: 10@ = read_memory 10@ size 4 virtual_protect 0
0A97: 18@ = car 0@ struct
18@ += 1660
0A8D: 18@ = read_memory 18@ size 4 virtual_protect 0
0AB1: call_scm_func @FA18D_HORNET_7934 1 18@ 19@ 11@ 12@
0092: 19@ = float 19@ to_integer
if
  not 10@ == 1
jf @FA18D_HORNET_3855
if
03CA:   object 19@ exists
jf @FA18D_HORNET_3814
Object.Destroy(19@)
jump @FA18D_HORNET_3814

:FA18D_HORNET_3814
0AB1: call_scm_func @FA18D_HORNET_7781 7 18@ 0.0 11@ 12@ 0.0 0.0 0.0
return

:FA18D_HORNET_3855
if
83CA:   not object 19@ exists
jf @FA18D_HORNET_4034
19@ = Object.Create(615, 0.0, 0.0, 0.0)
0750: set_object 19@ visibility 0
Object.CollisionDetection(19@) = False
Object.SetImmunities(19@, 1, 1, 1, 1, 1)
0AA5: call 4@ 3 pop 3 19@ 10.0 2.0
0681: attach_object 19@ to_car 0@ with_offset 0.0 -6.75 0.25 rotation 0.0 0.0 0.0
0093: 10@ = integer 19@ to_float
Object.RemoveReferences(19@)
0AB1: call_scm_func @FA18D_HORNET_7781 7 18@ 10@ 11@ 12@ 0.0 0.0 0.0

:FA18D_HORNET_4034
return

:FA18D_HORNET_4036
0A97: 16@ = car 0@ struct
16@ += 2156
0A8D: 16@ = read_memory 16@ size 2 virtual_protect 0
0A97: 10@ = car 0@ struct
10@ += 1660
0A8D: 10@ = read_memory 10@ size 4 virtual_protect 0
0AB1: call_scm_func @FA18D_HORNET_7934 1 10@ 11@ 19@ 12@
if and
 16@ > 0
 500 >= 16@
jf @FA18D_HORNET_4154
jump @FA18D_HORNET_4214
jump @FA18D_HORNET_4161

:FA18D_HORNET_4154
jump @FA18D_HORNET_4168

:FA18D_HORNET_4161
jump @FA18D_HORNET_4260

:FA18D_HORNET_4168
005B: 19@ += 30@ // (float)
if
 19@ > 2.0
jf @FA18D_HORNET_4207
19@ = 2.0

:FA18D_HORNET_4207
jump @FA18D_HORNET_4260

:FA18D_HORNET_4214
0063: 19@ -= 30@ // (float)
if
 0.0 > 19@
jf @FA18D_HORNET_4253
19@ = 0.0

:FA18D_HORNET_4253
jump @FA18D_HORNET_4260

:FA18D_HORNET_4260
0AB1: call_scm_func @FA18D_HORNET_7781 7 10@ 11@ 19@ 12@ 0.0 0.0 0.0
return

:FA18D_HORNET_4299
091F: get_plane 0@ landing_gear_status_to 16@
0A97: 10@ = car 0@ struct
10@ += 1660
0A8D: 10@ = read_memory 10@ size 4 virtual_protect 0
0AB1: call_scm_func @FA18D_HORNET_7934 1 10@ 11@ 12@ 19@
if
 16@ == 0.0
jf @FA18D_HORNET_4392
jump @FA18D_HORNET_4452
jump @FA18D_HORNET_4399

:FA18D_HORNET_4392
jump @FA18D_HORNET_4406

:FA18D_HORNET_4399
jump @FA18D_HORNET_4498

:FA18D_HORNET_4406
005B: 19@ += 30@ // (float)
if
 19@ > 2.0
jf @FA18D_HORNET_4445
19@ = 2.0

:FA18D_HORNET_4445
jump @FA18D_HORNET_4498

:FA18D_HORNET_4452
0063: 19@ -= 30@ // (float)
if
 0.0 > 19@
jf @FA18D_HORNET_4491
19@ = 0.0

:FA18D_HORNET_4491
jump @FA18D_HORNET_4498

:FA18D_HORNET_4498
0AB1: call_scm_func @FA18D_HORNET_7781 7 10@ 11@ 12@ 19@ 0.0 0.0 0.0
return

:FA18D_HORNET_4537
0087: 17@ = 19@ // (float)
17@ -= 1.0
if
 0.0 > 17@
jf @FA18D_HORNET_4586
17@ = 0.0

:FA18D_HORNET_4586
return

:FA18D_HORNET_4588
0087: 16@ = 19@ // (float)
if
 16@ >= 0.0
jf @FA18D_HORNET_4648
if
 16@ > 1.0
jf @FA18D_HORNET_4648
16@ = 1.0

:FA18D_HORNET_4648
return

:FA18D_HORNET_4650
0A97: 10@ = car 0@ struct
10@ += 1064
0A8D: 10@ = read_memory 10@ size 1 virtual_protect 0
046C: 11@ = car 0@ driver
if and
  not 10@ == 16
856D:   not actor 11@ defined
jf @FA18D_HORNET_4716
jump @FA18D_HORNET_5105

:FA18D_HORNET_4716
0A97: 13@ = car 0@ struct
13@ += 1184
0A8D: 13@ = read_memory 13@ size 4 virtual_protect 0
0A97: 14@ = car 0@ struct
14@ += 2156
0A8D: 14@ = read_memory 14@ size 2 virtual_protect 0
if or
 13@ > 0.5
 14@ > 2500
jf @FA18D_HORNET_4815
jump @FA18D_HORNET_4941
jump @FA18D_HORNET_4934

:FA18D_HORNET_4815
0A97: 14@ = car 0@ struct
14@ += 2020
0A8D: 14@ = read_memory 14@ size 4 virtual_protect 0
02E3: 15@ = car 0@ speed
if
  not 14@ == 1.0
  not 15@ >= 0.0
  not 0.1 >= 15@
jf @FA18D_HORNET_4927
if
 13@ >= 0.5
jf @FA18D_HORNET_4920
jump @FA18D_HORNET_4941

:FA18D_HORNET_4920
jump @FA18D_HORNET_4934

:FA18D_HORNET_4927
jump @FA18D_HORNET_5105

:FA18D_HORNET_4934
jump @FA18D_HORNET_5105

:FA18D_HORNET_4941
0A97: 10@ = car 0@ struct
10@ += 1668
0A8D: 10@ = read_memory 10@ size 4 virtual_protect 0
0AB1: call_scm_func @FA18D_HORNET_7934 1 10@ 19@ 18@ 12@
005B: 19@ += 30@ // (float)
if
 19@ > 1.0
jf @FA18D_HORNET_5030
19@ = 1.0

:FA18D_HORNET_5030
091F: get_plane 0@ landing_gear_status_to 14@
if
 14@ == 0.0
jf @FA18D_HORNET_5098
005B: 18@ += 30@ // (float)
if
 18@ > 1.0
jf @FA18D_HORNET_5098
18@ = 1.0

:FA18D_HORNET_5098
jump @FA18D_HORNET_5240

:FA18D_HORNET_5105
0A97: 10@ = car 0@ struct
10@ += 1668
0A8D: 10@ = read_memory 10@ size 4 virtual_protect 0
0AB1: call_scm_func @FA18D_HORNET_7934 1 10@ 19@ 18@ 12@
0063: 19@ -= 30@ // (float)
if
 0.0 > 19@
jf @FA18D_HORNET_5194
19@ = 0.0

:FA18D_HORNET_5194
0063: 18@ -= 30@ // (float)
if
 0.0 > 18@
jf @FA18D_HORNET_5233
18@ = 0.0

:FA18D_HORNET_5233
jump @FA18D_HORNET_5240

:FA18D_HORNET_5240
0AB1: call_scm_func @FA18D_HORNET_7781 7 10@ 19@ 18@ 12@ 0.0 0.0 0.0
return

:FA18D_HORNET_5279
0A97: 19@ = car 0@ struct
19@ += 2448
0A8D: 19@ = read_memory 19@ size 4 virtual_protect 0
19@ *= -1.0
0A97: 18@ = car 0@ struct
18@ += 2444
0A8D: 18@ = read_memory 18@ size 4 virtual_protect 0
005B: 18@ += 19@ // (float)
if
 18@ > 1.0
jf @FA18D_HORNET_5384
18@ = 1.0

:FA18D_HORNET_5384
if
 -1.0 > 18@
jf @FA18D_HORNET_5415
18@ = -1.0

:FA18D_HORNET_5415
return

:FA18D_HORNET_5417
0A97: 19@ = car 0@ struct
19@ += 2448
0A8D: 19@ = read_memory 19@ size 4 virtual_protect 0
0A97: 18@ = car 0@ struct
18@ += 2444
0A8D: 18@ = read_memory 18@ size 4 virtual_protect 0
005B: 18@ += 19@ // (float)
if
 18@ > 1.0
jf @FA18D_HORNET_5512
18@ = 1.0

:FA18D_HORNET_5512
if
 -1.0 > 18@
jf @FA18D_HORNET_5543
18@ = -1.0

:FA18D_HORNET_5543
return

:FA18D_HORNET_5545
068D: get_camera_position_to 11@ 12@ 13@
if
01AF:   car 0@ sphere 0 in_sphere 11@ 12@ 13@ radius 175.0 175.0 175.0
jf @FA18D_HORNET_8219
Car.StorePos(0@, 10@, 11@, 12@)
092E: get_water_height_at 10@ 11@ flag 0 store_to 16@
0087: 18@ = 16@ // (float)
16@ += 20.0
02CE: 17@ = ground_z_at 10@ 11@ 12@
02E3: 19@ = car 0@ speed
if and
0035:   16@ >= 12@ // (float)
0035:   18@ >= 17@ // (float)
 12@ >= 0.0
 19@ >= 40.0
jf @FA18D_HORNET_6030
12@ -= 20.0
0097: make 12@ absolute_float
12@ *= 0.005
0407: store_coords_to 17@ 18@ 10@ from_car 0@ with_offset 0.0 1.0 0.0
0407: store_coords_to 14@ 15@ 10@ from_car 0@ with_offset 0.0 0.0 0.0
0063: 17@ -= 14@ // (float)
0063: 18@ -= 15@ // (float)
17@ *= -1.0
18@ *= -1.0
0407: store_coords_to 14@ 15@ 16@ from_car 0@ with_offset 0.5 -15.79 0.2
092E: get_water_height_at 14@ 15@ flag 0 store_to 16@
095C: create_smoke_at 14@ 15@ 16@ velocity 0.0 0.0 2.5 RGBA 0.75 0.75 1.0 12@ size 2.0 last_factor 0.1
0407: store_coords_to 14@ 15@ 16@ from_car 0@ with_offset -0.5 -15.79 0.2
092E: get_water_height_at 14@ 15@ flag 0 store_to 16@
095C: create_smoke_at 14@ 15@ 16@ velocity 0.0 0.0 2.5 RGBA 0.75 0.75 1.0 12@ size 2.0 last_factor 0.1
jump @FA18D_HORNET_6030

:FA18D_HORNET_6030
02E3: 14@ = car 0@ speed
if
 14@ >= 40.0
jf @FA18D_HORNET_8219
0407: store_coords_to 17@ 18@ 19@ from_car 0@ with_offset 0.0 1.0 0.0
0407: store_coords_to 14@ 15@ 16@ from_car 0@ with_offset 0.0 0.0 0.0
0063: 17@ -= 14@ // (float)
0063: 18@ -= 15@ // (float)
0063: 19@ -= 16@ // (float)
06A2: get_car 0@ velocity_in_direction_XYZ 10@ 11@ 12@
02E3: 14@ = car 0@ speed
0073: 10@ /= 14@ // (float)
0073: 11@ /= 14@ // (float)
0073: 12@ /= 14@ // (float)
050A: 19@ = distance_between_XYZ 17@ 18@ 19@ and_XYZ 10@ 11@ 12@
if
 19@ >= 0.1
jf @FA18D_HORNET_8219
0407: store_coords_to 11@ 12@ 13@ from_car 0@ with_offset 4.8 -2.1 0.5
095C: create_smoke_at 11@ 12@ 13@ velocity 0.0 0.0 0.0 RGBA 1.0 1.0 1.0 19@ size 0.75 last_factor 0.005
0407: store_coords_to 11@ 12@ 13@ from_car 0@ with_offset 3.1 -2.0 0.5
095C: create_smoke_at 11@ 12@ 13@ velocity 0.0 0.0 0.0 RGBA 1.0 1.0 1.0 19@ size 0.75 last_factor 0.005
0407: store_coords_to 11@ 12@ 13@ from_car 0@ with_offset 3.9 -2.0 0.5
095C: create_smoke_at 11@ 12@ 13@ velocity 0.0 0.0 0.0 RGBA 1.0 1.0 1.0 19@ size 0.75 last_factor 0.005
0407: store_coords_to 11@ 12@ 13@ from_car 0@ with_offset 0.9 1.5 0.5
095C: create_smoke_at 11@ 12@ 13@ velocity 0.0 0.0 0.0 RGBA 1.0 1.0 1.0 19@ size 0.75 last_factor 0.005
0407: store_coords_to 11@ 12@ 13@ from_car 0@ with_offset -4.8 -2.1 0.5
095C: create_smoke_at 11@ 12@ 13@ velocity 0.0 0.0 0.0 RGBA 1.0 1.0 1.0 19@ size 0.75 last_factor 0.005
0407: store_coords_to 11@ 12@ 13@ from_car 0@ with_offset -3.1 -2.0 0.5
095C: create_smoke_at 11@ 12@ 13@ velocity 0.0 0.0 0.0 RGBA 1.0 1.0 1.0 19@ size 0.75 last_factor 0.005
0407: store_coords_to 11@ 12@ 13@ from_car 0@ with_offset -3.9 -2.0 0.5
095C: create_smoke_at 11@ 12@ 13@ velocity 0.0 0.0 0.0 RGBA 1.0 1.0 1.0 19@ size 0.75 last_factor 0.005
0407: store_coords_to 11@ 12@ 13@ from_car 0@ with_offset -0.9 1.5 0.5
095C: create_smoke_at 11@ 12@ 13@ velocity 0.0 0.0 0.0 RGBA 1.0 1.0 1.0 19@ size 0.75 last_factor 0.005
return

:FA18D_HORNET_6897
gosub @FA18D_HORNET_6955
0407: store_coords_to 10@ 11@ 12@ from_car 0@ with_offset 1@ 2@ 3@
06BC: create_M4_shoot_from 10@ 11@ 12@ target 16@ 17@ 18@ energy 200
0AB2: ret 0

:FA18D_HORNET_6955
0A97: 10@ = car 0@ struct
10@ += 2528
0A8D: 10@ = read_memory 10@ size 4 virtual_protect 0
if
  not 10@ == 0
jf @FA18D_HORNET_7473
10@ += 20
0A8D: 10@ = read_memory 10@ size 4 virtual_protect 0
10@ += 48
0A8D: 21@ = read_memory 10@ size 4 virtual_protect 0
10@ += 4
0A8D: 22@ = read_memory 10@ size 4 virtual_protect 0
10@ += 4
0A8D: 23@ = read_memory 10@ size 4 virtual_protect 0
0407: store_coords_to 10@ 11@ 12@ from_car 0@ with_offset 1@ 2@ 3@
050A: 13@ = distance_between_XYZ 10@ 11@ 12@ and_XYZ 21@ 22@ 23@
14@ = 400.0
0073: 14@ /= 13@ // (float)
0063: 21@ -= 10@ // (float)
0063: 22@ -= 11@ // (float)
0063: 23@ -= 12@ // (float)
006B: 21@ *= 14@ // (float)
006B: 22@ *= 14@ // (float)
006B: 23@ *= 14@ // (float)
005B: 21@ += 10@ // (float)
005B: 22@ += 11@ // (float)
005B: 23@ += 12@ // (float)
0087: 14@ = 2@ // (float)
14@ += 400.0
0407: store_coords_to 10@ 11@ 12@ from_car 0@ with_offset 1@ 14@ 3@
050A: 20@ = distance_between_XYZ 10@ 11@ 12@ and_XYZ 21@ 22@ 23@
if
 40.0 >= 20@
jf @FA18D_HORNET_7369
0208: 16@ = random_float_in_ranges -2.5 2.5
0208: 17@ = random_float_in_ranges -2.5 2.5
0208: 18@ = random_float_in_ranges -2.5 2.5
005B: 16@ += 21@ // (float)
005B: 17@ += 22@ // (float)
005B: 18@ += 23@ // (float)
return

:FA18D_HORNET_7369
0208: 13@ = random_float_in_ranges -5.0 5.0
0208: 14@ = random_float_in_ranges -5.0 5.0
0208: 15@ = random_float_in_ranges -5.0 5.0
005B: 13@ += 1@ // (float)
005B: 14@ += 2@ // (float)
14@ += 400.0
005B: 15@ += 3@ // (float)
0407: store_coords_to 16@ 17@ 18@ from_car 0@ with_offset 13@ 14@ 15@
return

:FA18D_HORNET_7473
0208: 13@ = random_float_in_ranges -7.5 7.5
0208: 14@ = random_float_in_ranges -7.5 7.5
0208: 15@ = random_float_in_ranges -7.5 7.5
005B: 13@ += 1@ // (float)
005B: 14@ += 2@ // (float)
14@ += 400.0
005B: 15@ += 3@ // (float)
0407: store_coords_to 16@ 17@ 18@ from_car 0@ with_offset 13@ 14@ 15@
return

:FA18D_HORNET_7577
068D: get_camera_position_to 11@ 12@ 13@
if
01AF:   car 0@ sphere 0 in_sphere 11@ 12@ 13@ radius 100.0 100.0 100.0
jf @FA18D_HORNET_7776
066C: 10@ = attach_particle "GUNFLASH" to_car 0@ with_offset 1@ 2@ 3@ rotation 0.0 1.0 0.0 flag 1
064C: make_particle 10@ visible
064F: remove_references_to_particle 10@
0407: store_coords_to 11@ 12@ 13@ from_car 0@ with_offset 1@ 2@ 3@
095C: create_smoke_at 11@ 12@ 13@ velocity 0.0 0.0 0.0 RGBA 1.0 1.0 1.0 0.5 size 0.2 last_factor 0.005
09F7: play_audio_at_car 0@ event 1157
0AB2: ret 0

:FA18D_HORNET_7776
0AB2: ret 0

:FA18D_HORNET_7781
4@ /= 180.0
4@ *= 3.141593
5@ /= 180.0
5@ *= 3.141593
6@ /= 180.0
6@ *= 3.141593
0@ += 16
0AA6: call_method 5878048 0@ num_params 3 pop 0 6@ 5@ 4@  
0@ += 48
0A8C: write_memory 0@ size 4 value 1@ virtual_protect 0
0@ += 4
0A8C: write_memory 0@ size 4 value 2@ virtual_protect 0
0@ += 4
0A8C: write_memory 0@ size 4 value 3@ virtual_protect 0
0AB2: ret 0

:FA18D_HORNET_7934
0@ += 64
0A8D: 1@ = read_memory 0@ size 4 virtual_protect 0
0@ += 4
0A8D: 2@ = read_memory 0@ size 4 virtual_protect 0
0@ += 4
0A8D: 3@ = read_memory 0@ size 4 virtual_protect 0
0AB2: ret 3 1@ 2@ 3@
0@ += 16
if
  not 1@ == 0
jf @FA18D_HORNET_8087
if
  not 1@ == 1
jf @FA18D_HORNET_8108
if
  not 1@ == 2
jf @FA18D_HORNET_8129
4@ = 0
5@ = 0
jump @FA18D_HORNET_8150

:FA18D_HORNET_8087
4@ = 4
5@ = 4
jump @FA18D_HORNET_8150

:FA18D_HORNET_8108
4@ = 0
5@ = 8
jump @FA18D_HORNET_8150

:FA18D_HORNET_8129
4@ = 0
5@ = 4
jump @FA18D_HORNET_8150

:FA18D_HORNET_8150
005A: 0@ += 4@ // (int)
0A8D: 6@ = read_memory 0@ size 4 virtual_protect 0
005A: 0@ += 5@ // (int)
0A8D: 7@ = read_memory 0@ size 4 virtual_protect 0
0604: get_Z_angle_for_point 6@ 7@ store_to 3@
3@ -= 270.0
0AB2: ret 1 3@

:FA18D_HORNET_8219
return

:FA18D_HORNET_8221
0093: 30@ = integer 33@ to_float
30@ *= 0.001
0A8D: 10@ = read_memory 12045156 size 4 virtual_protect 0
006B: 30@ *= 10@ // (float)
33@ = 0
return
hex
56 6A 00 68 0A D7 A3 3C 68 80 00 00 00 6A 00 68
00 00 80 3F 8B 4C 24 1C 51 8B 4C 24 24 51 68 00
00 60 41 8B 4C 24 30 51 8B 0D 9C 44 B7 00 B8 40
50 46 00 FF D0 83 C0 14 8B 08 8B 41 30 50 8B 41
34 50 8B 41 38 50 8B 35 C4 DA B6 00 56 83 C6 08
6A 1A 6A 13 8B CE B8 50 FE 4E 00 FF D0 8B 4C 24
10 51 8B 0D 9C 44 B7 00 B8 40 50 46 00 FF D0 50
8B CE B8 20 F8 4E 00 FF D0 56 B9 B0 2C B6 00 B8
10 FB 4E 00 FF D0 5E C3
end
hex
00 00 00 00 00 00 00 00 00 00 00 00
end

:FA18D_HORNET_8418
if
  Actor.DrivingVehicleType($PLAYER_ACTOR, #HYDRA)
jf @FA18D_HORNET_8658
03C0: 10@ = actor $PLAYER_ACTOR car
if
003B:   10@ == 5@ // (int)
jf @FA18D_HORNET_8708
0085: 5@ = 10@ // (int)
0A97: 11@ = car 10@ struct
11@ += 1069
if and
00E1:   player 0 pressed_key 8
00E1:   player 0 pressed_key 8
 32@ > 25
 40 >= 6@
jf @FA18D_HORNET_8553
6@ += 1
0A8C: write_memory 11@ size 1 value 208 virtual_protect 0
32@ = 0
return

:FA18D_HORNET_8553
0A8C: write_memory 11@ size 1 value 80 virtual_protect 0
if
  not 6@ >= 35
jf @FA18D_HORNET_8623
if and
 32@ > 50
 6@ > 0
jf @FA18D_HORNET_8219
6@ -= 1
32@ = 0
return

:FA18D_HORNET_8623
if
 32@ >= 2000
jf @FA18D_HORNET_8219
6@ = 0
32@ = 0
return

:FA18D_HORNET_8658
if
056E:   car 5@ defined
jf @FA18D_HORNET_8775
0A97: 11@ = car 5@ struct
11@ += 1069
0A8C: write_memory 11@ size 1 value 80 virtual_protect 0
jump @FA18D_HORNET_8775

:FA18D_HORNET_8708
if
056E:   car 5@ defined
jf @FA18D_HORNET_8758
0A97: 11@ = car 5@ struct
11@ += 1069
0A8C: write_memory 11@ size 1 value 80 virtual_protect 0
jump @FA18D_HORNET_8758

:FA18D_HORNET_8758
6@ = 0
03C0: 5@ = actor $PLAYER_ACTOR car
return

:FA18D_HORNET_8775
5@ = 0
6@ = 0
return

PM
  Top
 

 
JACK JONES  
Posted: Sunday, Jun 24 2012, 20:46
Quote Post


Booom!!!
Group Icon
Group: Members
Joined: Dec 6, 2011

sr.gif

XXXXX



CODE
0AB0:   key_pressed 0xDD

If you want to learn about key numbers of this opcodes then go Sanny Builder Help, CLEO 3 code library, new opcodes, 0AB0...


This post has been edited by JACK JONES on Sunday, Jun 24 2012, 20:49
PM
  Top
 

 
Burgerman1234  
Posted: Sunday, Jun 24 2012, 22:28
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Jun 24, 2012

XXXXX



There's only a 00E1 code, not a 0AB0 code in the script confused.gif
PM
  Top
 

 
JACK JONES  
Posted: Monday, Jun 25 2012, 05:47
Quote Post


Booom!!!
Group Icon
Group: Members
Joined: Dec 6, 2011

sr.gif

XXXXX



QUOTE
There's only a 00E1 code, not a 0AB0 code in the script

00E1 doesn't work that way - it only uses keyboard keys defined in SA controls. So replace 00E1 with the 0AB0 (with this opcode you can choose what ever key you want - DD is ]).
PM
  Top
 

 

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

0 Members:

Topic Options Reply to this topicStart new topicStart Poll
Search topic for posted by (exact match)



 
IMG IMG