Posted: Tue Jul 17, 2007 8:22 pm Post subject:
more power turbines for gdi
Subject description: you probably already knew
well,here's a little tutorial for those who want to add more power turbines to gdi ,this is for newbies who have no idea at all(and for those who never thought it would be so easy xD), so here it goes :
(i'm doing this for FS,as it is a little easier,specially art rules,as you can put them anywhere)
add in artfs .ini :
; Power plant power-up animations
[GAPOWR_C]
Cameo=TURBICON
Image=GAPOWR_C
NewTheater=yes
Normalized=yes
Surface=yes
LoopEnd=12
LoopCount=-1
Rate=220
add in firestorm.ini :
43=GAPOWR_C (in animations list)
17=GAPOWRUP2 (in the building list,any non existing number will do)
; GDI Power plant upgrade2.
[GAPOWRUP2]
Name=2nd Power Turbine(name this as you wish)
Prerequisite=GAPOWR
Image=GAPOWR_C
TechLevel=7
Armor=wood
Sight=1
Owner=GDI
Cost=200
Points=30
Power=150
Crewed=no
Capturable=no
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
PowersUpBuilding=gapowr
PowersUpToLevel=-1
ThreatPosed=0 ; This value MUST be 0 for all building addons
now,i've added a crappy version i made to test this , just unzip it
then add it to an ecache.mix and that one to an expand.mix and add it to your game's folder (check the other tutorials if you need help there)
gtpowr_c.rar
Description:
here it is ,it's pretty bad,only colour replace but it's good just to test it out
Doesn't that mean that the plant will always use that image for powerups rather than your GAPOWR_C and if not what does the line actauly do?
Anyway to simply add a new turbine with existing grafics you only need to edit rules.
Code:
[GAPOWRUP2]
Name=Advanced Power Turbine
Prerequisite=GAPOWR,GATECH
Image=GAPOWR_B
TechLevel=7
Armor=wood
Sight=1
Owner=GDI
Cost=175
Points=50
Power=100
Crewed=no
Capturable=no
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
PowersUpBuilding=gapowr
PowersUpToLevel=-1
ThreatPosed=0 ; This value MUST be 0 for all building addons
AIBuildThis=Yes
noo,i've done it with just the code up there and it works, both work just perfectly,no problem at all if you don't believe i'll post a screenie xD
and the tutorial was not about how to add one with existing graphics,but with new ones, in any case, the image tag always allows you to use existing graphics[/quote] QUICK_EDIT
these lines of code do, i've tried it and it seems to work 100%,maybe if you don't change those,it draws GAPOWR_C upon GAPOWR_B but i'm not sure either but i haven't seen anything strange 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