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. Diamond Casino & Resort
      2. DLC
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Grand Theft Auto Series

    3. GTA 6

    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

spaceeinstein

Barton's Save Anywhere Mod

Recommended Posts

spaceeinstein

CONVERTED FOR SAN ANDREAS!

 

Created by Barton Waterduck for Vice City. Converted for San Andreas by spaceeinstein. This is a script mod that lets you save anywhere, anytime (except during missions). Press the CROUCH and LOOK BEHIND buttons at the same time to save anywhere.

 

Installation for intermediate scripters only. Please download Barton's mission builder using Craig's link.

 

 

004F: create_thread ££SaveAnywhereMod:SaveAnywhereMod0001: wait 250 ms00D6: if  00256:   player $PLAYER_CHAR defined004D: jump_if_false ££SaveAnywhereMod00D6: if  00038:   $ON_MISSION ==  0;; integer values004D: jump_if_false ££SaveAnywhereMod00D6: if  300E1:   key_pressed  0  1800E1:   key_pressed  0  1903EE:   player $PLAYER_CHAR controllable80DF:   NOT   actor $PLAYER_ACTOR driving004D: jump_if_false ££SaveAnywhereMod0050: gosub ££PSAVE1_106016A: fade  1 (back)  1000 ms0050: gosub ££PSAVE1_1210002: jump ££SaveAnywhereMod

 

Two of the gosubs may vary in your file. The first gosub should lead to this:

 

:PSAVE1_1060004: $ON_MISSION =  1;; integer values01B4: set_player $PLAYER_CHAR frozen_state  0 (frozen)03D8: show_save_screen

 

The second gosub should lead to this:

 

:PSAVE1_12100D6: if  00256:   player $PLAYER_CHAR defined004D: jump_if_false ££???02EB: restore_camera_with_jumpcut0373: set_camera_directly_behind_player

 

Edited by spaceeinstein

Share this post


Link to post
Share on other sites
tigerx

awesome mod, but i have no idea what to do with scripts. can someone just upload a pre coded one?

Share this post


Link to post
Share on other sites
spaceeinstein
Doesn't tutorials help?

Share this post


Link to post
Share on other sites
LeeDFXP
Doesn't tutorials help?

No not really blink.gif For some reason i can't get that tool to work here, and i've tried every way explained around here, it just won't open suicidal.gif

 

It would be nice to have a main.scm downloadable coz i'm pretty sure i'm not the only one with problems running the mission builder confused.gif

Share this post


Link to post
Share on other sites
spaceeinstein

Ok I realized most of them are out-of-date and doesn't really cover create_threads mods. Try Demarest's website and search around there.

 

Do ANY of you all ever heard of the All In One Mod?

Edited by spaceeinstein

Share this post


Link to post
Share on other sites
Craig Kostelecky

space, my tut does that exact same thing (adding threads). Feel free to link to it in future posts.

Share this post


Link to post
Share on other sites
LeeDFXP
Two of the gosubs may vary in your file. The first gosub should lead to this:

 

:???0004: $ON_MISSION =  1;; integer values01B4: set_player $PLAYER_CHAR frozen_state  0 (frozen)03D8: show_save_screen

 

The second gosub should lead to this:

 

00D6: if  00256:   player $PLAYER_CHAR defined004D: jump_if_false ££???02EB: restore_camera_with_jumpcut0373: set_camera_directly_behind_player

[/color]

well i managed a bit further now, but i honestly don't have a clue of what to do with those 'gosub' things ... does it need further editing or so?

Share this post


Link to post
Share on other sites
spaceeinstein

If you CTRL+F the threads in the gosubs, it should lead to the place I posted, if you know what I mean. After installing that, CTRL+F "PSAVE1_106". You should see

:PSAVE1_106

0004: $ON_MISSION = 1;; integer values

01B4: set_player $PLAYER_CHAR frozen_state 0 (frozen)

03D8: show_save_screen

Do the same for the other one. If it's similar, then the game will save right.

Share this post


Link to post
Share on other sites
ripple

nevermind, got it working.

Edited by ripple

Share this post


Link to post
Share on other sites
shrift

I found this thread while searching for a save-anywhere mod, and was quite pleased to find it. I inserted the script and it worked like a charm. However, I have encountered a problem with its use.

 

