Author Topic: Zweistein's E-1337 Recycler  (Read 1401 times)

zweistein000

  • Posts: 2
    • View Profile
Zweistein's E-1337 Recycler
« on: November 19, 2010, 03:06:35 PM »
Hello some time ago, I started changing SRV, just to learn something about making a custom variant. Now that project got scrapped because I did something that made my game crash. So now I have started everything from scrap, I have just made my recycler, edited its menus, but when I try to test it in game my recycler starts with NO scrap or scrap bar. What could the problem be?

Code: [Select]
[GameObjectClass]
classLabel = "ivrecy"

scrapCost = 60

buildTime = 60.0

/////// PROVIDES ///////////////////

provideCount = 5
provideName3 = "ivrrecy"
provideName4 = "VIRTUAL_CLASS_E-1337_RECYCLER"
provideName5 = "VIRTUAL_CLASS_E-1337_RECYCLERVEHICLE"

////////////////////////////////////


/////// OBJECT LIMITS //////////////

limitClass1 = "VIRTUAL_CLASS_E-1337_RECYCLER" // e.g. "ibrecy", *NO* ".odf" on item
limitClass1Count = 1
limitClass1Text = "Already have an E-1337 Recycler"

////////////////////////////////////

[CraftClass]

[TrackedVehicleClass]

[TrackedDeployableClass]

[DeployBuildingClass]
deployName = "ibrrecy_E-1337"

[RecyclerVehicleClass]
scrapHold = 0

[RecyclerClass]
scrapHold = 40
scrapDelay = 3.0 // # of seconds before +1 scrap

[Lod1]


Code: [Select]
[GameObjectClass]
geometryName = "ibrecy00.xsi"
classLabel = "recycler"
powerCost = 0
scrapCost = 0
scrapValue = 10
maxHealth = 12000
maxAmmo = 0
unitName = "Recycler"
aiName = "BuildingProcess"
aiName2 = "BuildingProcess"
heatSignature = 2.0
imageSignature = 1.0
radarSignature = 1.0
isAssault = 1

collisionRadius = 4.0

armorClass = H

provideCount = 3
provideName1 = "ibrecy"
provideName2 = "ibrecycpu"
provideName3 = "Recy"

lightHard1 = "hp_light_1"
lightName1 = "o_white_nf"

[PoweredBuildingClass]
detectRange = 100

[BuildingClass]
tunnelCount = 1

tunnel01X0 = 3
tunnel01Z0 = 3
tunnel01DX = 2
tunnel01DZ = 4
tunnel01Edge = "wwtw"

soundAmbient = "ibrecy01.wav"


[FactoryClass]
soundBuild = "ibrecy02.wav"
soundFinish = "iapc04.wav"

[BuildGroup1]
buildLabel = "Scavengers"
buildItem1 = "ivscav_E-1337"
buildItem2 = "ivhscav_E-1337"

[BuildGroup2]
buildLabel = "Scouts"
buildItem1 = "ivscout_empty"
buildEmptyItem = 1
buildItem2 = "ivscout_thunderbolt"
buildItem3 = "ivscout_lightningbolt"

[BuildGroup3]
buildLabel = "Turrets"
buildItem1 = "ivturr_rattler"
buildItem2 = "ivturr_bearhunter"

[BuildGroup4]
buildLabel = "Tug"
buildItem1 = "ivtug"

[BuildGroup5]
buildLabel = "Constructors"
buildItem1 = "ivcons_base"
buildItem2 = "ivcons_defense"
buildItem3 = "ivcons_field"

[BuildGroup6]
buildLabel = "Service trucks"
buildItem1 = "ivserv_normal"
buildItem2 = "ivserv_smart"
buildItem3 = "ivserv_hyper"

[BuildGroup7]
buildLabel = "Supplies"
buildItem1 = "apserv_health"
buildItem2 = "apserv_ammo"
buildItem3 = "apserv_pod"


reloadMsg = "ivrecy12.wav"
rescueMsg = "ivrecy13.wav"

[RecyclerClass]
scrapHold = 40
scrapDelay = 3.0 // # of seconds before +1 scrap

[Lod1]
geometryName = "ibrecyL1.xsi" ;geometry for lod1
distance = 80
dontShiftLOD = 1

Code: [Select]
[GameObjectClass]
geometryName = "ibrecy00.xsi"
classLabel = "recycler"
powerCost = 0
scrapCost = 0
scrapValue = 10
maxHealth = 12000
maxAmmo = 0
unitName = "Recycler"
aiName = "BuildingProcess"
aiName2 = "BuildingProcess"
heatSignature = 2.0
imageSignature = 1.0
radarSignature = 1.0
isAssault = 1

collisionRadius = 4.0

armorClass = H

provideCount = 3
provideName1 = "ibrecy"
provideName2 = "ibrecycpu"
provideName3 = "Recy"

lightHard1 = "hp_light_1"
lightName1 = "o_white_nf"

[PoweredBuildingClass]
detectRange = 100

[BuildingClass]
tunnelCount = 1

tunnel01X0 = 3
tunnel01Z0 = 3
tunnel01DX = 2
tunnel01DZ = 4
tunnel01Edge = "wwtw"

soundAmbient = "ibrecy01.wav"


