Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DEFINE MISSIONS 1
- //DEFINE MISSION {ID} 0 AT {LABEL} @
- DEFINE MISSION 0 AT @INTRO
- DEFINE EXTERNAL_SCRIPTS 0 // Use -1 in order not to compile AAA script
- //DEFINE SCRIPT {NAME} AT {LABEL} @
- DEFINE UNKNOWN_EMPTY_SEGMENT 0
- DEFINE UNKNOWN_THREADS_MEMORY 0
- var
- $PLAYER_CHAR: Player
- end // var
- 03A4: name_thread 'MAIN'
- 0169: set_fade_color_RGB 0 0 0
- 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 2175.1885 -1830.7075
- 03CB: set_rendering_origin_at 2175.1885 -1830.7075 16.1475
- 0053: $PLAYER_CHAR = create_player #NULL at 2175.1885 -1830.7075 16.1475
- 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 = 250
- 03E6: remove_text_box
- start_mission 0
- // put your create_thread commands here
- create_thread @SKIN
- //create_thread @DEATH
- :MAIN_LOOP
- 0001: wait $DEFAULT_WAIT_TIME ms
- 00BF: $TIME_HOURS = current_time_hours, $TIME_MINS = current_time_minutes
- 0002: jump @MAIN_LOOP
- // put your mods (threads) here
- :SKIN
- thread 'SKIN'
- model.Load(#HECK2)
- 038B: load_requested_models
- :SKIN_01
- if
- not model.Available(#HECK2)
- jf @SKIN_02
- wait 0
- jump @SKIN_01
- :SKIN_02
- 09C7: change_player $PLAYER_CHAR model_to #HECK2
- end_thread
- //:DEATH
- //thread 'DEAT'
- //04ED: load_animation "INT_ANIM"
- //
- //
- //:DEAT_10
- //wait 10
- //if
- //04EE: animation "INT_ANIM" loaded
- //jf @DEAT_10
- //jump @DEAT_12
- //
- //:DEAT_12
- //wait 0
- //if
- //00E1: player 0 pressed_key 15
- //jf @DEAT_12
- //player.CanMove($PLAYER_CHAR) = False
- //wait 1000
- //0605: actor $PLAYER_ACTOR perform_animation "AL_KILL" IFP "INT_ANIM" framedelta 16.0 loop 0 lockX 0 lockY 0 lockF 1 time -2
- //wait 5000
- //0687: clear_actor $PLAYER_ACTOR task
- //0605: actor $PLAYER_ACTOR perform_animation "AL_DED" IFP "INT_ANIM" framedelta 16.0 loop 1 lockX 1 lockY 1 lockF 1 time -2
- //actor.PutAt($PLAYER_ACTOR, 2175.4077, -1847.5839, 2.51270)
- //
- //end_thread
- //-------------Mission 0---------------
- // put your missions here
- //allen final pos. 1 = 2175.0955 -1838.8103 16.1406 angle = 91.3772 anim = shot in shoulder, fall to "death" ; note: allen must face to his left inorder for the anim to play correctly.
- //... till we meet again
- //-------------Mission 0---------------
- // put your missions here
- :INTRO
- thread 'INTRO'
- gosub @INTRO_40
- if
- wasted_or_busted
- jf @INTRO_38
- gosub @INTRO_18145
- :INTRO_38
- $ONMISSION = 0
- mission_cleanup
- end_thread
- :INTRO_40
- increment_mission_attempts
- $ONMISSION = 1
- 179@ = 0
- 32@ = 0
- camera.SetPosition(2176.9719, -1845.3679, 30.2523, 45.0, 0.0, -10.0)
- 054C: use_GXT_table 'INTRO1'
- 0169: set_fade_color_RGB 0 0 0
- fade 0 0
- 0662: printstring "AA"
- 03F0: enable_text_draw 1
- wait 0
- 03E0: draw_text_behind_textures 0
- 0349: set_text_draw_font 2
- wait 0
- 100@ = 0
- 178@ = 0
- 181@ = 0
- 32@ = 0
- :INTRO_41
- if
- 0 > 179@
- jf @INTRO_42
- if
- 181@ == 0
- if
- 5000 > 32@
- jf @INTRO_42
- wait 0
- 181@ = 1
- gosub @INTRO_TEXT
- jump @INTRO_41
- :INTRO_42
- if
- 0 > 179@
- jf @INTRO_43
- if
- 181@ == 1
- jf @INTRO_43
- if
- 10000 > 32@
- jf @INTRO_43
- wait 0
- 181@ = 2
- gosub @INTRO_TEXT2
- jump @INTRO_42
- :INTRO_43
- if
- 0 > 179@
- jf @INTRO_43
- if
- 181@ == 2
- jf @INTRO_43
- if
- 15000 > 32@
- jf @INTRO_44
- wait 0
- 181@ = 3
- gosub @INTRO_TEXT3
- jump @INTRO_43
- :INTRO_44
- if
- 0 > 179@
- jf @INTRO_45
- wait 0
- gosub @INTRO_TEXT
- gosub @INTRO_TEXT2
- gosub @INTRO_TEXT3
- :INTRO_45
- wait 1000
- fade 1 1000
- wait 5000
- :INTRO_TEXT
- 179@ += 10
- 033F: set_text_draw_letter_size 0.8 1.8
- 0340: set_text_draw_RGBA 255 255 255 179@
- 0342: set_text_draw_centered 1
- 0343: set_text_draw_linewidth 600.0
- 060D: draw_text_shadow 0 rgba 0 0 0 255
- 033E: set_draw_text_position 305.0 180.0 GXT 'INTAA' // Francis INTL. Airport,
- return
- :INTRO_TEXT2
- 179@ += 10
- 033F: set_text_draw_letter_size 0.8 1.8
- 0340: set_text_draw_RGBA 255 255 255 179@
- 0342: set_text_draw_centered 1
- 0343: set_text_draw_linewidth 600.0
- 060D: draw_text_shadow 0 rgba 0 0 0 255
- 033E: set_draw_text_position 305.0 180.0 GXT 'INTAA' // Francis INTL. Airport,
- 033F: set_text_draw_letter_size 0.8 1.8
- 0340: set_text_draw_RGBA 255 255 255 179@
- 0342: set_text_draw_centered 1
- 0343: set_text_draw_linewidth 600.0
- 060D: draw_text_shadow 0 rgba 0 0 0 255
- 033E: set_draw_text_position 320.0 200.0 GXT 'INTAB' // Francis INTL. Airport,
- return
- :INTRO_TEXT3
- 179@ += 10
- 033F: set_text_draw_letter_size 0.8 1.8
- 0340: set_text_draw_RGBA 255 255 255 179@
- 0342: set_text_draw_centered 1
- 0343: set_text_draw_linewidth 600.0
- 060D: draw_text_shadow 0 rgba 0 0 0 255
- 033E: set_draw_text_position 305.0 180.0 GXT 'INTAA' // Francis INTL. Airport,
- 033F: set_text_draw_letter_size 0.8 1.8
- 0340: set_text_draw_RGBA 255 255 255 179@
- 0342: set_text_draw_centered 1
- 0343: set_text_draw_linewidth 600.0
- 060D: draw_text_shadow 0 rgba 0 0 0 255
- 033E: set_draw_text_position 320.0 200.0 GXT 'INTAB' // Francis INTL. Airport,
- 033F: set_text_draw_letter_size 0.8 1.8
- 0340: set_text_draw_RGBA 255 255 255 179@
- 0342: set_text_draw_centered 1
- 0343: set_text_draw_linewidth 600.0
- 060D: draw_text_shadow 0 rgba 0 0 0 255
- 033E: set_draw_text_position 320.0 220.0 GXT 'INTAC' // Francis INTL. Airport,
- return
- :INTRO_18100
- 0318: set_latest_mission_passed 'INTRO'
- 01E3: show_text_1number_styled GXT 'M_PASSS' number 200 time 5000 style 1
- 0998: add_respect 3
- Player.Money($PLAYER_CHAR) += 100
- Player.ClearWantedLevel($PLAYER_CHAR)
- 0394: play_music 1
- return
- :INTRO_18140 //if PLAYER_ACTOR wasted or busted
- return
- :INTRO_18145
- 00BA: text_styled 'M_FAIL' 5000 ms 1
- return
- //-------------External script 0---------------
- // put your external scripts here
Advertisement
Add Comment
Please, Sign In to add comment