Skip to content

Commit 47f5631

Browse files
committed
fixes/speed changes
1 parent c066224 commit 47f5631

File tree

14 files changed

+1020
-25
lines changed

14 files changed

+1020
-25
lines changed

game/quiver/cfg/user.scr

Lines changed: 899 additions & 0 deletions
Large diffs are not rendered by default.

game/quiver/info_changelog.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ Quiver Private Alpha 1.1.0 (WIP):
1818
- The Artillery Cannon: Removed the bullets per shot penalty, re-enabled the revving penalties. nerfed the damage potential from 150% to 100%, and buffed the weapon's accuracy slightly from 80% to 85%.
1919
- Reverted the "infinite sandviches" fix as that fix reverted a feature of the Sandvich that's in Live TF2.
2020
- Decreased Mini-Sentry range from 1100 hammer units to 825 hammer units.
21-
- Decreased Mini-Sentry build rate from 150% to 130%.
2221
- Team Deathmatch: Each un-wrangled Sentry kill will now count as half of a kill. Every 2 sentry kills will count as 1 player kill. Wrangled and mini-sentry kills are the only exception.
2322
- Improved model panel lighting.
2423
- Increased the Heavy's speed from 270 to 280.
@@ -30,8 +29,11 @@ Quiver Private Alpha 1.1.0 (WIP):
3029
- Fixed the Vitality Gliitch's 50% lower armor durability penalty.
3130
- The Backburner now has a small move speed penalty when active. This was done as the Pyro's speed buff allowed the user to get up to player's backs extremely quickly, making the weapon incredibly effective.
3231
- Added a 10% move penalty when carrying buildings, regardless if they are being built or moved.
33-
- The Ludmila no longer pierces through armor, in favor of it having a 35% damage bonus against armor.
32+
- The Ludmila no longer pierces through armor, in favor of it having a 20% damage bonus against armor.
3433
- Added an option for Quake 3 hit sounds.
34+
- Minigun/Sniper rifle aiming now considers movespeed when calculating the aiming move speed.
35+
- Added 8 seconds of spawn protection in TDM mode.
36+
- Fixed another bug where the TDM HUD is overlayed over other gamemode's HUD elements.
3537
- Added the following Source SDK Pull Requests:
3638
- #1437: MvM: Fix Explosive Headshot working on invulnerable target
3739

game/quiver/info_highlights.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ Stock weapon balance changes:
4444
- All Sniper Rifles now fire tracer rounds.
4545
- Cloak drain now increases 3.5x if you're jumping/bunnyhopping.
4646
- Added a 10% move penalty when carrying buildings, regardless if they are being built or moved.
47+
- Minigun/Sniper rifle aiming now considers movespeed when calculating the aiming move speed.
48+
- Slightly increased aiming move speed to be more consistent with the main move speed.
4749

4850
Unlockable weapon balance changes:
4951
- The Wrangler's shield has been disabled. Its sole function is now purely to control your sentry gun.
@@ -62,6 +64,7 @@ Unlockable weapon balance changes:
6264
- When using the Cloak and Dagger, the jumping/bunnyhopping cloak drain increases to 4x.
6365
- The Quick Fix now can heal surrounding teammates with its Ubercharge.
6466
- The Backburner now has a small move speed penalty when active.
67+
- Decreased Mini-Sentry range from 1100 hammer units to 825 hammer units.
6568

6669
MvM Changes:
6770
- Added armor-related upgrades to MvM (max armor, pierces damage resistances, and armor resistance).

game/quiver/info_whitelist.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
- The Ubersaw
2929
- The Amputator
3030
- The Vita-Saw
31-
- The Huntsman/Fortified Compound
31+
- The Huntsman/Fortified Compound (w/ balance changes)
3232
- The Killing Gloves of Boxing
3333
- The Cloak and Dagger (w/ balance changes)
3434
- The Big Earner

