#1 Re: Вопросы по скриптингу » UFO » 25-01-2011 19:34

Den_spb, ОГРОМНОЕ СПАСИБО!!!
Просто я номер ID ставил тоже с знаком #, поставил номер без решётки и всё нормально. Всё, теперь всё ОК!

#2 Re: Вопросы по скриптингу » UFO » 25-01-2011 18:12

Den_spb, читай сначала. Я там написал что менял SPARROW на NLO и скрипт не компилировался после изменения!

#3 Re: Вопросы по скриптингу » UFO » 25-01-2011 18:01

Den_spb, блин, да я так и делал!!!

#4 Re: Вопросы по скриптингу » UFO » 25-01-2011 17:43

Ну вот на попробуй скомпилируй (тестовый документ как файл не удаётся поместить):

// This file was decompiled using sascm.ini published by Seemann (http://sannybuilder.com/files/SASCM.rar) on 13.10.2007

{$VERSION 3.1.0027}
{$CLEO .cs}

//-------------MAIN---------------
0001: wait 1000 ms
00D6: if
0039:   0@ == 0
004D: jump_if_false @UFO_258B
03A4: name_thread 'UFO'
0A92: create_custom_thread "UFO_51.CS" 1 

:UFO_32
0001: wait 250 ms
00D6: if
0256:   player $PLAYER_CHAR defined
004D: jump_if_false @UFO_32
00BF: 28@ = current_time_hours, 29@ = current_time_minutes
00D6: if or
0029:   28@ >= 23
001B:   6 > 28@
004D: jump_if_false @UFO_32
00D6: if or
0154:   actor $PLAYER_ACTOR in_zone 'BIGE'  // 'The Big Ear'
0154:   actor $PLAYER_ACTOR in_zone 'ELQUE'  // El Quebrados
0154:   actor $PLAYER_ACTOR in_zone 'BARRA'  // Las Barrancas
0154:   actor $PLAYER_ACTOR in_zone 'PAYAS'  // Las Payasadas
0154:   actor $PLAYER_ACTOR in_zone 'PROBE'  // Lil' Probe Inn
0154:   actor $PLAYER_ACTOR in_zone 'ELCA'  // El Castillo del Diablo
0154:   actor $PLAYER_ACTOR in_zone 'ARCO'  // Arco del Oeste
004D: jump_if_false @UFO_DC
0002: jump @UFO_13B

:UFO_DC
00D6: if or
0154:   actor $PLAYER_ACTOR in_zone 'VALLE'  // Valle Ocultado
0154:   actor $PLAYER_ACTOR in_zone 'TOM'  // Regular Tom
0154:   actor $PLAYER_ACTOR in_zone 'ALDEA'  // Aldea Malvada
0154:   actor $PLAYER_ACTOR in_zone 'BRUJA'  // Las Brujas
0154:   actor $PLAYER_ACTOR in_zone 'BONE'  // Bone County
0154:   actor $PLAYER_ACTOR in_zone 'OCTAN'  // Octane Springs
004D: jump_if_false @UFO_32

:UFO_13B
0247: load_model #NLO

:UFO_140
0001: wait 0 ms
00D6: if
0248:   model #NLO available
004D: jump_if_false @UFO_140
00A5: 1@ = create_car #NLO at -113.6405 2703.677 977.2923
0175: set_car 1@ Z_angle_to 90.0
0224: set_car 1@ health_to 10000
02AC: set_car 1@ immunities BP 1 FP 1 EP 1 CP 1 MP 1
0249: release_model #NLO
0006: 8@ = 0
0006: 30@ = 0
0006: 33@ = 0
0006: 31@ = 7000
0006: 5@ = 0
0006: 27@ = 0
0007: 7@ = 0.02
0050: gosub @UFO_1D23
0050: gosub @UFO_24C1
0050: gosub @UFO_255B
07D5: set_car 1@ velocity_in_direction_XYZ 17@ 18@ 0.03 rotation_velocitiesXY 0.0 0.0 unk 0.0
0001: wait 250 ms
07D5: set_car 1@ velocity_in_direction_XYZ 17@ 18@ 0.03 rotation_velocitiesXY 0.0 0.0 unk 0.0

:UFO_21E
0001: wait 0 ms
00D6: if
0256:   player $PLAYER_CHAR defined
004D: jump_if_false @UFO_1504
00BF: 28@ = current_time_hours, 29@ = current_time_minutes
00D6: if or
0029:   28@ >= 23
001B:   6 > 28@
004D: jump_if_false @UFO_1504
00D6: if
8119:   not car 1@ wrecked
004D: jump_if_false @UFO_1504
00D6: if or
0154:   actor $PLAYER_ACTOR in_zone 'BIGE'  // 'The Big Ear'
0154:   actor $PLAYER_ACTOR in_zone 'ELQUE'  // El Quebrados
0154:   actor $PLAYER_ACTOR in_zone 'BARRA'  // Las Barrancas
0154:   actor $PLAYER_ACTOR in_zone 'PAYAS'  // Las Payasadas
0154:   actor $PLAYER_ACTOR in_zone 'PROBE'  // Lil' Probe Inn
0154:   actor $PLAYER_ACTOR in_zone 'ELCA'  // El Castillo del Diablo
0154:   actor $PLAYER_ACTOR in_zone 'ARCO'  // Arco del Oeste
004D: jump_if_false @UFO_2D7
0002: jump @UFO_336

:UFO_2D7
00D6: if or
0154:   actor $PLAYER_ACTOR in_zone 'VALLE'  // Valle Ocultado
0154:   actor $PLAYER_ACTOR in_zone 'TOM'  // Regular Tom
0154:   actor $PLAYER_ACTOR in_zone 'ALDEA'  // Aldea Malvada
0154:   actor $PLAYER_ACTOR in_zone 'BRUJA'  // Las Brujas
0154:   actor $PLAYER_ACTOR in_zone 'BONE'  // Bone County
0154:   actor $PLAYER_ACTOR in_zone 'OCTAN'  // Octane Springs
004D: jump_if_false @UFO_1504

:UFO_336
0007: 7@ = 0.015
0407: store_coords_to 21@ 22@ 23@ from_car 1@ with_offset 0.0 0.0 0.0
02CE: 25@ = ground_z_at 21@ 22@ 23@
0063: 23@ -= 25@ // (float)
00D6: if
0023:   50.0 > 23@
004D: jump_if_false @UFO_392
0007: 7@ = 0.05

