Battlezone Universe

Battlezone Universe => Archive Vault => Public 1.3 Beta 4 Archive => Topic started by: TheJamsh on June 15, 2008, 06:56:04 PM

Title: panel icons not working properly
Post by: TheJamsh on June 15, 2008, 06:56:04 PM
can someone please tell me why i get a flaming recycler panel icon when its clearly set twice in this ODF? ive tried everythign with the ODF and removed the IMAGE line in the bzgame_base.cfg file... (i think thats what its called)

everytime i place it i STILL get a recycler icon!

[GameObjectClass]
baseName = "fbpene"
geometryName = "fbpene00.xsi"
geometryScale = 0.1
classLabel = "recycler"
scrapCost = 10
scrapValue = 0
maxHealth = 70000
powerCost = 0
addHealth = 5
ownsTerrain = 1
maxAmmo = 0
unitName = "The Penetrator"
unitIcon = "icon_base_pene.tga"
aiName = "BuildingProcess"
aiName2 = "BuildingProcess"
heatSignature = 1.0
imageSignature = 1.0
radarSignature = 0.0
isSingle = 0

isAssault = 1
armorClass = H

categoryTypeOverride = 15

collisionRadius = 4.0

upgradeName = "fvpene"

effectHard1 = "hp_emit_6"
effectName1 = "fbpene.smoke"
effectHard2 = "hp_emit_7"
effectName2 = "fbpene.smoke"

[PoweredBuildingClass]
powerTap1 = "hp_tap_1"
powerName1 = "fbptap1"
powerTap2 = "hp_tap_2"
powerName2 = "fbptap2"
powerTap3 = "hp_tap_3"
powerName3 = "fbptap3"
powerTap4 = "hp_tap_4"
powerName4 = "fbptap4"
powerTap5 = "hp_tap_5"
powerName5 = "fbpshld"
detectRange = 0

[BuildingClass]
soundAmbient = "penetrator.wav"
tunnelCount = 1

tunnel01X0 = 0
tunnel01Z0 = 0
tunnel01DX = 12
tunnel01DZ = 24
tunnel01Edge = "tttt"

[FactoryClass]
panelIcon = "icon_base_pene.tga"
soundBuild = ""
soundFinish = ""
baseSlot = 8

[BuildGroup1]
buildLabel = "Deploy"
buildItem1 = "yvfigh"

[RecyclerClass]
scrapHold = 0
ScrapDropPoint = false
scrapDelay = 0

// EFFECTS //

[smoke]
renderBase = "draw_twirl_trail"
textureName = "steam.tga"
textureBlend = "one one modulate"
startColor = "150 150 255 155"
finishColor = "20 20 255 0"
startRadius = 2.0
finishRadius = 10.
animateTime = 3.3
emitDelay = 0.05
emitVelocity = "0.0 0.0 12.0"
emitVariance = "10.0 5.0 10.0"
emitLife = 3.3
rotationRate = 10.0
Title: Re: panel icons not working properly
Post by: Red Devil on June 15, 2008, 07:05:23 PM
Maybe you have one specified higher up in your directory search list that is different.
Title: Re: panel icons not working properly
Post by: TheJamsh on June 15, 2008, 07:11:46 PM
i tried-

removing the base name
changing categorytypeoverride to 8
Title: Re: panel icons not working properly
Post by: TheJamsh on June 15, 2008, 07:18:55 PM
ISSUE FIXED

the problem was simple, panelIcon needs to be under [PoweredBuildingClass] NOT [FactoryClass]

sorry to rant so much :D