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

    1. GTANet.com

    1. GTA Online

      1. Los Santos Summer Special
      2. The Diamond Casino Heist
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Frontier Pursuits
      2. Find Lobbies & Outlaws
      3. Help & Support
    3. Crews

    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. Grand Theft Auto Series

    2. GTA VI

      1. St. Andrews Cathedral
    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
    6. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
    7. GTA III

      1. Guides & Strategies
      2. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

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

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

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

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

    1. Announcements

    2. Support

    3. Suggestions

ms.cooldude

Savepoint Creation

Recommended Posts

ms.cooldude

I'm trying to add more savegame places for GTA:3, VC and SA however I am in a bit of a pickle and need help as everythings all over the place. Editing an existing savepoint is simple as pie but if you can help me to add these checkpoints for the three GTA's, I would be very greatfull.

 

Regards ms.cooldude

Share this post


Link to post
Share on other sites
Bigun

As with most things, imitate original code.

 

VERY basically, its-

 

 

if $save_pickup picked upjf xyzon_mission = 1show_saver_screen...

 

 

Look at the saving thread and see how it's done there; also add your new savepoints to the master savepoints array there. The labels you'll need to (slightly) modify is from :PSAVE1_1 up to :PSAVE1_87

Share this post


Link to post
Share on other sites
ms.cooldude
As with most things, imitate original code.

 

VERY basically, its-

 

 

if $save_pickup picked upjf xyzon_mission = 1show_saver_screen...

 

 

Look at the saving thread and see how it's done there; also add your new savepoints to the master savepoints array there. The labels you'll need to (slightly) modify is from :PSAVE1_1 up to :PSAVE1_87

That is sorry not very clear to me however could you show making a new script for the code

Share this post


Link to post
Share on other sites
ceedj

It's really not much more than what Bigun put up there. You're basically checking to see if the pickup is picked up. If so, go to the save screen, if not, go somewhere else.

 

You might also want to have an IF check to see if you are indeed done saving.

 

Like Bigun said, use the original code. Why not post what you have done so far?

Share this post


Link to post
Share on other sites
fredde-93

i dont understand can u explain better/write down a done code to make a savepoin, cant find one in MAIN suicidal.gif

Share this post


Link to post
Share on other sites
Bigun

 

i dont understand can u explain better/write down a done code to make a savepoin, cant find one in MAIN  suicidal.gif

in SA:

 

...:PSAVE1_1 up to :PSAVE1_87
Edited by Bigun

Share this post


Link to post
Share on other sites
ms.cooldude

that sorta works for sa so thanks but how to do it in vc?

Share this post


Link to post
Share on other sites
fredde-93

shall i just copy all codes from PSAVE1_1 to the last and change cordinates? suicidal.gif

Edited by fredde-93

Share this post


Link to post
Share on other sites
ms.cooldude

How do you create a savepoint for vc

 

PS - Merry Xmas

Share this post


Link to post
Share on other sites
fredde-93

damm i sat some time and figured out my own save code smile.gif

 

ok here it is for u ppl taht wants a custom savepoint wow.gif

 

first u create a new thread

 

004F: create_thread ££SAVEPICKUP

 

 

then u wants to ad a save disk "only pickup yet"

 

0213: $MYFIRSTSAVE = create_pickup #PICKUPSAVE type  15 at [put cordinates here]

 

 

and then u put the "save code"

 

:SAVEPICKUP0001: wait  200 ms00D6: if  00214:   pickup $MYFIRSTSAVE picked_up004D: jump_if_false ££SAVEPICKUP03D8: show_save_screen0002: jump ££SAVEPICKUP

 

 

Edit:removed some code making the savepoint not looping as it should blush.gif

 

put the last one at end of script and the create thread where all other create threads are just do a search in script for "create_tread" and put my thread code at the botom of those smile.gif

 

then for the savedisk pickup, just put it before the last code and everything should be good icon14.gif

Edited by fredde-93

Share this post


Link to post
Share on other sites
ms.cooldude
damm i sat some time and figured out my own save code smile.gif

 

ok here it is for u ppl taht wants a custom savepoint wow.gif

 

first u create a new thread

 

004F: create_thread ££SAVEPICKUP

 

 

then u wants to ad a save disk "only pickup yet"

 

0213: $MYFIRSTSAVE = create_pickup #PICKUPSAVE type  15 at -[put cordinates here]

 

 

and then u put the "save code"

 

:SAVEPICKUP0001: wait  200 ms00D6: if  00214:   pickup $10956.25 picked_up004D: jump_if_false ££SAVEPICKUP03D8: show_save_screen0002: jump ££SAVEPICKUP

 

 

Edit:removed some code making the savepoint not looping as it should blush.gif

 

put the last one at end of script and the create thread where all other create threads are just do a search in script for "create_tread" and put my thread code at the botom of those smile.gif

 

