BFME 2 - ROTWK Code Refence
1.0
|
Behavior = HordeSiegeEngineContain ModuleTag_TheHordeSiegeEngineContain
; L01F32CE8:
ContainMax = 100; SUB_L006D4430:Signed Integer Value //Max amount of units allowed in this container
EnterSound = BuildingConstructionLoop; L00E6B310:Sound(AudioEvent) //Sound to play when entering the container
ExitSound = BuildingConstructionLoop; L00E6B310:Sound(AudioEvent) //Sound to play when leaving the container
DamagePercentToUnits = 25 % ; SUB_L006D4D20:Percentage //This percent of damage that this object gets is given to what is contained
PassengerFilter = ANY + INFANTRY + HORDE + CAVALRY + HERO - SUMMONED - WildSpiderling - WildSpiderlingHorde; SUB_L00EDCA00:Object Filter //Who is allowed to get in the container
ManualPickUpFilter = ANY + CLUB - ORC; SUB_L00EDCA00:Object Filter //we do not want the user to be able to manually pick up an orc with a troll.
PassengersTestCollisionHeight = 20; SUB_L006D46C0:Float Point Value //Check collision to disable certain high units from entering?
PassengersInTurret = Yes; SUB_L006D3400:Boolean //Put the contained units in the position of the Turrets -> My passengers ride in my turret, that's where the Firepoint bones are
NumberOfExitPaths = 100; SUB_L006D4430:Signed Integer Value //Defaults to 1. Set 0 to not use ExitStart/ExitEnd, set higher than 1 to use ExitStart01-nn/ExitEnd01-nn
DoorOpenTime = 1000; SUB_L00E6CB10:Unsigned Integer Value //Time to wait for doors to open before letting the units go in or out -> 0 = this prevents the Contain module from messing with the doors, since we want DeliverPayload to handle 'em
AllowOwnPlayerInsideOverride = Yes; SUB_L006D3400:Boolean //Normally, the Allies check encompasses OwnPlayer. but we reeeeally only want our own guys.
AllowAlliesInside = Yes; SUB_L006D3400:Boolean //Allow this object's Allies to use the container
AllowEnemiesInside = Yes; SUB_L006D3400:Boolean //Allow this object's Enemies to use the container
AllowNeutralInside = Yes; SUB_L006D3400:Boolean //Allow objects that are neutral to this object to use the container
ShowPips = Yes; SUB_L006D3400:Boolean //Show Healthbar of contained units
CollidePickup = Yes; SUB_L006D3400:Boolean //Collide with what you pick up?
PassengerBonePrefix = PassengerBone : ARROWBONE KindOf : INFANTRY; L011A2990: Bone - KindOf //Put the contained units at given bone(s) with this prefix if they are this KindOf //Multiple Entries Allowed
BoneSpecificConditionState 1 PASSENGER_VARIATION_1; L011A2B40: Amount - AnimationState //Gives the unit at the bones mentioned in the "BonePrefix" with a certain number a PassengerVariation state. //Multiple Entries Allowed
EjectPassengersOnDeath = Yes; SUB_L006D3400:Boolean //Relase my contained units on death
KillPassengersOnDeath = Yes; SUB_L006D3400:Boolean //Kill contained units when I die
Enabled = Yes; SUB_L006D3400:Boolean //Is this module enabled? :S
ObjectStatusOfContained = UNSELECTABLE CAN_ATTACK; L011A2930: List of Object Statuses //Object Statuses given to contained units.
ModifierToGiveOnExit = GothmogIronHand; SUB_L006D34D0:Strings(ModifierList) //Modifier to give to a unit when it leaves the container //Multiple Entries Allowed
ModifierRequiredTime = 1000; SUB_L00E6CB10:Unsigned Integer Value //How long the unit has to be in the container in order to get the modifier
; L01F2EA00:
DeathTypes = NONE + CRUSHED; L00E6D050: ALL / NONE Filter
ExemptStatus = SOLD; SUB_L00C118B0: BitStatus //May not have this Status
RequiredStatus = DEATH_3; SUB_L00C118B0: BitStatus //Must have this Status
DamageAmountRequired = 15.0; SUB_L006D46C0:Float Point Value//Damage required before this behavior can occur
MinKillerAngle = -46; SUB_L006D4B70:Float Point Value //Degrees
MaxKillerAngle = 46; SUB_L006D4B70:Float Point Value //Degrees
; L01F2B8F8: //Contain module
Slots = 10; SUB_L006D4430:Signed Integer Value //Amount of units allowed in the horde
ScatterNearbyOnExit = No; SUB_L006D3400:Boolean //No = I have bones for exiting
OrientLikeContainerOnExit = Yes; SUB_L006D3400:Boolean //Orient in the same direction as the object I just left
GoAggressiveOnExit = Yes; SUB_L006D3400:Boolean //AI Will tell people to set their mood to Aggressive on exiting
ResetMoodCheckTimeOnExit = Yes; SUB_L006D3400:Boolean //Reset some mood check timer?
DestroyRidersWhoAreNotFreeToExit = Yes; SUB_L006D3400:Boolean //'destroy' as opposed to 'kill' the riders that may not exit
ExitBone = WeaponA01; SUB_L006D4C30:String(Bone) //Bone name which units walk to upon exiting the container
ExitPitchRate = 30; L00E6AAC0: Pitch Angle, Pitch angle at which to eject contained ?
InitialPayload = HobbitCivilian 5; L011692F0: Object - Count //Amount of units initially in the horde //Multiple Entries Allowed
HealthRegenPerSec = 2.5; SUB_L006D46C0:Float Point Value //Amount of health gained per second for the contained units
ExitDelay = 500; SUB_L00E6CB10:Unsigned Integer Value //Delay exiting per unit by this amount of milliseconds
TypeOneForWeaponSet = CAN_RIDE_BATTERING_RAM; SUB_L00BC5910: List of KindOf's //sets WEAPONSET_PASSENGER_TYPE_ONE
TypeTwoForWeaponSet = INFANTRY; SUB_L00BC5910: List of KindOf's //sets WEAPONSET_PASSENGER_TYPE_TWO
TypeOneForWeaponState = CAN_RIDE_BATTERING_RAM; SUB_L00BC5910: List of KindOf's //sets WEAPONSTATE_ONE Model Condition
TypeTwoForWeaponState = INFANTRY; SUB_L00BC5910: List of KindOf's //sets WEAPONSTATE_TWO Model Condition
TypeThreeForWeaponState = CLUB; SUB_L00BC5910: List of KindOf's //sets WEAPONSTATE_THREE Model Condition
ForceOrientationContainer = No; SUB_L006D3400:Boolean //Can contained units orient themselves towards their targets?
CanGrabStructure = Yes; SUB_L006D3400:Boolean //Can we grab objects that are structures?
GrabWeapon = FellbeastGrabWeapon; SUB_L00E6BC20:Weapon //Fire this weapon when this guy grabs a victim
FireGrabWeaponOnVictim = No; SUB_L006D3400:Boolean //Do we fire the GrabWeapon on the guy we grabbed or not?
ConditionForEntry = ModelConditionState : MOUNTED; L01169580 //Condition required to enter the container ///(??AnimState: MOUNTED??)<<--BFME1?
ShouldThrowOutPassengers = No; SUB_L006D3400:Boolean //Should I throw out anyone that goes into me?
ThrowOutPassengersDelay = 100; SUB_L00E6CB10:Unsigned Integer Value //Delay before throwing out those passengers in ms
ThrowOutPassengersVelocity = X : 10.0 Y : 10.0 Z : 0.0; SUB_L006D5320:XYZ Vector //Velocity to give the passengers thrown
ThrowOutPassengersLandingWarhead = DwarfZerkerLeapWarhead; SUB_L00E6BC20:Weapon //Use this weapon to deal damage or such when the passenger hits the ground
FadeFilter = ALL - MONSTER; SUB_L00EDCA00:Object Filter //Guys to fade in when they enter this container
FadePassengerOnEnter = Yes; SUB_L006D3400:Boolean //Do we fade the passengers when they enter the containter?
FadePassengerOnExit = Yes; SUB_L006D3400:Boolean //Do we fade the passengers when they exit the containter?
EnterFadeTime = 6000; SUB_L006D46C0:Float Point Value //How long does the fade when entering last?
ExitFadeTime = 1000; SUB_L006D46C0:Float Point Value //How long does the fade when exiting last?
FadeReverse = Yes; SUB_L006D3400:Boolean //Do we want to invert the fading process? (Fade in instead of out)
ReleaseSnappyness = 0.05; SUB_L006D46C0:Float Point Value //1.0 is very snappy, 0.0 is very loose
UpgradeCreationTrigger = Upgrade_BattleWagonAxeThrowers DwarvenBattleWagonAxeThrower 2; L011693D0:Upgrade - Object - Amount //Upgrade buys us these guys... //Multiple Entries Allowed
; L01F360E0:
CrewFilter = NONE + INFANTRY - CAN_RIDE_BATTERING_RAM; SUB_L00EDCA00:Object Filter //Crew is always checked first, then Passenger
CrewMax = 4; SUB_L006D4430:Signed Integer Value //Max amount of crew members allowed
InitialCrew = IsengardRamCrew 2; L011BA040: Object - Count //The crew members to start out with
SpeedPercentPerCrew = 50 % ; SUB_L006D4D20:Percentage //Each crew member will give us this %. Can go over 100 to show extra crew goes faster
CrewAllowedToFire = No; SUB_L006D3400:Boolean //Can the crew shoot/attack on their own?
ObjectStatusOfCrew = UNSELECTABLE UNATTACKABLE; L011A2930: Object Statuses // Give to the crew of this container
End
SignedInteger ContainMax |
Max amount of units allowed in this container
AudioEvent EnterSound |
Sound to play when entering the container
AudioEvent ExitSound |
Sound to play when leaving the container
Percentage DamagePercentToUnits |
This percent of damage that this object gets is given to what is contained
ObjectFilter PassengerFilter |
Who is allowed to get in the container
ObjectFilter ManualPickUpFilter |
we do not want the user to be able to manually pick up an orc with a troll.
FloatingPoint PassengersTestCollisionHeight |
Check collision to disable certain high units from entering?
Boolean PassengersInTurret |
Put the contained units in the position of the Turrets -> My passengers ride in my turret, that's where the Firepoint bones are
SignedInteger NumberOfExitPaths |
Defaults to 1. Set 0 to not use ExitStart/ExitEnd, set higher than 1 to use ExitStart01-nn/ExitEnd01-nn
UnsignedInteger DoorOpenTime |
Time to wait for doors to open before letting the units go in or out -> 0 = this prevents the Contain module from messing with the doors, since we want DeliverPayload to handle 'em
Boolean AllowOwnPlayerInsideOverride |
Normally, the Allies check encompasses OwnPlayer. but we reeeeally only want our own guys.
Boolean AllowAlliesInside |
Allow this object's Allies to use the container
Boolean AllowEnemiesInside |
Allow this object's Enemies to use the container
Boolean AllowNeutralInside |
Allow objects that are neutral to this object to use the container
Boolean ShowPips |
Show Healthbar of contained units
Boolean CollidePickup |
Collide with what you pick up?
PassengerBoneKindof PassengerBonePrefix |
Put the contained units at given bone(s) with this prefix if they are this KindOf. Multiple Entries Allowed
IndexAnimationState BoneSpecificConditionState |
Gives the unit at the bones mentioned in the "BonePrefix" with a certain number a PassengerVariation state. Multiple Entries Allowed
Boolean EjectPassengersOnDeath |
Relase my contained units on death
Boolean KillPassengersOnDeath |
Kill contained units when I die
Boolean Enabled |
Is this module enabled? :S
ObjectStatus ObjectStatusOfContained |
Object Status given to contained units.
Strings ModifierToGiveOnExit |
Strings(ModifierList) Modifier to give to a unit when it leaves the container. Multiple Entries Allowed.
UnsignedInteger ModifierRequiredTime |
How long the unit has to be in the container in order to get the modifier
ObjectStatus ExemptStatus |
May not have this Status
ObjectStatus RequiredStatus |
Must have this Status
FloatingPoint DamageAmountRequired |
Damage required before this behavior can occur
SignedInteger Slots |
Amount of units allowed in the horde
Boolean ScatterNearbyOnExit |
No = I have bones for exiting
Boolean OrientLikeContainerOnExit |
Orient in the same direction as the object I just left
Boolean GoAggressiveOnExit |
AI Will tell people to set their mood to Aggressive on exiting
Boolean ResetMoodCheckTimeOnExit |
Reset some mood check timer?
Boolean DestroyRidersWhoAreNotFreeToExit |
'destroy' as opposed to 'kill' the riders that may not exit
String ExitBone |
String(Bone) Bone name which units walk to upon exiting the container
FloatingPoint ExitPitchRate |
Pitch Angle, Pitch angle at which to eject contained ?
Payload InitialPayload |
Amount of units initially in the horde. Multiple Entries Allowed.
FloatingPoint HealthRegen_PerSec |
Parseable Name is HealthRegen%PerSec! Amount of health gained per second for the contained units
UnsignedInteger ExitDelay |
Delay exiting per unit by this amount of milliseconds
KindofList TypeOneForWeaponSet |
Sets WEAPONSET_PASSENGER_TYPE_ONE to these kindofs
KindofList TypeTwoForWeaponSet |
Sets WEAPONSET_PASSENGER_TYPE_TWO to these kindofs
KindofList TypeOneForWeaponState |
Sets WEAPONSTATE_ONE to these kindofs
KindofList TypeTwoForWeaponState |
Sets WEAPONSTATE_TWO to these kindofs
KindofList TypeThreeForWeaponState |
Sets WEAPONSTATE_THREE to these kindofs
Boolean ForceOrientationContainer |
Can contained units orient themselves towards their targets?
Boolean CanGrabStructure |
Can we grab objects that are structures?
Weapon GrabWeapon |
Fire this weapon when this guy grabs a victim
Boolean FireGrabWeaponOnVictim |
Do we fire the GrabWeapon on the guy we grabbed or not?
ContainCondition ConditionForEntry |
Condition required to enter the container ///(??AnimState: MOUNTED??)<<–BFME1?
Boolean ShouldThrowOutPassengers |
Should I throw out anyone that goes into me?
UnsignedInteger ThrowOutPassengersDelay |
Delay before throwing out those passengers in ms
Vector3 ThrowOutPassengersVelocity |
Velocity to give the passengers thrown
Weapon ThrowOutPassengersLandingWarhead |
Use this weapon to deal damage or such when the passenger hits the ground
ObjectFilter FadeFilter |
Guys to fade in when they enter this container
Boolean FadePassengerOnEnter |
Do we fade the passengers when they enter the containter?
Boolean FadePassengerOnExit |
Do we fade the passengers when they exit the containter?
FloatingPoint EnterFadeTime |
How long does the fade when entering last?
FloatingPoint ExitFadeTime |
How long does the fade when exiting last?
Boolean FadeReverse |
Do we want to invert the fading process? (Fade in instead of out)
FloatingPoint ReleaseSnappyness |
1.0 is very snappy, 0.0 is very loose
UpgradeObjectAmount UpgradeCreationTrigger |
Upgrade buys us these guys... Multiple Entries Allowed
ObjectFilter CrewFilter |
Crew is always checked first, then Passenger
SignedInteger CrewMax |
Max amount of crew members allowed
Payload InitialCrew |
The crew members to start out with
Percentage SpeedPercentPerCrew |
Each crew member will give us this %. Can go over 100 to show extra crew goes faster
Boolean CrewAllowedToFire |
Can the crew shoot/attack on their own?
ObjectStatus ObjectStatusOfCrew |
Object Status to give to the crew of this container