1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-07-10 05:48:31 -05:00

Mule Kick: adjust weapon indicator position

This commit is contained in:
Jbleezy
2023-04-13 02:46:50 -07:00
parent 7cab7b6c6f
commit d072241073

View File

@ -123,6 +123,7 @@ init()
level.using_solo_revive = 0; level.using_solo_revive = 0;
level.claymores_max_per_player = 20; level.claymores_max_per_player = 20;
level.navcards = undefined; // removes navcards on HUD level.navcards = undefined; // removes navcards on HUD
level.player_too_many_players_check = 0;
if(getDvar("g_gametype") == "zgrief" && is_true(level.scr_zm_ui_gametype_pro)) if(getDvar("g_gametype") == "zgrief" && is_true(level.scr_zm_ui_gametype_pro))
{ {
@ -371,7 +372,6 @@ post_all_players_spawned()
level.playerlaststand_func = scripts\zm\replaced\_zm::player_laststand; level.playerlaststand_func = scripts\zm\replaced\_zm::player_laststand;
level.callbackplayerlaststand = scripts\zm\replaced\_zm::callback_playerlaststand; level.callbackplayerlaststand = scripts\zm\replaced\_zm::callback_playerlaststand;
level.player_too_many_weapons_monitor_func = scripts\zm\replaced\_zm::player_too_many_weapons_monitor; level.player_too_many_weapons_monitor_func = scripts\zm\replaced\_zm::player_too_many_weapons_monitor;
level.player_too_many_players_check_func = undefined;
level.etrap_damage = maps\mp\zombies\_zm::ai_zombie_health( 255 ); level.etrap_damage = maps\mp\zombies\_zm::ai_zombie_health( 255 );
level.slipgun_damage = maps\mp\zombies\_zm::ai_zombie_health( 255 ); level.slipgun_damage = maps\mp\zombies\_zm::ai_zombie_health( 255 );
level.tombstone_spawn_func = ::tombstone_spawn; level.tombstone_spawn_func = ::tombstone_spawn;
@ -3782,21 +3782,18 @@ additionalprimaryweapon_indicator()
hud.aligny = "bottom"; hud.aligny = "bottom";
hud.horzalign = "user_right"; hud.horzalign = "user_right";
hud.vertalign = "user_bottom"; hud.vertalign = "user_bottom";
if (level.script == "zm_highrise") if (level.script == "zm_highrise")
{ {
hud.x -= 100; hud.x -= 60;
hud.y -= 80; hud.y -= 55;
}
else if (level.script == "zm_tomb")
{
hud.x -= 75;
hud.y -= 60;
} }
else else
{ {
hud.x -= 75; hud.x -= 60;
hud.y -= 80; hud.y -= 80;
} }
hud.alpha = 0; hud.alpha = 0;
hud.color = ( 1, 1, 1 ); hud.color = ( 1, 1, 1 );
hud.hidewheninmenu = 1; hud.hidewheninmenu = 1;