Difference between revisions of "MDE ScriptHook: config.json"

From Nomad DB
(Created page with "The ''config.json'' is used to enable/disable and configure options for the ScriptHook. = Options = == core == * '''core.win32Console''' (boolean) Enables/Disables a Cons...")
 
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
The ''config.json'' is used to enable/disable and configure options for the [[ScriptHook]].
+
{{Page_MDE}}
 +
The ''config.json'' is used to enable/disable and configure options for the [[MDE ScriptHook]].
  
 
= Options =
 
= Options =
Line 20: Line 21:
 
'''game.discordRichPresence''' (boolean) Enables/Disables Game status display within Discord
 
'''game.discordRichPresence''' (boolean) Enables/Disables Game status display within Discord
  
== scriptHook ==
+
== ScriptHook ==
[[ScriptHook]]-specific features.
+
[[MDE ScriptHook]]-specific features.
  
'''scriptHook.enableAutoRefresh''' (boolean) Enables/Disables automatic reloading of [[Script|Scripts]] when the underlying files are modified.
+
'''scriptHook.enableAutoRefresh''' (boolean) Enables/Disables automatic reloading of [[MDE ScriptHook: Script|Scripts]] when the underlying files are modified.
  
'''scriptHook.d3d11DebugFlag''' -- Do not use --
+
'''scriptHook.noclip.defaultSpeed''' (number) Noclip Speed
 +
 
 +
'''scriptHook.noclip.shiftSpeed''' (number) Noclip Speed while holding Shift (accelerated)
  
 
= Default config.json =
 
= Default config.json =
Line 31: Line 34:
 
{
 
{
 
"core": {
 
"core": {
"win32Console": false,
 
"crashDumpsEnabled": true,
 
 
 
"console": {
 
"console": {
 
"key": "F1",
 
"key": "F1",
 
"lineLimit": 150
 
"lineLimit": 150
 
},
 
},
+
"crashDumpsEnabled": true,
"paths": {
+
"win32Console": false
"vfs": "data/vfs",
 
"lua": "data/scripts",
 
"lua_main": "data/lua/main.lua",
 
"versions": "data"
 
}
 
 
},
 
},
 
 
"game": {
 
"game": {
 
"skipIntro": true,
 
"skipIntro": true,
 
"discordRichPresence": true
 
"discordRichPresence": true
 
},
 
},
 
 
"scriptHook": {
 
"scriptHook": {
 
"enableAutoRefresh": true,
 
"enableAutoRefresh": true,
"d3d11DebugFlag": false
+
"showStartupMenu": true,
 +
 
 +
"noclip": {
 +
"defaultSpeed": 10,
 +
"shiftSpeed": 40
 +
}
 
}
 
}
 
}
 
}
Line 60: Line 58:
  
 
= Related Pages =
 
= Related Pages =
* [[ScriptHook]]
+
* [[MDE ScriptHook]]
 +
 
 +
[[Category:MDE]]
 +
[[Category:MDE ScriptHook]]

Latest revision as of 19:26, 27 October 2020

The config.json is used to enable/disable and configure options for the MDE ScriptHook.

Options

core

  • core.win32Console (boolean) Enables/Disables a Console window
  • core.crashDumpsEnabled (boolean) Enables/Disables our Crash Reporter
  • core.console.key (Key: integer or string) Key Binding for ingame Console
  • core.console.lineLimit (integer) Maximum amount of lines
  • core.paths -- Do not use --

game

Manages game-specific features.

game.skipIntro (boolean) Enables/Disables the startup videos

game.discordRichPresence (boolean) Enables/Disables Game status display within Discord

ScriptHook

MDE ScriptHook-specific features.

scriptHook.enableAutoRefresh (boolean) Enables/Disables automatic reloading of Scripts when the underlying files are modified.

scriptHook.noclip.defaultSpeed (number) Noclip Speed

scriptHook.noclip.shiftSpeed (number) Noclip Speed while holding Shift (accelerated)

Default config.json

{
	"core": {
		"console": {
			"key": "F1",
			"lineLimit": 150
		},
		"crashDumpsEnabled": true,
		"win32Console": false
	},
	"game": {
		"skipIntro": true,
		"discordRichPresence": true
	},
	"scriptHook": {
		"enableAutoRefresh": true,
		"showStartupMenu": true,

		"noclip": {
			"defaultSpeed": 10,
			"shiftSpeed": 40
		}
	}
}

Related Pages