:UFO_392
0092: 3@ = float 23@ to_integer
0087: 6@ = 7@ // (float)
0013: 6@ *= 1000.0
0092: 4@ = float 6@ to_integer
00D6: if
0039:   30@ == 0
004D: jump_if_false @UFO_4AB
0050: gosub @UFO_255B
07D5: set_car 1@ velocity_in_direction_XYZ 17@ 18@ 7@ rotation_velocitiesXY 0.0 0.0 unk 0.0
00D6: if
001D:   33@ > 31@ // (int)
004D: jump_if_false @UFO_420
0006: 33@ = 0
0050: gosub @UFO_1D23
0050: gosub @UFO_24C1
0050: gosub @UFO_255B
0002: jump @UFO_21E

:UFO_420
00D6: if
0019:   28@ > 4
004D: jump_if_false @UFO_4AB
00D6: if and
0039:   30@ == 0
0039:   5@ == 11
004D: jump_if_false @UFO_4AB
0006: 30@ = 1
0006: 33@ = 0
0006: 5@ = 12
0006: 27@ = 0
0050: gosub @UFO_1D23
0050: gosub @UFO_24C1
0050: gosub @UFO_255B
00D6: if
0039:   8@ == 1
004D: jump_if_false @UFO_4AB
00D6: if
00E1:   player 0 pressed_key 15
004D: jump_if_false @UFO_4AB
0465: remove_actor $PLAYER_ACTOR from_turret_mode
0006: 8@ = 0

:UFO_4AB
00D6: if
0039:   30@ == 1
004D: jump_if_false @UFO_517
0050: gosub @UFO_255B
07D5: set_car 1@ velocity_in_direction_XYZ 17@ 18@ 7@ rotation_velocitiesXY 0.0 0.0 unk 0.0
00D6: if
001D:   33@ > 31@ // (int)
004D: jump_if_false @UFO_21E
0006: 33@ = 0
0050: gosub @UFO_1D23
0050: gosub @UFO_24C1
0050: gosub @UFO_255B
0002: jump @UFO_21E

:UFO_517
00D6: if
0039:   30@ == 2
004D: jump_if_false @UFO_21E
0050: gosub @UFO_255B
07D5: set_car 1@ velocity_in_direction_XYZ 17@ 18@ 7@ rotation_velocitiesXY 0.0 0.0 unk 0.0
00D6: if
001D:   33@ > 31@ // (int)
004D: jump_if_false @UFO_21E
00D6: if
0256:   player $PLAYER_CHAR defined
004D: jump_if_false @UFO_21E
00D6: if
8119:   not car 1@ wrecked
004D: jump_if_false @UFO_21E
00D6: if or
00DB:   actor $PLAYER_ACTOR in_car 1@
0039:   8@ == 1
00FE:   actor $PLAYER_ACTOR sphere 0 in_sphere 269.3898 1884.162 -8.5 radius 280.0 280.0 75.0
004D: jump_if_false @UFO_21E
01F0: set_max_wanted_level_to 0
02AC: set_car 1@ immunities BP 0 FP 0 EP 0 CP 0 MP 0
0247: load_model #FLARE
0247: load_model 16663
0247: load_model 2976
0247: load_model 1386
0247: load_model 1386

:UFO_5EB
0001: wait 0 ms
00D6: if and
0248:   model #FLARE available
0248:   model 16663 available
0248:   model 2976 available
0248:   model 1386 available
0248:   model 1386 available
004D: jump_if_false @UFO_5EB
0107: 15@ = create_object 16663 at 269.008 1882.42 -31.39
0177: set_object 15@ Z_angle_to 224.0
01C7: remove_object_from_mission_cleanup_list 15@
0107: 16@ = create_object 2976 at 268.65 1883.9 -33.01
01C7: remove_object_from_mission_cleanup_list 16@
0107: 17@ = create_object 1386 at 269.9 1883.9 -32.5
0177: set_object 17@ Z_angle_to 90.0
01C7: remove_object_from_mission_cleanup_list 17@
0107: 18@ = create_object 2227 at 269.9 1883.9 -42.5
01C7: remove_object_from_mission_cleanup_list 18@
069A: attach_object 18@ to_object 16@ with_offset -0.26 0.36 0.05 rotation 0.0 180.0 0.0
0107: 9@ = create_object 1602 at 268.65 1882.1 -39.7
01C7: remove_object_from_mission_cleanup_list 9@
0107: 25@ = create_object #FLARE at 269.4 1879.591 -25.3906
00AB: put_car 1@ at 268.65 1883.9 85.5
0001: wait 250 ms
0519: set_car 1@ locked 1
06C1: create_searchlight 20@ on_car 1@ with_offset 0.0 0.0 -2.0 radius 0.2 target 270.5425 1885.121 23.8 radius 12.0
06B4: set_searchlight 20@ path_between 270.5425 1885.121 23.8 and 270.5425 1887.121 23.8 speed 2.5
0001: wait 500 ms
01BC: put_object 25@ at 268.65 1883.9 82.5
0519: set_car 1@ locked 0
0939: attach_car 1@ to_object 25@ with_offset 0.0 0.0 2.0 rotation 0.0 0.0 0.0
066D: 14@ = attach_particle "SMOKE_FLARE" to_object 25@ with_offset 0.0 0.0 5.1 flag 1
064C: make_particle 14@ visible
0006: 31@ = 5000
0006: 32@ = 0
0006: 33@ = 0
03B6: replace_model_at 269.008 1882.42 -26.8906 radius 20.0 from 16663 to 1386

:UFO_80B
0001: wait 0 ms
00D6: if
0256:   player $PLAYER_CHAR defined
004D: jump_if_false @UFO_1490
00D6: if or
0029:   28@ >= 23
001B:   6 > 28@
004D: jump_if_false @UFO_1490
00D6: if
8119:   not car 1@ wrecked
004D: jump_if_false @UFO_1490
00D6: if
0039:   8@ == 1
004D: jump_if_false @UFO_877
00D6: if
00E1:   player 0 pressed_key 15
004D: jump_if_false @UFO_877
0465: remove_actor $PLAYER_ACTOR from_turret_mode
0006: 8@ = 0

:UFO_877
00D6: if
0185:   car 1@ health >= 7500
004D: jump_if_false @UFO_1210
0050: gosub @UFO_19B0
0400: store_coords_to 21@ 22@ 23@ from_object 25@ with_offset 0.0 0.0 -2.0
00D6: if
0039:   30@ == 3
004D: jump_if_false @UFO_934
00D6: if
0021:   23@ > -33.0
004D: jump_if_false @UFO_934
04C4: store_coords_to 11@ 12@ 13@ from_actor $PLAYER_ACTOR with_offset 0.0 0.0 0.0
06BC: create_M4_shoot_from 21@ 22@ 23@ target 11@ 12@ 13@ energy 100
0001: wait 100 ms
00D6: if
0019:   33@ > 1000
004D: jump_if_false @UFO_80B
0006: 30@ = 2
0006: 31@ = 0
0006: 33@ = 0

