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

From Nomad DB
Line 28: Line 28:
  
 
= Default config.json =
 
= Default config.json =
 +
<pre>
 
{
 
{
 
"core": {
 
"core": {

Revision as of 12:05, 6 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.d3d11DebugFlag -- Do not use --

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