Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Drug Wars
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Support

    3. Suggestions

Happy Holidays from the GTANet team!

HELP ME! PLEASE, TO SCRIPT & CLEO SANNY CRASH


valdowiyono
 Share

Recommended Posts

hello guys please help me to solution how to fix script my mod!!! :(:(:(

 

here its script my mod you can check this :) :

{$CLEO .cs}

//-------------MAIN---------------
thread 'ALIEN'
:ALIEN_11
wait 0
if
0256: player $PLAYER_CHAR defined
if and
not Actor.Driving($PLAYER_ACTOR)
8A0C: not player $PLAYER_CHAR on_jetpack
84C8: not actor $PLAYER_ACTOR driving_flying_vehicle
00FE: actor $PLAYER_ACTOR sphere 0 in_sphere 226.1129 2498.733 16.4844 radius 120.0 120.0 120.0
jf @ALIEN_11
jump @ALIEN_87
:ALIEN_87
wait 0
Model.Load(#SPARROW)
Model.Load(#SPECIAL01)
Model.Load(2976)
Model.Load(#M4)
Model.Load(#MICRO_UZI)
Model.Load(#TEC9)
Model.Load(#MP5LNG)
Model.Load(#SPECIAL02)
023C: load_special_actor 'ALIENBS' as 1 // models 290-299
023C: load_special_actor 'ALIEN5' as 2 // models 290-299
038B: load_requested_models
00BF: [email protected] = current_time_hours, [email protected] = current_time_minutes
if and
[email protected] >= 3
23 > [email protected]
jf @ALIEN_199
jump @ALIEN_11
:ALIEN_199
wait 0
if and
Model.Available(#SPARROW)
Model.Available(#SPECIAL01)
Model.Available(2976)
Model.Available(#M4)
Model.Available(#MICRO_UZI)
Model.Available(#TEC9)
Model.Available(#MP5LNG)
Model.Available(#SPECIAL02)
jf @ALIEN_199
$SONG = Audiostream.Load("CLEO\SOUND\UFOBOSSMUSIC.MP3")
$MU = Audiostream.Load3D("CLEO\SOUND\UFOSOUND5.MP3")
$MS = Audiostream.Load3D("CLEO\SOUND\SEARCHLIGHT.MP3")
0881: set_player $PLAYER_CHAR able_to_shoot_weapons 0
$GOO = Object.Create(2976, 0.0, 0.0, 0.0)
0750: set_object $GOO visibility 0
$GOO2 = Object.Create(2976, 0.0, 0.0, 0.0)
0750: set_object $GOO2 visibility 0
$GOO3 = Object.Create(2976, 0.0, 0.0, 0.0)
0750: set_object $GOO3 visibility 0
$BS1 = Actor.Create(Gang1, 290, 254.4401, 2488.925, 16.4844)
Actor.Health($BS1) = 20000
070A: AS_actor $BS1 attach_to_object $GOO offset 0.21 0.0 -0.1 on_bone 5 16 perform_animation "NULL" IFP_file "NULL" time -1
0446: set_actor $BS1 dismemberment_possible 0
060B: set_actor $BS1 decision_maker_to [email protected]
0337: set_actor $BS1 visibility 0
Actor.SetImmunities($BS1, 1, 1, 1, 1, 1)
$BS2 = Actor.Create(Gang1, 290, 254.4432, 2511.223, 16.5479)
Actor.Health($BS2) = 20000
070A: AS_actor $BS2 attach_to_object $GOO2 offset 0.21 0.0 -0.1 on_bone 6 16 perform_animation "NULL" IFP_file "NULL" time -1
0446: set_actor $BS2 dismemberment_possible 0
060B: set_actor $BS2 decision_maker_to [email protected]
0337: set_actor $BS2 visibility 0
Actor.SetImmunities($BS2, 1, 1, 1, 1, 1)
$BS3 = Actor.Create(Gang1, 290, 251.2569, 2489.642, 16.4844)
Actor.Health($BS3) = 20000
070A: AS_actor $BS3 attach_to_object $GOO3 offset 0.21 0.0 -0.1 on_bone 5 16 perform_animation "NULL" IFP_file "NULL" time -1
0446: set_actor $BS3 dismemberment_possible 0
060B: set_actor $BS3 decision_maker_to [email protected]
0337: set_actor $BS3 visibility 0
Actor.SetImmunities($BS3, 1, 1, 1, 1, 1)
$UFO = Car.Create(#SPARROW, 256.5239, 2499.9, 16.4844)
Car.Health($UFO) = 8500
Car.SetImmunities($UFO, 1, 1, 1, 1, 1)
Car.LockInCurrentPosition($UFO) = True
Car.SetSpeedInstantly($UFO, 20.0)
Car.SetMaxSpeed($UFO, 100.0)
Car.SetSpeedInstantly($UFO, 100.0)
$TU1 = Marker.CreateAboveCar($UFO)
07E0: set_marker $TU1 type_to 2
018B: set_marker $TU1 radar_mode 2
wait 1500
Audiostream.PerformAction($SONG, PLAY)
Audiostream.Loop($SONG, 1)
0337: set_actor $BS1 visibility 1
0337: set_actor $BS2 visibility 1
0337: set_actor $BS3 visibility 1
0750: set_object $GOO visibility 1
0750: set_object $GOO2 visibility 1
0750: set_object $GOO3 visibility 1
07CD: AS_actor $BS1 walk_to 255.2557 2496.391 17.0268 stop_with_angle 0.0 within_radius 1.0
07CD: AS_actor $BS2 walk_to 256.0471 2503.23 17.2224 stop_with_angle 0.0 within_radius 1.0
07CD: AS_actor $BS3 walk_to 253.6642 2498.071 16.4844 stop_with_angle 0.0 within_radius 1.0
wait 5500
Object.Destroy($GOO)
Object.RemoveReferences($GOO)
Object.Destroy($GOO2)
Object.RemoveReferences($GOO2)
Object.Destroy($GOO3)
Object.RemoveReferences($GOO3)
Actor.DestroyInstantly($BS1)
Actor.DestroyInstantly($BS2)
Actor.DestroyInstantly($BS3)
wait 2000
Car.LockInCurrentPosition($UFO) = False
070F: plane $UFO fly_direction 0.0 altitude_between -20.0 and 113.0
0825: set_helicopter $UFO instant_rotor_start
03A2: set_car $UFO action 3
0726: heli $UFO follow_actor $PLAYER_ACTOR follow_car -1 radius 100.0
Audiostream.PerformAction($MU, PLAY)
Audiostream.LinkToCar($MU, $UFO)
Audiostream.Volume($MU) = 100.9
Audiostream.Loop($MU, 1)
wait 8500
jump @ALIEN_1191
:ALIEN_1191
wait 0
0743: heli $UFO fly_to 382.3347 2539.624 20.5846 altitude -20.0 113.0
wait 20000
$ALIENDRV = Actor.Create(Gang1, 291, 0.0, 0.0, 0.0)
Actor.Health($ALIENDRV) = 20000
Actor.SetImmunities($ALIENDRV, 1, 1, 1, 1, 1)
039E: set_actor $ALIENDRV locked 1 while_in_car
072A: put_actor $ALIENDRV into_car $UFO driverseat
06C1: create_searchlight $SG1 on_car $UFO with_offset 0.0 0.0 0.0 radius 0.85 target 382.3347 2539.624 20.5846 radius 10.0
Audiostream.PerformAction($MU, STOP)
Audiostream.Loop($MU, 0)
Audiostream.PerformAction($MS, PLAY)
Audiostream.LinkToCar($MS, $UFO)
Audiostream.Volume($MS) = 100.9
Audiostream.Loop($MS, 1)
wait 3000
06B2: destroy_searchlight $SG1
Audiostream.PerformAction($MS, STOP)
Audiostream.Loop($MS, 0)
Audiostream.PerformAction($MU, PLAY)
Audiostream.LinkToCar($MU, $UFO)
Audiostream.Volume($MU) = 100.9
Audiostream.Loop($MU, 1)
0743: heli $UFO fly_to 293.9839 2447.371 20.2074 altitude -20.0 113.0
wait 20000
06C1: create_searchlight $SG2 on_car $UFO with_offset 0.0 0.0 0.0 radius 0.85 target 293.9839 2447.371 20.2074 radius 10.0
Audiostream.PerformAction($MU, STOP)
Audiostream.Loop($MU, 0)
Audiostream.PerformAction($MS, PLAY)
Audiostream.LinkToCar($MS, $UFO)
Audiostream.Volume($MS) = 100.9
Audiostream.Loop($MS, 1)
wait 3000
06B2: destroy_searchlight $SG2
Audiostream.PerformAction($MS, STOP)
Audiostream.Loop($MS, 0)
Audiostream.PerformAction($MU, PLAY)
Audiostream.LinkToCar($MU, $UFO)
Audiostream.Volume($MU) = 100.9
Audiostream.Loop($MU, 1)
0743: heli $UFO fly_to 255.7049 2547.572 22.2656 altitude -20.0 113.0
wait 20000
06C1: create_searchlight $SG3 on_car $UFO with_offset 0.0 0.0 0.0 radius 0.85 target 255.7049 2547.572 22.2656 radius 10.0
Audiostream.PerformAction($MU, STOP)
Audiostream.Loop($MU, 0)
Audiostream.PerformAction($MS, PLAY)
Audiostream.LinkToCar($MS, $UFO)
Audiostream.Volume($MS) = 100.9
Audiostream.Loop($MS, 1)
wait 3000
06B2: destroy_searchlight $SG3
Audiostream.PerformAction($MS, STOP)
Audiostream.Loop($MS, 0)
0743: heli $UFO fly_to 230.5069 2546.717 26.3378 altitude -20.0 113.0
wait 5000
06C1: create_searchlight $SG4 on_car $UFO with_offset 0.0 0.0 0.0 radius 0.85 target 230.5069 2546.717 26.3378 radius 10.0
Audiostream.PerformAction($MS, PLAY)
Audiostream.LinkToCar($MS, $UFO)
Audiostream.Volume($MS) = 100.9
Audiostream.Loop($MS, 1)
wait 3000
06B2: destroy_searchlight $SG4
Audiostream.PerformAction($MS, STOP)
Audiostream.Loop($MS, 0)
Audiostream.PerformAction($MU, PLAY)
Audiostream.LinkToCar($MU, $UFO)
Audiostream.Volume($MU) = 100.9
Audiostream.Loop($MU, 1)
0743: heli $UFO fly_to 293.9839 2447.371 20.2074 altitude -20.0 113.0
wait 20000
06C1: create_searchlight $SG5 on_car $UFO with_offset 0.0 0.0 0.0 radius 0.85 target 293.9839 2447.371 20.2074 radius 10.0
Audiostream.PerformAction($MU, STOP)
Audiostream.Loop($MU, 0)
Audiostream.PerformAction($MS, PLAY)
Audiostream.LinkToCar($MS, $UFO)
Audiostream.Volume($MS) = 100.9
Audiostream.Loop($MS, 1)
wait 3000
06B2: destroy_searchlight $SG5
Audiostream.PerformAction($MS, STOP)
Audiostream.Loop($MS, 0)
Audiostream.PerformAction($MU, PLAY)
Audiostream.LinkToCar($MU, $UFO)
Audiostream.Volume($MU) = 100.9
Audiostream.Loop($MU, 1)
0743: heli $UFO fly_to 382.3347 2539.624 20.5846 altitude -20.0 113.0
wait 20000
06C1: create_searchlight $SG6 on_car $UFO with_offset 0.0 0.0 0.0 radius 0.85 target 382.3347 2539.624 20.5846 radius 10.0
Audiostream.PerformAction($MU, STOP)
Audiostream.Loop($MU, 0)
Audiostream.PerformAction($MS, PLAY)
Audiostream.LinkToCar($MS, $UFO)
Audiostream.Volume($MS) = 100.9
Audiostream.Loop($MS, 1)
wait 3000
06B2: destroy_searchlight $SG6
Audiostream.PerformAction($MS, STOP)
Audiostream.Loop($MS, 0)
Audiostream.PerformAction($MU, PLAY)
Audiostream.LinkToCar($MU, $UFO)
Audiostream.Volume($MU) = 100.9
Audiostream.Loop($MU, 1)
jump @ALIEN_2329
:ALIEN_2329
wait 0
0881: set_player $PLAYER_CHAR able_to_shoot_weapons 0
0ACD: show_text_highpriority "ALIEN: HUMAN IS HERE!!!" time 2000
wait 2500
Car.SetMaxSpeed($UFO, 300.0)
0ACD: show_text_highpriority "ALIEN2: REALLY!? OK WE WILL KILL HUMAN" time 2000
0743: heli $UFO fly_to 256.5239 2499.9 16.4844 altitude -20.0 113.0
wait 20000
Car.LockInCurrentPosition($UFO) = True
099A: set_car $UFO collision_detection 0
04C4: store_coords_to $S1 $S2 $S3 from_actor $ALIENDRV with_offset 0.0 0.0 -100.5
06C1: create_searchlight $SG7 on_car $UFO with_offset 0.0 0.0 0.0 radius 1.85 target $S1 $S2 $S3 radius 10.0
Audiostream.PerformAction($MU, STOP)
Audiostream.Loop($MU, 0)
Audiostream.PerformAction($MS, PLAY)
Audiostream.LinkToCar($MS, $UFO)
Audiostream.Volume($MS) = 100.9
Audiostream.Loop($MS, 1)
04C4: store_coords_to $X $Y $Z from_actor $ALIENDRV with_offset 0.0 0.0 0.0
wait 3000
$AM1 = Actor.Create(Gang1, 291, $X, $Y, $Z)
Actor.Health($AM1) = 1700
Actor.GiveWeaponAndAmmo($AM1, M4, 2000)
Actor.SetImmunities($AM1, 0, 1, 1, 0, 0)
0446: set_actor $AM1 dismemberment_possible 0
02A9: set_actor $AM1 immune_to_nonplayer 1
05E2: AS_actor $AM1 kill_actor $PLAYER_ACTOR
$TAM1 = Marker.CreateAboveActor($AM1)
0165: set_marker $TAM1 color_to 0
0168: set_marker $TAM1 size 1
07E0: set_marker $TAM1 type_to 0
if and
Player.Defined($PLAYER_CHAR)
00F2: actor $PLAYER_ACTOR near_actor $ALIENDRV radius 200.0 200.0 0
jf @ALIEN_7207
0881: set_player $PLAYER_CHAR able_to_shoot_weapons 1
wait 8000
$AM2 = Actor.Create(Gang1, 291, $X, $Y, $Z)
Actor.Health($AM2) = 1700
Actor.GiveWeaponAndAmmo($AM2, M4, 2000)
Actor.SetImmunities($AM2, 0, 1, 1, 0, 0)
02A9: set_actor $AM2 immune_to_nonplayer 1
05E2: AS_actor $AM2 kill_actor $PLAYER_ACTOR
$TAM2 = Marker.CreateAboveActor($AM2)
0165: set_marker $TAM2 color_to 0
0168: set_marker $TAM2 size 1
07E0: set_marker $TAM2 type_to 0
if and
Player.Defined($PLAYER_CHAR)
00F2: actor $PLAYER_ACTOR near_actor $ALIENDRV radius 200.0 200.0 0
jf @ALIEN_7207
wait 3000
Car.LockInCurrentPosition($UFO) = False
099A: set_car $UFO collision_detection 1
06B2: destroy_searchlight $SG7
Audiostream.PerformAction($MU, PLAY)
Audiostream.LinkToCar($MU, $UFO)
Audiostream.Volume($MU) = 100.9
Audiostream.Loop($MU, 1)
Audiostream.PerformAction($MS, STOP)
Audiostream.Loop($MS, 0)
0743: heli $UFO fly_to 255.7049 2547.572 22.2656 altitude -20.0 113.0
wait 20000
Car.LockInCurrentPosition($UFO) = True
099A: set_car $UFO collision_detection 0
04C4: store_coords_to $S1 $S2 $S3 from_actor $ALIENDRV with_offset 0.0 0.0 -100.5
06C1: create_searchlight $SG8 on_car $UFO with_offset 0.0 0.0 0.0 radius 1.85 target $S1 $S2 $S3 radius 10.0
Audiostream.PerformAction($MU, STOP)
Audiostream.Loop($MU, 0)
Audiostream.PerformAction($MS, PLAY)
Audiostream.LinkToCar($MS, $UFO)
Audiostream.Volume($MS) = 100.9
Audiostream.Loop($MS, 1)
04C4: store_coords_to $X2 $Y2 $Z2 from_actor $ALIENDRV with_offset 0.0 0.0 0.0
$AM3 = Actor.Create(Gang1, 291, $X2, $Y2, $Z2)
Actor.Health($AM3) = 1700
02A9: set_actor $AM3 immune_to_nonplayer 1
Actor.GiveWeaponAndAmmo($AM3, M4, 2000)
0446: set_actor $AM3 dismemberment_possible 0
Actor.SetImmunities($AM3, 0, 1, 1, 0, 0)
05E2: AS_actor $AM3 kill_actor $PLAYER_ACTOR
$TAM3 = Marker.CreateAboveActor($AM3)
0165: set_marker $TAM3 color_to 0
0168: set_marker $TAM3 size 1
07E0: set_marker $TAM3 type_to 0
if and
Player.Defined($PLAYER_CHAR)
00F2: actor $PLAYER_ACTOR near_actor $ALIENDRV radius 200.0 200.0 0
jf @ALIEN_7207
wait 8000
$AM4 = Actor.Create(Gang1, 291, $X2, $Y2, $Z2)
Actor.Health($AM4) = 1700
02A9: set_actor $AM4 immune_to_nonplayer 1
Actor.GiveWeaponAndAmmo($AM4, M4, 2000)
Actor.SetImmunities($AM4, 0, 1, 1, 0, 0)
05E2: AS_actor $AM4 kill_actor $PLAYER_ACTOR
$TAM4 = Marker.CreateAboveActor($AM4)
0165: set_marker $TAM4 color_to 0
0168: set_marker $TAM4 size 1
07E0: set_marker $TAM4 type_to 0
if and
Player.Defined($PLAYER_CHAR)
00F2: actor $PLAYER_ACTOR near_actor $ALIENDRV radius 200.0 200.0 0
jf @ALIEN_7207
wait 3000
Car.LockInCurrentPosition($UFO) = False
099A: set_car $UFO collision_detection 1
06B2: destroy_searchlight $SG8
Audiostream.PerformAction($MU, PLAY)
Audiostream.LinkToCar($MU, $UFO)
Audiostream.Volume($MU) = 100.9
Audiostream.Loop($MU, 1)
Audiostream.PerformAction($MS, STOP)
Audiostream.Loop($MS, 0)
0743: heli $UFO fly_to 293.9839 2447.371 20.2074 altitude -20.0 113.0
wait 20000
Car.LockInCurrentPosition($UFO) = True
099A: set_car $UFO collision_detection 0
04C4: store_coords_to $S1 $S2 $S3 from_actor $ALIENDRV with_offset 0.0 0.0 -100.5
06C1: create_searchlight $SG9 on_car $UFO with_offset 0.0 0.0 0.0 radius 1.85 target $S1 $S2 $S3 radius 10.0
Audiostream.PerformAction($MU, STOP)
Audiostream.Loop($MU, 0)
Audiostream.PerformAction($MS, PLAY)
Audiostream.LinkToCar($MS, $UFO)
Audiostream.Volume($MS) = 100.9
Audiostream.Loop($MS, 1)
04C4: store_coords_to $X3 $Y3 $Z3 from_actor $ALIENDRV with_offset 0.0 0.0 0.0
$AM5 = Actor.Create(Gang1, 291, $X3, $Y3, $Z3)
Actor.Health($AM5) = 1700
02A9: set_actor $AM5 immune_to_nonplayer 1
Actor.GiveWeaponAndAmmo($AM5, M4, 2000)
Actor.SetImmunities($AM5, 0, 1, 1, 0, 0)
0446: set_actor $AM5 dismemberment_possible 0
05E2: AS_actor $AM5 kill_actor $PLAYER_ACTOR
$TAM5 = Marker.CreateAboveActor($AM5)
0165: set_marker $TAM5 color_to 0
0168: set_marker $TAM5 size 1
07E0: set_marker $TAM5 type_to 0
if and
Player.Defined($PLAYER_CHAR)
00F2: actor $PLAYER_ACTOR near_actor $ALIENDRV radius 200.0 200.0 0
jf @ALIEN_7207
wait 8000
$AM6 = Actor.Create(Gang1, 291, $X3, $Y3, $Z3)
Actor.Health($AM6) = 1700
02A9: set_actor $AM6 immune_to_nonplayer 1
Actor.GiveWeaponAndAmmo($AM6, M4, 2000)
Actor.SetImmunities($AM6, 0, 1, 1, 0, 0)
05E2: AS_actor $AM6 kill_actor $PLAYER_ACTOR
$TAM6 = Marker.CreateAboveActor($AM6)
0165: set_marker $TAM6 color_to 0
0168: set_marker $TAM6 size 1
07E0: set_marker $TAM6 type_to 0
if and
Player.Defined($PLAYER_CHAR)
00F2: actor $PLAYER_ACTOR near_actor $ALIENDRV radius 200.0 200.0 0
jf @ALIEN_7207
wait 3000
Car.LockInCurrentPosition($UFO) = False
099A: set_car $UFO collision_detection 1
06B2: destroy_searchlight $SG9
Audiostream.PerformAction($MU, PLAY)
Audiostream.LinkToCar($MU, $UFO)
Audiostream.Volume($MU) = 100.9
Audiostream.Loop($MU, 1)
Audiostream.PerformAction($MS, STOP)
Audiostream.Loop($MS, 0)
0743: heli $UFO fly_to 134.4082 2561.818 16.3672 altitude -20.0 113.0
wait 25000
Car.LockInCurrentPosition($UFO) = True
099A: set_car $UFO collision_detection 0
04C4: store_coords_to $S1 $S2 $S3 from_actor $ALIENDRV with_offset 0.0 0.0 -100.5
06C1: create_searchlight $SG10 on_car $UFO with_offset 0.0 0.0 0.0 radius 1.85 target $S1 $S2 $S3 radius 10.0
Audiostream.PerformAction($MU, STOP)
Audiostream.Loop($MU, 0)
Audiostream.PerformAction($MS, PLAY)
Audiostream.LinkToCar($MS, $UFO)
Audiostream.Volume($MS) = 100.9
Audiostream.Loop($MS, 1)
04C4: store_coords_to $X4 $Y4 $Z4 from_actor $ALIENDRV with_offset 0.0 0.0 0.0
$AM7 = Actor.Create(Gang1, 291, $X4, $Y4, $Z4)
Actor.Health($AM7) = 1700
02A9: set_actor $AM7 immune_to_nonplayer 1
Actor.GiveWeaponAndAmmo($AM7, M4, 2000)
Actor.SetImmunities($AM7, 0, 1, 1, 0, 0)
0446: set_actor $AM7 dismemberment_possible 0
04D8: set_actor $AM7 drowns_in_water 0
05E2: AS_actor $AM7 kill_actor $PLAYER_ACTOR
$TAM7 = Marker.CreateAboveActor($AM7)
0165: set_marker $TAM7 color_to 0
0168: set_marker $TAM7 size 1
07E0: set_marker $TAM7 type_to 0
if and
00F2: actor $PLAYER_ACTOR near_actor $ALIENDRV radius 200.0 200.0 0
Player.Defined($PLAYER_CHAR)
jf @ALIEN_7207
wait 8000
$AM8 = Actor.Create(Gang1, 291, $X4, $Y4, $Z4)
Actor.Health($AM8) = 2000
02A9: set_actor $AM8 immune_to_nonplayer 1
Actor.GiveWeaponAndAmmo($AM8, M4, 2000)
Actor.SetImmunities($AM8, 0, 1, 1, 0, 0)
04D8: set_actor $AM8 drowns_in_water 0
05E2: AS_actor $AM8 kill_actor $PLAYER_ACTOR
$TAM8 = Marker.CreateAboveActor($AM8)
0165: set_marker $TAM8 color_to 0
0168: set_marker $TAM8 size 1
07E0: set_marker $TAM8 type_to 0
if and
00F2: actor $PLAYER_ACTOR near_actor $ALIENDRV radius 200.0 200.0 0
Player.Defined($PLAYER_CHAR)
jf @ALIEN_7207
wait 3000
06B2: destroy_searchlight $SG10
Car.LockInCurrentPosition($UFO) = False
099A: set_car $UFO collision_detection 1
Marker.Disable($TU1)
0ACD: show_text_highpriority "DESTROY UFO!, UFO WILL ATTACK YOU!" time 7000
$TU2 = Marker.CreateAboveCar($UFO)
0165: set_marker $TU2 color_to 0
07E0: set_marker $TU2 type_to 0
jump @ALIEN_4649
:ALIEN_4649
04C4: store_coords_to $S1 $S2 $S3 from_actor $ALIENDRV with_offset 0.0 0.0 -100.5
06C1: create_searchlight $SG11 on_car $UFO with_offset 0.0 0.0 0.0 radius 1.85 target $S1 $S2 $S3 radius 8.0
if AND
00F2: actor $PLAYER_ACTOR near_actor $ALIENDRV radius 200.0 200.0 0
Player.Defined($PLAYER_CHAR)
jf @ALIEN_7207
Audiostream.PerformAction($MS, PLAY)
Audiostream.LinkToCar($MS, $UFO)
Audiostream.Volume($MS) = 100.9
Audiostream.Loop($MS, 1)
06B6: set_searchlight $SG11 follow_actor $PLAYER_ACTOR speed 0.2
0724: heli $UFO follow_and_attack_player $PLAYER_CHAR radius 25.0
0841: flying_vehicle $UFO use_secondary_gun 1
03A2: set_car $UFO action 3
wait 20000
if AND
00F2: actor $PLAYER_ACTOR near_actor $ALIENDRV radius 200.0 200.0 0
Player.Defined($PLAYER_CHAR)
jf @ALIEN_7207
0ACD: show_text_highpriority "ALIEN: HMMM, I WILL TELEPORT TO KILL FAST HUMAN!!!" time 5000
wait 5000
0ACD: show_text_highpriority "ALIEN2: OK, I WILL CHANGE TIME TO 23.00!!!" time 9000
wait 1500
00C0: set_current_time_hours_to 23 minutes_to 0
Marker.Disable($TU2)
jump @ALIEN_5003
:ALIEN_5003
wait 0
if
not Actor.Dead($ALIENDRV)
jf @ALIEN_5594
if AND
Player.Defined($PLAYER_CHAR)
00F2: actor $PLAYER_ACTOR near_actor $ALIENDRV radius 200.0 200.0 0
jf @ALIEN_7207
if
[email protected] > 8000
jf @ALIEN_5003
0841: flying_vehicle $UFO use_secondary_gun 0
06B2: destroy_searchlight $SG11
06B2: destroy_searchlight $SG12
Audiostream.PerformAction($MS, STOP)
Audiostream.Loop($MS, 0)
066C: $CM1 = attach_particle "CAMFLASH" to_car $UFO with_offset 0.7 0.0 0 rotation 0.0 180 0.0 type 1
064C: make_particle $CM1 visible
066B: $CM2 = attach_particle "SHOOTLIGHT" to_car $UFO with_offset 0.0 0.0 0.0 type 1
064C: make_particle $CM2 visible
wait 300
066C: $CM3 = attach_particle "CAMFLASH" to_car $UFO with_offset 0.7 0.0 0 rotation 0.0 180 0.0 type 1
064C: make_particle $CM3 visible
066B: $CM4 = attach_particle "SHOOTLIGHT" to_car $UFO with_offset 0.0 0.0 0.0 type 1
064C: make_particle $CM4 visible
0338: set_car $UFO visibility 0
Marker.Disable($TU3)
Car.SetImmunities($UFO, 1, 1, 1, 1, 1)
084E: flying_vehicle $UFO use_primary_gun 1
0726: heli $UFO follow_actor $PLAYER_ACTOR follow_car -1 radius 25.0
04C4: store_coords_to $A $B $C from_actor $PLAYER_ACTOR with_offset 0.0 -45.0 0.0
Car.PutAt($UFO, $A, $B, $C)
0825: set_helicopter $UFO instant_rotor_start
wait 5000
Car.SetImmunities($UFO, 0, 0, 1, 0, 0)
0338: set_car $UFO visibility 1
$TU3 = Marker.CreateAboveCar($UFO)
0165: set_marker $TU3 color_to 0
07E0: set_marker $TU3 type_to 0
0724: heli $UFO follow_and_attack_player $PLAYER_CHAR radius 25.0
03A2: set_car $UFO action 3
04C4: store_coords_to $L1 $L2 $L3 from_actor $ALIENDRV with_offset 0.0 0.0 -100.5
06C1: create_searchlight $SG12 on_car $UFO with_offset 0.0 0.0 0.0 radius 1.85 target $L1 $L2 $L3 radius 8.0
Audiostream.PerformAction($MS, PLAY)
Audiostream.LinkToCar($MS, $UFO)
Audiostream.Volume($MS) = 100.9
Audiostream.Loop($MS, 1)
06B6: set_searchlight $SG12 follow_actor $PLAYER_ACTOR speed 0.2
[email protected] = 0
jump @ALIEN_5003
:ALIEN_5594
Marker.Disable($TU3)
Audiostream.Release($MU)
Audiostream.Release($MS)
Audiostream.PerformAction($MU, STOP)
Audiostream.PerformAction($MS, STOP)
06B2: destroy_searchlight $SG12
06B2: destroy_searchlight $SG11
wait 8000
04C4: store_coords_to $D $E $F from_actor $PLAYER_ACTOR with_offset 0.0 5.0 0.0
$BA4 = Actor.Create(Gang1, #SPECIAL01, $D, $E, $F)
Actor.Health($BA4) = 2000
Actor.GiveWeaponAndAmmo($BA4, Tec9, 8000)
Actor.SetImmunities($BA4, 0, 1, 1, 0, 0)
02A9: set_actor $BA4 immune_to_nonplayer 1
05E2: AS_actor $BA4 kill_actor $PLAYER_ACTOR
if AND
Player.Defined($PLAYER_CHAR)
00F2: actor $PLAYER_ACTOR near_actor $BA4 radius 180.0 180.0 0
jf @ALIEN_7207
0ACD: show_text_highpriority "ALIEN BOSS COMING!!!" time 7000
wait 1000
04C4: store_coords_to $G $H $I from_actor $PLAYER_ACTOR with_offset 0.0 5.0 0.0
$BA5 = Actor.Create(Gang1, #SPECIAL01, $G, $H, $I)
Actor.Health($BA5) = 2000
04D8: set_actor $BA5 drowns_in_water 0
Actor.GiveWeaponAndAmmo($BA5, Tec9, 8000)
Actor.SetImmunities($BA5, 0, 1, 1, 0, 0)
02A9: set_actor $BA5 immune_to_nonplayer 1
05E2: AS_actor $BA5 kill_actor $PLAYER_ACTOR
if AND
Player.Defined($PLAYER_CHAR)
00F2: actor $PLAYER_ACTOR near_actor $BA5 radius 180.0 180.0 0
jf @ALIEN_7207
wait 1000
04C4: store_coords_to $J $K $M from_actor $PLAYER_ACTOR with_offset 0.0 5.0 0.0
$BA7 = Actor.Create(Gang1, #SPECIAL01, $J, $K, $M)
Actor.Health($BA7) = 2000
04D8: set_actor $BA7 drowns_in_water 0
Actor.GiveWeaponAndAmmo($BA7, Tec9, 8000)
Actor.SetImmunities($BA7, 0, 1, 1, 0, 0)
02A9: set_actor $BA7 immune_to_nonplayer 1
05E2: AS_actor $BA7 kill_actor $PLAYER_ACTOR
wait 8000
jump @ALIEN_6061
:ALIEN_6061
if
not Actor.Dead($BA7)
jf @ALIEN_6565
if
Player.Defined($PLAYER_CHAR)
jf @ALIEN_7207
if
[email protected] > 7000
jf @ALIEN_6061
0ACD: show_text_highpriority "--POWER INVISIBLE ALIEN ACTIVE--" time 3000
066A: $CAM8 = attach_particle "CAMFLASH" to_actor $BA4 with_offset 0.7 0.0 0 rotation 0.0 180 0.0 type 0
0883: attach_particle $CAM8 to_actor $BA4 mode 1
064C: make_particle $CAM8 visible
Actor.SetImmunities($BA4, 1, 1, 1, 1, 1)
0337: set_actor $BA4 visibility 0
0555: remove_weapon 32 from_actor $BA4
wait 50
066A: $CAM9 = attach_particle "CAMFLASH" to_actor $BA5 with_offset 0.7 0.0 0 rotation 0.0 180 0.0 type 0
0883: attach_particle $CAM9 to_actor $BA5 mode 1
064C: make_particle $CAM9 visible
Actor.SetImmunities($BA5, 1, 1, 1, 1, 1)
0337: set_actor $BA5 visibility 0
0555: remove_weapon 32 from_actor $BA5
wait 50
066A: $CAM10 = attach_particle "CAMFLASH" to_actor $BA7 with_offset 0.7 0.0 0 rotation 0.0 180 0.0 type 0
0883: attach_particle $CAM10 to_actor $BA7 mode 1
064C: make_particle $CAM10 visible
Actor.SetImmunities($BA7, 1, 1, 1, 1, 1)
0337: set_actor $BA7 visibility 0
0555: remove_weapon 32 from_actor $BA7
wait 8000
Actor.SetImmunities($BA4, 0, 1, 1, 0, 0)
Actor.GiveWeaponAndAmmo($BA4, Tec9, 8000)
0337: set_actor $BA4 visibility 1
wait 999
Actor.SetImmunities($BA5, 0, 1, 1, 0, 0)
Actor.GiveWeaponAndAmmo($BA5, Tec9, 8000)
0337: set_actor $BA5 visibility 1
wait 1500
Actor.SetImmunities($BA7, 0, 1, 1, 0, 0)
Actor.GiveWeaponAndAmmo($BA7, Tec9, 8000)
04D8: set_actor $BA7 drowns_in_water 0
0337: set_actor $BA7 visibility 1
02A9: set_actor $BA7 immune_to_nonplayer 1
[email protected] = 0
jump @ALIEN_6565
:ALIEN_6565
wait 0
if AND
Actor.Dead($BA4)
Actor.Dead($BA5)
Actor.Dead($BA7)
jf @ALIEN_6565
jump @ALIEN_6602
:ALIEN_6602
04C4: store_coords_to $X6 $Y6 $Z6 from_actor $BA4 with_offset 0.0 1.0 0.0
$GOO4 = Object.Create(2976, $X6, $Y6, $Z6)
$TANDA1 = Marker.CreateAboveObject($GOO4)
Marker.SetColor($TANDA1, 1)
Marker.SetIconSize($TANDA1, 2)
wait 50
04C4: store_coords_to $X7 $Y7 $Z7 from_actor $BA5 with_offset 0.0 1.0 0.0
$GOO5 = Object.Create(2976, $X7, $Y7, $Z7)
$TANDA2 = Marker.CreateAboveObject($GOO5)
Marker.SetColor($TANDA2, 1)
Marker.SetIconSize($TANDA2, 2)
wait 50
04C4: store_coords_to $X8 $Y8 $Z8 from_actor $BA7 with_offset 0.0 1.0 0.0
$GOO6 = Object.Create(2976, $X8, $Y8, $Z8)
$TANDA3 = Marker.CreateAboveObject($GOO6)
Marker.SetColor($TANDA3, 1)
Marker.SetIconSize($TANDA3, 2)
0ACD: show_text_highpriority "TAKE GREEN GOO FROM ALIEN!!!" time 7000
jump @ALIEN_6856
:ALIEN_6856
if
00F2: actor $PLAYER_ACTOR near_actor $BA4 radius 1.0 1.0 1.0
jf @ALIEN_7016
0750: set_object $GOO4 visibility 0
Object.Destroy($GOO4)
Marker.Disable($TANDA1)
if
00F2: actor $PLAYER_ACTOR near_actor $BA5 radius 1.0 1.0 1.0
jf @ALIEN_7016
0750: set_object $GOO5 visibility 0
Object.Destroy($GOO5)
Marker.Disable($TANDA2)
if
00F2: actor $PLAYER_ACTOR near_actor [email protected] radius 1.0 1.0 1.0
jf @ALIEN_7016
0750: set_object $GOO6 visibility 0
Object.Destroy($GOO6)
Marker.Disable($TANDA3)
jump @ALIEN_7016
:ALIEN_7016
if AND
Marker.Disable($TANDA1)
Marker.Disable($TANDA2)
Marker.Disable($TANDA3)
jf @ALIEN_7049
jump @ALIEN_6856
:ALIEN_7049
wait 0
Actor.DestroyInstantly($BA4)
Actor.DestroyInstantly($BA5)
Actor.DestroyInstantly($BA7)
Actor.DestroyInstantly($ALIENDRV)
Actor.DestroyInstantly($AM1)
Actor.DestroyInstantly($AM2)
Actor.DestroyInstantly($AM3)
Actor.DestroyInstantly($AM4)
Actor.DestroyInstantly($AM5)
Actor.DestroyInstantly($AM6)
Actor.DestroyInstantly($AM7)
Actor.DestroyInstantly($AM8)
Marker.Disable($TU1)
Marker.Disable($TU3)
Marker.Disable($TU2)
Marker.Disable($TAM1)
Marker.Disable($TAM2)
Marker.Disable($TAM3)
Marker.Disable($TAM4)
Marker.Disable($TAM5)
Marker.Disable($TAM6)
Marker.Disable($TAM7)
Marker.Disable($TAM8)
wait 1000
Car.Destroy($UFO)
Car.RemoveReferences($UFO)
Player.Money($PLAYER_CHAR) += 550000
wait 70000
jump @ALIEN_11
:ALIEN_7207
Actor.DestroyInstantly($ALIENDRV)
06B2: destroy_searchlight $SG12
06B2: destroy_searchlight $SG11
Actor.DestroyInstantly($BA4)
Actor.DestroyInstantly($BA5)
Actor.DestroyInstantly($BA7)
Audiostream.Release($MU)
Audiostream.Release($MS)
Audiostream.Release($SONG)
Audiostream.PerformAction($MU, STOP)
Audiostream.PerformAction($MS, STOP)
Audiostream.PerformAction($SONG, STOP)
Marker.Disable($TU1)
Marker.Disable($TU2)
Marker.Disable($TU3)
Marker.Disable($TAM1)
Marker.Disable($TAM2)
Marker.Disable($TAM3)
Marker.Disable($TAM4)
Marker.Disable($TAM5)
Marker.Disable($TAM6)
Marker.Disable($TAM7)
Marker.Disable($TAM8)
Actor.DestroyInstantly($AM1)
Actor.DestroyInstantly($AM2)
Actor.DestroyInstantly($AM3)
Actor.DestroyInstantly($AM4)
Actor.DestroyInstantly($AM5)
Actor.DestroyInstantly($AM6)
Actor.DestroyInstantly($AM7)
Actor.DestroyInstantly($AM8)
Car.Destroy($UFO)
Car.RemoveReferences($UFO)
wait 70000
jump @ALIEN_11

 

 

 

Link to comment
Share on other sites

Don't use global vars like $BS1 in cleo scripts

$PLAYER_CHAR, $PLAYER_ACTOR and $ONMISSION is ok

for all the others use local vars instead

 

Also look here for propper method to load and spawn special_actor

 

and put maximum 7 conditions inside a conditional check

Link to comment
Share on other sites

Don't use global vars like $BS1 in cleo scripts

$PLAYER_CHAR, $PLAYER_ACTOR and $ONMISSION is ok

for all the others use local vars instead

 

Also look here for propper method to load and spawn special_actor

 

and put maximum 7 conditions inside a conditional check

hmmm, thanks zaz!!! but give me example,i dont know your speak " put maximum 7 conditions inside a coniditional check" :lol:

Edited by valdowiyono
Link to comment
Share on other sites

hmmm, thanks zaz!!! but give me example,i dont know your speak " put maximum 7 conditions inside a coniditional check" :lol:

maximum 7 conditions inside a coniditional check

 

 

Model.Load(#BALLAS1)Model.Load(#BALLAS2)Model.Load(#BALLAS3)Model.Load(#CWFYHB)Model.Load(#CWFYFR2)Model.Load(#CWFYFR1)Model.Load(#CWFOHB)Model.Load(#CWFOFR)Model.Load(#BMYAP)Model.Load(#WFYSTEW)Model.Load(#CWMYHB2)Model.Load(#CWMYHB1)Model.Load(#CWMYFR)Model.Load(#CWMOHB2)Model.Load(#CWMOHB1)Model.Load(#CWMOFR)Model.Load(#WMYSGRD)Model.Load(#WMYPLT)Model.Load(#WMYMECH)Model.Load(#WMYGOL2)Model.Load(#WMYGOL1)Model.Load(#WMYCONB)Model.Load(#WMYCON)Model.Load(3045) :ZOMBILS_1028wait 0 if and   Model.Available(3045)        7 conditions   Model.Available(#WMYGOL1)   Model.Available(#WMYGOL2)   Model.Available(#WMYMECH)   Model.Available(#WMYPLT)   Model.Available(#WMYSGRD)   Model.Available(#WMYCONB)else_jump @ZOMBILS_1028 :ZOMBILS_1073wait 0 if and   Model.Available(#BALLAS1)        7 conditions   Model.Available(#BALLAS2)   Model.Available(#BALLAS3)   Model.Available(#CWFYHB)   Model.Available(#CWFYFR2)   Model.Available(#CWFYFR1)   Model.Available(#CWFOHB)else_jump @ZOMBILS_1073 :ZOMBILS_1120wait 0 if and   Model.Available(#WFYSTEW)        7 conditions   Model.Available(#CWMYHB2)   Model.Available(#CWMYHB1)   Model.Available(#CWMYFR)   Model.Available(#CWMOHB2)   Model.Available(#CWMOHB1)   Model.Available(#CWMOFR)else_jump @ZOMBILS_1120 :ZOMBILS_1169wait 0 if and   Model.Available(#WMYCON)        3 conditions   Model.Available(#BMYAP)   Model.Available(#CWFOFR)else_jump @ZOMBILS_1169

 

 

 

use local vars

 

same var can be used again in case if the reference of the instance has been removed

 

this create an actor instance with local var:

 

[email protected] = Actor.Create(Mission1, #SPECIAL01, [email protected], [email protected], [email protected])

this remove the actor instance:

 

Actor.RemoveReferences([email protected])
this also:

 

Actor.DestroyInstantly([email protected])
and this also:

 

Actor.DestroyWithFade([email protected])
but use only one of these code to remove reference

then the instance can't be used anymore in the script

 

then the var is free to use for another instance

 

script below spawn actors, one after one, all with same local var

 

press Backspace to spawn actors

 

{$CLEO .cs}thread 'EXAMPLE':EXAMPLE_1wait 0 if    Player.Defined($PLAYER_CHAR)jf @EXAMPLE_1 if 0AB0:   key_pressed 8//------------------- press Backspacejf @EXAMPLE_1023C: load_special_actor 'ALIENBS' as 1 // models 290-299023C: load_special_actor 'ALIEN5' as 2 // models 290-299Model.Load(#AK47):EXAMPLE_2wait 0if and023D:   special_actor  1 loaded023D:   special_actor  2 loadedModel.Available(#AK47)jf @EXAMPLE_204C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset 0.0 4.0 [email protected] = Actor.Create(Mission1, #SPECIAL01, [email protected], [email protected], [email protected])Actor.GiveWeaponAndAmmo([email protected], AK47, 99999)Actor.WeaponAccuracy([email protected]) = [email protected] = Marker.CreateAboveActor([email protected])05E2: AS_actor [email protected] kill_actor $PLAYER_ACTORwait 5000Marker.Disable([email protected])Actor.RemoveReferences([email protected])if    Player.Defined($PLAYER_CHAR)jf @[email protected] = Actor.Create(Mission1, #SPECIAL02, [email protected], [email protected], [email protected])Actor.GiveWeaponAndAmmo([email protected], AK47, 99999)Actor.WeaponAccuracy([email protected]) = [email protected] = Marker.CreateAboveActor([email protected])05E2: AS_actor [email protected] kill_actor $PLAYER_ACTORwait 5000Marker.Disable([email protected])Actor.RemoveReferences([email protected])wait 2000if    Player.Defined($PLAYER_CHAR)jf @[email protected] = Actor.Create(Mission1, #SPECIAL01, [email protected], [email protected], [email protected])Actor.GiveWeaponAndAmmo([email protected], AK47, 99999)Actor.WeaponAccuracy([email protected]) = [email protected] = Marker.CreateAboveActor([email protected])05E2: AS_actor [email protected] kill_actor $PLAYER_ACTORwait 5000Marker.Disable([email protected])Actor.RemoveReferences([email protected])wait 2000if    Player.Defined($PLAYER_CHAR)jf @[email protected] = Actor.Create(Mission1, #SPECIAL02, [email protected], [email protected], [email protected])Actor.GiveWeaponAndAmmo([email protected], AK47, 99999)Actor.WeaponAccuracy([email protected]) = [email protected] = Marker.CreateAboveActor([email protected])05E2: AS_actor [email protected] kill_actor $PLAYER_ACTORwait 5000Marker.Disable([email protected])Actor.RemoveReferences([email protected])wait 2000if    Player.Defined($PLAYER_CHAR)jf @EXAMPLE_100BA: show_text_styled GXT 'M_PASSD' time 1000 style 10394: play_music 1jump @EXAMPLE_1 

 

 

 

your Alien script(but not everything), how i would write it

test it, it should work for you

 

{$CLEO .cs}thread 'ALIEN' :ALIEN_11wait 0if0256:   player $PLAYER_CHAR definedjf @ALIEN_1100BF: [email protected] = current_time_hours, [email protected] = current_time_minutesif or  [email protected] > 22  3 > [email protected] @ALIEN_11if and   not Actor.Driving($PLAYER_ACTOR)8A0C:   not player $PLAYER_CHAR on_jetpack84C8:   not actor $PLAYER_ACTOR driving_flying_vehicle 00FE:   actor $PLAYER_ACTOR sphere 0 in_sphere 226.1129 2498.733 16.4844 radius 150.0 150.0 150.0jf @ALIEN_11Model.Load(#SPARROW)Model.Load(2976)Model.Load(#M4)Model.Load(#MICRO_UZI)Model.Load(#TEC9)Model.Load(#MP5LNG):ALIEN_13wait 0if and   Model.Available(#SPARROW)   Model.Available(2976)   Model.Available(#M4)   Model.Available(#MICRO_UZI)   Model.Available(#TEC9)   Model.Available(#MP5LNG)jf @ALIEN_13023C: load_special_actor 'ALIENBS' as 1 // models 290-299023C: load_special_actor 'ALIEN5' as 2 // models 290-299:ALIEN_15wait 0if and023D:   special_actor  1 loaded023D:   special_actor  2 loadedjf @ALIEN_150881: set_player $PLAYER_CHAR able_to_shoot_weapons [email protected] = Object.Create(2976, 0.0, 0.0, 0.0)0750: set_object [email protected] visibility [email protected] = Object.Create(2976, 0.0, 0.0, 0.0)0750: set_object [email protected] visibility [email protected] = Object.Create(2976, 0.0, 0.0, 0.0)0750: set_object [email protected] visibility [email protected] = Actor.Create(Gang1, #SPECIAL01, 254.4401, 2488.925, 16.4844)Actor.Health([email protected]) = 20000070A: AS_actor [email protected] attach_to_object [email protected] offset 0.21 0.0 -0.1 on_bone 5 16 perform_animation "NULL" IFP_file "NULL" time -10446: set_actor [email protected] dismemberment_possible 0060B: set_actor [email protected] decision_maker_to [email protected]: set_actor [email protected] visibility 0Actor.SetImmunities([email protected], 1, 1, 1, 1, 1)[email protected] = Actor.Create(Gang1, #SPECIAL01, 254.4432, 2511.223, 16.5479)Actor.Health([email protected]) = 20000070A: AS_actor [email protected] attach_to_object [email protected] offset 0.21 0.0 -0.1 on_bone 6 16 perform_animation "NULL" IFP_file "NULL" time -10446: set_actor [email protected] dismemberment_possible 0060B: set_actor [email protected] decision_maker_to [email protected]: set_actor [email protected] visibility 0Actor.SetImmunities([email protected], 1, 1, 1, 1, 1)[email protected] = Actor.Create(Gang1, #SPECIAL01, 251.2569, 2489.642, 16.4844)Actor.Health([email protected]) = 20000070A: AS_actor [email protected] attach_to_object [email protected] offset 0.21 0.0 -0.1 on_bone 5 16 perform_animation "NULL" IFP_file "NULL" time -10446: set_actor [email protected] dismemberment_possible 0060B: set_actor [email protected] decision_maker_to [email protected]: set_actor [email protected] visibility 0Actor.SetImmunities([email protected], 1, 1, 1, 1, 1)[email protected] = Car.Create(#SPARROW, 256.5239, 2499.9, 16.4844)Car.Health([email protected]) = 8500Car.SetImmunities([email protected], 1, 1, 1, 1, 1)Car.LockInCurrentPosition([email protected]) = [email protected] = Marker.CreateAboveCar([email protected])07E0: set_marker [email protected] type_to 2018B: set_marker [email protected] radar_mode 2wait 10000337: set_actor [email protected] visibility 10337: set_actor [email protected] visibility 10337: set_actor [email protected] visibility 10750: set_object [email protected] visibility 10750: set_object [email protected] visibility 10750: set_object [email protected] visibility 107CD: AS_actor [email protected] walk_to 255.2557 2496.391 17.0268 stop_with_angle 0.0 within_radius 1.007CD: AS_actor [email protected] walk_to 256.0471 2503.23 17.2224 stop_with_angle 0.0 within_radius 1.007CD: AS_actor [email protected] walk_to 253.6642 2498.071 16.4844 stop_with_angle 0.0 within_radius 1.0wait 6500Object.Destroy([email protected])Object.Destroy([email protected])Object.Destroy([email protected])Actor.DestroyInstantly([email protected])Actor.DestroyInstantly([email protected])Actor.DestroyInstantly([email protected])[email protected] = [email protected] = 0:ALIEN_21wait 0if0256:   player $PLAYER_CHAR definedjf @cleanup_01if and8119: not  car [email protected] wrecked00FE:   actor $PLAYER_ACTOR sphere 0 in_sphere 226.1129 2498.733 16.4844 radius 500.0 500.0 500.0jf @cleanup_01Car.LockInCurrentPosition([email protected]) = False0825: set_helicopter [email protected] instant_rotor_start03A2: set_car [email protected] action 30726: heli [email protected] follow_actor $PLAYER_ACTOR follow_car -1 radius 100.0gosub @AUDIO_CHECKgosub @AUDIO_PLAY_ufosound5wait 7000wait 8500if8119: not  car [email protected] wrecked jf @cleanup_010743: heli [email protected] fly_to 382.3347 2539.624 20.5846 altitude 0.0 113.0wait 20000if0256:   player $PLAYER_CHAR definedjf @cleanup_01if and8119: not  car [email protected] wrecked 00FE:   actor $PLAYER_ACTOR sphere 0 in_sphere 226.1129 2498.733 16.4844 radius 500.0 500.0 500.0jf @cleanup_01gosub @[email protected] = Actor.Create(Gang1, #SPECIAL02, 0.0, 0.0, 0.0)Actor.Health([email protected]) = 20000Actor.SetImmunities([email protected], 1, 1, 1, 1, 1)039E: set_actor [email protected] locked 1 while_in_car072A: put_actor [email protected] into_car [email protected] driverseat06C1: create_searchlight [email protected] on_car [email protected] with_offset 0.0 0.0 0.0 radius 0.85 target 382.3347 2539.624 20.5846 radius 10.0Audiostream.PerformAction([email protected], STOP)Audiostream.Loop([email protected], 0)gosub @[email protected] = [email protected] = [email protected] = 0:ALIEN_35wait 0if0256:   player $PLAYER_CHAR definedjf @cleanup_02if and8119: not  car [email protected] wrecked8118:   not actor [email protected] dead00FE:   actor $PLAYER_ACTOR sphere 0 in_sphere 226.1129 2498.733 16.4844 radius 500.0 500.0 500.0jf @cleanup_02if [email protected] == [email protected] > 3000jf @ALIEN_3706B2: destroy_searchlight [email protected]: heli [email protected] fly_to 293.9839 2447.371 20.2074 altitude 0.0 113.0Audiostream.PerformAction([email protected], STOP)Audiostream.Loop([email protected], 0)gosub @[email protected] = [email protected] = [email protected] = 0:ALIEN_37if [email protected] == [email protected] > 20000jf @ALIEN_3906C1: create_searchlight [email protected] on_car [email protected] with_offset 0.0 0.0 0.0 radius 0.85 target 293.9839 2447.371 20.2074 radius 10.0Audiostream.PerformAction([email protected], STOP)Audiostream.Loop([email protected], 0)gosub @[email protected] = [email protected] = [email protected] = 0:ALIEN_39if [email protected] == [email protected] > 3000jf @ALIEN_4106B2: destroy_searchlight [email protected]: heli [email protected] fly_to 255.7049 2547.572 22.2656 altitude 0.0 113.0Audiostream.PerformAction([email protected], STOP)Audiostream.Loop([email protected], 0)gosub @[email protected] = [email protected] = [email protected] = 0:ALIEN_41if [email protected] == [email protected] > 20000jf @ALIEN_4306C1: create_searchlight [email protected] on_car [email protected] with_offset 0.0 0.0 0.0 radius 0.85 target 293.9839 2447.371 20.2074 radius 10.0Audiostream.PerformAction([email protected], STOP)Audiostream.Loop([email protected], 0)gosub @[email protected] = [email protected] = [email protected] = 0:ALIEN_43if [email protected] == [email protected] > 3000jf @ALIEN_4506B2: destroy_searchlight [email protected]: heli [email protected] fly_to 230.5069 2546.717 26.3378 altitude 0.0 113.0Audiostream.PerformAction([email protected], STOP)Audiostream.Loop([email protected], 0)gosub @[email protected] = [email protected] = [email protected] = 0:ALIEN_45if [email protected] == [email protected] > 5000jf @ALIEN_4706C1: create_searchlight [email protected] on_car [email protected] with_offset 0.0 0.0 0.0 radius 0.85 target 230.5069 2546.717 26.3378 radius 10.0Audiostream.PerformAction([email protected], STOP)Audiostream.Loop([email protected], 0)gosub @[email protected] = [email protected] = [email protected] = 0:ALIEN_47if [email protected] == [email protected] > 3000jf @ALIEN_4906B2: destroy_searchlight [email protected]: heli [email protected] fly_to 293.9839 2447.371 20.2074 altitude 0.0 113.0Audiostream.PerformAction([email protected], STOP)Audiostream.Loop([email protected], 0)gosub @[email protected] = [email protected] = [email protected] = 0:ALIEN_49if [email protected] == [email protected] > 20000jf @ALIEN_5106C1: create_searchlight [email protected] on_car [email protected] with_offset 0.0 0.0 0.0 radius 0.85 target 293.9839 2447.371 20.2074 radius 10.0Audiostream.PerformAction([email protected], STOP)Audiostream.Loop([email protected], 0)gosub @[email protected] = [email protected] = [email protected] = 0:ALIEN_51if [email protected] == [email protected] > 3000jf @ALIEN_5306B2: destroy_searchlight [email protected]: heli [email protected] fly_to 382.3347 2539.624 20.5846 altitude 0.0 113.0Audiostream.PerformAction([email protected], STOP)Audiostream.Loop([email protected], 0)gosub @[email protected] = [email protected] = [email protected] = 0:ALIEN_53if [email protected] == [email protected] > 20000jf @ALIEN_5506C1: create_searchlight [email protected] on_car [email protected] with_offset 0.0 0.0 0.0 radius 0.85 target 382.3347 2539.624 20.5846 radius 10.0Audiostream.PerformAction([email protected], STOP)Audiostream.Loop([email protected], 0)gosub @[email protected] = [email protected] = [email protected] = 0:ALIEN_55if [email protected] == [email protected] > 3000jf @ALIEN_5706B2: destroy_searchlight [email protected]([email protected], STOP)Audiostream.Loop([email protected], 0)gosub @AUDIO_PLAY_ufosound50ACD: show_text_highpriority "ALIEN: HUMAN IS HERE!!!" time [email protected] = [email protected] = [email protected] = 0:ALIEN_57if [email protected] == [email protected] > 2500jf @ALIEN_590743: heli [email protected] fly_to 256.5239 2499.9 16.4844 altitude 0.0 113.007BB: set_heli [email protected] horizontal_thrust_power 100ACD: show_text_highpriority "ALIEN2: REALLY!? OK WE WILL KILL HUMAN" time [email protected] = [email protected] = 0:ALIEN_59if [email protected] == [email protected] > 20000jf @ALIEN_6107BB: set_heli [email protected] horizontal_thrust_power 0Car.LockInCurrentPosition([email protected]) = True04C4: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset 0.0 0.0 -100.506C1: create_searchlight [email protected] on_car [email protected] with_offset 0.0 0.0 0.0 radius 1.85 target [email protected] [email protected] [email protected] radius [email protected] = [email protected] = [email protected] = 004C4: store_coords_to [email protected] [email protected] [email protected] from_actor [email protected] with_offset 0.0 0.0 0.0:ALIEN_61if [email protected] == [email protected] > 3000jf @ALIEN_35gosub @[email protected] = Actor.Create(Gang1, #SPECIAL02, [email protected], [email protected], [email protected])Actor.Health([email protected]) = 1700Actor.GiveWeaponAndAmmo([email protected], M4, 2000)Actor.SetImmunities([email protected], 0, 1, 1, 0, 0)0446: set_actor [email protected] dismemberment_possible 002A9: set_actor [email protected] immune_to_nonplayer 105E2: AS_actor [email protected] kill_actor [email protected] = Marker.CreateAboveActor([email protected])0165: set_marker [email protected] color_to 00168: set_marker [email protected] size 107E0: set_marker [email protected] type_to 0gosub @[email protected] = 0:ALIEN_71wait 0if0256:   player $PLAYER_CHAR definedjf @cleanup_05if and8119: not  car [email protected] wrecked8118:   not actor [email protected] dead00FE:   actor $PLAYER_ACTOR sphere 0 in_sphere 226.1129 2498.733 16.4844 radius 500.0 500.0 500.0jf @[email protected] == 0jf @ALIEN_73if00F2:   actor $PLAYER_ACTOR near_actor [email protected] radius 200.0 200.0 0jf @ALIEN_730881: set_player $PLAYER_CHAR able_to_shoot_weapons [email protected] = [email protected] = 0:ALIEN_73if [email protected] == [email protected] > 8000jf @[email protected] = Actor.Create(Gang1, #SPECIAL02, [email protected], [email protected], [email protected])Actor.Health([email protected]) = 1700Actor.GiveWeaponAndAmmo([email protected], M4, 2000)Actor.SetImmunities([email protected], 0, 1, 1, 0, 0)02A9: set_actor [email protected] immune_to_nonplayer 105E2: AS_actor [email protected] kill_actor [email protected] = Marker.CreateAboveActor([email protected])0165: set_marker [email protected] color_to 00168: set_marker [email protected] size 107E0: set_marker [email protected] type_to 0:ALIEN_81wait 0if0256:   player $PLAYER_CHAR definedjf @cleanup_09if00FE:   actor $PLAYER_ACTOR sphere 0 in_sphere 226.1129 2498.733 16.4844 radius 500.0 500.0 500.0jf @cleanup_09if and0118:   actor [email protected] dead0118:   actor [email protected] deadjf @ALIEN_8100BA: show_text_styled GXT 'M_PASSD' time 1000 style 10394: play_music 1jump @cleanup_09:CLEANUP_010881: set_player $PLAYER_CHAR able_to_shoot_weapons 1Marker.Disable([email protected])Car.RemoveReferences([email protected])wait 2000jump @ALIEN_11:[email protected] == 1jf @cleanup_0306B2: destroy_searchlight [email protected]:cleanup_030881: set_player $PLAYER_CHAR able_to_shoot_weapons 101C2: remove_references_to_actor [email protected]([email protected])Car.RemoveReferences([email protected])0249: release_model #SPARROW0249: release_model 29760296: unload_special_actor  10296: unload_special_actor  2Audiostream.PerformAction([email protected], STOP)Audiostream.Release([email protected])Audiostream.PerformAction([email protected], STOP)Audiostream.Release([email protected])Audiostream.PerformAction([email protected], STOP)Audiostream.Release([email protected])wait 2000jump @ALIEN_11:[email protected] == 1jf @cleanup_0706B2: destroy_searchlight [email protected]:cleanup_070881: set_player $PLAYER_CHAR able_to_shoot_weapons 1Marker.Disable([email protected])01C2: remove_references_to_actor [email protected]: remove_references_to_actor [email protected]([email protected])Car.RemoveReferences([email protected])0249: release_model #SPARROW0249: release_model 29760296: unload_special_actor  10296: unload_special_actor  2Audiostream.PerformAction([email protected], STOP)Audiostream.Release([email protected])Audiostream.PerformAction([email protected], STOP)Audiostream.Release([email protected])Audiostream.PerformAction([email protected], STOP)Audiostream.Release([email protected])wait 2000jump @ALIEN_11:[email protected] == 1jf @cleanup_1106B2: destroy_searchlight [email protected]:cleanup_110881: set_player $PLAYER_CHAR able_to_shoot_weapons 1Marker.Disable([email protected])Marker.Disable([email protected])01C2: remove_references_to_actor [email protected]: remove_references_to_actor [email protected]: remove_references_to_actor [email protected]([email protected])Car.RemoveReferences([email protected])0249: release_model #SPARROW0249: release_model 29760296: unload_special_actor  10296: unload_special_actor  2Audiostream.PerformAction([email protected], STOP)Audiostream.Release([email protected])Audiostream.PerformAction([email protected], STOP)Audiostream.Release([email protected])Audiostream.PerformAction([email protected], STOP)Audiostream.Release([email protected])wait 2000jump @ALIEN_11:RELOAD_ALIEN_10001: wait 0 ms 00D6: if or823D:   not special_actor 1 loaded 823D:   not special_actor 2 loaded004D: jump_if_false @RELOAD_ALIEN_3 023C: load_special_actor 'ALIENBS' as 1 // models 290-299 023C: load_special_actor 'ALIEN5' as 2 // models 290-299 0002: jump @RELOAD_ALIEN_1:RELOAD_ALIEN_3return:[email protected] = 0if  and0AAB:   file_exists "CLEO\SOUND\SEARCHLIGHT.MP3" 0AAB:   file_exists "CLEO\SOUND\UFOSOUND5.MP3"0AAB:   file_exists "CLEO\SOUND\UFOBOSSMUSIC.MP3"jf @AUDIO_OFF:AUDIO_LOADwait 0if [email protected] = Audiostream.Load3D("CLEO\SOUND\SEARCHLIGHT.MP3")[email protected] = Audiostream.Load3D("CLEO\SOUND\UFOSOUND5.MP3")[email protected] = Audiostream.Load("CLEO\SOUND\UFOBOSSMUSIC.MP3")jf @[email protected] = 1return:AUDIO_OFF0ACD: show_text_highpriority "mp3 files are missing" time 4000return:[email protected] == 1jf @AUDIO_EXITAudiostream.PerformAction([email protected], PLAY)Audiostream.LinkToCar([email protected], [email protected])Audiostream.Volume([email protected]) = 1.0Audiostream.Loop([email protected], 1)return:[email protected] == 1jf @AUDIO_EXITAudiostream.PerformAction([email protected], PLAY)Audiostream.LinkToCar([email protected], [email protected])Audiostream.Volume([email protected]) = 1.0Audiostream.Loop([email protected], 1)return:[email protected] == 1jf @AUDIO_EXITAudiostream.PerformAction([email protected], PLAY)Audiostream.Volume([email protected]) = 1.0return:AUDIO_EXITreturn

 

Edited by ZAZ
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.