Hi Guys,
I am playing with the RiderContain module trying to add a button to the Crusader to turn it into a Humvee or a Paladin - just for a laugh, nothing serious yet.
I have come across a problem. I can get the locomotors to change but the weapons won't change.
This is what I have so far:
(from the object)
Code:
...
WeaponSet
Conditions = None
Weapon = PRIMARY None
End
WeaponSet
Conditions = WEAPON_RIDER1
Weapon = PRIMARY CrusaderTankGun
End
WeaponSet
Conditions = WEAPON_RIDER2
Weapon = PRIMARY PaladinTankGun
End
WeaponSet
Conditions = WEAPON_RIDER3
Weapon = PRIMARY HumveeGun
End
...
Behavior = RiderChangeContain ModuleTag_16
Rider1 = SwitchToCrusaderDummy RIDER1 WEAPON_RIDER1 STATUS_RIDER1 SwitcherCommandSet1 SET_NORMAL
Rider2 = SwitchToPaladinDummy RIDER2 WEAPON_RIDER2 STATUS_RIDER2 SwitcherCommandSet2 SET_SLUGGISH
Rider3 = SwitchToHumveeDummy RIDER3 WEAPON_RIDER3 STATUS_RIDER3 SwitcherCommandSet3 SET_SUPERSONIC
ScuttleDelay = 150000
ScuttleStatus = TOPPLED
Slots = 1
InitialPayload = SwitchToCrusaderDummy 1
ScatterNearbyOnExit = No
HealthRegen%PerSec = 0
DamagePercentToUnits = 100%
BurnedDeathToUnits = No
AllowInsideKindOf = INFANTRY
ExitDelay = 0
NumberOfExitPaths = 1
GoAggressiveOnExit = No
DoorOpenTime = 0
End
Behavior = OCLSpecialPower ModuleTag_SwitchToCrusader
SpecialPowerTemplate = SpecialAbilitySwitchToCrusader
OCL = OCL_SwitchToCrusader
End
Behavior = OCLSpecialPower ModuleTag_SwitchToPaladin
SpecialPowerTemplate = SpecialAbilitySwitchToPaladin
OCL = OCL_SwitchToPaladin
End
Behavior = OCLSpecialPower ModuleTag_SwitchToHumvee
SpecialPowerTemplate = SpecialAbilitySwitchToHumvee
OCL = OCL_SwitchToHumvee
End
...
It is proved that the other objects I have made (switchToCrusaderDummy, switchToPaladinDummy and switchToHumveeDummy) work because the locomotor changes.
The only problem I have is the weaponset not changing. It sticks with CrusaderTankGun (the gun provided with the WEAPON_RIDER1 condition)
Any ideas?
Also, is it possible to change the Armor in this way too?
Bookmarks