How to add space to barracks for new units?
#1
Posted 05 September 2009 - 12:57 PM
#2
Posted 05 September 2009 - 01:01 PM
#3
Posted 05 September 2009 - 01:38 PM
#4
Posted 05 September 2009 - 01:54 PM
OK thanks just one more question: How to make units summoned units(give them time/life)?
Behavior = LifetimeUpdate ModuleTag_HatchTrigger
MinLifetime = 300000
MaxLifetime = 300000
End
Drop this into their code so they then die after a time ...
Look at an existing Summoned units and add the necc. codes
Like SUMMONED in the 'Kind of'
and vary the Death FX ...
Faded is a plain Vanish Die
ALL - Faded is a kill Die
#5
Posted 05 September 2009 - 02:14 PM
OK thanks just one more question: How to make units summoned units(give them time/life)?
CODE
Behavior = LifetimeUpdate ModuleTag_HatchTrigger
MinLifetime = 300000
MaxLifetime = 300000
End
Drop this into their code so they then die after a time ...
Look at an existing Summoned units and add the necc. codes
Like SUMMONED in the 'Kind of'
and vary the Death FX ...
Faded is a plain Vanish Die
ALL - Faded is a kill Die
thanks a lot
#6
Posted 06 September 2009 - 12:40 PM
The codes;
Command = UNIT_BUILD
Object = EredLuinGuardHorde
Options = NEED_UPGRADE CANCELABLE
NeededUpgrade = Upgrade_DwarvenBarracksLevel2
TextLabel = CONTROLBAR:ConstructDwarvenZerkerHorde
ButtonImage = BDHallofWarriors_DwarvenGuardian
ButtonBorderType = BUILD
DescriptLabel = CONTROLBAR:ToolTipBuildDwarvenZerkerHorde
Radial = Yes
InPalantir = Yes
ShowProductionCount = Yes
LacksPrerequisiteLabel = TOOLTIP:LackLevel2HallOfWarriors_SEE ;;
End
1 = Command_ConstructDwarvenAxeThrowerHorde ;;2
2 = Command_ConstructDwarvenPhalanxHorde ;;3
3 = Command_ConstructDwarvenGuardianHorde ;;4
4 = Command_ConstructEredLuinGuardHorde
5 = Command_PurchaseTechnologyDwarvenBasicTraining ;;1
6 = Command_Sell
7 = Command_UpgradeDwarvenBarracksLevel2
End
CommandSet DwarvenBarracksCommandSetLevel2
1 = Command_ConstructDwarvenAxeThrowerHorde ;;2
2 = Command_ConstructDwarvenPhalanxHorde ;;3
3 = Command_ConstructDwarvenGuardianHorde ;;4
4 = Command_ConstructEredLuinGuardHorde
5 = Command_PurchaseTechnologyDwarvenBasicTraining ;;1
6 = Command_Sell
7 = Command_UpgradeDwarvenBarracksLevel3
End
CommandSet DwarvenBarracksCommandSetLevel3
1 = Command_ConstructDwarvenAxeThrowerHorde ;;2
2 = Command_ConstructDwarvenPhalanxHorde ;;3
3 = Command_ConstructDwarvenGuardianHorde ;;4
4 = Command_ConstructEredLuinGuardHorde
5 = Command_PurchaseTechnologyDwarvenBasicTraining ;;1
6 = Command_Sell
End