ms.cooldude Posted December 18, 2006 Share Posted December 18, 2006 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 Link to comment https://gtaforums.com/topic/263221-savepoint-creation/ Share on other sites More sharing options...
Bigun Posted December 19, 2006 Share Posted December 19, 2006 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 Link to comment https://gtaforums.com/topic/263221-savepoint-creation/#findComment-3977438 Share on other sites More sharing options...
ms.cooldude Posted December 19, 2006 Author Share Posted December 19, 2006 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 Link to comment https://gtaforums.com/topic/263221-savepoint-creation/#findComment-3977791 Share on other sites More sharing options...
ceedj Posted December 19, 2006 Share Posted December 19, 2006 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? Link to comment https://gtaforums.com/topic/263221-savepoint-creation/#findComment-3977840 Share on other sites More sharing options...
fredde-93 Posted December 23, 2006 Share Posted December 23, 2006 i dont understand can u explain better/write down a done code to make a savepoin, cant find one in MAIN Link to comment https://gtaforums.com/topic/263221-savepoint-creation/#findComment-3982303 Share on other sites More sharing options...
Bigun Posted December 23, 2006 Share Posted December 23, 2006 (edited) i dont understand can u explain better/write down a done code to make a savepoin, cant find one in MAIN in SA: ...:PSAVE1_1 up to :PSAVE1_87 Edited December 23, 2006 by Bigun Link to comment https://gtaforums.com/topic/263221-savepoint-creation/#findComment-3982585 Share on other sites More sharing options...
ms.cooldude Posted December 24, 2006 Author Share Posted December 24, 2006 that sorta works for sa so thanks but how to do it in vc? Link to comment https://gtaforums.com/topic/263221-savepoint-creation/#findComment-3983473 Share on other sites More sharing options...
fredde-93 Posted December 24, 2006 Share Posted December 24, 2006 (edited) shall i just copy all codes from PSAVE1_1 to the last and change cordinates? Edited December 25, 2006 by fredde-93 Link to comment https://gtaforums.com/topic/263221-savepoint-creation/#findComment-3983706 Share on other sites More sharing options...
ms.cooldude Posted December 25, 2006 Author Share Posted December 25, 2006 How do you create a savepoint for vc PS - Merry Xmas Link to comment https://gtaforums.com/topic/263221-savepoint-creation/#findComment-3985268 Share on other sites More sharing options...
fredde-93 Posted December 26, 2006 Share Posted December 26, 2006 (edited) damm i sat some time and figured out my own save code ok here it is for u ppl taht wants a custom savepoint 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 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 then for the savedisk pickup, just put it before the last code and everything should be good Edited December 27, 2006 by fredde-93 Link to comment https://gtaforums.com/topic/263221-savepoint-creation/#findComment-3985494 Share on other sites More sharing options...
ms.cooldude Posted December 26, 2006 Author Share Posted December 26, 2006 damm i sat some time and figured out my own save code ok here it is for u ppl taht wants a custom savepoint 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 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 then for the savedisk pickup, just put it before the last code and everything should be good Thanks but is this code for VC as well as SA? Link to comment https://gtaforums.com/topic/263221-savepoint-creation/#findComment-3985837 Share on other sites More sharing options...
Gouveia Posted December 26, 2006 Share Posted December 26, 2006 Now i've understood the spirit of coding.... Copy an original code... Try that yourself mr.cooldude and you will see what it happens Link to comment https://gtaforums.com/topic/263221-savepoint-creation/#findComment-3986071 Share on other sites More sharing options...
GTAMOD Posted December 26, 2006 Share Posted December 26, 2006 If I use this code, I get an error when I Compile, How do Ifix this Link to comment https://gtaforums.com/topic/263221-savepoint-creation/#findComment-3986607 Share on other sites More sharing options...
ceedj Posted December 26, 2006 Share Posted December 26, 2006 Since I left my "post mind reading" hat at Aunt Ethel's over the holidays, how about posting the error you are recieving? Link to comment https://gtaforums.com/topic/263221-savepoint-creation/#findComment-3986703 Share on other sites More sharing options...
fredde-93 Posted December 27, 2006 Share Posted December 27, 2006 (edited) 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 then for the last code just put it last in script and u should be runnin Edit: and btw vinnygouveia i did not copy that code...i figured it out bymyself then find the codes in the SA opcode database 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 TripleEdit:opsie i found the foult, i did forget one $ that wasnt replaced but now its done and u should get NO errors Edited December 27, 2006 by fredde-93 Link to comment https://gtaforums.com/topic/263221-savepoint-creation/#findComment-3986922 Share on other sites More sharing options...
Knowledge Novice Posted December 27, 2006 Share Posted December 27, 2006 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. Link to comment https://gtaforums.com/topic/263221-savepoint-creation/#findComment-3987025 Share on other sites More sharing options...
GTAMOD Posted December 27, 2006 Share Posted December 27, 2006 (edited) 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. this is the error, and I put a circkle arround the places that are wrong. Edited December 27, 2006 by GTAMOD Link to comment https://gtaforums.com/topic/263221-savepoint-creation/#findComment-3987239 Share on other sites More sharing options...
ceedj Posted December 27, 2006 Share Posted December 27, 2006 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. Link to comment https://gtaforums.com/topic/263221-savepoint-creation/#findComment-3987254 Share on other sites More sharing options...
GTAMOD Posted December 27, 2006 Share Posted December 27, 2006 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 Link to comment https://gtaforums.com/topic/263221-savepoint-creation/#findComment-3987259 Share on other sites More sharing options...
Nur56 Posted December 27, 2006 Share Posted December 27, 2006 just edit the .scm with the freakin' notepad. whats the big deal? Link to comment https://gtaforums.com/topic/263221-savepoint-creation/#findComment-3987293 Share on other sites More sharing options...
fredde-93 Posted December 27, 2006 Share Posted December 27, 2006 i hope this code helps for u that wants a new place to save its realy good for TC mods, and thats why i orgiginaly made this code Link to comment https://gtaforums.com/topic/263221-savepoint-creation/#findComment-3987619 Share on other sites More sharing options...
ms.cooldude Posted December 27, 2006 Author Share Posted December 27, 2006 i hope this code helps for u that wants a new place to save its realy good for TC mods, and thats why i orgiginaly made this code 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. Link to comment https://gtaforums.com/topic/263221-savepoint-creation/#findComment-3987692 Share on other sites More sharing options...
tomworld10 Posted December 27, 2006 Share Posted December 27, 2006 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 Link to comment https://gtaforums.com/topic/263221-savepoint-creation/#findComment-3987968 Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now