:UFO_934
00D6: if or
0039:   30@ == 2
0039:   30@ == 3
004D: jump_if_false @UFO_C7E
034E: move_object 25@ to 268.65 1883.9 -30.0937 speed 0.0 0.0 0.5 flag 0
034E: move_object 15@ to 269.008 1895.42 -31.39 speed 0.5 0.5 0.0 flag 0
034E: move_object 16@ to 268.65 1883.9 -31.05 speed 0.0 0.0 0.01 flag 0
034E: move_object 17@ to 269.9 1883.9 -24.6 speed 0.0 0.0 0.005 flag 0
00D6: if
051C:   car 1@ damaged_by_actor $PLAYER_ACTOR
004D: jump_if_false @UFO_A24
00D6: if
0019:   33@ > 1000
004D: jump_if_false @UFO_A24
0006: 30@ = 3
0006: 31@ = 3000
0006: 33@ = 0
0002: jump @UFO_A24

:UFO_A24
00D6: if
0023:   -30.9 > 23@
004D: jump_if_false @UFO_80B
0006: 30@ = 4
0006: 33@ = 0
00D6: if
0185:   car 1@ health >= 9800
004D: jump_if_false @UFO_1202
00D6: if
851C:   not car 1@ damaged_by_actor $PLAYER_ACTOR
004D: jump_if_false @UFO_10B8
0006: 19@ = 0
0007: 13@ = -36.5
01BC: put_object 9@ at 268.65 1882.01 -27.55
0050: gosub @UFO_1A79
0001: wait 800 ms
00D6: if
0256:   player $PLAYER_CHAR defined
004D: jump_if_false @UFO_1490
00D6: if
00FE:   actor $PLAYER_ACTOR sphere 0 in_sphere 269.3898 1884.162 -8.5 radius 280.0 280.0 75.0
004D: jump_if_false @UFO_1490
00D6: if
8119:   not car 1@ wrecked
004D: jump_if_false @UFO_1490
00D6: if or
0039:   8@ == 1
00FE:   actor $PLAYER_ACTOR sphere 0 in_sphere 269.3898 1884.162 -8.5 radius 40.0 40.0 75.0
004D: jump_if_false @UFO_1476
00D6: if
0185:   car 1@ health >= 9990
004D: jump_if_false @UFO_11BC
0050: gosub @UFO_1A8B
0050: gosub @UFO_152E
0215: destroy_pickup 21@
015D: set_gamespeed 1.0
0006: 33@ = 0
0006: 32@ = 0
0050: gosub @UFO_1AC7
0001: wait 1000 ms
00D6: if
0256:   player $PLAYER_CHAR defined
004D: jump_if_false @UFO_1490
00D6: if
00FE:   actor $PLAYER_ACTOR sphere 0 in_sphere 269.3898 1884.162 -8.5 radius 280.0 280.0 75.0
004D: jump_if_false @UFO_1490
00D6: if
8119:   not car 1@ wrecked
004D: jump_if_false @UFO_1490
00D6: if
0185:   car 1@ health >= 9900
004D: jump_if_false @UFO_11BC
0050: gosub @UFO_1AF2
0001: wait 1000 ms
0050: gosub @UFO_1B1D
0050: gosub @UFO_1856
0001: wait 1000 ms
0050: gosub @UFO_1B31
0001: wait 1000 ms
00D6: if
0256:   player $PLAYER_CHAR defined
004D: jump_if_false @UFO_1490
00D6: if
00FE:   actor $PLAYER_ACTOR sphere 0 in_sphere 269.3898 1884.162 -8.5 radius 280.0 280.0 75.0
004D: jump_if_false @UFO_1490
00D6: if
8119:   not car 1@ wrecked
004D: jump_if_false @UFO_1490
00D6: if
0185:   car 1@ health >= 7500
004D: jump_if_false @UFO_1202
0050: gosub @UFO_1B5C
0001: wait 1000 ms
0050: gosub @UFO_1BD0
0006: 30@ = 4
0002: jump @UFO_80B

:UFO_C7E
00D6: if
0039:   30@ == 4
004D: jump_if_false @UFO_80B
034E: move_object 25@ to 269.1 1884.162 10.0937 speed 0.0 0.0 1.0 flag 0
034E: move_object 15@ to 269.008 1882.42 -31.39 speed 0.5 0.5 0.0 flag 0
00D6: if
0021:   23@ > 3.0
004D: jump_if_false @UFO_80B
0684: detach_car 1@ 0.0 0.0 0.0 collision_detection 0
0650: destroy_particle 14@
03B6: replace_model_at 269.008 1882.42 -26.8906 radius 20.0 from 1386 to 16663
0108: destroy_object 25@
0108: destroy_object 15@
0108: destroy_object 18@
0108: destroy_object 16@
0108: destroy_object 17@
0108: destroy_object 9@
02AC: set_car 1@ immunities BP 1 FP 1 EP 1 CP 1 MP 1
00AB: put_car 1@ at 268.65 1883.9 19.01
0050: gosub @UFO_1BE2
07D5: set_car 1@ velocity_in_direction_XYZ 0.0 0.0 0.5 rotation_velocitiesXY 0.0 0.0 unk 0.0
0001: wait 250 ms
07D5: set_car 1@ velocity_in_direction_XYZ 0.0 0.0 0.5 rotation_velocitiesXY 0.0 0.0 unk 0.0
0001: wait 250 ms
07D5: set_car 1@ velocity_in_direction_XYZ 0.0 0.0 0.5 rotation_velocitiesXY 0.0 0.0 unk 0.0
0001: wait 250 ms
07D5: set_car 1@ velocity_in_direction_XYZ 0.0 0.0 1.5 rotation_velocitiesXY 0.0 0.0 unk 0.0
0001: wait 250 ms
07D5: set_car 1@ velocity_in_direction_XYZ 0.0 0.0 5.5 rotation_velocitiesXY 0.0 0.0 unk 0.0
0001: wait 250 ms
07D5: set_car 1@ velocity_in_direction_XYZ 0.0 0.0 27.5 rotation_velocitiesXY 0.0 0.0 unk 0.0
06B2: destroy_searchlight 20@
0001: wait 1250 ms
01F0: set_max_wanted_level_to 6
0006: 27@ = 0
0006: 30@ = 0
0006: 33@ = 0
0006: 5@ = 0
0050: gosub @UFO_1D23
0050: gosub @UFO_24C1
0050: gosub @UFO_255B
00D6: if
051C:   car 1@ damaged_by_actor $PLAYER_ACTOR
004D: jump_if_false @UFO_ECC
00D6: if or
0039:   8@ == 1
00DB:   actor $PLAYER_ACTOR in_car 1@
004D: jump_if_false @UFO_1504
0002: jump @UFO_1386

