When you make new countries, the ForbiddenHouses list is not updated, so the player can build them like
dog or engineer.
If AI is able to build other side's units then verify if the same taskforce is used by different teamtypes and
those teamtypes are used in different side's AITriggers. Finding the ID using a text editor might be easy in
these cases. QUICK_EDIT
When you make new countries, the ForbiddenHouses list is not updated, so the player can build them like
dog or engineer.
If AI is able to build other side's units then verify if the same taskforce is used by different teamtypes and
those teamtypes are used in different side's AITriggers. Finding the ID using a text editor might be easy in
these cases.
I check and fix for new side.
No task force are use by different teamtypes.
No teamtype are use by different AI trigger.
The problem still the same. QUICK_EDIT
I used Prerequisite at the first time , the ploblem happen.
Now I use ForbiddenHouses and I make the unit of newcountry to 2 code.
example , atank and atank2 , atank2 image = atank with same stat.
atank use by AI. ForbiddenHouses=British,French,Germans,Americans,Alliance,Russians,Confederation,Africans,Arabs,YuriCountry
atank2 use when another capture new country.
ForbiddenHouses=new country QUICK_EDIT
yup, the problem is "Owner=" tag's not work for new Unit ... it's only work for building... and "Prerequisite=" tag's work for new unit ... so, we have to add new building ... for example :
*****************Yuri Units *****************
[LTNKB]
UIName=Name:Lasher
Name=Lasher Light Tank B
Image=LTNK
Prerequisite=YAWEAPB
Primary=ATGUN
Strength=300;200
Category=AFV
Armor=heavy
Turret=yes
IsTilter=yes
;TargetLaser=yes
TooBigToFitUnderBridge=true
TechLevel=2
Sight=8;6
Speed=7;8
CrateGoodie=no
Crusher=yes
Owner=NewCountry,YuriCountry ;no matter with this
RequiredHouses=NewCountry
Cost=700
Soylent=700
Points=25
ROT=5
IsSelectableCombatant=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
VoiceSelect=LasherTankSelect
VoiceMove=LasherTankMove
VoiceAttack=LasherTankAttackCommand
VoiceFeedback=
DieSound=GenVehicleDie
MoveSound=LasherTankMoveStart
CrushSound=TankCrush
Maxdebris=3
Locomotor={4A582741-9839-11d1-B709-00A024DDAFD1}
MovementZone=Destroyer
ThreatPosed=40 ; This value MUST be 0 for all building addons
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=3
Passengers=1
SizeLimit=1
OpportunityFire=yes
ElitePrimary=ATGUNE;90mmE
BuildTimeMultiplier=1.5;Individual control of build time
OR
[LTNKB]
UIName=Name:Lasher
Name=Lasher Light Tank B
Image=LTNK
Prerequisite=YAWEAP
PrerequisiteOverride=YAWEAPB
Primary=ATGUN
Strength=300;200
Category=AFV
Armor=heavy
Turret=yes
IsTilter=yes
;TargetLaser=yes
TooBigToFitUnderBridge=true
TechLevel=-1
Sight=8;6
Speed=7;8
CrateGoodie=no
Crusher=yes
Owner=NewCountry,YuriCountry ;no matter with this
RequiredHouses=NewCountry
Cost=700
Soylent=700
Points=25
ROT=5
IsSelectableCombatant=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
VoiceSelect=LasherTankSelect
VoiceMove=LasherTankMove
VoiceAttack=LasherTankAttackCommand
VoiceFeedback=
DieSound=GenVehicleDie
MoveSound=LasherTankMoveStart
CrushSound=TankCrush
Maxdebris=3
Locomotor={4A582741-9839-11d1-B709-00A024DDAFD1}
MovementZone=Destroyer
ThreatPosed=40 ; This value MUST be 0 for all building addons
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=3
Passengers=1
SizeLimit=1
OpportunityFire=yes
ElitePrimary=ATGUNE;90mmE
BuildTimeMultiplier=1.5;Individual control of build time
************Yuri Buildings *************
[YAWEAPB] ; the new one
UIName=Name:YWarfactory
Image=YAWEAP
Name=Yuri War Factory
BuildCat=Tech
WeaponsFactory=yes
Prerequisite=PROC,YABRCK,YACNST
Factory=UnitType
DeployTime=.044
Strength=1000
Armor=steel
TechLevel=2
Sight=4
Adjacent=2
Owner=NewCountry,YuriCountry
RequiredHouses=NewCountry
AIBasePlanningSide=2 ;gs 0 for Good, 1 for Evil
Cost=2000
Points=80
Power=-25
Capturable=true
Crewed=yes
Bib=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
DebrisAnims=DBRIS1LG,DBRIS1SM,DBRIS2LG,DBRIS4LG,DBRIS4SM,DBRIS5LG,DBRIS5SM,DBRIS6SM,DBRIS7LG,DBRIS7SM
MaxDebris=15
MinDebris=5
ThreatPosed=0 ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys,BigGreySmokeSys
DamageSmokeOffset=408,880,435
AIBuildThis=yes
;ExitCoord=384,96,0
ExitCoord=512,256,0 ;must be center of cell
Spyable=yes
;WantsExtraSpace=yes
;Yuri Weapons Factory
[YAWEAP] ; the real one
UIName=Name:YWarfactory
Name=Yuri War Factory
BuildCat=Tech
WeaponsFactory=yes
Prerequisite=PROC,YABRCK,YACNST
Factory=UnitType
DeployTime=.044
Strength=1000
Armor=steel
TechLevel=2
Sight=4
Adjacent=2
Owner=British,French,Germans,Americans,Alliance,Russians,Confederation,Africans,Arabs,YuriCountry
ForbiddenHouses=NewCountry
AIBasePlanningSide=2 ;gs 0 for Good, 1 for Evil
Cost=2000
Points=80
Power=-25
Capturable=true
Crewed=yes
Bib=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
DebrisAnims=DBRIS1LG,DBRIS1SM,DBRIS2LG,DBRIS4LG,DBRIS4SM,DBRIS5LG,DBRIS5SM,DBRIS6SM,DBRIS7LG,DBRIS7SM
MaxDebris=15
MinDebris=5
ThreatPosed=0 ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys,BigGreySmokeSys
DamageSmokeOffset=408,880,435
AIBuildThis=yes
;ExitCoord=384,96,0
ExitCoord=512,256,0 ;must be center of cell
Spyable=yes
;WantsExtraSpace=yes
hopefully can help ..
Notes :
I'm sure you did this right
Add new stuff at :
[Countries]
xx=new country
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