BFME 2 - ROTWK Code Refence  1.0
SubObjectsUpgrade Class Reference

Public Attributes

Upgrades TriggeredBy
 
Upgrades ConflictsWith
 
Boolean RequiresAllTriggers
 
Boolean RequiresAllConflictingTriggers
 
AnimAndDuration CustomAnimAndDuration
 
Boolean Permanent
 
Strings ShowSubObjects
 
Strings HideSubObjects
 
TextureReplacement UpgradeTexture
 
FloatingPoint FadeTimeInSeconds
 
FloatingPoint WaitBeforeFadeInSeconds
 
Boolean RecolorHouse
 
Strings ExcludeSubobjects
 
Boolean SkipFadeOnCreate
 
Boolean HideSubObjectsOnRemove
 
Boolean UnHideSubObjectsOnRemove
 

Detailed Description

Behavior = SubObjectsUpgrade ModuleTag_TheSubObjectsUpgrade

;L01E97D40:    
TriggeredBy = Upgrade_ElvenGift Upgrade_RohanFireArrows; L00BE9600: List of Upgrades //Must have these upgrades
ConflictsWith = Upgrade_TheodenKingsFavor Upgrade_TheodenLeadership; L00BE9600: List of Upgrades //May not have these upgrades
RequiresAllTriggers = Yes; SUB_L006D3400:Boolean //All "TriggeredBy" Upgrades required! (meaning that if only one is present the module is not active)
RequiresAllConflictingTriggers = Yes; SUB_L006D3400:Boolean //All "ConflictsWith" Upgrades required! (meaning that if only one is present the module is not 'disabled')
CustomAnimAndDuration = AnimState : USER_3 AnimTime : 0 TriggerTime : 0; L010ED8E0: Animation State - Time - Delay // Animtime:0 = set flag forever
Permanent = Yes; SUB_L006D3400:Boolean //For ever... and ever... and ever, even if the upgrades are lost...
; L01F52560:   
ShowSubObjects = SHOWME PLEASE; SUB_L006D34D0:Strings(Sub Object Name) //Sub-Objects to show //Multiple Entries Allowed
HideSubObjects = HIDEME THANKS; SUB_L006D34D0:Strings(Sub Object Name) //Sub-Objects to hide //Multiple Entries Allowed
UpgradeTexture = replacement.tga 0 original.tga; L0124F8C0 //Texture to replace by which texture
FadeTimeInSeconds = 10; SUB_L006D46C0:Float Point Value
WaitBeforeFadeInSeconds = 13; SUB_L006D46C0:Float Point Value
RecolorHouse = Yes; SUB_L006D3400:Boolean
ExcludeSubobjects = EXCLUDEME; SUB_L006D34D0
SkipFadeOnCreate = Yes; SUB_L006D3400:Boolean
HideSubObjectsOnRemove = Yes; SUB_L006D3400:Boolean
UnHideSubObjectsOnRemove = Yes; SUB_L006D3400:Boolean

End

Member Data Documentation

◆ TriggeredBy

Upgrades TriggeredBy

List of Upgrades
Must have these upgrades

◆ ConflictsWith

Upgrades ConflictsWith

List of Upgrades
May not have these upgrades

◆ RequiresAllTriggers

Boolean RequiresAllTriggers

All "TriggeredBy" Upgrades required! (meaning that if only one is present the module is not active)

◆ RequiresAllConflictingTriggers

Boolean RequiresAllConflictingTriggers

All "ConflictsWith" Upgrades required! (meaning that if only one is present the module is not 'disabled')

◆ CustomAnimAndDuration

AnimAndDuration CustomAnimAndDuration

Animation State - Time - Delay
Animtime:0 = set flag forever

◆ Permanent

Boolean Permanent

For ever... and ever... and ever, even if the upgrades are lost...

◆ ShowSubObjects

Strings ShowSubObjects

Strings(Sub Object Name) Sub-Objects to show. Multiple Entries Allowed

◆ HideSubObjects

Strings HideSubObjects

Strings(Sub Object Name) Sub-Objects to hide. Multiple Entries Allowed

◆ ExcludeSubobjects

Strings ExcludeSubobjects

Strings(Sub Object Name)