:UFO_ECC
00D6: if
0256:   player $PLAYER_CHAR defined
004D: jump_if_false @UFO_1504
00D6: if
8119:   not car 1@ wrecked
004D: jump_if_false @UFO_1504
00D6: if and
0039:   8@ == 0
00DB:   actor $PLAYER_ACTOR in_car 1@
004D: jump_if_false @UFO_F16
041E: set_radio_station 11
0792: disembark_instantly_actor $PLAYER_ACTOR
0006: 8@ = 1

:UFO_F16
00D6: if
0039:   8@ == 1
004D: jump_if_false @UFO_21E
0464: put_actor $PLAYER_ACTOR into_turret_on_car 1@ at_car_offset 0.0 -3.5 12.5 position 2 shooting_angle_limit 360.0 with_weapon 0
0858: set_player $PLAYER_CHAR scan_horizon_to_angle 270.0 rotation_speed 300.0
0050: gosub @UFO_1C38
07D5: set_car 1@ velocity_in_direction_XYZ 0.0 0.0 0.5 rotation_velocitiesXY 0.0 0.0 unk 0.0
0001: wait 250 ms
07D5: set_car 1@ velocity_in_direction_XYZ 0.0 0.0 0.5 rotation_velocitiesXY 0.0 0.0 unk 0.0
0001: wait 250 ms
07D5: set_car 1@ velocity_in_direction_XYZ 0.0 0.0 0.5 rotation_velocitiesXY 0.0 0.0 unk 0.0
0001: wait 250 ms
07D5: set_car 1@ velocity_in_direction_XYZ 0.0 0.0 1.5 rotation_velocitiesXY 0.0 0.0 unk 0.0
0001: wait 250 ms
07D5: set_car 1@ velocity_in_direction_XYZ 0.0 0.0 1.5 rotation_velocitiesXY 0.0 0.0 unk 0.0
01B6: set_weather 17
00C0: set_current_time_hours_to 23 minutes_to 1
0006: 30@ = 0
0006: 33@ = 0
0006: 31@ = 7000
0006: 5@ = 0
0006: 27@ = 0
0007: 7@ = 0.02
0050: gosub @UFO_1D23
0050: gosub @UFO_24C1
0050: gosub @UFO_255B
07D5: set_car 1@ velocity_in_direction_XYZ 17@ 18@ 0.03 rotation_velocitiesXY 0.0 0.0 unk 0.0
0001: wait 250 ms
07D5: set_car 1@ velocity_in_direction_XYZ 17@ 18@ 0.03 rotation_velocitiesXY 0.0 0.0 unk 0.0
0002: jump @UFO_21E

:UFO_10B8
0400: store_coords_to 21@ 22@ 23@ from_object 25@ with_offset 0.0 0.0 -2.0
04C4: store_coords_to 11@ 12@ 13@ from_actor $PLAYER_ACTOR with_offset 0.0 0.0 0.0
06BC: create_M4_shoot_from 21@ 22@ 23@ target 11@ 12@ 13@ energy 100
0001: wait 250 ms
04C4: store_coords_to 11@ 12@ 13@ from_actor $PLAYER_ACTOR with_offset 0.0 0.0 0.0
06BC: create_M4_shoot_from 21@ 22@ 23@ target 11@ 12@ 13@ energy 100
0001: wait 250 ms
04C4: store_coords_to 11@ 12@ 13@ from_actor $PLAYER_ACTOR with_offset 0.0 0.0 0.0
06BC: create_M4_shoot_from 21@ 22@ 23@ target 11@ 12@ 13@ energy 100
0001: wait 250 ms
04C4: store_coords_to 11@ 12@ 13@ from_actor $PLAYER_ACTOR with_offset 0.0 0.0 0.0
06BC: create_M4_shoot_from 21@ 22@ 23@ target 11@ 12@ 13@ energy 100
0001: wait 250 ms
0002: jump @UFO_80B

:UFO_11BC
00D6: if
80DF:   not actor $PLAYER_ACTOR driving
004D: jump_if_false @UFO_1202
0006: 30@ = 5
0464: put_actor $PLAYER_ACTOR into_turret_on_car 1@ at_car_offset 0.0 0.5 -5.5 position 2 shooting_angle_limit 360.0 with_weapon 0
0858: set_player $PLAYER_CHAR scan_horizon_to_angle 270.0 rotation_speed 300.0

:UFO_1202
015D: set_gamespeed 1.0
0050: gosub @UFO_1C26

:UFO_1210
03B6: replace_model_at 269.008 1882.42 -26.8906 radius 20.0 from 1386 to 16663
0684: detach_car 1@ 0.0 0.0 0.0 collision_detection 0
0650: destroy_particle 14@
0108: destroy_object 25@
0108: destroy_object 15@
0108: destroy_object 18@
0108: destroy_object 16@
0108: destroy_object 17@
0108: destroy_object 9@
020B: explode_car 1@ // versionA
07D5: set_car 1@ velocity_in_direction_XYZ 0.0 0.0 0.5 rotation_velocitiesXY 0.0 0.0 unk 0.0
0001: wait 250 ms
020B: explode_car 1@ // versionA
07D5: set_car 1@ velocity_in_direction_XYZ 0.0 0.0 0.5 rotation_velocitiesXY 0.0 0.0 unk 0.0
0001: wait 250 ms
020B: explode_car 1@ // versionA
07D5: set_car 1@ velocity_in_direction_XYZ 0.0 0.0 0.5 rotation_velocitiesXY 0.0 0.0 unk 0.0
0001: wait 250 ms
020B: explode_car 1@ // versionA
07D5: set_car 1@ velocity_in_direction_XYZ 0.0 0.0 0.5 rotation_velocitiesXY 0.0 0.0 unk 0.0
06B2: destroy_searchlight 20@
0001: wait 250 ms
07D5: set_car 1@ velocity_in_direction_XYZ 0.0 0.0 2.5 rotation_velocitiesXY 0.0 0.0 unk 0.0
00D6: if
0039:   30@ == 5
004D: jump_if_false @UFO_135D
0001: wait 1250 ms
0465: remove_actor $PLAYER_ACTOR from_turret_mode

