Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. Red Dead Redemption 2

      1. Gameplay
      2. Missions
      3. Help & Support
    2. Red Dead Online

      1. Gameplay
      2. Find Lobbies & Outlaws
      3. Help & Support
    1. Crews & Posses

      1. Recruitment
    2. Events

    1. GTA Online

      1. Arena War
      2. After Hours
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Grand Theft Auto Series

    3. GTA Next

    4. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    5. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA Mods
    6. GTA Chinatown Wars

    7. GTA Vice City Stories

    8. GTA Liberty City Stories

    9. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    10. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    11. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    12. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    13. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    3. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption

    2. Rockstar Games

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Programming
      5. Movies & TV
      6. Music
      7. Sports
      8. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. News

    2. Forum Support

    3. Site Suggestions

gtasearcher

[CLEO|SA]Making your own very special savegame

Recommended Posts

gtasearcher

What?

Let's say you want to make a savegame with custom objects, pick-ups, cars etc.

 

That also can be done with Hex Editing!

I know, but some people (such as me biggrin.gif) don't know how to do that.

 

The Guide

 

1. Adding custom cars

First make sure you have Sanny Builder and CLEO installed.

 

Open Sanny Builder and write

{$CLEO .cs}

in the first line.

Then, leave a blank line, and write

014B: $CAR_IN_GROVE = init_parked_car_generator #ADMIRAL color 7 -1 1 alarm 0 door_lock 0 0 10000 at 2474.671 -1670.463 13.3292 angle 184.3857

 

