Skip to content

Commit

Permalink
feat: Add files from pull request
Browse files Browse the repository at this point in the history
Takes the files from R2Northstar/NorthstarMods#498 and adjusts them for a standalone mod

Co-authored-by: Coopyy <26663693+Coopyy@users.noreply.github.com>
  • Loading branch information
GeckoEidechse and Coopyy committed Aug 14, 2024
1 parent 2790ae4 commit 9257239
Show file tree
Hide file tree
Showing 7 changed files with 545 additions and 17 deletions.
85 changes: 85 additions & 0 deletions keyvalues/playlists_v2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
playlists
{
Gamemodes
{
hh
{
inherit defaults
vars
{
name #PL_hh
lobbytitle #PL_hh_lobby
description #PL_hh_desc
hint #PL_hh_desc
abbreviation #PL_hh_abbr
image cp

max_players 16
max_teams 2
classic_mp 1
scorelimit 5
timelimit 3
roundtimelimit 3
roundscorelimit 5

gamemode_score_hint #GAMEMODE_SCORE_HINT_TDM
}
}
}
Playlists
{
hh
{
inherit defaults
vars
{
name #PL_hh
lobbytitle #PL_hh_lobby
description #PL_hh_desc
hint #PL_hh_desc
abbreviation #PL_hh_abbr
image cp

max_players 16
max_teams 2
classic_mp 1
scorelimit 5
timelimit 3
roundtimelimit 3
roundscorelimit 5

gamemode_score_hint #GAMEMODE_SCORE_HINT_TDM
}
gamemodes
{
hh
{
maps
{
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_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_relic02 1
mp_wargames 1
mp_rise 1
}
}
}
}
}
}
43 changes: 29 additions & 14 deletions mod.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,32 @@
{
"Name": "Example.Mod",
"Description": "A cool mod that does cool stuff",
"Version": "1.0.0",
"DownloadLink": "https://northstar.thunderstore.io/package/download/Example/Mod/",
"Name": "GeckoEidechse.Headhunter",
"Description": "A variation of the Fastball gamemode",
"Version": "0.0.1",
"DownloadLink": "https://northstar.thunderstore.io/package/download/Example/Mod/",

"LoadPriority": 0,
"ConVars": [],
"Scripts": [{
"Path": "example.nut",
"RunOn": "(CLIENT || SERVER) && MP",
"ClientCallback": {
"Before":"example_callback"
}
}],
"Localisation": []
"LoadPriority": 3,
"RequiredOnClient": true,
"Scripts": [
{
"Path": "gamemodes/sh_gamemode_hh.gnut",
"RunOn": "( CLIENT || SERVER ) && MP",
"ServerCallback": {
"Before": "HHMode_Init"
},
"ClientCallback": {
"Before": "HHMode_Init"
}
},
{
"Path": "gamemodes/cl_gamemode_hh.gnut",
"RunOn": "CLIENT && MP"
},
{
"Path": "gamemodes/_gamemode_hh.gnut",
"RunOn": "SERVER && MP"
}
],
"Localisation": [
"resource/headhunter_localisation_%language%.txt"
]
}
Binary file added mod/resource/headhunter_localisation_english.txt
Binary file not shown.
3 changes: 0 additions & 3 deletions mod/scripts/vscripts/example.nut

This file was deleted.

Loading

0 comments on commit 9257239

Please sign in to comment.