mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-08 06:12:17 -05:00
Brutus and Panzersoldat: decrease footstep screen shake
This commit is contained in:
parent
47c4377615
commit
24e21b1f76
@ -127,12 +127,13 @@
|
|||||||
|
|
||||||
### Brutus
|
### Brutus
|
||||||
* Smoke Grenade kills zombies
|
* Smoke Grenade kills zombies
|
||||||
|
* Decreased footstep screen shake by 25%
|
||||||
* Increased player damage from 99 to 100
|
* Increased player damage from 99 to 100
|
||||||
* No longer receives additional damage from Ray Gun Mark 2
|
* No longer receives additional damage from Ray Gun Mark 2
|
||||||
* Teleports away less frequently
|
* Teleports away less frequently
|
||||||
* Grief: spawns every 4-6 minutes
|
|
||||||
|
|
||||||
### Panzersoldat
|
### Panzersoldat
|
||||||
|
* Decreased footstep screen shake by 25%
|
||||||
* No longer receives additional damage from Boomhilda or Ray Gun Mark 2
|
* No longer receives additional damage from Boomhilda or Ray Gun Mark 2
|
||||||
|
|
||||||
## Weapons
|
## Weapons
|
||||||
@ -954,10 +955,11 @@
|
|||||||
### Encounter
|
### Encounter
|
||||||
* Group of competitive game modes
|
* Group of competitive game modes
|
||||||
* Unlimited zombies
|
* Unlimited zombies
|
||||||
* 2500 health zombies (25000 health Brutus)
|
* 2500 health zombies (25000 health boss zombies)
|
||||||
* 0.5 second zombie spawn rate
|
* 0.5 second zombie spawn rate
|
||||||
* Only sprinting zombies
|
* Only sprinting zombies
|
||||||
* Crawlers bleed out if they have not dealt or taken damage within 30 seconds
|
* Crawlers bleed out if they have not dealt or taken damage within 30 seconds
|
||||||
|
* Boss zombies spawn every 4-6 minutes (on maps that have them)
|
||||||
* Unlimited powerups
|
* Unlimited powerups
|
||||||
* Unlimited barrier rebuild points
|
* Unlimited barrier rebuild points
|
||||||
* Unupgraded weapons stun enemy players for 0.5 seconds
|
* Unupgraded weapons stun enemy players for 0.5 seconds
|
||||||
|
39
scripts/zm/replaced/_zm_ai_brutus.csc
Normal file
39
scripts/zm/replaced/_zm_ai_brutus.csc
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
#include clientscripts\mp\zombies\_zm_ai_brutus;
|
||||||
|
#include clientscripts\mp\_utility;
|
||||||
|
#include clientscripts\mp\zombies\_zm_utility;
|
||||||
|
|
||||||
|
brutusfootstepcbfunc(localclientnum, pos, surface, notetrack, bone)
|
||||||
|
{
|
||||||
|
players = getlocalplayers();
|
||||||
|
|
||||||
|
for (i = 0; i < players.size; i++)
|
||||||
|
{
|
||||||
|
if (!players[i] isplayer())
|
||||||
|
continue;
|
||||||
|
|
||||||
|
n_distance = distance2d(self.origin, players[i].origin);
|
||||||
|
|
||||||
|
if (abs(self.origin[2] - players[i].origin[2]) < 100 && n_distance < 1500)
|
||||||
|
{
|
||||||
|
if (!is_true(players[i].brutus_camshake))
|
||||||
|
{
|
||||||
|
players[i] earthquake(0.375, 0.1, self.origin, 1500);
|
||||||
|
players[i] thread prevent_camshake_stacking();
|
||||||
|
}
|
||||||
|
|
||||||
|
playerlocalclientnum = players[i] getlocalclientnumber();
|
||||||
|
|
||||||
|
if (isdefined(playerlocalclientnum))
|
||||||
|
playrumbleonposition(playerlocalclientnum, "brutus_footsteps", self.origin);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
footstepdoeverything();
|
||||||
|
}
|
||||||
|
|
||||||
|
prevent_camshake_stacking()
|
||||||
|
{
|
||||||
|
self.brutus_camshake = 1;
|
||||||
|
wait 0.1;
|
||||||
|
self.brutus_camshake = 0;
|
||||||
|
}
|
44
scripts/zm/replaced/_zm_ai_mechz.csc
Normal file
44
scripts/zm/replaced/_zm_ai_mechz.csc
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
#include clientscripts\mp\zombies\_zm_ai_mechz;
|
||||||
|
#include clientscripts\mp\_utility;
|
||||||
|
#include clientscripts\mp\zombies\_zm_utility;
|
||||||
|
|
||||||
|
mechzfootstepcbfunc(localclientnum, pos, surface, notetrack, bone)
|
||||||
|
{
|
||||||
|
players = getlocalplayers();
|
||||||
|
|
||||||
|
for (i = 0; i < players.size; i++)
|
||||||
|
{
|
||||||
|
if (!players[i] isplayer())
|
||||||
|
continue;
|
||||||
|
|
||||||
|
n_distance = distance2d(self.origin, players[i].origin);
|
||||||
|
|
||||||
|
if (abs(self.origin[2] - players[i].origin[2]) < 100 && n_distance < 1500)
|
||||||
|
{
|
||||||
|
rumble = "shotgun_fire";
|
||||||
|
|
||||||
|
if (n_distance <= 750)
|
||||||
|
{
|
||||||
|
rumble = "mechz_footsteps";
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!is_true(players[i].mechz_camshake))
|
||||||
|
{
|
||||||
|
players[i] earthquake(0.25, 0.1, self.origin, 1500);
|
||||||
|
players[i] thread prevent_camshake_stacking();
|
||||||
|
}
|
||||||
|
|
||||||
|
playerlocalclientnum = players[i] getlocalclientnumber();
|
||||||
|
|
||||||
|
if (isdefined(playerlocalclientnum))
|
||||||
|
playrumbleonposition(playerlocalclientnum, rumble, self.origin);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (bone == "j_ball_ri")
|
||||||
|
playfxontag(localclientnum, level._effect["mech_footstep_steam"], self, "tag_foot_steam_RI");
|
||||||
|
else if (bone == "j_ball_le")
|
||||||
|
playfxontag(localclientnum, level._effect["mech_footstep_steam"], self, "tag_foot_steam_LE");
|
||||||
|
|
||||||
|
footstepdoeverything();
|
||||||
|
}
|
@ -3,6 +3,8 @@
|
|||||||
|
|
||||||
main()
|
main()
|
||||||
{
|
{
|
||||||
|
replaceFunc(clientscripts\mp\zombies\_zm_ai_brutus::brutusfootstepcbfunc, scripts\zm\replaced\_zm_ai_brutus::brutusfootstepcbfunc);
|
||||||
|
|
||||||
if (is_gametype_active("zstandard"))
|
if (is_gametype_active("zstandard"))
|
||||||
{
|
{
|
||||||
level.zombiemode_using_additionalprimaryweapon_perk = 1;
|
level.zombiemode_using_additionalprimaryweapon_perk = 1;
|
||||||
|
7
scripts/zm/zm_tomb/zm_tomb_reimagined.csc
Normal file
7
scripts/zm/zm_tomb/zm_tomb_reimagined.csc
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
#include clientscripts\mp\_utility;
|
||||||
|
#include clientscripts\mp\zombies\_zm_utility;
|
||||||
|
|
||||||
|
main()
|
||||||
|
{
|
||||||
|
replaceFunc(clientscripts\mp\zombies\_zm_ai_mechz::mechzfootstepcbfunc, scripts\zm\replaced\_zm_ai_mechz::mechzfootstepcbfunc);
|
||||||
|
}
|
@ -1,9 +1,12 @@
|
|||||||
script,scripts/zm/_zm_reimagined.csc
|
script,scripts/zm/_zm_reimagined.csc
|
||||||
script,scripts/zm/zm_nuked/zm_nuked_reimagined.csc
|
script,scripts/zm/zm_nuked/zm_nuked_reimagined.csc
|
||||||
script,scripts/zm/zm_buried/zm_buried_reimagined.csc
|
|
||||||
script,scripts/zm/zm_prison/zm_prison_reimagined.csc
|
script,scripts/zm/zm_prison/zm_prison_reimagined.csc
|
||||||
|
script,scripts/zm/zm_buried/zm_buried_reimagined.csc
|
||||||
|
script,scripts/zm/zm_tomb/zm_tomb_reimagined.csc
|
||||||
script,scripts/zm/zgrief/zgrief_reimagined.csc
|
script,scripts/zm/zgrief/zgrief_reimagined.csc
|
||||||
script,scripts/zm/replaced/_zm.csc
|
script,scripts/zm/replaced/_zm.csc
|
||||||
|
script,scripts/zm/replaced/_zm_ai_brutus.csc
|
||||||
|
script,scripts/zm/replaced/_zm_ai_mechz.csc
|
||||||
script,scripts/zm/replaced/_zm_weapons.csc
|
script,scripts/zm/replaced/_zm_weapons.csc
|
||||||
script,scripts/zm/replaced/zm_nuked.csc
|
script,scripts/zm/replaced/zm_nuked.csc
|
||||||
script,scripts/zm/replaced/zm_buried.csc
|
script,scripts/zm/replaced/zm_buried.csc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user