:UFO_135D
0006: 30@ = 0
0006: 33@ = 0
0006: 5@ = 0
01C3: remove_references_to_car 1@ // Like turning a car into any random car
040D: unload_wav 1
01F0: set_max_wanted_level_to 6
0002: jump @UFO_32

:UFO_1386
00D6: if
0039:   8@ == 1
004D: jump_if_false @UFO_13A4
0465: remove_actor $PLAYER_ACTOR from_turret_mode
0002: jump @UFO_13BC

:UFO_13A4
00D6: if
00DB:   actor $PLAYER_ACTOR in_car 1@
004D: jump_if_false @UFO_13BC
0792: disembark_instantly_actor $PLAYER_ACTOR

:UFO_13BC
020B: explode_car 1@ // versionA
07D5: set_car 1@ velocity_in_direction_XYZ 0.0 0.0 0.5 rotation_velocitiesXY 0.0 0.0 unk 0.0
0001: wait 250 ms
020B: explode_car 1@ // versionA
07D5: set_car 1@ velocity_in_direction_XYZ 0.0 0.0 0.5 rotation_velocitiesXY 0.0 0.0 unk 0.0
0001: wait 250 ms
020B: explode_car 1@ // versionA
07D5: set_car 1@ velocity_in_direction_XYZ 0.0 0.0 0.5 rotation_velocitiesXY 0.0 0.0 unk 0.0
0001: wait 250 ms
020B: explode_car 1@ // versionA
07D5: set_car 1@ velocity_in_direction_XYZ 0.0 0.0 0.5 rotation_velocitiesXY 0.0 0.0 unk 0.0
01F0: set_max_wanted_level_to 6
0002: jump @UFO_1504

:UFO_1476
0001: wait 1000 ms
0050: gosub @UFO_1BD0
0006: 30@ = 4
0002: jump @UFO_80B

:UFO_1490
015D: set_gamespeed 1.0
03B6: replace_model_at 269.008 1882.42 -26.8906 radius 20.0 from 1386 to 16663
06B2: destroy_searchlight 20@
0650: destroy_particle 14@
0650: destroy_particle 14@
0108: destroy_object 25@
0108: destroy_object 15@
0108: destroy_object 18@
0108: destroy_object 16@
0108: destroy_object 17@
0108: destroy_object 9@
0006: 30@ = 0
0006: 33@ = 0
0006: 5@ = 0
040D: unload_wav 1
01F0: set_max_wanted_level_to 6
0002: jump @UFO_1504

:UFO_1504
00D6: if
0039:   8@ == 1
004D: jump_if_false @UFO_1522
0465: remove_actor $PLAYER_ACTOR from_turret_mode
0006: 8@ = 0

:UFO_1522
00A6: destroy_car 1@
0002: jump @UFO_32

:UFO_152E
0001: wait 0 ms
00D6: if
0256:   player $PLAYER_CHAR defined
004D: jump_if_false @UFO_1854
00D6: if
00FE:   actor $PLAYER_ACTOR sphere 0 in_sphere 269.3898 1884.162 -8.5 radius 20.0 20.0 28.0
004D: jump_if_false @UFO_1854
00D6: if
8119:   not car 1@ wrecked
004D: jump_if_false @UFO_1854
00D6: if
0039:   8@ == 1
004D: jump_if_false @UFO_15B1
00D6: if
00E1:   player 0 pressed_key 15
004D: jump_if_false @UFO_15B1
0465: remove_actor $PLAYER_ACTOR from_turret_mode
0006: 8@ = 0

:UFO_15B1
00D6: if
001B:   10000 > 33@
004D: jump_if_false @UFO_184D
00D6: if
0023:   -30.301 > 13@
004D: jump_if_false @UFO_1638
034E: move_object 9@ to 268.65 1882.01 -29.6 speed 0.0 0.0 0.05 flag 0
034E: move_object 16@ to 268.65 1883.9 -30.25 speed 0.0 0.0 0.01 flag 0
01BB: store_object 16@ position_to 11@ 12@ 13@
0002: jump @UFO_152E

:UFO_1638
00D6: if
0039:   19@ == 0
004D: jump_if_false @UFO_168B
0050: gosub @UFO_1A9F
0001: wait 500 ms
0213: 21@ = create_pickup 1602 type 6 at 268.65 1882.1 -29.7
0750: set_object 9@ visibility 0
015D: set_gamespeed 0.5
0006: 19@ = 1
0050: gosub @UFO_1AB3

:UFO_168B
095C: create_smoke_at 269.5 1884.162 -29.6 velocity -12.0 17.0 -5.5 RGBA 0.0 1.0 1.0 1.0 size 0.5 last_factor 0.02
095C: create_smoke_at 269.5 1884.25 -29.6 velocity 17.0 -12.0 -5.5 RGBA 1.0 0.0 1.0 1.0 size 0.5 last_factor 0.02
095C: create_smoke_at 269.5 1883.99 -29.6 velocity 15.0 15.0 -5.5 RGBA 0.0 1.0 0.0 1.0 size 0.5 last_factor 0.02
095C: create_smoke_at 269.7 1884.1 -29.6 velocity -15.0 -15.0 -5.5 RGBA 1.0 1.0 0.0 1.0 size 0.5 last_factor 0.02
00D6: if
0019:   32@ > 50
004D: jump_if_false @UFO_152E
06BC: create_M4_shoot_from 268.65 1882.1 -29.7 target 268.65 1883.9 -30.6 energy 100
08EB: create_sparks_at 268.65 1883.9 -30.6 velocity_direction -1.0 4.0 1.0 density 60
08EB: create_sparks_at 268.65 1883.9 -30.6 velocity_direction 1.0 -4.0 1.0 density 60
08EB: create_sparks_at 268.65 1883.9 -30.6 velocity_direction 5.0 1.0 1.0 density 60
08EB: create_sparks_at 268.65 1883.9 -30.6 velocity_direction -5.0 -1.0 1.0 density 60
0006: 32@ = 0
0002: jump @UFO_152E

:UFO_184D
0750: set_object 9@ visibility 1

:UFO_1854
0051: return

