Posted: Sun Feb 21, 2010 10:54 pm Post subject:
3rd side building
Hello there whoever reads this,
I am creating a 3rd side and ive created the power plant and Tiberium Refinery so far, but the thing is... the power plant appears shaded in Nod and GDI teams to! it works in 3rd side but is shaded in GDI and Nod toolbar. what should i do? _________________ Dont look in his eyes! QUICK_EDIT
3rd side owner: CABAL
3rd side ConYard: CACNST
3rd side Power Plant: CAPOWR
[CACNST]
Owner=CABAL,Civilian
[CAPOWR]
Owner=CABAL,Civilian
Prerequisite=CACNST
Two things have got to be kept in mind when coding buildings for the 3rd side:
1) make sure that TechLevel=1 buildings have CACNST added to their Prerequisite= list, else GDI and Nod will also be able to build them (the greyed-out icons showing up in their sidebars)
2) all buildings for the 3rd side need two owners - the 3rd side (CABAL in this case), as well as a dummy owner (Civilian in this case, or even Special). _________________ Adapt or die QUICK_EDIT
the "Civilian" in front of your third side faction allows your building to be built for the faction you have, got it buddy! _________________ Link to a document to see what mods i have and/or working on or working with
Click QUICK_EDIT
I have added CABAL,Special... it is buildable for CABAL but appears in the Nod and GDI siderbar somewhat shaded. _________________ Dont look in his eyes! QUICK_EDIT
; construction yard
[CACNST]
Name=CABAL Yard
ConstructionYard=yes
Strength=1000
Armor=heavy
Image=GACNST
TechLevel=-1
Adjacent=2
Factory=BuildingType
UndeploysInto=CMCV
Sight=6
Owner=CAB,Special
Cost=2500
Points=80
Power=0
Capturable=true
Crewed=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
MaxDebris=10
ThreatPosed=0 ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys,BigGreySmokeSys
DamageSmokeOffset=1470, 1060, 1078
AIBuildThis=yes
TogglePower=no
Code:
; CABAL advanced power plant
[CAAPWR]
Name=CABAL Power Core
Strength=750
Armor=wood
prerequisite=CACNST
Image=NAAPWR
TechLevel=1
Adjacent=2
Sight=4
Owner=CAB,Special
Cost=600
Points=40
Power=200
Capturable=true
Crewed=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
MaxDebris=8
ThreatPosed=0 ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys,BigGreySmokeSys
DamageSmokeOffset=290, 570, 320
TogglePower=no
Code:
[CMCV]
Name=Mobile Construction Vehicle
Prerequisite=FACTORY,TECH
Strength=1000
Category=Support
Image=MCV
Armor=heavy
DeploysInto=CACNST
TechLevel=9
Sight=6
Speed=3
Owner=CAB,Special
CrateGoodie=yes
Cost=2500
Points=60
ROT=5
Crewed=yes
Crusher=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
VoiceSelect=25-I000,25-I002,25-I004,25-I006
VoiceMove=25-I012,25-I014,25-I016,25-I018,25-I022
VoiceAttack=25-I014,25-I022,25-I024,25-I026
VoiceFeedback=
AllowedToStartInMultiplayer=yes
MaxDebris=6
Locomotor={4A582741-9839-11d1-B709-00A024DDAFD1}
Weight=3.5
MovementZone=Normal
ThreatPosed=0 ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
SpecialThreatValue=1
ZFudgeColumn=12
ZFudgeTunnel=15
[/code] _________________ Dont look in his eyes! QUICK_EDIT
Take it as the very first thing you learn about modding TS - always ALWAYS make sure your new code looks EXACTLY like the old code. Don't get lazy and start dropping off the case sensitive lettering.
How is your 3rd side progressing otherwise? _________________ Adapt or die QUICK_EDIT
well my team leader wanted me to only make the side, power plant and refinery.(with MCv and ConYard ofc.) and its finished, that part at least. _________________ Dont look in his eyes! QUICK_EDIT
Team leader...? What team, and what are you guys working on? Can you give any details on the extra side(s) you are adding? _________________ Adapt or die QUICK_EDIT
it exist on moddb, Project Nemesis will that be. we will probably add Forgotten and CABAL to the mod. _________________ Dont look in his eyes! QUICK_EDIT
[FAMCV]
Name=Mobile Construction Yard
Prerequisite=FACTORY,TECH ;ignore these, they're just for building the MCV
Strength=1000
Image=MCV ;you need this if you have no own art for it
Category=Support
Armor=heavy
DeploysInto=FACNST ;your new con yard
TechLevel=1
Sight=6
Speed=3
Owner=FORGOTTEN,Special ;owner is your new faction + special
CrateGoodie=no
AllowedToStartInMultiplayer=yes ;important
Cost=2500
Points=60
ROT=5
Crewed=yes
Crusher=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
VoiceSelect=25-I000,25-I002,25-I004,25-I006
VoiceMove=25-I012,25-I014,25-I016,25-I018,25-I022
VoiceAttack=25-I014,25-I022,25-I024,25-I026
VoiceFeedback=
MaxDebris=6
Locomotor={4A582741-9839-11d1-B709-00A024DDAFD1}
Weight=3.5
MovementZone=Normal
ThreatPosed=0
DamageParticleSystems=SparkSys,SmallGreySSys
SpecialThreatValue=1
ZFudgeColumn=12
ZFudgeTunnel=15
[FACNST]
Name=Mutant Construction Yard
Image=FACNST ;same as above
ConstructionYard=yes ;needed
Strength=1000
Armor=heavy
TechLevel=-1
Adjacent=2
Factory=BuildingType ;important, too
UndeploysInto=FAMCV ;if you like it to be able to undeploy
Sight=6
Owner=FORGOTTEN,Special ;IMPORTANT
Cost=2500
Points=80
Power=0
Capturable=true
Crewed=yes
Upgrades=1
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
MaxDebris=10
ThreatPosed=0
DamageParticleSystems=SparkSys,SmallGreySSys,BigGreySmokeSys
DamageSmokeOffset=1470, 1060, 1078
AIBuildThis=yes
TogglePower=no
[FAPOWR]
Name=Mutant Power Plant
Image=GAPOWR ;can use GAPOWR or NAAPWR, too
Strength=750
Prerequisite=FACNST ;use the con yard as prereq
Armor=wood
TechLevel=1
Sight=4
Adjacent=2
Owner=FORGOTTEN,Special ;again, this is important
Cost=300
Points=40
Power=100
Capturable=true
Storage=30
;PipScale=Tiberium
Crewed=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
MaxDebris=6
ThreatPosed=0
DamageParticleSystems=SparkSys,SmallGreySSys,BigGreySmokeSys
DamageSmokeOffset=450, 200, 300
TogglePower=no QUICK_EDIT
As written above, the game is Case Sensitive.
If you write in the Houses section "Forgotten" and on the Owner keys "FORGOTTEN", the game sees these two words as two completely different strings. _________________ SHP Artist of Twisted Insurrection: Nod buildings
i did that and that doesn't solve it and actually when i add Prerequisite=FACNST to [FAPOWR] it doesn't show up at all and when i don't add it then the power plant is greyed out and unclicable 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