Posted: Wed Jan 07, 2009 7:21 pm Post subject:
Need help about epic unit factory.
Subject description: need code
i try to convert naval yard to epic unit factory. but i have problem. building still need to place on water. but when i remove "Naval=yes" from code it can be build on ground but working like i 2 normal war factory.that mean i still cant product my epic unit and another in same time [and i want this new factory can product only unit i set.
anyone can help me?
Quote:
; Artmd.ini
[RAAIRC]
Remapable=yes
Cameo=RARADRICON
Foundation=3x2
Height=7
Flat=yes ; while this is a valid BuilType flag, it does nothing.
Buildup=RAAIRCMK
BibShape=RAAIRCBB
ZShapePointMove=60,30 ; SJM is fixing zshape/zshapelocky problems, changed from 0,0
DemandLoadBuildup=true
FreeBuildup=true
NewTheater=yes
DockingOffset0=384,-128,0
ActiveAnim=GAAIRC_A
ActiveAnimDamaged=GAAIRC_AD
ActiveAnimZAdjust=0
ActiveAnimYSort=362
ActiveAnimTwo=GAAIRC_B
ActiveAnimTwoDamaged=GAAIRC_BD
ActiveAnimTwoZAdjust=-80
ActiveAnimTwoYSort=543
CanHideThings=True
CanBeHidden=False
OccupyHeight=2
AddOccupy1=-1,-1
AddOccupy2=-1,0
AddOccupy3=-2,-1
AddOccupy4=-3,-2
RemoveOccupy1=1,0
RemoveOccupy2=2,0
RemoveOccupy3=1,1
RemoveOccupy4=2,2
DamageFireOffset0=-36,23
DamageFireOffset1=-21,6
Relesmd.ini
; GDI Air Command HQ
[RAAIRC]
UIName=Name:RAAIRC
Name=Air Command HQ
BuildCat=Tech
Prerequisite=GAWEAP,RADAR
WeaponsFactory=yes
Factory=UnitType
Strength=1500
; ShipYard=yes
Armor=concrete
Naval=yes ;GS
; WaterBound=yes ;should help AI, new with water zone
TechLevel=4
Sight=4
Adjacent=2
Owner=British,French,Germans,Americans,Alliance,Russians,Confederation,Africans,Arabs,YuriCountry
AIBasePlanningSide=0 ;gs 0 for Good, 1 for Evil
Cost=1000
Points=55
Power=-50
Powered=false
; BaseNormal=no
Crewed=no
Explodes=yes
Capturable=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
DebrisAnims=DBRIS1LG,DBRIS1SM,DBRIS2LG,DBRIS4LG,DBRIS4SM,DBRIS5LG,DBRIS5SM,DBRIS6LG,DBRIS6SM,DBRIS7LG
MaxDebris=12
MinDebris=6
ThreatPosed=0 ; This value MUST be 0 for all building addons
;DamageParticleSystems=SparkSys,LGSparkSys
DamageSmokeOffset=700,700,500
AIBuildThis=yes
UnitRepair=no
; NumberOfDocks=1
; AmbientSound=_Amb_WavesLake
NumberImpassableRows=1 ; 3 ; This is the fix to the Repair depots are flat and RadioContact/Enter means I can drive on you assumption. It counts from game west
TargetCoordOffset=300,200,0
ImmuneToPsionics=no ; defaults to yes for buildings, no for others
you can create a new weaoponsfactory...
look for the "dog kennel hack"
if i remember correctly the unit needs the prerequisite of the new weoponsfactory and "owner=" [no owner set]
or something like that...
the unit can only be build from this weap then... _________________ just a simple logo by bricks @ raminator, on Flickr QUICK_EDIT
Nope.
You need a fake (dummy) house and the unit and the "epic unit factory" have to have that Owner=
The factory also has to have the side you want it to belong to.
Kinda like this:
Houses
[GDI]
...
thanks alot. Lt Albrecht, that code is work! now epic unit can create only on Epic Factory but something bug me.
1.other unit can be build/moving out from that factory too.
2.Epic unit and other vehicle still cant build at same time [ i saw Ship in Ra2 have seperate build from another land vehicle it possible to do like that] .
Umm... I don't know... I don't know how other units are moving out of it, I might have got something wrong. _________________ Yes, work on MV continues. It is not forgotten. QUICK_EDIT
hey Holy. You can look at gamemates mod called Future Crisis, he have done exactly what you describe _________________ "I'll be staying strapped cuse my mac-eleven make my nuts bigger" QUICK_EDIT
Nope because AI has cloning factory bug (hence why AI only ever builds one factory by default) imo though it adds challenge to AI though. _________________ 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