You are not logged in.
Pages: 1
{$CLEO} 0746: set_default_action 4 for_actors_pedtype 4 to_actors_pedtype 0 0746: set_default_action 4 for_actors_pedtype 5 to_actors_pedtype 0 0746: set_default_action 4 for_actors_pedtype 23 to_actors_pedtype 0 0A93:
Куда это вставлять?
Невидно миссий
// This file was decompiled using sascm.ini published by Seemann (http://sannybuilder.com/files/SASCM.rar) on 13.10.2007
DEFINE OBJECTS 0DEFINE MISSIONS 1
DEFINE MISSION 0 at @MyMissionDEFINE EXTERNAL_SCRIPTS 0 // Use -1 in order not to compile AAA script
DEFINE UNKNOWN_EMPTY_SEGMENT 0
DEFINE UNKNOWN_THREADS_MEMORY 0
{$VERSION 3.1.0027}
//-------------MAIN---------------
thread 'MAIN'
fade 0 0
042C: set_total_missions_to 0
030D: set_max_progress 0
01F0: set_max_wanted_level_to 6
set_wb_check_to 0
00C0: set_current_time_hours_to 10 minutes_to 0
$7 = 0.0
$6 = 0.0
$5 = 30.0
04E4: unknown_refresh_game_renderer_at $7 $6
Camera.SetAtPos($7, $6, $5)
062A: change_float_stat 165 to 999.0
062A: change_float_stat 23 to 999.0
062A: change_float_stat 21 to 0.0
062A: change_float_stat 163 to 999.0
062A: change_float_stat 160 to 999.0
062A: change_float_stat 229 to 999.0
062A: change_float_stat 223 to 999.0
062A: change_float_stat 230 to 999.0
0629: change_integer_stat 181 to 4
0629: change_integer_stat 68 to 0
$PLAYER_CHAR = Player.Create(#NULL, $7, $6, $5)
07AF: $PLAYER_GROUP = player $PLAYER_CHAR group
$PLAYER_ACTOR = Actor.EmulateFromPlayer($PLAYER_CHAR)
Camera.SetBehindPlayer
Actor.Angle($PLAYER_ACTOR) = 262.0
set_weather 1
Player.SetClothes($PLAYER_CHAR, "BBALLJACKRSTAR", "BBJACK", Torso)
Player.SetClothes($PLAYER_CHAR, "JEANSDENIM", "JEANS", Legs)
Player.SetClothes($PLAYER_CHAR, "SNEAKERBINCBLK", "SNEAKER", Shoes)
Player.SetClothes($PLAYER_CHAR, "PLAYER_FACE", "HEAD", Head)
Player.Build($PLAYER_CHAR)
select_interior 0
Player.CanMove($PLAYER_CHAR) = True
01B7: release_weather
016C: restart_if_wasted_at $7 $6 $5 angle 0.0 town_number 0
Model.Load(#HYDRA):MAIN_383
wait 0
if
Model.Available(#HYDRA)
jf @MAIN_383
$4 = Car.Create(#HYDRA, $7, $6, $5)
036A: put_actor $PLAYER_ACTOR in_car $4
fade 1 1000
wait 100
03E6: remove_text_box:MAIN_441
wait 2500
jump @MAIN_441
// put your create_thread commands here
create_thread @MyTrigger
//-------------Mission 0---------------
// put your missions here
:MyTriggerthread "MyTrigger"
$TrigMarker = Marker.CreateIconAndSphere(15, 2489.0591, -1682.2808, 13.3358)
while $MyMission_Passed == 0
wait 250
if Player.Defined($PLAYER_CHAR)
then
if $ONMISSION == 0 // integer values
then
if 00FF: actor $PLAYER_ACTOR 0 2489.0591 -1682.2808 13.3358 radius 1.0 1.0 2
then
if Player.Controllable($PLAYER_CHAR)
then
$ONMISSION = 1 // integer values
00BA: text_styled 'INTRO_1' 1000 ms 2 // Big Smoke
Marker.Disable($TrigMarker)
start_mission MyMission
end // if1
end // if2
end // if3
end // if4
end// while
end_thread
:MyMission
thread "MyMission"
gosub @MissionStart
if
wasted_or_busted
then
gosub @MissionFailed
end
gosub @MissionCleanup
end_thread:MissionStart
gosub @MissionPassed
return
:MissionPassed
01E3: text_1number_styled 'M_PASSD' 0 5000 ms 1 // MISSION PASSED!
$MyMission_Passed = 1
return:MissionFailed
00BA: text_styled 'M_FAIL' 5000 ms 1 // ~r~MISSION FAILED!
return:MissionCleanup
$ONMISSION = 0 // integer values
mission_cleanup
return
где ошибка?
Можно попробовать выставить всем типам пешеходов (от 4 до 23, см. хелп) отношение к игроку = Hate опкодом 0746
0746: set_default_action 4 for_actors_pedtype 4 to_actors_pedtype 0 0746: set_default_action 4 for_actors_pedtype 5 to_actors_pedtype 0 ... 0746: set_default_action 4 for_actors_pedtype 23 to_actors_pedtype 04 - означает что данный тип пешехода (актера) ненавидит игрока (последний параметр) => будет атаковать его.
Можно подробней? Это в main?
Или же это cleo?
Можно пример?
Pages: 1