Posted: Sat Apr 26, 2008 4:03 am Post subject:
Damn turret's base wont show up
ok i have this problem with any base defense turret i try to make....the actual voxel will show up but the shp building base will not. the buildup wont even play. if someone can help that'd be cool.
javascript:emoticon('')
Very Happy
[YAMAG]
UIName=Name:YAMAG
Name=Yuri Magnetic Turret
BuildCat=Combat
Strength=600
Armor=steel
Prerequisite=YATECH,NAPSIS
TechLevel=8
Adjacent=8
Image=YAMAG
ROT=10
Sight=8
DetectDisguise=no
Owner=YuriCountry
AIBasePlanningSide=0 ;gs 0 for Good, 1 for Evil
Cost=700
BaseNormal=no
Points=35
Power=0
Crewed=no
Capturable=false
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
DebrisAnim=Dbris1sm,Dbris1lg,Dbris4sm,Dbris5sm,Dbris4lg,Dbris7sm,Dbris8sm,Dbris5lg,Dbris4lg
MaxDebris=15
MinDebris=5
Primary=MagneticBeam
Secondary=MagneShake
Turret=yes
TurretAnim=YAMAGTUR
TurretAnimIsVoxel=true
TurretAnimX=0
TurretAnimY=15
TurretAnimZAdjust=-40
ThreatPosed=30 ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,LGSparkSys
IsBaseDefense=yes
HasStupidGuardMode=false
HasRadialIndicator=true
Joined: 16 Dec 2007 Location: Modding other games.
Posted: Sat Apr 26, 2008 5:23 am Post subject:
You've made a custom entry on your art and rules.ini, YAMAG doesn't exist unless you've created a SHP for its base, and be sure to place it in ecachemdxx.mix (xx means any number). If you're trying to use the Gattling gun turret base for its base then change the Image=YAMAG to YAGGUN in your rules.ini _________________
Quote:
Everybody knows a mod that doesn't update every ten seconds is dead.
well see wut i did was i copied the vxl and hva of the magneton turret and i copied the gatling gun buildup and base images....changed em all to YAMAG, YAMAGMK, YAMAGTUR.VXL, AND YAMAGTUR.HVA and the shp's r in the ecachemd01.mix and the vxl and hva r in expandmd02.mix. hmmm can the expand's and ecache's get too full? QUICK_EDIT
Joined: 16 Dec 2007 Location: Modding other games.
Posted: Sat Apr 26, 2008 6:06 am Post subject:
Honestly, you really don't have to go through all that complexity. Its just basic coding. This should solve your problem
Code:
[YAMAG]
UIName=Name:YAMAG
Name=Yuri Magnetic Turret
BuildCat=Combat
Strength=600
Armor=steel
Prerequisite=YATECH,NAPSIS
TechLevel=8
Adjacent=8
Image=YAGGUN ; I'll be using the Gattling turret base as you can see here :P
ROT=10
Sight=8
DetectDisguise=no
Owner=YuriCountry
AIBasePlanningSide=0 ;gs 0 for Good, 1 for Evil
Cost=700
BaseNormal=no
Points=35
Power=0
Crewed=no
Capturable=false
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
DebrisAnim=Dbris1sm,Dbris1lg,Dbris4sm,Dbris5sm,Dbris4lg,Dbris7sm,Dbris8sm,Dbris5lg,Dbris4lg
MaxDebris=15
MinDebris=5
Primary=MagneticBeam
Secondary=MagneShake
Turret=yes
TurretAnim=TELETUR ; see what I did here I just add the magnetron's turret name here :P
TurretAnimIsVoxel=true
TurretAnimX=0
TurretAnimY=15
TurretAnimZAdjust=-40
ThreatPosed=30 ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,LGSparkSys
IsBaseDefense=yes
HasStupidGuardMode=false
HasRadialIndicator=true
No art.ini entry needed because it uses an existing Graphics _________________
Quote:
Everybody knows a mod that doesn't update every ten seconds is dead.
hmm well it did show up just like i wanted but the thing is that it doesnt have its own icon its just a copy of the gatling gun icon.....do i just copy the gat art entry and put Image=YAMAG? QUICK_EDIT
You can do that, but put Image=YAGGUN under the building entry in Artmd.ini if you do. Leave everything else the same. _________________ "Don't beg for things; Do it yourself or you'll never get anything." QUICK_EDIT
seriously allied general i do know the basics ok. look at my code. the building works. i know yr more experienced and wutever but dont assume shit. 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