Practicly the car generator isn't done yet - it only stores it's variable and spawn position (for the test, I spawend it in The Grove, you can spawn it anywhere, just change the coords. Also the $CAR_IN_GROVE variable can be changed.

 

Now write

014C: set_parked_car_generator $CAR_IN_GROVE cars_to_generate_to 101

 

If you changed the variable $CAR_IN_GROVE in the other line, make sure to change it here, too.

 

It's important to add in the last line

0A93: end_custom_thread 

 

 

Now save and compile in your "CLEO" folder with any name. Now run the game!

user posted image

 

Now save the game (it's easier to make sure you have the save anywhere cleo mod so you can save anywhere).

 

Then, rename "cleo.asi" (from your game folder) into "cleo.asi.cleo".

 

Now run the game!

Voila! The car still spawns, and CLEO is practicly deactivated! The cars will only generate for that save, and you CAN'T make them disspaer from it EVER biggrin.gif

 

2. Adding custom pick-ups

Follow the same steps as above to create a cleo, but don't add the 2 car generator lines and end_custom_thread.

 

Now add

032B: $GUN_IN_GROVE = create_weapon_pickup #AK47 group 15 ammo 150 at 2492.342 -1657.895 13.3563

 

This will create an AK-47 in the Grove; note that "group 15" makes it spawn only once... Again, all the parameters and variables can be changed...

 

Add the "0A93: end_custom_thread" as above.

 

Save and compile.

user posted image

 

Now do the same as with the custom cars, save the game, turn off cleo, fire up the game, and load the savegame! The pick-up will still be there, but because it's "group 15" once it's picked up, it will never spawn again sad.gif

 

3. Adding custom objects

Follow exactly the same steps as above, but replace

032B: $GUN_IN_GROVE = create_weapon_pickup #AK47 group 15 ammo 150 at 2492.342 -1657.895 13.3563

with

$GROVE_OBJECT = Object.Create(#WHEEL_SR4, 2498.312, -1671.024, 13.3433)

 

Again, all the parameters, coords and variables can be changed...

 

Add the "0A93: end_custom_thread" as above.

 

Save and compile.

user posted imageAnd you got your own not-solid floating wheel biggrin.gif

 

Again, save the game, turn off cleo, fire up the game, load the savegame! The wheel will still be there.

 

 

4. Adding custom Unique Stunt Jumps

This is actually a bit easier than it may seem.

 

First, do the same as above to create a CLEO, but don't put in anything but {CLEO .cs}.

 

Then, write

0814: define_unique_jump_start 1551.926 -1337.629 330.0676 radius 2.5 2.728 3.17 land 1571.42 -1301.696 322.7709 radius 11.134 5.398 7.23 camera 1560.21 -1268.568 277.8686 reward 1000

 

Let me explain a bit.

 

The define_unique_stunt_jump_start X Y Z will define where the player has to be to trigger the jump.

The radius X Y Z will define the radius of the point specified above where the player has to be to trigger the jump.

 

The land X Y Z will define where the player has to PASS to get the reward; going further will not stop him from completing the jump; for some jumps where you can land in a large area it's best to put this airbone.

The radius X Y Z will define the radius of the point specified above where the player has to pass to get the reward.

 

The camera X Y Z will define where the cinematic slow-mo camera will be; it will stay in the same position, but it will look in the direction of the player.

 

The reward 1000 defines the reward the player gets; in our case, I set it to $1000.

 

Now add

0A93: end_custom_thread

 

 

Save and compile.

user posted imageuser posted imageuser posted image

 

Now save the game, turn off cleo, load the game - the jumps will still be there! Note as they don't in the normal game, they won't count towards 100%... and I think there's no limit of them.

 

 

Be creative!

Edited by gtasearcher

Share this post


Link to post
Share on other sites
coin-god

Actually, this is a Coding Tutorial. Not really a savegame editor or creator.

 

But its good icon14.gif

Share this post


Link to post
Share on other sites
gtasearcher

 

Actually, this is a Coding Tutorial. Not really a savegame editor or creator.

 

But its good icon14.gif

Thanks!

 

This was actually my first sucseded attempt to make a fully-working cleo. (sometimes it crashed, sometimes it didn't worked)

 

P.S. The first post is updated with unique stunt jumps!

Edited by gtasearcher

Share this post


Link to post
Share on other sites
enjoto

So how do I find the coords so that I can spawn things in different places sarcasm.gif

Share this post


Link to post
Share on other sites
gtasearcher
So how do I find the coords so that I can spawn things in different places sarcasm.gif

So how do you not BUMP?

 

Anyway while in Sanny Builder and while the game is running, press CTRL+SHIFT+C for coords, and CTRL+SHIFT+E for angle.

Share this post


Link to post
Share on other sites
shantam777
So how do I find the coords so that I can spawn things in different places  sarcasm.gif

So how do you not BUMP?

 

Anyway while in Sanny Builder and while the game is running, press CTRL+SHIFT+C for coords, and CTRL+SHIFT+E for angle.

It's not a bump...It's a question regarding the usage of mod so you can't really call it a bump....It's not any stupid spam like "Nice Mod!" bla bla bla etc.

Share this post


Link to post
Share on other sites
Alley

Cool man. Thanks about enlighting smile.gif

Share this post


Link to post
Share on other sites
Spider-Vice

 

Actually, this is a Coding Tutorial. Not really a savegame editor or creator.

 

But its good icon14.gif

Thanks!

 

This was actually my first sucseded attempt to make a fully-working cleo. (sometimes it crashed, sometimes it didn't worked)

 

P.S. The first post is updated with unique stunt jumps!

I bet it crashed because you forgot the end_custom_thread. tounge.gif Happened to me too, and well I can do that for ages but it's still a good tut. Also it's not a special savegame as CLEO does allow you to play your normal savegames in every circunstance (CLEO mods), no big deal, only SCM needs a new game.

Share this post


Link to post
Share on other sites
Arman Ossi Loko

I expected 13 params. What must I do to fix?

Share this post


Link to post
Share on other sites
TheGodfather.
I expected 13 params. What must I do to fix?

Paste the complete code so that anyone can find your mistake... sarcasm.gif

Share this post


Link to post
Share on other sites

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

  • 1 User Currently Viewing
    0 Members, 0 Anonymous, 1 Guest

×

Important Information

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