for people who want to hide just the head gears, player only and will not show when in combat. 30, 31, 41, 42, and 43 is basically every headgear possible like ears, hairs, crowns, helmets, and hoods.
I kind of understood it. It will be shown or hidden when the specified condition is turned on or off.
"onWeaponDraw" can be used in both "hide" and "unhide". On the "hide" side, when "Weapon Draw" is "true" the slot is hidden, and when "Weapon Draw" is "false" the slot is shown. Even if "Weapon Draw" is disabled (-1) on the "unhide" side, the slot will still be shown by the "toggle" function on the "hide" side. Since "onWeaponDraw" does not determine the type of weapon, the following code will hide the quiver when a two-handed sword is unsheathed, and show the quiver when a two-handed sword is sheathed. { "hotKey":{ "key":0, "type":-1 }, "hide":{ "whenEquipped":2, "atHome":-1, "duringDialogue":-1, "onWeaponDraw":2 }, "unhide":{ "duringCombat":-1, "onWeaponDraw":-1 }, "slots":[41] }
"duringDialogue" hides the slot when entering the dialog and shows it when exiting the dialog.
"onWeaponDraw" can be used with both "hide" and "unhide", but if both are specified, "hide" takes precedence. "atHome" only reacts to player home, not to inns.
Because it handles events rather than monitoring the state, "onWeaponDraw" will not be processed even if "atHome" is processed when you leave the house. Similarly, if you equip a weapon inside the house, "atHome" will not be processed even if "onWeaponDraw" is processed. The process is "Toggle", so if the quiver was displayed in "atHome" when you left the house, the quiver will disappear in "onWeaponDraw" when you equipped the bow. (It looks like the process of "hide" is reversed.) Setting multiple conditions makes it easier for reversals to occur, so it is better to have fewer conditions.
EDIT: Well, I've fought with it until I couldn't stand to look at it anymore. I'd like to suggest that if an MCM isn't possible, maybe having a place were people can copy the different JSONs that people that understand this make (With an explanation for us challenged people in simple English i.e. this toggles at this time, this is toggles at this time, press this to toggle manually.) I'm challenged, but I can copy and paste.
Exclusively manually, and each with their own hotkey, I wanted to hide: my helmet (arrow up) my follower's helmet (arrow down) my backpack (left arrow) my followers backpack (right arrow)
Currently, I don't want any of my weapons to hide, but wasn't sure if deleting that section would case issues, so I just manually disabled each line
hi, could u explain me in details how this works? bc i copied this script text command into my "Config" notepad file and then when i go into the game and press the hotkeys you mentioned to see if it worked, nothing happens, so i dunno exactly what to do, cuz im interested in hiding everything u mentioned and i liked ur settings but im not getting any result ;-;
335 comments
{
"armors": [
{
"hotKey": {
"key": 0,
"type": 0
},
"hide": {
"whenEquipped": 0
},
"unhide": {
"duringCombat": -1,
"onWeaponDraw": -1
},
"slots": [
30,
31,
41,
42,
43
]
}
],
"weapons": [
{
"hotKey": {
"key": 0,
"type": -1
},
"hide": {
"whenEquipped": -1,
"atHome": -1,
"duringDialogue": -1
},
"unhide": {
"duringCombat": -1,
"onWeaponDraw": -1
},
"slots": [
]
}
]
}
It will be shown or hidden when the specified condition is turned on or off.
"onWeaponDraw" can be used in both "hide" and "unhide".
On the "hide" side, when "Weapon Draw" is "true" the slot is hidden, and when "Weapon Draw" is "false" the slot is shown.
Even if "Weapon Draw" is disabled (-1) on the "unhide" side, the slot will still be shown by the "toggle" function on the "hide" side.
Since "onWeaponDraw" does not determine the type of weapon, the following code will hide the quiver when a two-handed sword is unsheathed, and show the quiver when a two-handed sword is sheathed.
{
"hotKey":{
"key":0,
"type":-1
},
"hide":{
"whenEquipped":2,
"atHome":-1,
"duringDialogue":-1,
"onWeaponDraw":2
},
"unhide":{
"duringCombat":-1,
"onWeaponDraw":-1
},
"slots":[41]
}
"duringDialogue" hides the slot when entering the dialog and shows it when exiting the dialog.
"atHome" only reacts to player home, not to inns.
Because it handles events rather than monitoring the state, "onWeaponDraw" will not be processed even if "atHome" is processed when you leave the house.
Similarly, if you equip a weapon inside the house, "atHome" will not be processed even if "onWeaponDraw" is processed.
The process is "Toggle", so if the quiver was displayed in "atHome" when you left the house, the quiver will disappear in "onWeaponDraw" when you equipped the bow. (It looks like the process of "hide" is reversed.)
Setting multiple conditions makes it easier for reversals to occur, so it is better to have fewer conditions.
i disabled the "duringdialogue" option and this fixed issue
looks like this
{ "armors": [ { "hotKey": { "key": 208, "type": 0 }, "hide": { "whenEquipped": 2, "atHome": 2, "duringDialogue": -1 }, "unhide": { "duringCombat": -1, "onWeaponDraw": -1 }, "slots": [ 30, 31, 41, 43 ] } ],
It came preinstalled in a modpack, and being a thief, having my helmet off 90% of the time is not correct.
What would be the script to have the helmet on all the time, except if i toggle it off with the down arrow?
Thank you so much to anyone willing to respond to this:)
EDIT: Well, I've fought with it until I couldn't stand to look at it anymore. I'd like to suggest that if an MCM isn't possible, maybe having a place were people can copy the different JSONs that people that understand this make (With an explanation for us challenged people in simple English i.e. this toggles at this time, this is toggles at this time, press this to toggle manually.) I'm challenged, but I can copy and paste.
Exclusively manually, and each with their own hotkey, I wanted to hide:
my helmet (arrow up)
my follower's helmet (arrow down)
my backpack (left arrow)
my followers backpack (right arrow)
Currently, I don't want any of my weapons to hide, but wasn't sure if deleting that section would case issues, so I just manually disabled each line
{
"armors":[
{
"hotKey":{
"key":200,
"type":0
},
"hide":{
"whenEquipped":0,
"atHome":-1,
"duringDialogue":-1,
"onWeaponDraw":-1
},
"unhide":{
"duringCombat":-1,
"onWeaponDraw":-1
},
"slots":[30,31,41,43]
},
{
"hotKey":{
"key":208,
"type":1
},
"hide":{
"whenEquipped":1,
"atHome":-1,
"duringDialogue":-1,
"onWeaponDraw":-1
},
"unhide":{
"duringCombat":-1,
"onWeaponDraw":-1
},
"slots":[30,31,41,43]
},
{
"hotKey":{
"key":203,
"type":0
},
"hide":{
"whenEquipped":0,
"atHome":-1,
"duringDialogue":-1,
"onWeaponDraw":-1
},
"unhide":{
"duringCombat":-1,
"onWeaponDraw":-1
},
"slots":[47]
},
{
"hotKey":{
"key":205,
"type":1
},
"hide":{
"whenEquipped":1,
"atHome":-1,
"duringDialogue":-1,
"onWeaponDraw":-1
},
"unhide":{
"duringCombat":-1,
"onWeaponDraw":-1
},
"slots":[47]
}
],
"weapons":[
{
"hotKey":{
"key":200,
"type":-1
},
"hide":{
"whenEquipped":-1,
"atHome":-1,
"duringDialogue":-1
},
"unhide":{
"duringCombat":-1,
"onWeaponDraw":-1
},
"slots":[38,41]
}
]
}
I just needed that little push.