1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-10 15:17:57 -05:00

Claymore: remove initial weapon raise animation

This commit is contained in:
Jbleezy
2023-04-22 22:15:18 -07:00
parent 86b98da892
commit c2f26d51b8
3 changed files with 15 additions and 0 deletions

View File

@ -204,6 +204,7 @@
### Claymore
* Can be repurchased
* Increased max amount that can be placed from 12 to 20
* Removed initial weapon raise animation
### Time Bomb
* No longer sends players back in time

View File

@ -111,6 +111,7 @@ main()
replaceFunc(maps\mp\zombies\_zm_melee_weapon::give_melee_weapon, scripts\zm\replaced\_zm_melee_weapon::give_melee_weapon);
replaceFunc(maps\mp\zombies\_zm_weap_ballistic_knife::watch_use_trigger, scripts\zm\replaced\_zm_weap_ballistic_knife::watch_use_trigger);
replaceFunc(maps\mp\zombies\_zm_weap_claymore::claymore_detonation, scripts\zm\replaced\_zm_weap_claymore::claymore_detonation);
replaceFunc(maps\mp\zombies\_zm_weap_claymore::claymore_setup, scripts\zm\replaced\_zm_weap_claymore::claymore_setup);
replaceFunc(maps\mp\zombies\_zm_weap_cymbal_monkey::player_handle_cymbal_monkey, scripts\zm\replaced\_zm_weap_cymbal_monkey::player_handle_cymbal_monkey);
}

View File

@ -139,4 +139,17 @@ claymore_detonation()
return;
}
}
}
claymore_setup()
{
if ( !isdefined( self.claymores ) )
self.claymores = [];
self thread claymore_watch();
self giveweapon( "claymore_zm" );
self set_player_placeable_mine( "claymore_zm" );
self setactionslot( 4, "weapon", "claymore_zm" );
self setweaponammostock( "claymore_zm", 2 );
self seteverhadweaponall( 1 );
}