bạn copy code của 1 cái nhà sx tank ra, rồi set techlevel=-1, chỉ có AI xây đc chứ người thì ko xây đc. tạo 2 cái clone là AI mua tank nhanh như điện, vì bug game AI sẽ mua đc x3 nếu sở hữu 3 căn nhà
[YAWEAP2]
UIName=Name:YWarfactory
Name=Yuri War Factory
Image=YAWEAP
BuildCat=Tech
WeaponsFactory=yes
Prerequisite=PROC,YABRCK,YACNST,FUTECH
Factory=UnitType
DeployTime=.044
Strength=1000
Armor=wood
TechLevel=-1
Sight=4
Adjacent=4
Owner=British,French,Germans,Americans,Alliance,Russians,Confederation,Africans,Arabs,YuriCountry
AIBasePlanningSide=2 ;gs 0 for Good, 1 for Evil
Cost=100
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 ; 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
NumberImpassableRows=1 ; Tanks unlimbo on the second cell. Drive locomotor's Force Track ignores the building, but hover gets stuck
SpyEffect.Custom=yes
SpyEffect.UnitVeterancy=yes
SpyEffect.RevealProduction=yes
Chronoshift.IsVehicle=yes
Cloakable.Allowed=no
còn nhà dầu thì như sau
[CAAIRP]
Rubble.Destroyed=CAAIRPRU
Rubble.Destroyed.Owner=Special
Cloakable.Allowed=no
[CAAIRPRU]
UIName=NOSTR:Rubble
Name=Building
BuildCat=Combat
Strength=1000
Armor=DroppodArmor -> set 1 loại amor ko thể bị phá hủy, để khi trở thành đống gạch sẽ ko bị bắn, cái này phải set nữa nên có thể chỉnh như mặc định trong game
TechLevel=-1
Adjacent=8
Sight=1
Nominal=yes
Cost=100 ; part of TSHACK, feel free to change, I'm just taking out of code gs
Points=5
Repairable=yes
MaxDebris=0
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
ThreatPosed=0 ; This value MUST be 0 for all building addons
;IsBase=no
BaseNormal=no ;psst....IsBase isn't a Rules flag
Selectable=no
Capturable=yes
TogglePower=no
Unsellable=yes
CanBeOccupied=no
LeaveRubble=yes
Rubble.Intact=CAAIRP
Rubble.Intact.Owner=Neutral
IsPassable=yes
quan trọng là dùng Ares Patch mới làm đc nha