:UFO_1856
0001: wait 0 ms
00D6: if
0256:   player $PLAYER_CHAR defined
004D: jump_if_false @UFO_19A7
00D6: if
00FE:   actor $PLAYER_ACTOR sphere 0 in_sphere 269.3898 1884.162 -8.5 radius 20.0 20.0 28.0
004D: jump_if_false @UFO_19A7
00D6: if
8119:   not car 1@ wrecked
004D: jump_if_false @UFO_19A7
00D6: if
001B:   4000 > 33@
004D: jump_if_false @UFO_19A7
00D6: if
0021:   13@ > -33.01
004D: jump_if_false @UFO_1956
034E: move_object 9@ to 268.65 1882.1 -27.35 speed 0.0 0.0 0.05 flag 0
034E: move_object 16@ to 268.65 1883.9 -33.01 speed 0.0 0.0 0.1 flag 0
034E: move_object 17@ to 269.9 1883.9 -32.5 speed 0.0 0.0 0.05 flag 0
01BB: store_object 16@ position_to 11@ 12@ 13@
0002: jump @UFO_1856

:UFO_1956
034E: move_object 15@ to 269.008 1882.42 -31.39 speed 0.5 0.5 0.0 flag 0
034E: move_object 9@ to 268.65 1882.1 -26.65 speed 0.0 0.0 0.05 flag 0
0002: jump @UFO_1856

:UFO_19A7
0750: set_object 9@ visibility 0
0051: return

:UFO_19B0
00D6: if and
0019:   32@ > 0
001B:   50 > 32@
004D: jump_if_false @UFO_1A0F
040D: unload_wav 1
03CF: load_wav 14407 as 1
0001: wait 60 ms
00D6: if
00FE:   actor $PLAYER_ACTOR sphere 0 in_sphere 269.3898 1884.162 -8.5 radius 20.0 20.0 25.0
004D: jump_if_false @UFO_1CDE
0002: jump @UFO_1CB9

:UFO_1A0F
00D6: if and
0019:   32@ > 1000
001B:   1050 > 32@
004D: jump_if_false @UFO_1D21
00D6: if or
0039:   8@ == 1
00FE:   actor $PLAYER_ACTOR sphere 0 in_sphere 269.3898 1884.162 -8.5 radius 40.0 40.0 75.0
004D: jump_if_false @UFO_1D21
040D: unload_wav 1
03CF: load_wav 42800 as 1
0001: wait 60 ms
0002: jump @UFO_1CDE

:UFO_1A79
040D: unload_wav 1
03CF: load_wav 25602 as 1
0002: jump @UFO_1CB9

:UFO_1A8B
040D: unload_wav 1
03CF: load_wav 34601 as 1
0002: jump @UFO_1CB9

:UFO_1A9F
040D: unload_wav 1
03CF: load_wav 41602 as 1
0002: jump @UFO_1C71

:UFO_1AB3
040D: unload_wav 1
03CF: load_wav 40400 as 1
0002: jump @UFO_1CDE

:UFO_1AC7
040D: unload_wav 1
03CF: load_wav 41604 as 1
00D6: if
00DB:   actor $PLAYER_ACTOR in_car 1@
004D: jump_if_false @UFO_1C71
041E: set_radio_station 11
0002: jump @UFO_1C4C

:UFO_1AF2
040D: unload_wav 1
03CF: load_wav 41603 as 1
00D6: if
00DB:   actor $PLAYER_ACTOR in_car 1@
004D: jump_if_false @UFO_1C71
041E: set_radio_station 11
0002: jump @UFO_1C4C

:UFO_1B1D
040D: unload_wav 1
03CF: load_wav 41600 as 1
0002: jump @UFO_1CB9

:UFO_1B31
040D: unload_wav 1
03CF: load_wav 41602 as 1
00D6: if
00DB:   actor $PLAYER_ACTOR in_car 1@
004D: jump_if_false @UFO_1C71
041E: set_radio_station 11
0002: jump @UFO_1C4C

:UFO_1B5C
00D6: if
00FE:   actor $PLAYER_ACTOR sphere 0 in_sphere 269.3898 1884.162 -8.5 radius 20.0 20.0 35.0
004D: jump_if_false @UFO_1D21
040D: unload_wav 1
03CF: load_wav 40408 as 1
00D6: if
00FE:   actor $PLAYER_ACTOR sphere 0 in_sphere 269.3898 1884.162 -8.5 radius 20.0 20.0 25.0
004D: jump_if_false @UFO_1CB9
0002: jump @UFO_1CDE

:UFO_1BD0
040D: unload_wav 1
03CF: load_wav 25601 as 1
0002: jump @UFO_1CB9

:UFO_1BE2
00D6: if
00FE:   actor $PLAYER_ACTOR sphere 0 in_sphere 269.3898 1884.162 -8.5 radius 40.0 40.0 75.0
004D: jump_if_false @UFO_1D21
040D: unload_wav 1
03CF: load_wav 41604 as 1
0002: jump @UFO_1CFC

:UFO_1C26
040D: unload_wav 1
03CF: load_wav 32400 as 1
0002: jump @UFO_1CFC

:UFO_1C38
040D: unload_wav 1
03CF: load_wav 40600 as 1
0002: jump @UFO_1CFC

:UFO_1C4C
00D6: if
0039:   8@ == 0
004D: jump_if_false @UFO_1C71
0006: 8@ = 1
0792: disembark_instantly_actor $PLAYER_ACTOR
0002: jump @UFO_1C83

:UFO_1C71
00D6: if
0039:   8@ == 1
004D: jump_if_false @UFO_1CB9

:UFO_1C83
0464: put_actor $PLAYER_ACTOR into_turret_on_car 1@ at_car_offset 0.0 1.5 -3.5 position 2 shooting_angle_limit 360.0 with_weapon 0
0858: set_player $PLAYER_CHAR scan_horizon_to_angle 90.0 rotation_speed 300.0
0002: jump @UFO_1CB9

:UFO_1CB9
0001: wait 0 ms
00D6: if
03D0:   wav 1 loaded
004D: jump_if_false @UFO_1CB9
097C: attach_wav 1 to_object 16@
03D1: play_wav 1
0002: jump @UFO_1D21

:UFO_1CDE
0001: wait 0 ms
00D6: if
03D0:   wav 1 loaded
004D: jump_if_false @UFO_1CDE
03D1: play_wav 1
0002: jump @UFO_1D21

:UFO_1CFC
0001: wait 0 ms
00D6: if
03D0:   wav 1 loaded
004D: jump_if_false @UFO_1CFC
0A16: link_wav 1 to_car 1@
03D1: play_wav 1
0002: jump @UFO_1D21

