aboutsummaryrefslogtreecommitdiff
path: root/Northstar.Client/mod.json
blob: 4842755bc22cff4eba53df5e59c399a265b7454e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
	"Name" : "Northstar.Client",
	"Description" : "Various ui and client changes to fix bugs and add better support for mods",
	"Version": "1.0.0",
	"LoadPriority": 0,
	"ConVars": [
		{
			"Name": "filter_hide_empty",
			"DefaultValue": "0"
		},
		{
			"Name": "filter_hide_full",
			"DefaultValue": "0"
		},
		{
			"Name": "filter_hide_protected",
			"DefaultValue": "0"
		},
		{
			"Name": "filter_map",
			"DefaultValue": "0"
		},
		{
			"Name": "filter_gamemode",
			"DefaultValue": "0"
		}
	],
	// ui inits need to happen before so our init callbacks get called
	"Scripts": [
		{
			"Path": "ui/menu_ns_modmenu.nut",
			"RunOn": "UI",
			"UICallback": {
				"Before": "AddNorthstarModMenu", 
				"After": "AddNorthstarModMenu_MainMenuFooter" // need to do this after, so we add footer after mainmenu init
			}
		},
		
		{
			"Path": "ui/menu_ns_serverbrowser.nut",
			"RunOn": "UI",
			"UICallback": {
				"Before": "AddNorthstarServerBrowserMenu"
			}
		},
		
		{
			"Path": "ui/menu_ns_connect_password.nut",
			"RunOn": "UI",
			"UICallback": {
				"Before": "AddNorthstarConnectWithPasswordMenu"
			}
		},
		
		{
			"Path": "ui/menu_ns_custom_match_settings_categories.nut",
			"RunOn": "UI",
			"UICallback": {
				"Before": "AddNorthstarCustomMatchSettingsCategoryMenu"
			}
		},
		
		{
			"Path": "ui/menu_ns_custom_match_settings.nut",
			"RunOn": "UI",
			"UICallback": {
				"Before": "AddNorthstarCustomMatchSettingsMenu"
			}
		}
	],
	
	"Localisation": [
		"resource/northstar_client_localisation_%language%.txt"
	]
}