Difference between revisions of "MDE ScriptHook: config.json"
From Nomad DB
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{Page_MDE}} | ||
The ''config.json'' is used to enable/disable and configure options for the [[MDE ScriptHook]]. | The ''config.json'' is used to enable/disable and configure options for the [[MDE ScriptHook]]. | ||
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]]-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. | + | '''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": { | ||
− | |||
− | |||
− | |||
"console": { | "console": { | ||
"key": "F1", | "key": "F1", | ||
"lineLimit": 150 | "lineLimit": 150 | ||
}, | }, | ||
− | + | "crashDumpsEnabled": true, | |
− | " | + | "win32Console": false |
− | |||
− | |||
− | |||
− | |||
− | |||
}, | }, | ||
− | |||
"game": { | "game": { | ||
"skipIntro": true, | "skipIntro": true, | ||
"discordRichPresence": true | "discordRichPresence": true | ||
}, | }, | ||
− | |||
"scriptHook": { | "scriptHook": { | ||
"enableAutoRefresh": true, | "enableAutoRefresh": true, | ||
− | " | + | "showStartupMenu": true, |
+ | |||
+ | "noclip": { | ||
+ | "defaultSpeed": 10, | ||
+ | "shiftSpeed": 40 | ||
+ | } | ||
} | } | ||
} | } | ||
Line 61: | Line 59: | ||
= Related Pages = | = Related Pages = | ||
* [[MDE ScriptHook]] | * [[MDE ScriptHook]] | ||
+ | |||
+ | [[Category:MDE]] | ||
+ | [[Category:MDE ScriptHook]] |
Latest revision as of 20: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 } } }