Hi,
I have chosen to use upgrades instead of sciences for my mod. The only thing is I dont think you can have upgrades as prerequisites. Here is what I've got:
Code:
Prerequisites
Object = AmericaWarFactory
Upgrade = Upgrade_ArmourGeneral
End
It hasnt worked though. I want to know, is it a simple mistake or can upgrades not be used as prerequisites?
System.ini / you build adummy object, dident work without that
Object AdvancedBuildingsUpgrade
; ***DESIGN parameters ***
DisplayName = OBJECT:BattleDrone
Side = GLA
EditorSorting = SYSTEM
TransportSlotCount = 0 ;how many "slots" we take in a transport (0 == not transportable)
Behavior = AIUpdateInterface ModuleTag_04
;nothing
End
Locomotor = SET_NORMAL BattleDroneLocomotor
Behavior = PhysicsBehavior ModuleTag_05
Mass = 50.0
KillWhenRestingOnGround = Yes
AllowBouncing = No
End
Behavior = DestroyDie ModuleTag_08
DeathTypes = ALL
End
Behavior = UpgradeDie ModuleTag_99
;This frees the object based upgrade for the producer object.
DeathTypes = ALL
UpgradeToRemove = Upgrade_AdvancedBuildings ModuleTag_13
End