iLiR Posted September 1, 2010 Share Posted September 1, 2010 (edited) Hi people. I wanna ask you something about stripped main.scm. After you install it, and start new game for first time, loading bar finishes ok, but the game starts immediately, not like original main.scm, you know, like fading out from black to game. Hope you understand me ! Anyway, Can you give me a code so the game will start like original main.scm? EDIT: If you don't understand me what I'm talking about, then watch this video. Edited September 2, 2010 by ilir Link to comment https://gtaforums.com/topic/458303-a-question-about-stripped-mainscm/ Share on other sites More sharing options...
TheSiggi Posted September 1, 2010 Share Posted September 1, 2010 Hi people. I wanna ask you something about stripped main.scm. After you install it, why when you start new game for first time, loading bar finishes ok, but the game starts immediately, not like original main.scm, you know, like fading out from black to game. Hope you understand me ! Can you give me a code so the game will start like original scripts? have you deleted your script.img from the script folder? also Sannybuilder comes with a stripped main: {$VERSION 3.0.0000}var$PLAYER_CHAR: Playerend // var 03A4: name_thread 'MAIN' 01F0: set_max_wanted_level_to 6 0111: toggle_wasted_busted_check 0 00C0: set_current_time_hours_to 8 minutes_to 0 04E4: unknown_refresh_game_renderer_at 2488.56 -1666.84 03CB: set_rendering_origin_at 2488.56 -1666.84 13.38 0053: $PLAYER_CHAR = create_player #NULL at 2488.56 -1666.84 13.38 01F5: $PLAYER_ACTOR = create_player_actor $PLAYER_CHAR 07AF: $PLAYER_GROUP = player $PLAYER_CHAR group 0373: set_camera_directly_behind_player 01B6: set_weather 0 0001: wait 0 ms 087B: set_player $PLAYER_CHAR clothes_texture "PLAYER_FACE" model "HEAD" body_part 1 087B: set_player $PLAYER_CHAR clothes_texture "JEANSDENIM" model "JEANS" body_part 2 087B: set_player $PLAYER_CHAR clothes_texture "SNEAKERBINCBLK" model "SNEAKER" body_part 3 087B: set_player $PLAYER_CHAR clothes_texture "VEST" model "VEST" body_part 0 070D: rebuild_player $PLAYER_CHAR 01B4: toggle_player $PLAYER_CHAR can_move 1 016A: fade 1 time 0 04BB: select_interior 0 0629: change_integer_stat 181 to 4 016C: restart_if_wasted_at 2027.77 -1420.52 15.99 angle 137.0 town_number 0 016D: restart_if_busted_at 1550.68 -1675.49 14.51 angle 90.0 town_number 0 0180: set_on_mission_flag_to $ONMISSION // Note: your missions have to use the variable defined here 0004: $DEFAULT_WAIT_TIME = 25003E6: remove_text_box // put your create_thread commands here:MAIN_LOOP0001: wait $DEFAULT_WAIT_TIME ms00BF: $TIME_HOURS = current_time_hours, $TIME_MINS = current_time_minutes0002: jump @MAIN_LOOP // put your mods (threads) here//-------------Mission 0---------------// put your missions here//-------------External script 0---------------// put your external scripts here Link to comment https://gtaforums.com/topic/458303-a-question-about-stripped-mainscm/#findComment-1060108747 Share on other sites More sharing options...
iLiR Posted September 1, 2010 Author Share Posted September 1, 2010 have you deleted your script.img from the script folder? also Sannybuilder comes with a stripped main No I didn't deleted script.img. And yes, I know that SannyBuilder comes with a stripped main. I actually use that stripped main.scm Link to comment https://gtaforums.com/topic/458303-a-question-about-stripped-mainscm/#findComment-1060108751 Share on other sites More sharing options...
TheSiggi Posted September 1, 2010 Share Posted September 1, 2010 have you deleted your script.img from the script folder? also Sannybuilder comes with a stripped main No I didn't deleted script.img. And yes, I know that SannyBuilder comes with a stripped main. I actually use that stripped main.scm and have you tried it after you deleted the script.img? Link to comment https://gtaforums.com/topic/458303-a-question-about-stripped-mainscm/#findComment-1060108764 Share on other sites More sharing options...
iLiR Posted September 1, 2010 Author Share Posted September 1, 2010 Maybe... I'm not sure, but I think this doesn't have anything with script.img cuz it's for external scripts. Link to comment https://gtaforums.com/topic/458303-a-question-about-stripped-mainscm/#findComment-1060108768 Share on other sites More sharing options...
TheSiggi Posted September 1, 2010 Share Posted September 1, 2010 Maybe... I'm not sure, but I think this doesn't have anything with script.img cuz it's for external scripts. have you tried it???? jeez, is it realy that hard to try what I suggest???? Link to comment https://gtaforums.com/topic/458303-a-question-about-stripped-mainscm/#findComment-1060108771 Share on other sites More sharing options...
iLiR Posted September 1, 2010 Author Share Posted September 1, 2010 (edited) have you tried it????jeez, is it realy that hard to try what I suggest???? Yes, I think. First I tried with main.scm only, then added script.img with aaa.scm only inside it. Edited September 1, 2010 by ilir Link to comment https://gtaforums.com/topic/458303-a-question-about-stripped-mainscm/#findComment-1060108773 Share on other sites More sharing options...
TheSiggi Posted September 1, 2010 Share Posted September 1, 2010 then you should make sure your game is alright, because I tried Sannys main a couple of minutes ago and it worked fine Link to comment https://gtaforums.com/topic/458303-a-question-about-stripped-mainscm/#findComment-1060108796 Share on other sites More sharing options...
iLiR Posted September 2, 2010 Author Share Posted September 2, 2010 This is not a problem, dude. I just wanna get the code so when you start new game (or load game), starting like fading out from black to the gameplay (like R* one), not like stripped one, starting immediately after loading bar finishes. Hope you understand me. Link to comment https://gtaforums.com/topic/458303-a-question-about-stripped-mainscm/#findComment-1060109553 Share on other sites More sharing options...
ZAZ Posted September 2, 2010 Share Posted September 2, 2010 (edited) This is not a problem, dude. I just wanna get the code so when you start new game (or load game), starting like fading out from black to the gameplay (like R* one), not like stripped one, starting immediately after loading bar finishes. Hope you understand me. using the template of sanny files or from TheSiggi above should start you're game in a proper way if not, then you have added or changed something which let the code stuck or don't let do the fade out so post you're script, then we can find you're mistake the main.scm beginns regulary with a fade in, but it's not neccesary as you can see in TheSiggis template fade in (screen will be black) 016A: fade 0 (in) 0 ms// with opcode and description in bracket016A: fade 0 () 0 ms// with opcodefade 0 0// without opcode// each variation is valid after the most important codes, when player is created, time, weather and interior is defined it should fade out but if you added a lot of codes there, before fading out, it can cause a disturbance then you need to insert wait times to give the game the chance to apply the gamestart a wait time of 250ms maybe or 1000ms should be enough fade out (screen shows the gameworld) 016A: fade 1 (out) 1000 ms// with opcode and description in bracket016A: fade 1 () 0 ms// with opcodefade 1 0// without opcode// each variation is valid fade time is the duration of the fading, from black screen to show gameworld or reverse Edited September 2, 2010 by ZAZ Link to comment https://gtaforums.com/topic/458303-a-question-about-stripped-mainscm/#findComment-1060109588 Share on other sites More sharing options...
iLiR Posted September 2, 2010 Author Share Posted September 2, 2010 I used the same script as The_Siggi posted here, without any changes or adding something, and it is not fading out. Watch this video if you're not sure what I'm talking about. Link to comment https://gtaforums.com/topic/458303-a-question-about-stripped-mainscm/#findComment-1060109596 Share on other sites More sharing options...
BnB Posted September 2, 2010 Share Posted September 2, 2010 I think the problem is that using a stripped main player will be created faster than original main. Using main you can move the player when fading. so use 016A: fade 1 time 500 Link to comment https://gtaforums.com/topic/458303-a-question-about-stripped-mainscm/#findComment-1060109636 Share on other sites More sharing options...
iLiR Posted September 2, 2010 Author Share Posted September 2, 2010 With fade 1 time 500, the game only waits a little then starts immediately, not like fading out. But I think the game have nothing to load with stripped main.scm, that's because the fading out effects don't work, I think. Or it doesn't matter? Link to comment https://gtaforums.com/topic/458303-a-question-about-stripped-mainscm/#findComment-1060110201 Share on other sites More sharing options...
TheSiggi Posted September 2, 2010 Share Posted September 2, 2010 016A: fade 0 time 500 0001: wait 500 ms 0001: wait 1500 ms 016A: fade 1 time 1000 wait 1500 Link to comment https://gtaforums.com/topic/458303-a-question-about-stripped-mainscm/#findComment-1060110212 Share on other sites More sharing options...
iLiR Posted September 2, 2010 Author Share Posted September 2, 2010 016A: fade 0 time 500 0001: wait 500 ms 0001: wait 1500 ms 016A: fade 1 time 1000 wait 1500 Can you add this to the stripped main.scm and post here? (cuz I'm very big noob for scripting) Link to comment https://gtaforums.com/topic/458303-a-question-about-stripped-mainscm/#findComment-1060110219 Share on other sites More sharing options...
Pie015 Posted September 2, 2010 Share Posted September 2, 2010 (edited) Hi people. I wanna ask you something about stripped main.scm. After you install it, and start new game for first time, loading bar finishes ok, but the game starts immediately, not like original main.scm, you know, like fading out from black to game. Hope you understand me ! Anyway, Can you give me a code so the game will start like original main.scm? EDIT: If you don't understand me what I'm talking about, then watch this video. Tell me if this doesen't work: at the top of your script, after thread "MAIN" add this: thread "MAIN"// add: 016A: fade 1 time 100 here01F0: set_max_wanted_level_to 60111: toggle_wasted_busted_check 000C0: set_current_time_hours_to 8 minutes_to 004E4: unknown_refresh_game_renderer_at 2488.56 -1666.8403CB: set_rendering_origin_at 2488.56 -1666.84 13.380053: $PLAYER_CHAR = create_player #NULL at 2488.56 -1666.84 13.3801F5: $PLAYER_ACTOR = create_player_actor $PLAYER_CHAR07AF: $PLAYER_GROUP = player $PLAYER_CHAR group0373: set_camera_directly_behind_player01B6: set_weather 00001: wait 0 ms087B: set_player $PLAYER_CHAR clothes_texture "PLAYER_FACE" model "HEAD" body_part 1087B: set_player $PLAYER_CHAR clothes_texture "JEANSDENIM" model "JEANS" body_part 2087B: set_player $PLAYER_CHAR clothes_texture "SNEAKERBINCBLK" model "SNEAKER" body_part 3087B: set_player $PLAYER_CHAR clothes_texture "VEST" model "VEST" body_part 0070D: rebuild_player $PLAYER_CHAR01B4: toggle_player $PLAYER_CHAR can_move 1// add: wait 500 here016A: fade 1 time 0 // Change this to: fade 1 10004BB: select_interior 00629: change_integer_stat 181 to 4016C: restart_if_wasted_at 2027.77 -1420.52 15.99 angle 137.0 town_number 0016D: restart_if_busted_at 1550.68 -1675.49 14.51 angle 90.0 town_number 00180: set_on_mission_flag_to $ONMISSION // Note: your missions have to use the variable defined here0004: $DEFAULT_WAIT_TIME = 25003E6: remove_text_box// put your create_thread commands here:MAIN_LOOP0001: wait $DEFAULT_WAIT_TIME ms00BF: $TIME_HOURS = current_time_hours, $TIME_MINS = current_time_minutes0002: jump @MAIN_LOOP// put your mods (threads) here//-------------Mission 0---------------// put your missions here//-------------External script 0---------------// put your external scripts here Here is what it looks like when you edited it: thread "MAIN"016A: fade 0 time 100 // put 016A: fade 0 time 10001F0: set_max_wanted_level_to 60111: toggle_wasted_busted_check 000C0: set_current_time_hours_to 8 minutes_to 004E4: unknown_refresh_game_renderer_at 2488.56 -1666.8403CB: set_rendering_origin_at 2488.56 -1666.84 13.380053: $PLAYER_CHAR = create_player #NULL at 2488.56 -1666.84 13.3801F5: $PLAYER_ACTOR = create_player_actor $PLAYER_CHAR07AF: $PLAYER_GROUP = player $PLAYER_CHAR group0373: set_camera_directly_behind_player01B6: set_weather 00001: wait 0 ms087B: set_player $PLAYER_CHAR clothes_texture "PLAYER_FACE" model "HEAD" body_part 1087B: set_player $PLAYER_CHAR clothes_texture "JEANSDENIM" model "JEANS" body_part 2087B: set_player $PLAYER_CHAR clothes_texture "SNEAKERBINCBLK" model "SNEAKER" body_part 3087B: set_player $PLAYER_CHAR clothes_texture "VEST" model "VEST" body_part 0070D: rebuild_player $PLAYER_CHAR01B4: toggle_player $PLAYER_CHAR can_move 1wait 500 // add wait 500 herefade 1 100 // Change this to: fade 1 10004BB: select_interior 00629: change_integer_stat 181 to 4016C: restart_if_wasted_at 2027.77 -1420.52 15.99 angle 137.0 town_number 0016D: restart_if_busted_at 1550.68 -1675.49 14.51 angle 90.0 town_number 00180: set_on_mission_flag_to $ONMISSION // Note: your missions have to use the variable defined here0004: $DEFAULT_WAIT_TIME = 25003E6: remove_text_box// put your create_thread commands here:MAIN_LOOP0001: wait $DEFAULT_WAIT_TIME ms00BF: $TIME_HOURS = current_time_hours, $TIME_MINS = current_time_minutes0002: jump @MAIN_LOOP// put your mods (threads) here//-------------Mission 0---------------// put your missions here//-------------External script 0---------------// put your external scripts here Edited September 2, 2010 by Pie015 Link to comment https://gtaforums.com/topic/458303-a-question-about-stripped-mainscm/#findComment-1060110294 Share on other sites More sharing options...
ZAZ Posted September 3, 2010 Share Posted September 3, 2010 Have you ever tried a fade time of 5000 ms ? Link to comment https://gtaforums.com/topic/458303-a-question-about-stripped-mainscm/#findComment-1060110684 Share on other sites More sharing options...
gtasearcher Posted September 3, 2010 Share Posted September 3, 2010 {$VERSION 3.0.0000}var$PLAYER_CHAR: Playerend // var // PUT INSTANT FADE IN HEREfade 0 0 // fade (in) in 0 ms03A4: name_thread 'MAIN' 01F0: set_max_wanted_level_to 6 0111: toggle_wasted_busted_check 0 00C0: set_current_time_hours_to 8 minutes_to 0 04E4: unknown_refresh_game_renderer_at 2488.56 -1666.84 03CB: set_rendering_origin_at 2488.56 -1666.84 13.38 0053: $PLAYER_CHAR = create_player #NULL at 2488.56 -1666.84 13.38 01F5: $PLAYER_ACTOR = create_player_actor $PLAYER_CHAR 07AF: $PLAYER_GROUP = player $PLAYER_CHAR group 0373: set_camera_directly_behind_player 01B6: set_weather 0 0001: wait 0 ms 087B: set_player $PLAYER_CHAR clothes_texture "PLAYER_FACE" model "HEAD" body_part 1 087B: set_player $PLAYER_CHAR clothes_texture "JEANSDENIM" model "JEANS" body_part 2 087B: set_player $PLAYER_CHAR clothes_texture "SNEAKERBINCBLK" model "SNEAKER" body_part 3 087B: set_player $PLAYER_CHAR clothes_texture "VEST" model "VEST" body_part 0 070D: rebuild_player $PLAYER_CHAR 01B4: toggle_player $PLAYER_CHAR can_move 1 016A: fade 1 time 0 04BB: select_interior 0 0629: change_integer_stat 181 to 4 016C: restart_if_wasted_at 2027.77 -1420.52 15.99 angle 137.0 town_number 0 016D: restart_if_busted_at 1550.68 -1675.49 14.51 angle 90.0 town_number 0 0180: set_on_mission_flag_to $ONMISSION // Note: your missions have to use the variable defined here 0004: $DEFAULT_WAIT_TIME = 25003E6: remove_text_box // PUT FADE OU THEREfade 1 1500 // fade (out) in 1500 ms// put your create_thread commands here:MAIN_LOOP0001: wait $DEFAULT_WAIT_TIME ms00BF: $TIME_HOURS = current_time_hours, $TIME_MINS = current_time_minutes0002: jump @MAIN_LOOP // put your mods (threads) here//-------------Mission 0---------------// put your missions here//-------------External script 0---------------// put your external scripts here Link to comment https://gtaforums.com/topic/458303-a-question-about-stripped-mainscm/#findComment-1060110903 Share on other sites More sharing options...
iLiR Posted September 3, 2010 Author Share Posted September 3, 2010 Thanx people, I used gtasearcher's version with fade 1 3500 and it's close to the original one. I'm sure why fading isn't working properly. The game have nothing to load with stripped main.scm and that's because the game starts immediately. @ZAZ: 5000 is too much Link to comment https://gtaforums.com/topic/458303-a-question-about-stripped-mainscm/#findComment-1060111033 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