Sanny Builder/stripped.txt
Revision as of 15:37, 14 January 2017 by Spaceeinstein (talk | contribs) (Created page with "This page contains '''stripped''' main scripts for the <code>main.scm</code> file using Seemann's Sanny Builder program. These scripts contain the near-m...")
This page contains stripped main scripts for the main.scm
file using Seemann's Sanny Builder program. These scripts contain the near-minimum number of commands needed to make the game run without issues. To use these scripts:
- Select File > New... to create an empty document
- Copy and paste the code
- Select File > Save
- Save it as
main.txt
- Select Run > Compile to generate the
main.scm
file
GTA III
Vice City
DEFINE MISSIONS 0 // additional missions go here, be sure to update the count for each mission you add //-------------MAIN--------------- 03A4: name_thread 'MAIN' 01F0: set_max_wanted_level_to 6 0111: set_wasted_busted_check_to 0 04E4: request_collision_at 83.0 -849.8 03CB: load_scene 83.0 -849.8 9.3 00C0: set_current_time 12 0 0053: $PLAYER_CHAR = create_player 0 at 83.0 -849.8 9.3 01F5: $PLAYER_ACTOR = create_emulated_actor_from_player $PLAYER_CHAR wait 0 ms 0180: set_on_mission_flag_to $ONMISSION // your missions should use the variable defined here ($ONMISSION) if 8118: not actor $PLAYER_ACTOR dead then 0352: set_actor $PLAYER_ACTOR skin_to 'PLAYER' 038B: load_requested_models 0353: refresh_actor $PLAYER_ACTOR end 016A: fade 1 0 ms if 0256: player $PLAYER_CHAR defined then 01B4: set_player $PLAYER_CHAR can_move 1 end // create_thread commands go here while true wait 0 end // scripts go here //-------------Mission 0--------------- // missions go here