:UFO_1D21
0051: return

:UFO_1D23
0871: init_jump_table 5@ total_jumps 16 default_jump 0 @UFO_1DA3 jumps 0 @UFO_1DA3 1 @UFO_1DE8 2 @UFO_1E2E 3 @UFO_1E74 4 @UFO_1EBA 5 @UFO_1F00 6 @UFO_1F46
0872: jump_table_jumps 7 @UFO_1F8C 8 @UFO_1FD2 9 @UFO_2018 10 @UFO_20CE 11 @UFO_2184 12 @UFO_21C5 13 @UFO_220D 14 @UFO_22CA 15 @UFO_2387

:UFO_1DA3
00AB: put_car 1@ at -113.6405 2703.677 97.2923
0001: wait 250 ms
04C4: store_coords_to 11@ 12@ 13@ from_actor $PLAYER_ACTOR with_offset 0.0 0.0 0.0
0006: 31@ = 7000
0002: jump @UFO_2446

:UFO_1DE8
00AB: put_car 1@ at 767.0825 2658.27 57.473
0001: wait 250 ms
0007: 11@ = -335.8
0007: 12@ = 1863.4
0007: 13@ = 194.8
0006: 31@ = 12000
0002: jump @UFO_2446

:UFO_1E2E
00AB: put_car 1@ at 942.5 1013.7 87.7
0001: wait 250 ms
0007: 11@ = -113.6
0007: 12@ = 2703.6
0007: 13@ = 97.29
0006: 31@ = 11000
0002: jump @UFO_2446

:UFO_1E74
00AB: put_car 1@ at -113.6405 2703.677 97.2923
0001: wait 250 ms
0007: 11@ = 942.5
0007: 12@ = 1013.7
0007: 13@ = 227.7
0006: 31@ = 11000
0002: jump @UFO_2446

:UFO_1EBA
00AB: put_car 1@ at -407.8 2224.8 194.8
0001: wait 250 ms
0007: 11@ = -113.6
0007: 12@ = 2703.6
0007: 13@ = 117.2
0006: 31@ = 11000
0002: jump @UFO_2446

:UFO_1F00
00AB: put_car 1@ at -113.6405 2703.677 97.2923
0001: wait 250 ms
0007: 11@ = -407.8
0007: 12@ = 2224.8
0007: 13@ = 194.8
0006: 31@ = 11000
0002: jump @UFO_2446

:UFO_1F46
00AB: put_car 1@ at 201.8764 3165.758 92.5676
0001: wait 250 ms
0007: 11@ = 585.82
0007: 12@ = 933.68
0007: 13@ = 75.4
0006: 31@ = 11000
0002: jump @UFO_2446

:UFO_1F8C
00AB: put_car 1@ at 585.8248 933.6808 75.4921
0001: wait 250 ms
0007: 11@ = 201.87
0007: 12@ = 3165.75
0007: 13@ = 92.56
0006: 31@ = 11000
0002: jump @UFO_2446

:UFO_1FD2
00AB: put_car 1@ at 263.0902 2975.555 102.5676
0001: wait 250 ms
0007: 11@ = 242.61
0007: 12@ = 1700.8
0007: 13@ = 92.56
0006: 31@ = 8500
0002: jump @UFO_2446

:UFO_2018
00AB: put_car 1@ at 242.6107 1700.833 84.7072
0001: wait 250 ms
0519: set_car 1@ locked 1
06C1: create_searchlight 20@ on_car 1@ with_offset 0.0 0.0 -2.0 radius 0.2 target 242.6107 1700.833 23.8 radius 12.0
06B4: set_searchlight 20@ path_between 242.6107 1700.833 23.8 and 236.6107 1700.833 23.8 speed 2.5
0001: wait 1250 ms
06B2: destroy_searchlight 20@
0519: set_car 1@ locked 0
0007: 11@ = 261.42
0007: 12@ = 1807.82
0007: 13@ = 42.5
0006: 31@ = 4000
0002: jump @UFO_2446

:UFO_20CE
00AB: put_car 1@ at 261.4233 1807.824 85.579
0001: wait 250 ms
0519: set_car 1@ locked 1
06C1: create_searchlight 20@ on_car 1@ with_offset 0.0 0.0 -2.0 radius 0.2 target 261.4233 1807.82 23.8 radius 12.0
06B4: set_searchlight 20@ path_between 261.4233 1807.82 23.8 and 265.4233 1807.82 23.8 speed 2.5
0001: wait 1250 ms
06B2: destroy_searchlight 20@
0519: set_car 1@ locked 0
0007: 11@ = -234.3
0007: 12@ = 2217.38
0007: 13@ = 68.2
0006: 31@ = 8000
0002: jump @UFO_2446

:UFO_2184
00AB: put_car 1@ at -234.3089 2217.385 68.2449
0007: 11@ = 389.7
0007: 12@ = 680.53
0007: 13@ = 68.2
0006: 31@ = 7000
0002: jump @UFO_2446

:UFO_21C5
00AB: put_car 1@ at 261.4233 1807.824 85.579
0007: 11@ = 16.5
0007: 12@ = 1722.0
0007: 13@ = 68.2
0006: 31@ = 3500
0006: 5@ = 13
0002: jump @UFO_2497

:UFO_220D
00AB: put_car 1@ at 16.5733 1722.08 85.5
0001: wait 250 ms
0519: set_car 1@ locked 1
06C1: create_searchlight 20@ on_car 1@ with_offset 0.0 0.0 -2.0 radius 0.2 target 16.5733 1722.08 23.8 radius 12.0
06B4: set_searchlight 20@ path_between 16.5733 1722.08 23.8 and 16.5733 1725.08 23.8 speed 2.5
0001: wait 500 ms
06B2: destroy_searchlight 20@
0519: set_car 1@ locked 0
0007: 11@ = 188.56
0007: 12@ = 2082.57
0007: 13@ = 188.4
0006: 31@ = 5550
0006: 5@ = 14
0002: jump @UFO_2497

:UFO_22CA
00AB: put_car 1@ at 188.5601 2082.573 85.5412
0001: wait 250 ms
0519: set_car 1@ locked 1
06C1: create_searchlight 20@ on_car 1@ with_offset 0.0 0.0 -2.0 radius 0.2 target 188.5601 2082.573 23.8 radius 12.0
06B4: set_searchlight 20@ path_between 188.5601 2082.573 23.8 and 185.5601 2082.573 23.8 speed 2.5
0001: wait 500 ms
06B2: destroy_searchlight 20@
0519: set_car 1@ locked 0
0007: 11@ = 350.7
0007: 12@ = 2029.22
0007: 13@ = 194.8
0006: 31@ = 3650
0006: 5@ = 15
0002: jump @UFO_2497

