mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-10 23:27:57 -05:00
MOTD and Origins: show initial parts on HUD at correct time
MOTD and Origins: space out items on HUD evenly MOTD: add initial key state on HUD Origins: fix crash from record color change on HUD
This commit is contained in:
@ -1682,8 +1682,7 @@ temp_disable_offhand_weapons()
|
||||
|
||||
buildbuildables()
|
||||
{
|
||||
// need a wait or else some buildables dont build
|
||||
wait 1;
|
||||
wait 1; // need a wait or else some buildables dont build
|
||||
|
||||
if (is_classic())
|
||||
{
|
||||
@ -1926,8 +1925,12 @@ unregister_tower_unitriggers()
|
||||
// MOTD\Origins style buildables
|
||||
buildcraftables()
|
||||
{
|
||||
// need a wait or else some buildables dont build
|
||||
wait 1;
|
||||
flag_wait("initial_blackscreen_passed");
|
||||
|
||||
if (is_true(level.zombiemode_using_afterlife))
|
||||
{
|
||||
flag_wait("afterlife_start_over");
|
||||
}
|
||||
|
||||
if (is_classic())
|
||||
{
|
||||
|
@ -116,4 +116,25 @@ include_craftables()
|
||||
refuelable_plane.triggerthink = ::planefuelable;
|
||||
plane.custom_craftablestub_update_prompt = ::prison_plane_update_prompt;
|
||||
include_craftable(refuelable_plane);
|
||||
}
|
||||
|
||||
planecraftable()
|
||||
{
|
||||
level thread alcatraz_craftable_trigger_think("plane_craftable_trigger", "plane", "plane", "", 1, 0);
|
||||
level setclientfield("quest_plane_craft_complete", 0);
|
||||
|
||||
level thread setclientfield_quest_states_init();
|
||||
}
|
||||
|
||||
setclientfield_quest_states_init()
|
||||
{
|
||||
flag_wait("initial_blackscreen_passed");
|
||||
|
||||
if (is_true(level.zombiemode_using_afterlife))
|
||||
{
|
||||
flag_wait("afterlife_start_over");
|
||||
}
|
||||
|
||||
for (i = 1; i <= 5; i++)
|
||||
level setclientfield("quest_state" + i, 2);
|
||||
}
|
@ -604,6 +604,8 @@ run_gramophone_door(str_vinyl_record)
|
||||
while (!trig_position.has_vinyl)
|
||||
wait 0.05;
|
||||
|
||||
wait 0.05;
|
||||
|
||||
t_door.initial_placed = 1;
|
||||
trig_position.gramophone_model = spawn("script_model", trig_position.origin);
|
||||
trig_position.gramophone_model.angles = trig_position.angles;
|
||||
|
Reference in New Issue
Block a user