mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-07 21:59:49 -05:00
Jet Gun: add back spin up while meleeing
Causes players to not be affected by gravity, needs to be changed in engine
This commit is contained in:
parent
b820bee802
commit
dcf3784e58
@ -505,7 +505,6 @@
|
|||||||
* Heats up half as fast
|
* Heats up half as fast
|
||||||
* Cools down twice as fast
|
* Cools down twice as fast
|
||||||
* Cools down while not holding weapon
|
* Cools down while not holding weapon
|
||||||
* No longer spins up while meleeing
|
|
||||||
* No longer kills when not firing
|
* No longer kills when not firing
|
||||||
* No longer automatically switched to weapon when picked up
|
* No longer automatically switched to weapon when picked up
|
||||||
* No longer disassembles when overheated
|
* No longer disassembles when overheated
|
||||||
|
@ -87,7 +87,6 @@ init()
|
|||||||
level thread power_local_electric_doors_globally();
|
level thread power_local_electric_doors_globally();
|
||||||
level thread power_station_vision_change();
|
level thread power_station_vision_change();
|
||||||
level thread attach_powerups_to_bus();
|
level thread attach_powerups_to_bus();
|
||||||
level thread jetgun_disable_melee_spin_lerp();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
grief_include_weapons()
|
grief_include_weapons()
|
||||||
@ -730,26 +729,6 @@ attachpoweruptobus(powerup)
|
|||||||
powerup linkto(level.the_bus);
|
powerup linkto(level.the_bus);
|
||||||
}
|
}
|
||||||
|
|
||||||
jetgun_disable_melee_spin_lerp()
|
|
||||||
{
|
|
||||||
flag_wait("start_zombie_round_logic");
|
|
||||||
|
|
||||||
while (1)
|
|
||||||
{
|
|
||||||
players = get_players();
|
|
||||||
|
|
||||||
foreach (player in players)
|
|
||||||
{
|
|
||||||
if (player getcurrentweapon() == "jetgun_zm" && player ismeleeing())
|
|
||||||
{
|
|
||||||
player maps\mp\zombies\_zm_weap_jetgun::set_jetgun_engine_direction(0);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
wait 0.05;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
manage_zones(initial_zone)
|
manage_zones(initial_zone)
|
||||||
{
|
{
|
||||||
level.zone_manager_init_func = ::transit_zone_init;
|
level.zone_manager_init_func = ::transit_zone_init;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user