Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Gamemode] Teabag Confirmed #464

Draft
wants to merge 17 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 16 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,18 @@ Press Yes if you agree to this. This choice can be changed in the mods menu at a
"PL_tffa_abbr" "TFFA"
"GAMEMODE_TFFA" "Titan Free for All"

"PL_tbag" "Teabag Confirmed"
"PL_tbag_lobby" "Teabag Confirmed Lobby"
"PL_tbag_desc" "Killing enemy pilots drops a battery. Teabag it to score a point"
"PL_tbag_abbr" "TBAG"
"floatingduration" "Battery Duration"
"teabagcounter" "Teabag Counts"
"GAMEMODE_TBAG" "Teabag Confirmed"
"SCOREBOARD_GAVETEABAG" "Teabags Given"
"SCOREBOARD_DENYTEABAG" "Teabags Denied"
"TBAG_TEABAG_CONFIRMED" "Teabag Confirmed"
"TBAG_TEABAG_DENIED" "Teabag Denied"

"PL_hs" "Hide and Seek"
"PL_hs_lobby" "Hide and Seek Lobby"
"PL_hs_desc" "Hiders hide, seekers try to find them."
Expand Down
64 changes: 64 additions & 0 deletions Northstar.Custom/keyvalues/playlists_v2.txt
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,23 @@ playlists
gamemode_score_hint #GAMEMODE_SCORE_HINT_TDM
}
}
tbag
{
inherit defaults
vars
{
name #PL_tbag
lobbytitle #PL_tbag_lobby
description #PL_tbag_desc
hint #PL_tbag_hint
abbreviation #PL_tbag_abbr
max_players 12
max_teams 2
classic_mp 1

gamemode_score_hint #GAMEMODE_SCORE_HINT_TDM
x3Karma marked this conversation as resolved.
Show resolved Hide resolved
}
}
sns
{
inherit defaults
Expand Down Expand Up @@ -850,6 +867,53 @@ playlists
}
}
}
tbag
{
inherit defaults
vars
{
name #PL_tbag
lobbytitle #PL_tbag_lobby
description #PL_tbag_desc
abbreviation #PL_tbag_abbr
image ps
//mixtape_slot 7
mixtape_timeout 120
visible 0
}
gamemodes
{
tbag
{
maps
{
mp_forwardbase_kodai 1
mp_grave 1
mp_homestead 1
mp_thaw 1
mp_black_water_canal 1
mp_eden 1
mp_drydock 1
mp_crashsite3 1
mp_complex3 1
mp_angel_city 1
mp_colony02 1
mp_glitch 1
mp_lf_stacks 1
mp_lf_deck 1
mp_lf_meadow 1
mp_lf_traffic 1
mp_lf_township 1
mp_lf_uma 1
mp_relic02 1
mp_wargames 1
mp_rise 1
mp_coliseum 1
mp_coliseum_column 1
}
}
}
}
sns
{
inherit defaults
Expand Down
19 changes: 19 additions & 0 deletions Northstar.Custom/mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,25 @@
"Path": "gamemodes/cl_gamemode_tffa.gnut",
"RunOn": "CLIENT && MP"
},
{
"Path": "gamemodes/sh_gamemode_tbag.nut",
"RunOn": "( CLIENT || SERVER ) && MP",
"ClientCallback": {
"Before": "Sh_GamemodeTbag_Init"
},

"ServerCallback": {
"Before": "Sh_GamemodeTbag_Init"
}
},
{
"Path": "gamemodes/_gamemode_tbag.nut",
"RunOn": "SERVER && MP"
},
{
"Path": "gamemodes/cl_gamemode_tbag.nut",
"RunOn": "CLIENT && MP"
},
{
"Path": "sh_3psequence_to_1p_hacks.gnut",
"RunOn": "( CLIENT || SERVER ) && MP",
Expand Down
Loading