Skip to content

Commit e4bdd12

Browse files
committed
add BLU wallpaper and other wallpaper options.
1 parent f1ee38a commit e4bdd12

File tree

10 files changed

+63
-21
lines changed

10 files changed

+63
-21
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
"UnlitGeneric"
2+
{
3+
"$baseTexture" "console/background03"
4+
"$vertexcolor" 1
5+
"$vertexalpha" 1
6+
"$ignorez" 1
7+
"$no_fullbright" "1"
8+
"$nolod" "1"
9+
"%keywords" "tf"
10+
}
683 KB
Binary file not shown.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
"UnlitGeneric"
2+
{
3+
"$baseTexture" "console/background03_widescreen"
4+
"$vertexcolor" 1
5+
"$vertexalpha" 1
6+
"$ignorez" 1
7+
"$no_fullbright" "1"
8+
"$nolod" "1"
9+
"%keywords" "tf"
10+
}
683 KB
Binary file not shown.

game/quiver/resource/GameMenu.res

Lines changed: 22 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,103 +9,110 @@
99
}
1010
"2"
1111
{
12-
"label" "#GameUI_GameMenu_Disconnect"
12+
"label" "#GameUI_GameMenu_ReturnToMainMenu"
1313
"command" "engine disconnect;map_background background01"
1414
"OnlyInGame" "1"
1515
"OnlyInLegacyMode" "1"
1616
}
1717
"3"
18+
{
19+
"label" "#GameUI_GameMenu_Disconnect"
20+
"command" "Disconnect"
21+
"OnlyInGame" "1"
22+
"OnlyInLegacyMode" "1"
23+
}
24+
"4"
1825
{
1926
"label" "#GameUI_GameMenu_PlayerList"
2027
"command" "OpenPlayerListDialog"
2128
"OnlyInGame" "1"
2229
"OnlyInLegacyMode" "1"
2330
}
2431

25-
"4"
32+
"5"
2633
{
2734
"label" "------------------------"
2835
"OnlyInGame" "1"
2936
"OnlyInLegacyMode" "1"
3037
}
3138

32-
"5"
39+
"6"
3340
{
3441
"label" "#GameUI_GameMenu_CharacterSetup"
3542
"command" "engine open_charinfo"
3643
"OnlyInLegacyMode" "1"
3744
}
38-
"6"
45+
"7"
3946
{
4047
"label" "#GameUI_GameMenu_Achievements"
4148
"command" "OpenAchievementsDialog"
4249
"OnlyInLegacyMode" "1"
4350
}
44-
"7"
51+
"8"
4552
{
4653
"label" "#GameUI_GameMenu_Options"
4754
"command" "OpenOptionsDialog"
4855
"OnlyInLegacyMode" "1"
4956
}
50-
"8"
57+
"9"
5158
{
5259
"label" "#GameUI_GameMenu_AdvancedOptions"
5360
"command" "engine opentf2options"
5461
"OnlyInLegacyMode" "1"
5562
}
5663

57-
"9"
64+
"10"
5865
{
5966
"label" "------------------------"
6067
"OnlyInLegacyMode" "1"
6168
}
6269

63-
"10"
70+
"11"
6471
{
6572
"label" "#GameUI_GameMenu_FindServers"
6673
"command" "OpenServerBrowser"
6774
"OnlyInLegacyMode" "1"
6875
}
69-
"11"
76+
"12"
7077
{
7178
"label" "#GameUI_GameMenu_CreateServer"
7279
"command" "OpenCreateMultiplayerGameDialog"
7380
"OnlyInLegacyMode" "1"
7481
}
75-
"12"
82+
"13"
7683
{
7784
"label" "#GameUI_GameMenu_OfflinePractice"
7885
"command" "engine training_showdlg"
7986
"OnlyInLegacyMode" "1"
8087
}
81-
"12"
88+
"14"
8289
{
8390
"label" "#GameUI_LoadCommentary"
8491
"command" "OpenLoadSingleplayerCommentaryDialog"
8592
"OnlyInLegacyMode" "1"
8693
}
87-
"13"
94+
"15"
8895
{
8996
"label" "#GameUI_Controller"
9097
"command" "OpenControllerDialog"
9198
"ConsoleOnly" "1"
9299
"OnlyInLegacyMode" "1"
93100
}
94101

95-
"14"
102+
"16"
96103
{
97104
"label" "------------------------"
98105
"OnlyInLegacyMode" "1"
99106
}
100107

101-
"15"
108+
"17"
102109
{
103110
"label" "#GameUI_GameMenu_CallVote"
104111
"command" "engine open_vote"
105112
"OnlyInGame" "1"
106113
"OnlyInLegacyMode" "1"
107114
}
108-
"16"
115+
"18"
109116
{
110117
"label" "#GameUI_GameMenu_Quit"
111118
"command" "Quit"
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
"chapters"
22
{
33
1 "background01"
4-
2 "background01"
5-
3 "background01"
4+
2 "background02"
5+
3 "background03"
66
4 "background01"
77
}
88
"BackgroundMaps"
99
{
1010
1 "background01"
11-
2 "background01"
12-
3 "background01"
11+
2 "background02"
12+
3 "background03"
1313
4 "background01"
1414
}

game/quiver/scripts/items/items_custom.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@
174174
"armor damage increased on target"
175175
{
176176
"attribute_class" "mult_armor_onhit"
177-
"value" "1.30"
177+
"value" "1.50"
178178
}
179179
"is_a_sword"
180180
{

src/game/server/hl2mp/bot/hl2mp_bot_manager.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,11 @@ void CHL2MPBotManager::MaintainBotQuota()
206206
// new players can't spawn immediately after the round has been going for some time
207207
if ( !GameRules() )
208208
return;
209+
210+
#ifdef BDSBASE
211+
if ( gpGlobals->eLoadType == MapLoad_Background )
212+
return;
213+
#endif
209214

210215
// if it is not time to do anything...
211216
if ( gpGlobals->curtime < m_flNextPeriodicThink )

src/game/server/tf/bot/tf_bot_manager.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,11 @@ void CTFBotManager::MaintainBotQuota()
370370
if ( TFGameRules()->IsInTraining() )
371371
return;
372372

373+
#ifdef BDSBASE
374+
if ( gpGlobals->eLoadType == MapLoad_Background )
375+
return;
376+
#endif
377+
373378
// if it is not time to do anything...
374379
if ( gpGlobals->curtime < m_flNextPeriodicThink )
375380
return;

src/game/server/tf/tf_gamestats.cpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1352,7 +1352,12 @@ void CTFGameStats::Event_PlayerKilledOther( CBasePlayer *pAttacker, CBaseEntity
13521352
#if defined(QUIVER_DLL)
13531353
// if we have a frag limit, increment the score of the team
13541354
// in addition, reduce the score for the victim if its a death.
1355-
if (fraglimit.GetInt() > 0 && TFGameRules()->IsInTDMMode() && !TFGameRules()->IsInWaitingForPlayers())
1355+
if (fraglimit.GetInt() > 0 &&
1356+
TFGameRules()->IsInTDMMode() &&
1357+
!TFGameRules()->IsInWaitingForPlayers() &&
1358+
(TFGameRules()->State_Get() != GR_STATE_TEAM_WIN &&
1359+
TFGameRules()->State_Get() != GR_STATE_RESTART &&
1360+
TFGameRules()->State_Get() != GR_STATE_STALEMATE))
13561361
{
13571362
if (TFTeamMgr() && pPlayerVictim && pPlayerAttacker)
13581363
{

0 commit comments

Comments
 (0)