Skip to content

Commit

Permalink
Only load one model at a time for drag cube reasons
Browse files Browse the repository at this point in the history
  • Loading branch information
Capkirk123 committed Sep 6, 2024
1 parent 54b59cd commit 58530c0
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions GameData/ROHeatshields/Parts/AdjustableHIAD.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ PART
CORE
{
variant = Heatshield
model = HIAD-Stock
model:NEEDS[!ReStock] = HIAD-Stock
model:NEEDS[ReStock] = HIAD-ReStock
}

Expand All @@ -151,27 +151,27 @@ PART
}

//ReStock and Squad use different animation names
//So, make two animate modules. It's not pretty, but it works...
MODULE
//only load the appropriate one to avoid drag cube issues I guess
MODULE:NEEDS[!ReStock]
{
name = ModuleAnimateGeneric
animationName = InflatableHS
isOneShot = false
startEventGUIName = Inflate Heat Shield (Squad)
endEventGUIName = Deflate Heat Shield (Squad)
actionGUIName = Inflate Heat Shield (Squad)
startEventGUIName = Inflate Heat Shield
endEventGUIName = Deflate Heat Shield
actionGUIName = Inflate Heat Shield
allowAnimationWhileShielded = False
restrictedNode = top
disableAfterPlaying = false
}
MODULE
MODULE:NEEDS[ReStock]
{
name = ModuleAnimateGeneric:NEEDS[ReStock]
name = ModuleAnimateGeneric
animationName = Inflate
isOneShot = false
startEventGUIName = Inflate Heat Shield (ReStock)
endEventGUIName = Deflate Heat Shield (ReStock)
actionGUIName = Inflate Heat Shield (ReStock)
startEventGUIName = Inflate Heat Shield
endEventGUIName = Deflate Heat Shield
actionGUIName = Inflate Heat Shield
allowAnimationWhileShielded = False
restrictedNode = top
disableAfterPlaying = false
Expand Down

0 comments on commit 58530c0

Please sign in to comment.