Posted: Tue Dec 12, 2017 4:41 am Post subject:
Naval Barracks?
I attempt to make naval barracks which build amphibian infantry (naval special force) and naval-only infantry (sword fish, mermaid etc.) but it did not works well. Unit still exit from land barracks. Even I put Naval=yes on the infantry.
Are there anyone who attempt to do the same here? What's your solution.
Here is the code I use
[NANB]
UIName=Name:NANB
Name=Water Barracks
BuildCat=Tech
Image=NAHAND ; temporary
Prerequisite=POWER
Strength=500
Armor=wood
TechLevel=2
Adjacent=25
Sight=6
Owner=British,French,Germans,Americans,Alliance,Russians,Confederation,Africans,Arabs,YuriCountry
Cost=500
Points=30
Power=0
Factory=InfantryType
Crewed=no
Capturable=false
Explosion=S_CLSN58,TWLT070,S_BANG48
DebrisAnims=DBRIS2SM,DBRIS3LG,DBRIS3SM,DBRIS4LG,DBRIS4SM,DBRIS5LG,DBRIS5SM,DBRIS6SM,DBRIS7LG,DBRIS7SM,DBRIS8LG,DBRS10SM
MaxDebris=8
MinDebris=4
ThreatPosed=0 ; This value MUST be 0 for all building addons
ExitCoord=0,0,0
Naval=yes
;DamageParticleSystems=SparkSys,SmallGreySmokeSys,BigGreySmokeSys
DamageSmokeOffset=480,96,125
AIBuildThis=yes
Spyable=no
WantsExtraSpace=yes ; gs This will look for a space AIBaseSpacing+1 when the computer places, but will settle for AIBasSpacing
ImmuneToPsionics=no ; defaults to yes for buildings, no for others
YuriBarracks=yes _________________
Try AI Myth mod and You'll stunned with the Myth!
---My channel --- QUICK_EDIT
In case you're not using Ares:
Naval=yes appears to be something that wasn't designed to work on InfantryTypes. Only Vehicle- and BuildingTypes.
A senior modder should reconfirm this, tho. _________________ One and only developer of the Command & Conquer Dune "C&C D" mod.
m7 wrote:
I tend to release things I create so that assets are never lost to hard drive problems, accidental deletion, or me having to pretend to care about rippers taking things from my project when it is done.
Why don't you test it with the Naval barracks only?
If you have a non-working equation, remove all variables one by one until you can be sure which variable is the reason for your issues. It's called testing. _________________ SHP Artist of Twisted Insurrection: Nod buildings
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