#1 29-12-2011 10:18

DreamKiller
Registered: 25-12-2011
Posts: 11

нужна помощь

сделал миссию. но   игра вылетает


вот миссия

[c][/c]{$CLEO .cm}

//-------------MAIN---------------
thread "PROLOGUE"
gosub @PROLOGUE_55
if
wasted_or_busted
else_jump @PROLOGUE_39
gosub @PROLOGUE_2461

:PROLOGUE_39
gosub @PROLOGUE_2483
$ONMISSION = 0
end_thread

:PROLOGUE_55
increment_mission_attempts
Model.Load(#LVPD1)
Model.Load(#MALE01)
Model.Load(#BFYRI)
Model.Load(#BMYDJ)
Model.Load(#BMYST)
Model.Load(#HMYCR)
Model.Load(#COLT45)
Model.Load(#WMYST)
Model.Load(#DESERT_EAGLE)
Model.Load(#FBIRANCH)
Model.Load(-232)
023C: load_special_actor 'ROTZOMB' as 1 // models 290-299
023C: load_special_actor 'LEON' as 2 // models 290-299
023C: load_special_actor 'JILL' as 3 // models 290-299

:PROLOGUE_145
wait 0
if and
   Model.Available(#LVPD1)
   Model.Available(#FBIRANCH)
   Model.Available(#DESERT_EAGLE)
   Model.Available(#HMYCR)
   Model.Available(-232)
023D:   special_actor 1 loaded
023D:   special_actor 2 loaded
023D:   special_actor 3 loaded
else_jump @PROLOGUE_145
jump @PROLOGUE_194

:PROLOGUE_194
wait 0
0395: clear_area 1 at 2391.615 2048.477 10.6797 radius 70.5
00C0: set_current_time_hours_to 20 minutes_to 20
09C7: change_player $PLAYER_CHAR model_to #SPECIAL02
01F0: set_max_wanted_level_to 0
048F: actor $PLAYER_ACTOR remove_weapons
01EB: set_traffic_density_multiplier_to 0.0
02A3: enable_widescreen 1
00BA: show_text_styled GXT 'ZOMINF' time 1000 style 2
jump @PROLOGUE_279

:PROLOGUE_279
wait 0
Player.CanMove($PLAYER_CHAR) = False
Camera.SetPosition(2372.707, 2061.701, 10.8203, 0.0, 0.0, 228.6344)
Camera.PointAt(2345.404, 2051.421, 10.6719, 2)
0@ = Car.Create(#FBIRANCH, 2345.404, 2051.421, 10.6719)
01C8: $JILL = create_actor_pedtype 8 model #SPECIAL03 in_car 0@ passenger_seat 0
05D7: add_point_to_scmpath 2345.404 2051.421 10.6719
05D7: add_point_to_scmpath 2380.82 2050.914 10.6719
072A: put_actor $PLAYER_ACTOR into_car 0@ driverseat
07E7: AS_assign_scmpath_to_actor $PLAYER_ACTOR in_car 0@ speed 10.0 flags 0 0 0
0158: camera_on_car 0@ 18 2
31@ = Actor.Create(Gang2, #LVPD1, 2391.781, 2043.61, 10.8203)
Actor.Angle(31@) = 357.0101
0638: AS_actor 31@ stay_put 1
17@ = Object.Create(-232, 2394.951, 2045.316, 10.0)
18@ = Object.Create(-232, 2390.429, 2045.32, 10.0)
19@ = Object.Create(-232, 2395.532, 2047.776, 10.0)
Object.Angle(17@) = 93.954
Object.Angle(18@) = 93.954
Object.Angle(19@) = 217.1171
2@ = Actor.Create(Gang2, #WMYST, 2397.09, 2045.944, 10.8203)
Actor.Angle(2@) = 45.4
0638: AS_actor 2@ stay_put 1
3@ = Actor.Create(Gang2, #BFYRI, 2396.195, 2044.124, 10.8203)
Actor.Angle(3@) = 90.0
0638: AS_actor 3@ stay_put 1
0605: actor 3@ perform_animation_sequence "ENDCHAT_03" IFP_file "PED" 4.0 loop 0 0 0 0 time -1 // versionA
4@ = Actor.Create(Gang2, #BMYDJ, 2399.012, 2044.564, 10.8203)
Actor.Angle(4@) = 71.7
0638: AS_actor 4@ stay_put 1
0605: actor 4@ perform_animation_sequence "FUCKU" IFP_file "PED" 4.0 loop 0 0 0 0 time -1 // versionA
5@ = Actor.Create(Gang2, #BMYST, 2401.485, 2047.733, 10.8203)
Actor.Angle(5@) = 83.0
0638: AS_actor 5@ stay_put 1
6@ = Actor.Create(Gang2, #HMYCR, 2389.528, 2044.396, 10.8203)
Actor.Angle(6@) = 268.5
0638: AS_actor 6@ stay_put 1
0605: actor 6@ perform_animation_sequence "IDLE_CHAT" IFP_file "PED" 4.0 loop 0 0 0 0 time -1 // versionA
7@ = Actor.Create(Gang2, #MALE01, 2387.428, 2045.543, 10.8203)
Actor.Angle(7@) = 8.2177
0638: AS_actor 7@ stay_put 1
wait 14000
Camera.Restore_WithJumpCut
Camera.SetPosition(2384.695, 2049.378, 10.6719, 0.0, 0.0, 235.7527)
Camera.PointAt(2391.781, 2043.61, 10.8203, 2)
05CF: AS_actor $PLAYER_ACTOR exit_car 0@ when_at 2345.404 2051.421 10.6719
05CF: AS_actor $JILL exit_car 0@ when_at 2345.404 2051.421 10.6719
0245: set_actor $JILL walk_style_to "GANG2"
0631: put_actor $JILL in_group $PLAYER_GROUP
00BC: show_text_highpriority GXT 'PRO0' time 5000 flag 1
wait 5000
00BC: show_text_highpriority GXT 'PRO1' time 5000 flag 1
wait 5000
00BC: show_text_highpriority GXT 'PRO2' time 5000 flag 1
wait 5000
05F5: AS_actor $PLAYER_ACTOR goto_point 2391.656 2046.231 10.8203 mode 4 -1 ms // versionB
0850: AS_actor $JILL follow_actor $PLAYER_ACTOR
wait 3000
00BC: show_text_highpriority GXT 'PRO3' time 5000 flag 1
wait 5000
0605: actor 31@ perform_animation_sequence "IDLE_CHAT" IFP_file "PED" 4.0 loop 0 0 0 0 time -1 // versionA
00BC: show_text_highpriority GXT 'PRO4' time 5000 flag 1
wait 5000
00BC: show_text_highpriority GXT 'PRO5' time 5000 flag 1
wait 5000
00BC: show_text_highpriority GXT 'PRO6' time 5000 flag 1
wait 5000
00BC: show_text_highpriority GXT 'PRO7' time 5000 flag 1
wait 5000
02A3: enable_widescreen 0
Camera.Restore_WithJumpCut
Actor.RemoveReferences(31@)
Actor.RemoveReferences(2@)
Actor.RemoveReferences(3@)
Actor.RemoveReferences(4@)
Actor.RemoveReferences(5@)
Actor.RemoveReferences(6@)
Actor.RemoveReferences(7@)
jump @PROLOGUE_1313

:PROLOGUE_1313
wait 0
select_interior 9
0860: link_actor $PLAYER_ACTOR to_interior 9
Actor.PutAt($PLAYER_ACTOR, 365.4454, -8.5899, 1001.852)
Actor.PutAt($JILL, 363.4454, -8.5899, 1001.852)
0395: clear_area 1 at 2391.615 2048.477 10.6797 radius 70.5
01EB: set_traffic_density_multiplier_to 10.0
Player.CanMove($PLAYER_CHAR) = True
01B2: give_actor $PLAYER_ACTOR weapon 24 ammo 600 // Load the weapon model before using this
01B2: give_actor $JILL weapon 24 ammo 500 // Load the weapon model before using this
01B9: set_actor $PLAYER_ACTOR armed_weapon_to 1
wait 3000
Player.CanMove($PLAYER_CHAR) = False
02A3: enable_widescreen 1
8@ = Actor.Create(Gang1, #SPECIAL01, 380.1296, -8.7198, 1001.852)
Actor.Angle(8@) = 88.2177
Actor.Health(8@) = 5000
05E2: AS_actor 8@ kill_actor $PLAYER_ACTOR
0332: set_actor 8@ bleeding 1
wait 3000
00BC: show_text_highpriority GXT 'PRO8' time 3000 flag 1
wait 3000
00BC: show_text_highpriority GXT 'PRO9' time 3000 flag 1
wait 3000
00BC: show_text_highpriority GXT 'PRO10' time 2000 flag 1
wait 2000
0668: AS_actor $PLAYER_ACTOR rotate_and_shoot_at 380.1296 -8.7198 1001.852 1000 ms
wait 7000
Player.CanMove($PLAYER_CHAR) = True
02A3: enable_widescreen 0

:PROLOGUE_1614
wait 0
if
   Actor.Dead(8@)
else_jump @PROLOGUE_2391
02A3: enable_widescreen 1
00BC: show_text_highpriority GXT 'PRO11' time 5000 flag 1
wait 5000
00BC: show_text_highpriority GXT 'PRO12' time 5000 flag 1
wait 5000
0948: create_explosion_at 380.1296 -8.7198 1001.852 type 8 camera_shake 6.0
00BC: show_text_highpriority GXT 'PRO13' time 5000 flag 1
wait 5000
00BC: show_text_highpriority GXT 'PRO14' time 5000 flag 1
wait 5000
02A3: enable_widescreen 0
wait 0
select_interior 0
02A3: enable_widescreen 1
Camera.SetPosition(2391.873, 2057.771, 12.6719, 0.0, 0.0, 183.6344)
Camera.PointAt(2391.781, 2043.61, 10.8203, 2)
wait 300
20@ = Actor.Create(Gang1, #SPECIAL01, 2397.09, 2045.944, 10.8203)
Actor.Health(20@) = 5000
05E2: AS_actor 20@ kill_actor $PLAYER_ACTOR
0332: set_actor 20@ bleeding 1
0860: link_actor 20@ to_interior 0
21@ = Actor.Create(Gang1, #SPECIAL01, 2396.195, 2044.124, 10.8203)
Actor.Health(21@) = 5000
05E2: AS_actor 21@ kill_actor $PLAYER_ACTOR
0332: set_actor 21@ bleeding 1
0860: link_actor 21@ to_interior 0
22@ = Actor.Create(Gang1, #SPECIAL01, 2399.012, 2044.564, 10.8203)
Actor.Health(22@) = 5000
05E2: AS_actor 22@ kill_actor $PLAYER_ACTOR
0332: set_actor 22@ bleeding 1
0860: link_actor 22@ to_interior 0
05DA: AS_actor 22@ run_away_in_panic_from 346.6644 160.6407 1025.799 away_radius 100.0 timelimit -1
0326: 30@ = create_actor 22@ fire
02CF: 31@ = create_fire_at 2395.532 2047.776 10.0 propagation 1 size 15.0
23@ = Actor.Create(Gang1, #SPECIAL01, 2401.485, 2047.733, 10.8203)
Actor.Health(23@) = 5000
05E2: AS_actor 23@ kill_actor $PLAYER_ACTOR
0332: set_actor 23@ bleeding 1
0860: link_actor 23@ to_interior 0
24@ = Actor.Create(Gang1, #SPECIAL01, 2389.528, 2044.396, 10.8203)
Actor.Health(24@) = 5000
05E2: AS_actor 24@ kill_actor $PLAYER_ACTOR
0332: set_actor 24@ bleeding 1
0860: link_actor 24@ to_interior 0
25@ = Actor.Create(Gang2, #SPECIAL01, 2387.428, 2045.543, 10.8203)
Actor.Health(25@) = 5000
0332: set_actor 25@ bleeding 1
0860: link_actor 25@ to_interior 0
0860: link_actor $PLAYER_ACTOR to_interior 0
Actor.PutAt($PLAYER_ACTOR, 2345.404, 2051.421, 10.6719)
Actor.DestroyWithFade($JILL)
wait 3000
0948: create_explosion_at 2345.404 2051.421 10.6719 type 11 camera_shake 5.0
wait 1000
00BC: show_text_highpriority GXT 'PRO15' time 5000 flag 1
wait 5000
Camera.Restore_WithJumpCut
02A3: enable_widescreen 0
Actor.PutAt($PLAYER_ACTOR, 1229.535, 2719.928, 10.8203)
jump @PROLOGUE_2322

:PROLOGUE_2322
01E3: show_text_1number_styled GXT 'M_PASS' number 40000 time 5000 style 1  // MISSION PASSED!~n~~w~$~1~
Player.Money($PLAYER_CHAR) += 40000
0394: play_music 2
01F0: set_max_wanted_level_to 6
$ZOMBIE_TOTAL_PASSED_MISSIONS += 1
0318: set_latest_mission_passed 'PROLOGUE'
mission_cleanup
return

:PROLOGUE_2391
wait 0
if
   Actor.Dead($PLAYER_ACTOR)
else_jump @PROLOGUE_2418
jump @PROLOGUE_2461

:PROLOGUE_2418
wait 0
if
   Actor.Dead($JILL)
else_jump @PROLOGUE_1614
00BC: show_text_highpriority GXT 'JILL' time 5000 flag 1
jump @PROLOGUE_2461

:PROLOGUE_2461
wait 0
00BA: show_text_styled GXT 'M_FAIL' time 5000 style 1  // ~r~MISSION FAILED!
return

:PROLOGUE_2483
0980: extinguish_all_fires_at 360.8375 191.4281 1019.991 radius 200.0
Object.Destroy(17@)
Object.Destroy(18@)
Object.Destroy(19@)
$ONMISSION = 0
mission_cleanup
return

Offline

#2 08-01-2012 19:31

reute70
From: Средняя Волга
Registered: 22-08-2009
Posts: 182

Re: нужна помощь

"Выдернул" из мода Ultimate гостаун, чтоб побыстрее проверять, адаптировал старый, но хороший майн Timetwister by Demarest v1, но в начале(Клод появляется уже в гостауне) появляется лод, что-ли (часть неба закрывает), исчезающая когда проедешь сотню метров к океану и мелькнет заставка, как между островами
b1f37164e3401a5e8e408dbc41675280.jpg
есть такие опкоды
03F7: load_island_data 2
0395: clear_area 1 at -180.0 1020.0 range 14.75 30.0
они нужны(не понял как работают тогда) или другие?
_Ну и заодно вопрос - у воды стоит док (скорее всего, он из Вайса wink - хотел катер поставить - невозможно - встаёт торчком, если ГГ сажать - летит, взрывается, вроде координаты непредельные (х 160, у 1600 мах) - map.zon ковырять, а какие зоны, какие цифры?

Offline

Board footer

Powered by FluxBB