:UFO_2387
00AB: put_car 1@ at 350.7205 2029.224 85.6231
0001: wait 250 ms
0519: set_car 1@ locked 1
06C1: create_searchlight 20@ on_car 1@ with_offset 0.0 0.0 -2.0 radius 0.2 target 350.7205 2029.22 23.8 radius 12.0
06B4: set_searchlight 20@ path_between 350.7205 2029.22 23.8 and 353.7205 2029.22 23.8 speed 2.5
0001: wait 500 ms
06B2: destroy_searchlight 20@
0519: set_car 1@ locked 0
0007: 11@ = 270.54
0007: 12@ = 1885.12
0007: 13@ = 194.8
0006: 31@ = 3850
0006: 5@ = 0
0006: 30@ = 2
0051: return

:UFO_2446
000A: 5@ += 1
00D6: if
0019:   5@ > 11
004D: jump_if_false @UFO_2466
0006: 5@ = 0

:UFO_2466
00D6: if and
0019:   28@ > 4
0039:   27@ == 0
004D: jump_if_false @UFO_248D
0006: 5@ = 9
0006: 27@ = 1

:UFO_248D
0224: set_car 1@ health_to 10000
0051: return

:UFO_2497
00D6: if
0019:   5@ > 15
004D: jump_if_false @UFO_24B7
0006: 5@ = 0
0006: 30@ = 0

:UFO_24B7
0224: set_car 1@ health_to 10000
0051: return

:UFO_24C1
0407: store_coords_to 14@ 15@ 16@ from_car 1@ with_offset 0.0 0.0 0.0
0087: 13@ = 14@ // (float)
0087: 16@ = 15@ // (float)
0063: 13@ -= 11@ // (float)
0063: 16@ -= 12@ // (float)
0013: 13@ *= -2.0
0013: 16@ *= -2.0
005B: 14@ += 13@ // (float)
005B: 15@ += 16@ // (float)
0063: 14@ -= 11@ // (float)
0063: 15@ -= 12@ // (float)
0013: 14@ *= 5.0
0013: 15@ *= 5.0
0604: get_Z_angle_for_point 14@ 15@ store_to 16@
0175: set_car 1@ Z_angle_to 16@
0051: return

:UFO_255B
02F6: 17@ = sine 16@ // (float)
02F7: 18@ = cosine 16@ // (float)
0013: 17@ *= 0.03
0013: 18@ *= 0.03
0013: 17@ *= -1.0
0051: return

:UFO_258B
00D6: if
0039:   0@ == 1
004D: jump_if_false @UJET_15E
03A4: name_thread 'UJET'
0001: wait 1000 ms
032B: 0@ = create_weapon_pickup #JETPACK group 15 ammo 1 at 272.3918 1891.436 17.6406

:UJET_2B
0001: wait 0 ms
00D6: if
0256:   player $PLAYER_CHAR defined
004D: jump_if_false @UJET_F5
00D6: if
09E7:   player $PLAYER_CHAR not_frozen
004D: jump_if_false @UJET_F5
00D6: if
0038:   $ONMISSION == 0
004D: jump_if_false @UJET_F5
00D6: if
0214:   pickup 0@ picked_up
004D: jump_if_false @UJET_2B
0247: load_model #MICRO_UZI

:UJET_76
0001: wait 0 ms
00D6: if
0248:   model #MICRO_UZI available
004D: jump_if_false @UJET_76
0169: set_fade_color_RGB 0 0 0
016A: fade 0 time 0
0001: wait 50 ms
00A1: put_actor $PLAYER_ACTOR at 268.7112 1883.715 -30.0937
0001: wait 250 ms
00A1: put_actor $PLAYER_ACTOR at 269.1259 1876.534 8.4375
01B2: give_actor $PLAYER_ACTOR weapon 28 ammo 99999 // Load the weapon model before using this
0001: wait 50 ms
016A: fade 1 time 0
07A7: put_jetpack_on_actor $PLAYER_ACTOR
0215: destroy_pickup 0@
0249: release_model #MICRO_UZI
0002: jump @UJET_106

:UJET_F5
0215: destroy_pickup 0@
0001: wait 5000 ms
0002: jump @UJET_106

:UJET_106
0001: wait 0 ms
00D6: if
0256:   player $PLAYER_CHAR defined
004D: jump_if_false @UJET_106
00D6: if
09E7:   player $PLAYER_CHAR not_frozen
004D: jump_if_false @UJET_106
00D6: if
0038:   $ONMISSION == 0
004D: jump_if_false @UJET_106
032B: 0@ = create_weapon_pickup #JETPACK group 15 ammo 1 at 272.3918 1891.436 17.6406
0002: jump @UJET_2B

:UJET_15E
0A93: end_custom_thread

#5 Re: Вопросы по скриптингу » UFO » 25-01-2011 17:08

Я думаю, может версия Sanny Builder устарела? Хотя у меня Sanny Builder v3.04, новее не видел. Она доже не открывает скрипт Transfender Wheel Shop.

#6 Re: Вопросы по скриптингу » UFO » 25-01-2011 16:54

С номером ID то же самое

#7 Re: Вопросы по скриптингу » UFO » 25-01-2011 16:08

в vehicles.ide есть, но и ошибка есть. "Компилируемый файл не имеет заголовка, поэтому имя модели #NLO не может быть использовано. Используйте числовой идентификатор модели (ID)."

#8 Вопросы по скриптингу » UFO » 25-01-2011 15:15

Tractor
Replies: 14

Всем привет! Сразу говорю, я тут новенький и далёк от скриптинга. Но заменять имена транспорта в скрипте умею (на это ума много не надо). Значит вот такое дело, скачал скрипт "Mysterious UFO at Area 51" по адресу http://zazmahall.de/ZAZGTASANATORIUM/za … 1_cleo.htm, в этом скрипте по умолчанию задействован ID вертолёта Sparrow (сам вертолёт заменяется на летающую тарелку). А мне надо что бы у меня и вертолёт был и НЛО. Я при помощи SAMoreVehicles добавил "тарелку" в игру, привязал её к вертолёту. Хотел в скрипте заменить SPARROW на NLO, но скомпилировать скрипт нельзя т. к. NLO это добавленный файл и не числится main.scm. Как быть?
HELP!!! HELP!!! HELP!!!

Board footer

Powered by FluxBB