then for the savedisk pickup, just put it before the last code and everything should be good icon14.gif

Thanks but is this code for VC as well as SA?

Share this post


Link to post
Share on other sites
Gouveia

Now i've understood the spirit of coding.... Copy an original code... Try that yourself mr.cooldude and you will see what it happens cool.gif

Share this post


Link to post
Share on other sites
GTAMOD

If I use this code, I get an error when I Compile, How do Ifix this

Share this post


Link to post
Share on other sites
ceedj

Since I left my "post mind reading" hat at Aunt Ethel's over the holidays, how about posting the error you are recieving? smile.gif

Share this post


Link to post
Share on other sites
fredde-93

i think u are puting my code in wrong place cus i have it in my empty script and it works there...

 

first create the thread where all other threads are created

then for the create pickup i dont know where to put it since i only put it in my striped out script but put it where the script makes the other save pickups smile.gif

then for the last code just put it last in script and u should be runnin rahkstar2.gif

 

Edit: and btw vinnygouveia i did not copy that code...i figured it out bymyself then find the codes in the SA opcode database rah.gif

 

DoubleEdit:and Ms.cooldude i dont know i dont even have VC on computer so it might work just test and if it goes "woopsie" i guess it dont woek blush.gif

 

TripleEdit:opsie i found the foult, i did forget one $ that wasnt replaced but now its done and u should get NO errors wow.gif

Edited by fredde-93

Share this post


Link to post
Share on other sites
Knowledge Novice

I've been curious about creating 'Buyable Assets' but I get a little lost in all the code. However the savepoint part doesn't seem that hard. I tried it out on VC and yes it does work. One thing in particular that I'm not sure about is the best place to put my create_pickup. Should I place it with the rest of the create_pickup's or is it OK to put it in my thread. This is what I ended up with.

 

This creates a save point at the pool beside Vercetti Mansion (where the stripped_complete script game starts).

 

Add to create_threads

 

004F: create_thread ££NewSave

 

 

Add just above --MISSION 0--

 

:NewSave03A4: name_thread "NewSave":Create_Pickup0213: $MYFIRSTSAVE = create pickup -17 (PICKUPSAVE) type 3 at  -301.5722 -567.535 12.85035    :SAVEPICKUP0001: wait  200 ms00D6: if  00214:   pickup $MYFIRSTSAVE picked_up004D: jump_if_false ££SAVEPICKUP03D8: show_save_screen0055: put_player $PLAYER_CHAR at  -301.5722 -563.535 12.0 0171: set player $PLAYER_CHAR z angle to  0.00002: jump ££Create_Pickup 

 

 

I noticed no bugs when I tested this, but just let me know of any mistakes. Thanks guys. muppetmaster_karma.gif

 

Share this post


Link to post
Share on other sites
GTAMOD

I used the code Knowledge Novice posted and I got a few errors with thit code to, the same errors as I had with the other one. user posted image this is the error, and I put a circkle arround the places that are wrong.

Edited by GTAMOD

Share this post


Link to post
Share on other sites
ceedj

I'm no SB expert, but it looks like your trying to paste in MB code. Except some changes need to be made.

 

A quick look in tomworlds "Coding bible part I" shows that SB uses the @ sign instead of the MB labels.

Share this post


Link to post
Share on other sites
GTAMOD
I'm no SB expert, but it looks like your trying to paste in MB code. Except some changes need to be made.

 

A quick look in tomworlds "Coding bible part I" shows that SB uses the @ sign instead of the MB labels.

I tried that but when I start New Game it loads san andreas but when the loading is complete it gives a black screen with nothing

Share this post


Link to post
Share on other sites
Nur56

just edit the .scm with the freakin' notepad. whats the big deal? rah.gif

Share this post


Link to post
Share on other sites
fredde-93

i hope this code helps for u that wants a new place to save icon14.gif

 

its realy good for TC mods, and thats why i orgiginaly made this code blush.gif

 

 

 

muppetmaster_karma.gif

Share this post


Link to post
Share on other sites
ms.cooldude
i hope this code helps for u that wants a new place to save icon14.gif

 

its realy good for TC mods, and thats why i orgiginaly made this code blush.gif

 

 

 

muppetmaster_karma.gif

icon14.gif Thanks and not just you, but also Knowledge Novice and ceedj. These codes work succesfully for me in VC! SA is still yet to be tested.

Share this post


Link to post
Share on other sites
tomworld10

 

 

Hi,

 

 

 

It seems that you don't read much other topics.....

 

 

You can read here there is a full working and complete savepoint. I'm not sure about that but it should work just as good with VC.

 

 

Have fun

 

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • 2 Users Currently Viewing
    0 members, 0 Anonymous, 2 Guests

×
×
  • Create New...

Important Information

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