Skip to content

Commit

Permalink
fix: disable the health bar in freelancer and splash hint menus
Browse files Browse the repository at this point in the history
  • Loading branch information
Notexe committed Feb 21, 2024
1 parent 8953fe1 commit b272466
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 7 deletions.
31 changes: 31 additions & 0 deletions content/chunk0/gameessentialbase.entity.patch.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@
}
]
},
{ "SubEntityOperation": ["d63ac16cd1c66f50", { "AddEventConnection": ["Out02", "Hide", "cafef4e298a79304"] }] },
{ "SubEntityOperation": ["ecdfd17726bd53ca", { "AddEventConnection": ["OnTrue", "Show", "cafe0141885e38a0"] }] },
{ "SubEntityOperation": ["ecdfd17726bd53ca", { "AddEventConnection": ["OnFalse", "Hide", "cafe0141885e38a0"] }] },
{ "SubEntityOperation": ["43f4c2bb1b13db7b", { "AddEventConnection": ["Out02", "Show", "cafef4e298a79304"] }] },
{ "SubEntityOperation": ["34f439ac06f0f3ec", { "AddEventConnection": ["OnTrue", "Show", "cafe353bf2365fa9"] }] },
{ "SubEntityOperation": ["34f439ac06f0f3ec", { "AddEventConnection": ["OnFalse", "Hide", "cafe353bf2365fa9"] }] },
{
Expand All @@ -29,6 +31,23 @@
{ "AddEventConnection": ["EventReceived", "SetVisible", "cafe353bf2365fa9"] }
]
},
{
"SubEntityOperation": [
"ff4672d7da2e8b02",
{ "AddProperty": ["HealthBar", { "type": "SEntityTemplateReference", "value": "cafef4e298a79304" }] }
]
},
{
"SubEntityOperation": [
"ff4672d7da2e8b02",
{
"AddPropertyAliasConnection": [
"HealthBar",
{ "originalProperty": "m_pTargetControl", "originalEntity": "cafe353bf2365fa9" }
]
}
]
},
{
"AddEntity": [
"cafeba446945a84b",
Expand Down Expand Up @@ -153,6 +172,18 @@
}
}
]
},
{
"AddEntity": [
"cafef4e298a79304",
{
"parent": "ff4672d7da2e8b02",
"name": "HealthBar",
"factory": "[modules:/zuicontrolvisibilitycontrollerentity.class].pc_entitytype",
"blueprint": "[modules:/zuicontrolvisibilitycontrollerentity.class].pc_entityblueprint",
"properties": { "m_pTargetControl": { "type": "SEntityTemplateReference", "value": "cafef77f80f5f691" } }
}
]
}
],
"patchVersion": 6
Expand Down
10 changes: 3 additions & 7 deletions content/chunk29/disable_in_safehouse.entity.patch.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,9 @@
"tbluHash": "00C15211736359B6",
"patch": [
{
"AddPropertyOverrideConnection": {
"entity": {
"ref": "cafef77f80f5f691",
"externalScene": "[assembly:/_pro/scenes/bricks/gameessentialsbase.brick].pc_entitytype"
},
"propertyName": "m_bIsVisible",
"propertyOverride": { "type": "bool", "value": false }
"AddOverrideDelete": {
"ref": "cafef77f80f5f691",
"externalScene": "[assembly:/_pro/scenes/bricks/gameessentialsbase.brick].pc_entitytype"
}
}
],
Expand Down

0 comments on commit b272466

Please sign in to comment.