tommykills1 Posted June 3, 2008 Share Posted June 3, 2008 (edited) ok im a noob at coding but i got an idea of put in tommy in san andreas. he meets people and grow he’s business and terrible thing happen. i started the first mission but the game frezes. he start off in las vantures and goes to a hotel to buy a suite. i post the scipe and please someone help me DEFINE MISSIONS 3DEFINE MISSION 0 AT @INITIAL // Initial 1DEFINE MISSION 1 AT @INITIL2 // Initial 2DEFINE MISSION 2 AT @TOMMY // IntroDEFINE EXTERNAL_SCRIPTS 0 // Use -1 in order not to compile AAA scriptDEFINE UNKNOWN_EMPTY_SEGMENT 0DEFINE UNKNOWN_THREADS_MEMORY 574{$VERSION 3.1.0027}//-------------MAIN---------------03A4: name_thread 'MAIN' 01F0: set_max_wanted_level_to 6 0111: set_wasted_busted_check_to 0 00C0: set_current_time_hours_to 8 current_time_minutes_to 0 04E4: unknown_refresh_game_renderer_at 2488.5601 -1666.84 03CB: set_rendering_origin_at_3D_coord 2488.5601 -1666.84 13.38 0053: create_player_with_modelID #NULL at_3D_coord 2488.5601 -1666.84 13.38 handle_as $PLAYER_CHAR01F5: get_player_char $PLAYER_ACTOR handle_as $PLAYER_CHAR 0373: set_camera_directly_behind_player 01B6: set_weather 0 0001: wait 0 ms 087B: set_player $PLAYER_CHAR clothes "PLAYER_FACE" "HEAD" body_part 1 087B: set_player $PLAYER_CHAR clothes "JEANSDENIM" "JEANS" body_part 2 087B: set_player $PLAYER_CHAR clothes "SNEAKERBINCBLK" "SNEAKER" body_part 3 087B: set_player $PLAYER_CHAR clothes "VEST" "VEST" body_part 0 070D: rebuild_player $PLAYER_CHAR01B4: set_player $PLAYER_CHAR controllable 1 016A: do_fade_time 1 type 0 04BB: select_interior 0 // select render area 0629: change_stat 181 to 4 // integer values 016C: restart_if_wasted_at_3D_coord 2027.77 -1420.52 15.99 Z_angle 137.0 for_town_number 0 016D: restart_if_busted_at_3D_coord 1550.6801 -1675.49 14.51 Z_angle 90.0 for_town_number 0 0180: set_on_mission_flag_to $ONMISSION 004E: end_thread //-------------Mission 0---------------// Originally: Initial 1:INITIALthread 'INITIAL'end_thread //-------------Mission 1---------------// Originally: Initial 2:INITIL2thread 'INITIL2'end_thread//-------------Mission 2---------------// Originally: Intro:TOMMY$ONMISSION = 1 thread 'TOMMY'if wasted_or_busted else_jump @TOMMY_3:TOMMY_5Model.Load(#BALLAS3)Model.Load(#SENTINEL)038B: load_requested_modelselse_jump @TOMMY_1 :TOMMY_1 00A1: put_actor $PLAYER_ACTOR at 1698.001831 1605.442871 10.760487 02A3: toggle_widescreen 1 05D3: AS_actor $PLAYER_ACTOR goto_point 1718.860718 1599.989624 10.015625 mode 4 -2 ms // versionA wait 6002A3: toggle_widescreen 0 $car = Car.Create(#SENTINEL, 1720.643799, 1580.871216, 10.464296)02A7: $marker00 = create_icon_marker_and_sphere 0 at 2514.5601 -1666.84 13.380186: $marker04 = create_marker_above_car $car 0165: set_marker $marker04 color_to 20168: show_on_radar $marker04 1018B: show_on_radar $marker04 4:TOMMY_4 mission_cleanup030C: set_mission_points += 101E3: text_1number_styled "M_PASS" 10000 5000 ms 1 Player.Money($PLAYER_CHAR) += 10000Player.ClearWantedLevel($PLAYER_CHAR)wait 0:TOMMY_300BA: show_text_styled GXT 'M_FAIL' time 5000 style 1 // ~r~MISSION FAILED!return Edited June 5, 2008 by tommykills1 Link to comment Share on other sites More sharing options...
_VaNkAtA_ Posted June 3, 2008 Share Posted June 3, 2008 Try to add Player.CanMove($PLAYER_CHAR) = True after 087B: set_player $PLAYER_CHAR clothes "PLAYER_FACE" "HEAD" body_part 1087B: set_player $PLAYER_CHAR clothes "JEANSDENIM" "JEANS" body_part 2087B: set_player $PLAYER_CHAR clothes "SNEAKERBINCBLK" "SNEAKER" body_part 3087B: set_player $PLAYER_CHAR clothes "VEST" "VEST" body_part 0070D: rebuild_player $PLAYER_CHAR Good luck! Link to comment Share on other sites More sharing options...
tommykills1 Posted June 3, 2008 Author Share Posted June 3, 2008 Try to add Player.CanMove($PLAYER_CHAR) = True after 087B: set_player $PLAYER_CHAR clothes "PLAYER_FACE" "HEAD" body_part 1087B: set_player $PLAYER_CHAR clothes "JEANSDENIM" "JEANS" body_part 2087B: set_player $PLAYER_CHAR clothes "SNEAKERBINCBLK" "SNEAKER" body_part 3087B: set_player $PLAYER_CHAR clothes "VEST" "VEST" body_part 0070D: rebuild_player $PLAYER_CHAR Good luck! no it does not do anything Link to comment Share on other sites More sharing options...
_VaNkAtA_ Posted June 3, 2008 Share Posted June 3, 2008 Can you tell me what does CJ do after you start the game BTW:Look here http://www.gtaforums.com/index.php?showtopic=351566 Link to comment Share on other sites More sharing options...
tommykills1 Posted June 3, 2008 Author Share Posted June 3, 2008 (edited) (its tommy) he call rose and he tell you about salvotor and that you should meet him. then rose calls you again and tell you that there is a casino to buy for $100,000 EDIT: i edted but the mission does not start here is the code // This file was decompiled using SASCM.INI published by Seemann (http://sannybuilder.com/files/SASCM.rar) on 13.10.2007DEFINE OBJECTS 3DEFINE OBJECT SANNY BUILDER 3.01 DEFINE OBJECT INFO // Object number -1DEFINE OBJECT KEYCARD // Object number -2DEFINE MISSIONS 3DEFINE MISSION 0 AT @INITIAL // Initial 1DEFINE MISSION 1 AT @INITIL2 // Initial 2DEFINE MISSION 2 AT @TOMMY // IntroDEFINE EXTERNAL_SCRIPTS 0 // Use -1 in order not to compile AAA scriptDEFINE UNKNOWN_EMPTY_SEGMENT 0DEFINE UNKNOWN_THREADS_MEMORY 0{$VERSION 3.1.0027}//-------------MAIN---------------:MAIN_103A4: name_thread 'MAIN'042C: set_total_missions_to 0030D: set_total_mission_points_to 001F0: set_max_wanted_level_to 60111: set_wasted_busted_check_to 0 00C0: set_current_time 10 004E4: unknown_refresh_game_renderer_at 2494.5 -1668.503CB: set_camera 2494.5 -1668.5 13.40053: $PLAYER_CHAR = create_player #NULL at 1698.001831 1605.442871 10.76048707AF: $PLAYER_GROUP = player $PLAYER_CHAR group01F5: $PLAYER_ACTOR = create_emulated_actor_from_player $PLAYER_CHAR0173: set_actor $PLAYER_ACTOR z_angle_to 180.00373: set_camera_directly_behind_player0629: change_stat 181 (islands unlocked) to 4 // integer see statdisp.datPlayer.SetClothes($PLAYER_CHAR, "TUXEDO", "SUIT1", Torso)Player.SetClothes($PLAYER_CHAR, "SUIT1TRBLK2", "SUIT1TR", Legs)Player.SetClothes($PLAYER_CHAR, "SNEAKERBINCBLK", "SNEAKER", Shoes)Player.SetClothes($PLAYER_CHAR, "FLATTOP", "FLATTOP", Head)070D: rebuild_player $PLAYER_CHAR 0109: player $PLAYER_CHAR money += 5000000180: set_on_mission_flag_to $ONMISSION01B6: set_weather 104BB: select_interior 0 // select render area01B4: set_player $PLAYER_CHAR frozen_state 1 (unfrozen)01B7: release_weather016C: restart_if_wasted at 2494.5 -1668.5 13.4 angle 180.0 unknown 0016D: restart_if_busted at 2494.5 -1668.5 13.4 angle 180.0 unknown 00417: start_mission 1 :MAIN_30001: wait 2500 ms0002: jump @MAIN_3 //-------------Mission 0---------------// Originally: Initial 1:INITIALthread 'INITIAL'end_thread //-------------Mission 1---------------// Originally: Initial 2:INITIL2thread 'INITIL2'end_thread//-------------Mission 2---------------// Originally: Intro:TOMMY$ONMISSION = 1 thread 'TOMMY'if wasted_or_busted else_jump @TOMMY_3:TOMMY_5Model.Load(#BALLAS3)Model.Load(#SENTINEL)038B: load_requested_modelselse_jump @TOMMY_1 :TOMMY_1 00A1: put_actor $PLAYER_ACTOR at 1698.001831 1605.442871 10.760487 02A3: toggle_widescreen 1 05D3: AS_actor $PLAYER_ACTOR goto_point 1718.860718 1599.989624 10.015625 mode 4 -2 ms // versionA wait 6002A3: toggle_widescreen 0 $car = Car.Create(#SENTINEL, 1720.643799, 1580.871216, 10.464296)02A7: $marker00 = create_icon_marker_and_sphere 0 at 2514.5601 -1666.84 13.380186: $marker04 = create_marker_above_car $car 0165: set_marker $marker04 color_to 20168: show_on_radar $marker04 1018B: show_on_radar $marker04 40002: jump @TOMMY_4:TOMMY_4 mission_cleanup030C: set_mission_points += 101E3: text_1number_styled "M_PASS" 10000 5000 ms 1 Player.Money($PLAYER_CHAR) += 10000Player.ClearWantedLevel($PLAYER_CHAR)wait 0:TOMMY_300BA: show_text_styled GXT 'M_FAIL' time 5000 style 1 // ~r~MISSION FAILED!return Edited June 3, 2008 by tommykills1 Link to comment Share on other sites More sharing options...
_VaNkAtA_ Posted June 4, 2008 Share Posted June 4, 2008 Put this code before //-------------Mission 0--------------- create_thread @MISSION And this below :MISSION03BC: [email protected] = create_sphere_at X Y Z radius 1.0 if0102: actor $PLAYER_ACTOR in_sphere X Y Z radius 1.0 sphere 1 stopped_on_foot jf @MISSION_2:MISSION_20417: start_mission 3 // Intro Works? Link to comment Share on other sites More sharing options...
tommykills1 Posted June 5, 2008 Author Share Posted June 5, 2008 Put this code before //-------------Mission 0--------------- create_thread @MISSION And this below :MISSION03BC: [email protected] = create_sphere_at X Y Z radius 1.0 if0102: actor $PLAYER_ACTOR in_sphere X Y Z radius 1.0 sphere 1 stopped_on_foot jf @MISSION_2:MISSION_20417: start_mission 3 // Intro Works? i need to start all over Link to comment Share on other sites More sharing options...
spaceeinstein Posted June 5, 2008 Share Posted June 5, 2008 Or you could just change 0417: start_mission 1 to 0417: start_mission 2 Link to comment Share on other sites More sharing options...
tommykills1 Posted June 5, 2008 Author Share Posted June 5, 2008 (edited) ok i got mission one where you start. i need help put the words in. and start the 2 mission in the shire edit: here is the code ]// This file was decompiled using SASCM.INI published by Seemann (http://sannybuilder.com/files/SASCM.rar) on 13.10.2007DEFINE OBJECTS 3DEFINE OBJECT SANNY BUILDER 3.01 DEFINE OBJECT INFO // Object number -1DEFINE OBJECT KEYCARD // Object number -2DEFINE MISSIONS 4DEFINE MISSION 0 AT @INITIAL // Initial 1DEFINE MISSION 1 AT @INITIL2 // Initial 2DEFINE MISSION 2 AT @TOMMY // IntroDEFINE MISSION 3 AT @TOMMY2 // Video Game: They Crawled From UranusDEFINE EXTERNAL_SCRIPTS 0 // Use -1 in order not to compile AAA scriptDEFINE UNKNOWN_EMPTY_SEGMENT 0DEFINE UNKNOWN_THREADS_MEMORY 0{$VERSION 3.1.0027}//-------------MAIN---------------:MAIN_103A4: name_thread 'MAIN'042C: set_total_missions_to 0030D: set_total_mission_points_to 001F0: set_max_wanted_level_to 60111: set_wasted_busted_check_to 0 00C0: set_current_time 10 004E4: unknown_refresh_game_renderer_at 2494.5 -1668.503CB: set_camera 2494.5 -1668.5 13.40053: $PLAYER_CHAR = create_player #NULL at 1698.001831 1605.442871 10.76048707AF: $PLAYER_GROUP = player $PLAYER_CHAR group01F5: $PLAYER_ACTOR = create_emulated_actor_from_player $PLAYER_CHAR0173: set_actor $PLAYER_ACTOR z_angle_to 180.00373: set_camera_directly_behind_player0629: change_stat 181 (islands unlocked) to 4 // integer see statdisp.datPlayer.SetClothes($PLAYER_CHAR, "TUXEDO", "SUIT1", Torso)Player.SetClothes($PLAYER_CHAR, "SUIT1TRBLK2", "SUIT1TR", Legs)Player.SetClothes($PLAYER_CHAR, "SNEAKERBINCBLK", "SNEAKER", Shoes)Player.SetClothes($PLAYER_CHAR, "FLATTOP", "FLATTOP", Head)070D: rebuild_player $PLAYER_CHAR 0109: player $PLAYER_CHAR money += 00180: set_on_mission_flag_to $ONMISSION01B6: set_weather 104BB: select_interior 0 // select render area01B4: set_player $PLAYER_CHAR frozen_state 1 (unfrozen)01B7: release_weather016C: restart_if_wasted at 2494.5 -1668.5 13.4 angle 180.0 unknown 0016D: restart_if_busted at 2494.5 -1668.5 13.4 angle 180.0 unknown 0start_mission 2 // Intro:MAIN_30001: wait 2500 ms0002: jump @MAIN_3 create_thread @MISSION:MISSION00FF: actor $PLAYER_ACTOR sphere 1 in_sphere 1970.478882 1622.857300 12.864433 radius 1.2 1.2 2.0 on_foot jf @MISSION_2 :MISSION_20417: start_mission 3 // Video Game: They Crawled From Uranus//-------------Mission 0---------------// Originally: Initial 1:INITIALthread 'INITIAL'end_thread //-------------Mission 1---------------// Originally: Initial 2:INITIL2thread 'INITIL2'end_thread//-------------Mission 2---------------// Originally: Intro:TOMMYthread 'Tommy' model.Load(#SENTINEL) 038B: load_requested_models:tommy_1$car = Car.Create(#SENTINEL, 1720.643799, 1580.871216, 10.464296)05D3: AS_actor $PLAYER_ACTOR goto_point 1718.860718 1599.989624 10.015625 mode 4 -2 ms // versionA jf @tommy_3 :tommy_2if00ED: actor $PLAYER_ACTOR 0 near_point 2043.68 -1635.73 radius 4.0 4.0 on_foot jf @tommy_5:tommy_302A3: enable_widescreen 1 jf @tommy_4:tommy_404AF: [email protected] = 33200 // @ = any05AA: [email protected] = 'ROT4_AA' // ~z~You sure he in East Los Santos?wait 1000004AF: [email protected] = 33200 // @ = any05AA: [email protected] = 'ROT4_AB' // ~z~Yeah, right on the edge of Los Flores - some old apartments and a warehouse.wait 1000000BC: show_text_highpriority GXT 'RM4_2' time 5000 flag 1 // ~s~Drive to ~y~Big Smoke's Crack Fortress~s~.wait 9802A3: enable_widescreen 0:tommy_5mission_cleanup Player.Money($PLAYER_CHAR) += 10002A7: $marker00 = create_icon_marker_and_sphere 33 at 1970.478882 1622.857300 12.864433Player.ClearWantedLevel($PLAYER_CHAR)004E: end_thread//-------------Mission 3---------------// Originally: Video Game: They Crawled From Uranus:TOMMY2thread 'Tommy2'MODEL.Load(#BALLAS3)038B: load_requested_modelsjump @Tommy2_12:TOMMY2_1200A1: put_actor $PLAYER_ACTOR at 1970.478882 1622.857300 [email protected] = Actor.Create(Gang1, #BALLAS3, 2013.343994, 1621.949707, 11.601563)05D3: AS_actor $3 goto_point 1979.063843 1623.031860 12.232922 mode 4 -2 ms // versionA Edited June 5, 2008 by tommykills1 Link to comment 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