Jump to content

remove some planes and a helicopter


Recommended Posts

I was wondering is there a cleo script that removes the planes and the helicopters that spawn at Verdant Meadows, and the raindance fron the beach in Los Santos? I've looked inside the main scm, but unfortunately my coding skills cover only changing some keys and placing vehicles. sad.gif If anybody could help I would appreciate it.

Link to comment
https://gtaforums.com/topic/461321-remove-some-planes-and-a-helicopter/
Share on other sites

With CLEO of course smile.gif

 

Find the handle of the parked car generator in the main.scm: They all start with 014B: for declaring the model, position, angle and colours.

once you found the handle(the global variable)

 

you create a CLEO script with this scheme:

 

{$CLEO .cs}0000:0A95:[bODY]0A93: 

 

 

You replace the whole [bODY] part with 014C: and change the last parameter to 0

 

example:

 

in my main:

 

014B: $parked_Rustler = init_parked_car_generator #STUNT color -1 -1 1 alarm 0 door_lock 0 0 10000 at 215.12 2466.1 16.52 angle 10.0

 

this spawns a rustler at the airport (I think)

and if I don't want it to spawn anymore, I overwrite the type of the generator in a script:

 

 

014C: set_parked_car_generator $parked_Rustler cars_to_generate_to 0

 

this disables the generator completely!

do this for all generators, you want to remove

btw.

 

and the raindance fron the beach in Los Santos?
ZAZ stripped main with externscripts?

 

cheers

 

i dont think all the planes are spawned with main.scm...thats the problem...

 

 

helicopters that spawn at Verdant Meadows

 

The ipls only spawn cars on public lots

 

The helicopters at the airports are placed by the script and especially the planes at the verdant meadows airport don't spawn all the time: the '#LEVIATHN' spawns after passing 'UP, UP in the sky' and the Rusterl after passing Torenos mission 'NOE'. This triggered spawns can't be controlled by the IPL, only by the scm

So, theres no problem

Edited by The_Siggi

Thx, but it didn't work, except for the leviathn. Also this is what I found in main

0004: $FLIGHT_SCHOOL_RECORDS[0] = 0

0004: $FLIGHT_SCHOOL_RECORDS[1] = 0

0004: $FLIGHT_SCHOOL_RECORDS[2] = 0

0004: $FLIGHT_SCHOOL_RECORDS[3] = 0

0004: $FLIGHT_SCHOOL_RECORDS[4] = 0

0004: $FLIGHT_SCHOOL_RECORDS[5] = 0

0004: $FLIGHT_SCHOOL_RECORDS[6] = 0

0004: $FLIGHT_SCHOOL_RECORDS[7] = 0

0004: $FLIGHT_SCHOOL_RECORDS[8] = 0

0004: $FLIGHT_SCHOOL_RECORDS[9] = 0

0004: $FLIGHT_SCHOOL_CONTESTS_PASSED = 1

0004: $FLIGHT_SCHOOL_CURRENT_CONTEST = 1

0004: $FLIGHT_SCHOOL_BRIEF_PLAYED = 0

0004: $PILOT_LICENSE_OBTAINED = 0

0004: $PARKED_RUSTLER_EXISTS = 0

0004: $PARKED_STUNT_EXISTS = 0

0004: $PARKED_HUNTER_EXISTS = 0

014B: $PARKED_RUSTLER = init_parked_car_generator #RUSTLER color -1 -1 1 alarm 0 door_lock 0 0 10000 at 325.12 2537.1 17.52 angle 180.0

014B: $PARKED_STUNT = init_parked_car_generator #STUNT color -1 -1 1 alarm 0 door_lock 0 0 10000 at 348.0 2537.1 17.42 angle 180.0

014B: $PARKED_HUNTER = init_parked_car_generator #HUNTER color -1 -1 1 alarm 0 door_lock 0 0 10000 at 365.51 2537.1 17.42 angle 180.0

014C: set_parked_car_generator $PARKED_RUSTLER cars_to_generate_to 0

014C: set_parked_car_generator $PARKED_STUNT cars_to_generate_to 0

014C: set_parked_car_generator $PARKED_HUNTER cars_to_generate_to 0

 

withch means the generator is already set to 0

P.S the raidance on the beach in LS is controlled by main

014B: $PARKED_PLANES[11] = init_parked_car_generator #RAINDANC color -1 -1 0 alarm 0 door_lock 0 0 10000 at 273.0045 -1876.038 5.2935 angle 271.51

 

Edited by cacat

 

{$CLEO}0000:0A95: enable_thread_saving// ALL of your 014C: lines0A93: end_custom_thread

 

 

search around for all positions of '#HYDRA' in the main, I use another main so $PARKED_HYDRA is in Grove street for me smile.gif

 

I think this is the one you are looking for, its spawning

 

014B: $parked_Planes[8] = init_parked_car_generator #HYDRA color -1 -1 0 alarm 0 door_lock 0 0 10000 at 292.0 2542.0 16.0 angle 180.0

 

 

so deactivate it with:

 

014C: set_parked_car_generator $parked_Planes[8] cars_to_generate_to 0 

 

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 0 User Currently Viewing
    0 members, 0 Anonymous, 0 Guests

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.