Using this script causes San Andreas to drop-to-desktop on a specific mission (Life's A Beach), on my machine. I initially did not blame the script for this problem, until some searching found that others were having the same problem on the same mission when using a modified main.scm file. I do not know if the problem has anything to do with this specific script or if it's some other general problem with using an altered main.scm. I have not altered my main.scm in any other way.

 

Anyhow, I'd really love it if I could continue to use this script, but I need some help getting around the crash. Anyone else having the same problem?

 

Share this post


Link to post
Share on other sites
ripple
Using this script causes San Andreas to drop-to-desktop on a specific mission (Life's A Beach), on my machine.

 

 

Hmm....I added this script to my scm (along with tons of other scripts), and I experienced no problems with the "Life's a Beach" mission, so I am not sure if this is strictly a problem caused by this script. You might try saving at a savegarage before and after that mission? The forum you linked to requires registration to read, so I do not know if anyone there has tried this.

Share this post


Link to post
Share on other sites
spaceeinstein
The scripts.img goes with the main.scm.

Share this post


Link to post
Share on other sites
San andreas master

request for me to release a compiled version? fully credited to you and barton just makes this a dowload for people who cant compile. biggrin.gif

Share this post


Link to post
Share on other sites
ZAZ

The script above is uncompleted, i think.

I added returns and changed key press code, because i couldn´t activate by pressing keys.

 

:SaveAnywhereMod0001: wait 250 ms00D6: if  00256:   player $PLAYER_CHAR defined004D: jump_if_false ££SaveAnywhereMod00D6: if  00038:   $ON_MISSION ==  0;; integer values004D: jump_if_false ££SaveAnywhereMod00D6: if  200FF:   actor $PLAYER_ACTOR  0 ()near_point_on_foot 365.44 2537.108 16.66 radius  2.0  2.0  2.003EE:   player $PLAYER_CHAR controllable80DF:   NOT   actor $PLAYER_ACTOR driving004D: jump_if_false ££SaveAnywhereMod0050: gosub ££PSAVE1_106016A: fade  1 (back)  1000 ms0050: gosub ££PSAVE1_1210395: clear_area  1 at 331.44 2522.108 16.86 range  1.000A1: put_actor $PLAYER_ACTOR at 331.44 2522.108 16.860173: set_actor $PLAYER_ACTOR z_angle_to 1800002: jump ££SaveAnywhereMod:PSAVE1_1060004: $ON_MISSION =  1;; integer values01B4: set_player $PLAYER_CHAR frozen_state  0 (frozen)03D8: show_save_screen0051: return:PSAVE1_12100D6: if  00256:   player $PLAYER_CHAR defined004D: jump_if_false ££PSAVE1_13202EB: restore_camera_with_jumpcut0373: set_camera_directly_behind_player:PSAVE1_1320051: return

 

I tried it in my very stripped main script without missions and externals (off course the orig.script.img is in SA\data\scripts)

I went in my point and got the savescreen and made a save and after that, the player was uncontrollable.

I load the save and it was succesful within player controlling.

But only one time. I can´t save again.

Do you know the reason ? cookie.gifrolleyes.gif

 

 

Edited by ZAZ

Share this post


Link to post
Share on other sites
DaEllum67
The script above is uncompleted, i think.

I added returns and changed key press code, because i couldn´t activate by pressing keys.

 

:SaveAnywhereMod0001: wait 250 ms00D6: if  00256:   player $PLAYER_CHAR defined004D: jump_if_false ££SaveAnywhereMod00D6: if  00038:   $ON_MISSION ==  0;; integer values004D: jump_if_false ££SaveAnywhereMod00D6: if  200FF:   actor $PLAYER_ACTOR  0 ()near_point_on_foot 365.44 2537.108 16.66 radius  2.0  2.0  2.003EE:   player $PLAYER_CHAR controllable80DF:   NOT   actor $PLAYER_ACTOR driving004D: jump_if_false ££SaveAnywhereMod0050: gosub ££PSAVE1_106016A: fade  1 (back)  1000 ms0050: gosub ££PSAVE1_1210395: clear_area  1 at 331.44 2522.108 16.86 range  1.000A1: put_actor $PLAYER_ACTOR at 331.44 2522.108 16.860173: set_actor $PLAYER_ACTOR z_angle_to 1800002: jump ££SaveAnywhereMod:PSAVE1_1060004: $ON_MISSION =  1;; integer values01B4: set_player $PLAYER_CHAR frozen_state  0 (frozen)03D8: show_save_screen0051: return:PSAVE1_12100D6: if  00256:   player $PLAYER_CHAR defined004D: jump_if_false ££PSAVE1_13202EB: restore_camera_with_jumpcut0373: set_camera_directly_behind_player:PSAVE1_1320051: return

 

I tried it in my very stripped main script without missions and externals (off course the orig.script.img is in SA\data\scripts)

I went in my point and got the savescreen and made a save and after that, the player was uncontrollable.

I load the save and it was succesful within player controlling.

But only one time. I can´t save again.

Do you know the reason ? cookie.gifrolleyes.gif

When you copied the gosubs from your original SCM, you didn't copy the entire thing. You must copy up until the next return, not just that code block.

Share this post


Link to post
Share on other sites
Demarest
Also, you meant to say frozen. When player is in fact uncontrollable, you cannot even bring up the pause menu and must use Ctrl+Alt+Del to close it out.

Share this post


Link to post
Share on other sites
ZAZ

Ok,sorry, I edited the post more time.

At the last, I forgot something, but the result is the same.

 

:SaveAnywhereMod0001: wait 250 ms00D6: if  00256:   player $PLAYER_CHAR defined004D: jump_if_false ££SaveAnywhereMod00D6: if  00038:   $ON_MISSION ==  0;; integer values004D: jump_if_false ££SaveAnywhereMod00D6: if  200FF:   actor $PLAYER_ACTOR  0 ()near_point_on_foot 365.44 2537.108 16.66 radius  2.0  2.0  2.003EE:   player $PLAYER_CHAR controllable80DF:   NOT   actor $PLAYER_ACTOR driving004D: jump_if_false ££SaveAnywhereMod0050: gosub ££PSAVE1_106016A: fade  1 (back)  1000 ms0050: gosub ££PSAVE1_1210395: clear_area  1 at 331.44 2522.108 16.86 range  1.000A1: put_actor $PLAYER_ACTOR at 331.44 2522.108 16.860173: set_actor $PLAYER_ACTOR z_angle_to 1800002: jump ££SaveAnywhereMod:PSAVE1_1060004: $ON_MISSION =  1;; integer values01B4: set_player $PLAYER_CHAR frozen_state  0 (frozen)03D8: show_save_screen:PSAVE1_10900D6: if  083D9:   NOT   save_done004D: jump_if_false ££PSAVE1_1140001: wait  0 ms0002: jump ££PSAVE1_109:PSAVE1_1140169: set_fade_color  0  0  0016A: fade  0 ()  1000 ms00D6: if  00256:   player $PLAYER_CHAR defined004D: jump_if_false ££PSAVE1_12001B4: set_player $PLAYER_CHAR frozen_state  0 (frozen):PSAVE1_1200051: return:PSAVE1_12100D6: if  00256:   player $PLAYER_CHAR defined004D: jump_if_false ££PSAVE1_12602EB: restore_camera_with_jumpcut0373: set_camera_directly_behind_player:PSAVE1_1260001: wait  500 ms00D6: if  00256:   player $PLAYER_CHAR defined004D: jump_if_false ££PSAVE1_13201B4: set_player $PLAYER_CHAR frozen_state  1 (unfrozen)0004: $ON_MISSION =  0 ;; integer values:PSAVE1_1320051: return

 

 

Two frozen and one unfrozen like the Original, why ?

 

Uncontrollable, I mean : CJ appears in the game, but can´t move him.

Mybe frozen is the right word, but then what´s controllable ?

 

Share this post


Link to post
Share on other sites
Demarest

I too have never liked the way they handle saves. It's not perfect code and as you're showing, without a full load of threads to go with it, it escapes itself. The key is in the final player defined check. ONLY if that's satisfied will you become unfrozen. So you should rewrite it to ONLY proceed once player is defined.

 

As for the difference in terms of frozen and uncontrollable, I think Barton's description of 01B4 is more accurate than the database. It toggles player frozen. While frozen, you are still able to say, bring up the pause menu. 03EF (which should be toggle player controllable) will not only freeze the player, but take total control away from you. 03EF gets used going into cutscenes. There's no command to escape it either. I suspect that it's hardcoded to the end_cutscene command. That's for commands. For conditionals, is player controllable will return false during times like diving out of the way, in mid jump, falling, etc.

Share this post


Link to post
Share on other sites
willyiscool

how the hell do u download these ones with the x pitures and i want the hot coffie mod but i want one that acculy shows nudity and do these mods work on macs??????? some one help me ahhhhhhhhhhhhh angry.gifalien.gifsuicidal.gifmuppetmaster_karma.gifrah.gifsad.gifmad.gifcry.gifmercie_blink.giframpage_ani.giframpage_ani.giframpage_ani.giframpage_ani.giframpage_ani.giframpage_ani.gif

Share this post


Link to post
Share on other sites
Justin
how the hell do u download these ones with the x pitures and i want the hot coffie mod but i want one that acculy shows nudity and do these mods work on macs??????? some one help me ahhhhhhhhhhhhh angry.gifalien.gifsuicidal.gifmuppetmaster_karma.gifrah.gifsad.gifmad.gifcry.gifmercie_blink.giframpage_ani.giframpage_ani.giframpage_ani.giframpage_ani.giframpage_ani.giframpage_ani.gif

Installation is stated as being for intermediate coders only. It doesn't take much time to learn how to install a script into your game, but judging by your post you won't be willing to do it. I'm sure a precompiled script is out there, but I'd think it a better learning experience should you be forced to put forth some effort of your own.

 

Hot Coffee is no longer supported by its author PatrickW, nor GTANet. You won't find links here. Even if you did, you'd not be able to use both mods together unless you installed this script into Hot Coffee's existing main.scm.

 

The GTA series aren't manufactured for use with Macs, so mods created for them won't work either.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

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

×
×
  • Create New...

Important Information

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