Napisano dnia: 2010-12-20 22:08:16
Witam pisze sobie misje w SCM i napisałem na próbę cutscenke. Kazałem graczowi iść w pewne miejsce. Nie chciał się ruszyć. Myśląc że lepszy bedzie to tego aktor stworzyłem sobowtóra gracza. Jednak on też stoi jak ciota i nic. Nie mam pojęcia jak to naprawić:
Kod:
DEFINE OBJECTS 0
DEFINE MISSIONS 1
DEFINE MISSION 0 AT @MISJA
DEFINE EXTERNAL_SCRIPTS -1
DEFINE UNKNOWN_EMPTY_SEGMENT 0
DEFINE UNKNOWN_THREADS_MEMORY 0
thread 'MAIN'
var
$PLAYER_CHAR : Player
end
set_weather 1
00C0: set_current_time 21 00
01F0: set_max_wanted_level_to 6
$PLAYER_CHAR = Player.Create(#NULL, 0.0, 0.0, 0.0)
$PLAYER_ACTOR = Actor.EmulateFromPlayer($PLAYER_CHAR)
$PLAYER_CHAR.SetClothes("PLAYER_FACE", "HEAD", Head)
$PLAYER_CHAR.SetClothes("JEANSDENIM", "JEANS", Legs)
$PLAYER_CHAR.SetClothes("SNEAKERBINCBLK", "SNEAKER", Shoes)
$PLAYER_CHAR.SetClothes("VEST", "VEST", Torso)
$PLAYER_CHAR.Build
$PLAYER_CHAR.CanMove(True)
016C: restart_if_wasted at 2027.77 -1420.52 15.99 angle 137.0 unknown 0
016D: restart_if_busted at 1550.68 -1675.49 14.51 angle 90.0 unknown 0
fade 1 (out) 0 ms
start_mission 0
end_thread
:MISJA
thread 'MISJA'
0247: request_model #BMYRI
038B: load_requested_models
fade 0 1500
wait 1500
09C7: change_player $PLAYER_CHAR model_to #BMYRI
009A: $SOBOWTOR = create_actor_pedtype 20 model #BMYRI at 2513.4065 -1650.3812 14.3557
0173: set_actor $SOBOWTOR Z_angle_to 136.7596
wait 1500
fade 1 1500
02A3: enable_widescreen 1
01B4: set_player $PLAYER_CHAR can_move 0
015F: set_camera_position 2505.7883 -1665.0466 13.3923 rotation 0.0 0.0 0.0
0159: camera_on_ped $SOBOWTOR 15 2
05F5: AS_actor $SOBOWTOR goto_point 2505.8049 -1660.6525 13.412 mode 2 -1 ms
:doszedl
wait 10
if
00EC: actor $SOBOWTOR 0 near_point 2505.8049 -1660.6525 13.412 radius 80.0 80.0
jf @doszedl
05F5: AS_actor $SOBOWTOR goto_point 2487.4351 -1650.3284 13.4893 mode 2 -1 ms // versionB
:doszedl1
wait 10
if
00EC: actor $SOBOWTOR 0 near_point 2487.4351 -1650.3284 13.4893 radius 80.0 80.0
jf @doszedl1
02A3: enable_widescreen 0
02A7: $CEL = create_icon_marker_and_sphere 56 at 2485.9736 -1670.7662 13.0223 radius 3.0
:petla1
wait 10
if
0103: actor $PLAYER_ACTOR in_sphere 2485.9736 -1670.7662 13.0223 radius 3.0 3.0 3.0 sphere 0 stopped_on_foot
jf @petla1
01E3: show_text_1number_styled GXT 'M_PASS' number 100 time 5000 style 1
0109: player $PLAYER_CHAR money += 100
0394: play_music 1
004E: end_thread
DEFINE MISSIONS 1
DEFINE MISSION 0 AT @MISJA
DEFINE EXTERNAL_SCRIPTS -1
DEFINE UNKNOWN_EMPTY_SEGMENT 0
DEFINE UNKNOWN_THREADS_MEMORY 0
thread 'MAIN'
var
$PLAYER_CHAR : Player
end
set_weather 1
00C0: set_current_time 21 00
01F0: set_max_wanted_level_to 6
$PLAYER_CHAR = Player.Create(#NULL, 0.0, 0.0, 0.0)
$PLAYER_ACTOR = Actor.EmulateFromPlayer($PLAYER_CHAR)
$PLAYER_CHAR.SetClothes("PLAYER_FACE", "HEAD", Head)
$PLAYER_CHAR.SetClothes("JEANSDENIM", "JEANS", Legs)
$PLAYER_CHAR.SetClothes("SNEAKERBINCBLK", "SNEAKER", Shoes)
$PLAYER_CHAR.SetClothes("VEST", "VEST", Torso)
$PLAYER_CHAR.Build
$PLAYER_CHAR.CanMove(True)
016C: restart_if_wasted at 2027.77 -1420.52 15.99 angle 137.0 unknown 0
016D: restart_if_busted at 1550.68 -1675.49 14.51 angle 90.0 unknown 0
fade 1 (out) 0 ms
start_mission 0
end_thread
:MISJA
thread 'MISJA'
0247: request_model #BMYRI
038B: load_requested_models
fade 0 1500
wait 1500
09C7: change_player $PLAYER_CHAR model_to #BMYRI
009A: $SOBOWTOR = create_actor_pedtype 20 model #BMYRI at 2513.4065 -1650.3812 14.3557
0173: set_actor $SOBOWTOR Z_angle_to 136.7596
wait 1500
fade 1 1500
02A3: enable_widescreen 1
01B4: set_player $PLAYER_CHAR can_move 0
015F: set_camera_position 2505.7883 -1665.0466 13.3923 rotation 0.0 0.0 0.0
0159: camera_on_ped $SOBOWTOR 15 2
05F5: AS_actor $SOBOWTOR goto_point 2505.8049 -1660.6525 13.412 mode 2 -1 ms
:doszedl
wait 10
if
00EC: actor $SOBOWTOR 0 near_point 2505.8049 -1660.6525 13.412 radius 80.0 80.0
jf @doszedl
05F5: AS_actor $SOBOWTOR goto_point 2487.4351 -1650.3284 13.4893 mode 2 -1 ms // versionB
:doszedl1
wait 10
if
00EC: actor $SOBOWTOR 0 near_point 2487.4351 -1650.3284 13.4893 radius 80.0 80.0
jf @doszedl1
02A3: enable_widescreen 0
02A7: $CEL = create_icon_marker_and_sphere 56 at 2485.9736 -1670.7662 13.0223 radius 3.0
:petla1
wait 10
if
0103: actor $PLAYER_ACTOR in_sphere 2485.9736 -1670.7662 13.0223 radius 3.0 3.0 3.0 sphere 0 stopped_on_foot
jf @petla1
01E3: show_text_1number_styled GXT 'M_PASS' number 100 time 5000 style 1
0109: player $PLAYER_CHAR money += 100
0394: play_music 1
004E: end_thread