That's the thing, I struggled for over 16 hours to get it working. If the CPU goes off again, it's bye-bye to my PC. I'll just quickly check and see if there are any bugs with the SCM, and then I'll give you guys the code here, it's rather small, so not much to it.
Main.scm (Stripped, V.01):
CODE |
DEFINE OBJECTS 1 DEFINE OBJECT SANNY BUILDER 3.04
DEFINE MISSIONS 0
{$VERSION 2.2.0000}
//-------------MAIN--------------- 03A4: name_thread 'MAIN' 016A: fade 0 0 ms 01F0: set_max_wanted_level_to 6 0111: set_wasted_busted_check_to 0 00C0: set_current_time 12 0 04E4: unknown_refresh_game_renderer_at 888.6066 -325.3969 03CB: set_camera 83.0 -849.8 9.3 0053: $PLAYER_CHAR = create_player #NULL at -1074.707 -677.8019 9.7114 0171: set_player $PLAYER_CHAR z_angle_to 180.0 01F5: $PLAYER_ACTOR = create_emulated_actor_from_player $PLAYER_CHAR 0001: wait 0 ms 01B6: set_weather 0 00D6: if 8118: not actor $PLAYER_ACTOR dead 004D: jump_if_false @MAIN_143 0352: set_actor $PLAYER_ACTOR skin_to 'PLAYER' 038B: load_requested_models 0353: refresh_actor $PLAYER_ACTOR
:MAIN_143 016A: fade 1 1000 ms 00D6: if 0256: player $PLAYER_CHAR defined 004D: jump_if_false @MAIN_179 04BB: select_interiour 0 // select render area 01B4: set_player $PLAYER_CHAR frozen_state 1 01B7: release_weather
:MAIN_179 0001: wait 2500 ms 004F: create_thread @MAIN_199 004F: create_thread @MAIN_200 0002: jump @MAIN_179
:MAIN_199 0001: wait 500 ms 00D6: if 00F6: player $PLAYER_CHAR 0 -1103.163 -658.2074 12.3332 radius 2.0 2.0 2.0 004D: jump_if_false @MAIN_199 016A: fade 0 500 ms 0001: wait 1000 ms 044D: load_splash 'INTRO2' 0169: set_fade_color 2 2 2 0001: wait 600 ms 016A: fade 1 500 ms 00A1: put_actor $PLAYER_ACTOR at -1389.9 -881.0707 570.8923 0001: wait 5000 ms 0002: jump @MAIN_199
:MAIN_200 0001: wait 500 ms 00D6: if 00F6: player $PLAYER_CHAR 0 -1512.5106 -932.77 570.8823 radius 2.0 2.0 2.0 004D: jump_if_false @MAIN_200 016A: fade 0 500 ms 0001: wait 1000 ms 044D: load_splash 'INTRO1' 0169: set_fade_color 2 2 2 0001: wait 600 ms 016A: fade 1 500 ms 00A1: put_actor $PLAYER_ACTOR at -1099.219 -600.2023 12.3332 0001: wait 5000 ms 0002: jump @MAIN_200
|
I'll integrate the whole car spawning thing soon. Also, you spawn here because that's where I spawned for testing. There's no Callahan Bridge, and the Shoreside Vale Lift Bridge ain't working, so yeah.
I know there's a minor bug that when you travel to LC from VC, the screen first displays the "LC-VC" screen and then only the right screen. That's no biggie. This ain't a release, it's just for testing. Also, to use this, go to Terminal C at Francis International Airport to go to Vice City, and you will spawn in Escobar International Airport. To go back, use the other gate, not the one you spawn at,
the other one to go back to Liberty City.
Any more glitches? Please let me know!