[FactoryClass]
soundBuild = "ibrecy02.wav"
soundFinish = "iapc04.wav"

[BuildGroup1]
buildLabel = "Scavengers"
buildItem1 = "ivscav_E-1337"
buildItem2 = "ivhscav_E-1337"

[BuildGroup2]
buildLabel = "Scouts"
buildItem1 = "ivscout_empty"
buildEmptyItem = 1
buildItem2 = "ivscout_thunderbolt"
buildItem3 = "ivscout_lightningbolt"

[BuildGroup3]
buildLabel = "Turrets"
buildItem1 = "ivturr_rattler"
buildItem2 = "ivturr_bearhunter"

[BuildGroup4]
buildLabel = "Tug"
buildItem1 = "ivtug"

[BuildGroup5]
buildLabel = "Constructors"
buildItem1 = "ivcons_base"
buildItem2 = "ivcons_defense"
buildItem3 = "ivcons_field"

[BuildGroup6]
buildLabel = "Service trucks"
buildItem1 = "ivserv_normal"
buildItem2 = "ivserv_smart"
buildItem3 = "ivserv_hyper"

[BuildGroup7]
buildLabel = "Supplies"
buildItem1 = "apserv_health"
buildItem2 = "apserv_ammo"
buildItem3 = "apserv_pod"

reloadMsg = "ivrecy12.wav"
rescueMsg = "ivrecy13.wav"

[RecyclerClass]
scrapHold = 40
scrapDelay = 3.0 // # of seconds before +1 scrap

[Lod1]
geometryName = "ibrecyL1.xsi" ;geometry for lod1
distance = 80
dontShiftLOD = 1

Code: [Select]
[GameObjectClass]
geometryName = "ibrecy00.xsi"
classLabel = "recycler"
powerCost = 0
scrapCost = 0
scrapValue = 10
maxHealth = 12000
maxAmmo = 0
unitName = "Recycler"
aiName = "BuildingProcess"
aiName2 = "BuildingProcess"
heatSignature = 2.0
imageSignature = 1.0
radarSignature = 1.0
isAssault = 1

collisionRadius = 4.0

armorClass = H

provideCount = 3
provideName1 = "ibrecy"
provideName2 = "ibrecycpu"
provideName3 = "Recy"

lightHard1 = "hp_light_1"
lightName1 = "o_white_nf"

[PoweredBuildingClass]
detectRange = 100

[BuildingClass]
tunnelCount = 1

tunnel01X0 = 3
tunnel01Z0 = 3
tunnel01DX = 2
tunnel01DZ = 4
tunnel01Edge = "wwtw"

soundAmbient = "ibrecy01.wav"


[FactoryClass]
soundBuild = "ibrecy02.wav"
soundFinish = "iapc04.wav"


[BuildGroup1]
buildLabel = "Scavengers"
buildItem1 = "ivscav_E-1337"
buildItem2 = "ivhscav_E-1337"

[BuildGroup2]
buildLabel = "Scouts"
buildItem1 = "ivscout_empty"
buildEmptyItem = 1
buildItem2 = "ivscout_thunderbolt"
buildItem3 = "ivscout_lightningbolt"

[BuildGroup3]
buildLabel = "Turrets"
buildItem1 = "ivturr_rattler"
buildItem2 = "ivturr_bearhunter"

[BuildGroup4]
buildLabel = "Tug"
buildItem1 = "ivtug"

[BuildGroup5]
buildLabel = "Constructors"
buildItem1 = "ivcons_base"
buildItem2 = "ivcons_defense"
buildItem3 = "ivcons_field"

[BuildGroup6]
buildLabel = "Service trucks"
buildItem1 = "ivserv_normal"
buildItem2 = "ivserv_smart"
buildItem3 = "ivserv_hyper"

[BuildGroup7]
buildLabel = "Supplies"
buildItem1 = "apserv_health"
buildItem2 = "apserv_ammo"
buildItem3 = "apserv_pod"

reloadMsg = "ivrecy12.wav"
rescueMsg = "ivrecy13.wav"

[RecyclerClass]
scrapHold = 40
scrapDelay = 3.0 // # of seconds before +1 scrap

[Lod1]
geometryName = "ibrecyL1.xsi" ;geometry for lod1
distance = 80
dontShiftLOD = 1

Oh and do you get it? E-1337 --> E-LEET --> Elite ;)

VSMIT

  • Factions
  • BZ2 Fanatic
  • *
  • Posts: 742
  • Resident Mac Guy
    • View Profile
Re: Zweistein's E-1337 Recycler
« Reply #1 on: November 19, 2010, 03:42:47 PM »
For the no scrap bar, you need to change some things.  Like in both the vehicle and building ODFs, under [RecyclerClass], it has scrapHold = 40.  That's how much the recycler hold contains.  If you change that to scrapHold = 0, then the recycler will not have a hold.  You will have to make this change on both the vehicle and building ODFs, otherwise you'll have a scrap hold for one but  not the other.

IQ's have really dropped around here just recently, must be something in the water.

zweistein000

  • Posts: 2
    • View Profile
Re: Zweistein's E-1337 Recycler
« Reply #2 on: November 20, 2010, 05:42:58 AM »
I mean the recycler does not have a bar now  (With Scraphold=40). I would like it to have a scrap bar.