game/quiver/scripts/items/items_custom.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@
565565
"armor damage increased on target"
566566
{
567567
"attribute_class" "mult_armor_onhit"
568-
"value" "1.35"
568+
"value" "1.20"
569569
}
570570
"aiming knockback resistance heavy ver"
571571
{

game/quiver/scripts/items/items_game.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18589,6 +18589,11 @@
1858918589
"attribute_class" "allowed_in_medieval_mode"
1859018590
"value" "1"
1859118591
}
18592+
"aiming movespeed increased"
18593+
{
18594+
"attribute_class" "mult_player_aiming_movespeed"
18595+
"value" "1.65"
18596+
}
1859218597
}
1859318598
"visuals"
1859418599
{
@@ -25713,7 +25718,7 @@
2571325718
"engineer sentry build rate multiplier"
2571425719
{
2571525720
"attribute_class" "sentry_build_rate_multiplier"
25716-
"value" "2.3"
25721+
"value" "2.5"
2571725722
}
2571825723
"engy sentry radius decreased"
2571925724
{

game/quiver/scripts/playerclasses/heavyweapons.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ PlayerClass
1616
"armor_max" "100"
1717
"bhop_speed_boost" "0.075"
1818
"airspeed_cap_mult" "1.5"
19+
"aimed_speed_mult" "0.50"
1920

2021
//armor stats
2122
//heavy armor

game/quiver/scripts/playerclasses/sniper.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ PlayerClass
1616
"armor_max" "100"
1717
"bhop_speed_boost" "0.095"
1818
"airspeed_cap_mult" "1.75"
19+
"aimed_speed_mult" "0.34"
1920

2021
//armor stats
2122
//light armor

src/game/client/tf/tf_hud_objectivestatus.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ void CTFHudObjectiveStatus::SetVisiblePanels( void )
327327
#if defined(QUIVER_CLIENT_DLL)
328328
bool bTDMVisible = TFGameRules()->IsInTDMMode();
329329

330-
if (m_pTDMPanel && m_pFlagPanel->IsVisible() != bTDMVisible)
330+
if (m_pTDMPanel && m_pTDMPanel->IsVisible() != bTDMVisible)
331331
{
332332
m_pTDMPanel->SetVisible(bTDMVisible);
333333
}

src/game/server/tf/tf_player.cpp

Lines changed: 71 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,11 @@ extern ConVar sv_vote_allow_spectators;
292292
ConVar sv_vote_late_join_time( "sv_vote_late_join_time", "90", FCVAR_NONE, "Grace period after the match starts before players who join the match receive a vote-creation cooldown" );
293293
ConVar sv_vote_late_join_cooldown( "sv_vote_late_join_cooldown", "300", FCVAR_NONE, "Length of the vote-creation cooldown when joining the server after the grace period has expired" );
294294

295+
#if defined(QUIVER_DLL) || defined(QUIVER_CLIENT_DLL)
296+
ConVar qf_tdm_spawnprotection("qf_tdm_spawnprotection", "1", FCVAR_NOTIFY, "");
297+
ConVar qf_tdm_spawnprotection_length("qf_tdm_spawnprotection_length", "8", FCVAR_NOTIFY, "");
298+
#endif
299+
295300
#ifdef BDSBASE
296301
extern ConVar tf_voice_command_suspension_mode;
297302
#endif
@@ -4058,37 +4063,83 @@ void CTFPlayer::Spawn()
40584063

40594064
SetRespawnOverride( -1.f, NULL_STRING );
40604065

4061-
// Remove all powerups and add temporary invuln on spawn
4062-
if ( TFGameRules() && TFGameRules()->IsPowerupMode() )
4066+
#if defined(QUIVER_DLL) || defined(QUIVER_CLIENT_DLL)
4067+
if (TFGameRules() && ((TFGameRules()->IsInTDMMode() && qf_tdm_spawnprotection.GetBool()) || TFGameRules()->IsPowerupMode()))
40634068
{
4064-
m_Shared.AddCond( TF_COND_INVULNERABLE_USER_BUFF, 8.f );
4069+
m_Shared.AddCond(TF_COND_INVULNERABLE_USER_BUFF, (TFGameRules()->IsInTDMMode() ? qf_tdm_spawnprotection_length.GetFloat() : 8.f));
40654070

4066-
if ( !m_bIsInMannpowerDominantCondition )
4071+
if (TFGameRules()->IsPowerupMode())
40674072
{
4068-
if ( ( GetTeamNumber() == TF_TEAM_BLUE ) || ( GetTeamNumber() == TF_TEAM_RED ) )
4073+
if (!m_bIsInMannpowerDominantCondition)
4074+
{
4075+
if ((GetTeamNumber() == TF_TEAM_BLUE) || (GetTeamNumber() == TF_TEAM_RED))
4076+
{
4077+
CSteamID steamIDForPlayer;
4078+
if (GetSteamID(&steamIDForPlayer))
4079+
{
4080+
float flRemoveDominantConditionTime = TFGameRules()->CheckPowerupModeDominantDisconnect(steamIDForPlayer);
4081+
if (flRemoveDominantConditionTime > 0)
4082+
{
4083+
ClientPrint(this, HUD_PRINTCENTER, "#TF_Powerup_Dominant_Continue");
4084+
ClientPrint(this, HUD_PRINTTALK, "#TF_Powerup_Dominant_Continue");
4085+
4086+
m_Shared.AddCond(TF_COND_POWERUPMODE_DOMINANT, PERMANENT_CONDITION);
4087+
4088+
m_flRemoveDominantConditionTime = flRemoveDominantConditionTime;
4089+
m_bIsInMannpowerDominantCondition = true;
4090+
4091+
int nEnemyTeam = (GetTeamNumber() == TF_TEAM_RED) ? TF_TEAM_BLUE : TF_TEAM_RED;
4092+
for (int i = 0; i < MAX_PLAYERS; ++i)
4093+
{
4094+
CTFPlayer* pTFPlayer = ToTFPlayer(UTIL_PlayerByIndex(i));
4095+
if (pTFPlayer && (pTFPlayer->GetTeamNumber() == nEnemyTeam))
4096+
{
4097+
ClientPrint(pTFPlayer, HUD_PRINTCENTER, "#TF_Powerup_Dominant_Other_Team");
4098+
ClientPrint(pTFPlayer, HUD_PRINTTALK, "#TF_Powerup_Dominant_Other_Team");
4099+
}
4100+
}
4101+
}
4102+
}
4103+
}
4104+
}
4105+
else
4106+
{
4107+
m_Shared.AddCond(TF_COND_POWERUPMODE_DOMINANT);
4108+
ClientPrint(this, HUD_PRINTCENTER, "#TF_Powerup_Dominant_StillIn");
4109+
}
4110+
}
4111+
}
4112+
#else
4113+
if (TFGameRules() && TFGameRules()->IsPowerupMode())
4114+
{
4115+
m_Shared.AddCond(TF_COND_INVULNERABLE_USER_BUFF, 8.f);
4116+
4117+
if (!m_bIsInMannpowerDominantCondition)
4118+
{
4119+
if ((GetTeamNumber() == TF_TEAM_BLUE) || (GetTeamNumber() == TF_TEAM_RED))
40694120
{
40704121
CSteamID steamIDForPlayer;
4071-
if ( GetSteamID( &steamIDForPlayer ) )
4122+
if (GetSteamID(&steamIDForPlayer))
40724123
{
4073-
float flRemoveDominantConditionTime = TFGameRules()->CheckPowerupModeDominantDisconnect( steamIDForPlayer );
4074-
if ( flRemoveDominantConditionTime > 0 )
4124+
float flRemoveDominantConditionTime = TFGameRules()->CheckPowerupModeDominantDisconnect(steamIDForPlayer);
4125+
if (flRemoveDominantConditionTime > 0)
40754126
{
4076-
ClientPrint( this, HUD_PRINTCENTER, "#TF_Powerup_Dominant_Continue" );
4077-
ClientPrint( this, HUD_PRINTTALK, "#TF_Powerup_Dominant_Continue" );
4127+
ClientPrint(this, HUD_PRINTCENTER, "#TF_Powerup_Dominant_Continue");
4128+
ClientPrint(this, HUD_PRINTTALK, "#TF_Powerup_Dominant_Continue");
40784129

4079-
m_Shared.AddCond( TF_COND_POWERUPMODE_DOMINANT, PERMANENT_CONDITION );
4130+
m_Shared.AddCond(TF_COND_POWERUPMODE_DOMINANT, PERMANENT_CONDITION);
40804131

40814132
m_flRemoveDominantConditionTime = flRemoveDominantConditionTime;
40824133
m_bIsInMannpowerDominantCondition = true;
40834134

4084-
int nEnemyTeam = ( GetTeamNumber() == TF_TEAM_RED ) ? TF_TEAM_BLUE : TF_TEAM_RED;
4085-
for ( int i = 0; i < MAX_PLAYERS; ++i )
4135+
int nEnemyTeam = (GetTeamNumber() == TF_TEAM_RED) ? TF_TEAM_BLUE : TF_TEAM_RED;
4136+
for (int i = 0; i < MAX_PLAYERS; ++i)
40864137
{
4087-
CTFPlayer *pTFPlayer = ToTFPlayer( UTIL_PlayerByIndex( i ) );
4088-
if ( pTFPlayer && ( pTFPlayer->GetTeamNumber() == nEnemyTeam ) )
4138+
CTFPlayer* pTFPlayer = ToTFPlayer(UTIL_PlayerByIndex(i));
4139+
if (pTFPlayer && (pTFPlayer->GetTeamNumber() == nEnemyTeam))
40894140
{
4090-
ClientPrint( pTFPlayer, HUD_PRINTCENTER, "#TF_Powerup_Dominant_Other_Team" );
4091-
ClientPrint( pTFPlayer, HUD_PRINTTALK, "#TF_Powerup_Dominant_Other_Team" );
4141+
ClientPrint(pTFPlayer, HUD_PRINTCENTER, "#TF_Powerup_Dominant_Other_Team");
4142+
ClientPrint(pTFPlayer, HUD_PRINTTALK, "#TF_Powerup_Dominant_Other_Team");
40924143
}
40934144
}
40944145
}
@@ -4097,10 +4148,11 @@ void CTFPlayer::Spawn()
40974148
}
40984149
else
40994150
{
4100-
m_Shared.AddCond( TF_COND_POWERUPMODE_DOMINANT );
4101-
ClientPrint( this, HUD_PRINTCENTER, "#TF_Powerup_Dominant_StillIn" );
4151+
m_Shared.AddCond(TF_COND_POWERUPMODE_DOMINANT);
4152+
ClientPrint(this, HUD_PRINTCENTER, "#TF_Powerup_Dominant_StillIn");
41024153
}
41034154
}
4155+
#endif
41044156

41054157
if ( TFGameRules() )
41064158
{

0 commit comments

Comments
 (0)