Posted: Wed Mar 12, 2025 8:08 pm Post subject:
Troop Spawner ?
In the Android game called DOMINATIONS, there is a unit that spawns infantry every 10 seconds so I was trying to do the same using the slave logic but it does not work.
;Battle Fortress
[BFRT]
UIName=Name:Battlefortress
Name=Battle Fortress
Prerequisite=GAWEAP;GATECH
Primary=SLTmmRifle
ElitePrimary=SLTmmRifleLR
Turret=yes
Strength=600
Category=AFV
Armor=heavy
CanPassiveAquire=yes ; Won't try to pick up own targets
IsTilter=yes
TooBigToFitUnderBridge=true
TechLevel=10
Sight=11
Speed=3
;PipScale=Passengers
;Passengers=10
;OpenTopped=yes;passengers can shoot out
SizeLimit=2;1 ;gs like half track and Blackhawk. Terror Drones and Brutes are allowed in.
CrateGoodie=yes
Crusher=yes
OmniCrusher=yes;gs can crush things not normally crushable
Owner=British,Germans,Alliance
ForbiddenHouses=Russians,Confederation,Africans,Arabs,YuriCountry
Cost=1;500
Soylent=2000
Points=50
ROT=5
IsSelectableCombatant=yes
AllowedToStartInMultiplayer=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
DebrisAnims=DBRIS1LG,DBRIS1SM,DBRIS4LG,DBRIS4SM,DBRIS5LG,DBRIS5SM
MaxDebris=45
DebrisTypes=TIRE,AXLE PIECE
DebrisMaximums=15,15,15
VoiceSelect=BattleFortressSelect
VoiceMove=BattleFortressMove
VoiceAttack=BattleFortressAttackCommand
VoiceFeedback=
DamageSound=ShellImpact
DieSound=TankExplosion
MoveSound=BattleFortressMoveStart
EnterTransportSound=EnterTransport
LeaveTransportSound=ExitTransport
Locomotor={4A582741-9839-11d1-B709-00A024DDAFD1}
MovementZone=CrusherAll;gs OmniCrush handles crushing tanks and such, this handles walls
ThreatPosed=35 ; This value MUST be 0 for all building addons
SpecialThreatValue=1
DamageParticleSystems=SparkSys,SmallGreySSys
DamageSmokeOffset=100, 100, 275
Weight=3.5
VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
Accelerates=false
ZFudgeColumn=8
ZFudgeTunnel=13
Size=6
OmniCrushResistant=yes;
Enslaves=ES
SlavesNumber=8
SlaveRegenRate=500 ;225
SlaveReloadRate=25
ResourceGatherer=no
GuardRange=75
; GI ; Allied GI
[ES]
UIName=Name:ES
Name=ES
Image=GI
Category=Soldier
Primary=M60E
Slaved=yes
Strength=125
CrushSound=InfantrySquish
Strength=125
Pip=white
Armor=none
TechLevel=-1
Sight=5
Speed=4
Owner=British,French,Germans,Americans,Alliance
Cost=10
Soylent=10
Points=5
IsSelectableCombatant=no
VoiceSelect=GISelect
VoiceMove=GIMove
VoiceAttack=GIAttackCommand
VoiceFeedback=GIFear
VoiceSpecialAttack=GIMove
DieSound=GIDie
Locomotor={4A582744-9839-11d1-B709-00A024DDAFD1}
PhysicalSize=1
MovementZone=Infantry
ThreatPosed=10 ; This value MUST be 0 for all building addons
ImmuneToVeins=yes
ImmuneToPsionics=yes
; DeployTime=.022 ; PCG; Unused for now. Was maybe going to make its way in if we did
VeteranAbilities=STRONGER,FIREPOWER,ROF,SIGHT,FASTER
Size=1
;Crushable=yes
IFVMode=0
DontScore=yes
GuardRange=125 QUICK_EDIT
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum