• Welcome to Battlezone Universe.
 

News:

Welcome to the BZU Archive dated December 24, 2009. Topics and posts are in read-only mode. Those with accounts will be able to login and browse anything the account had access granted to at the time. No changes to permissions will be made to be given access to particular content. If you have any questions, please reach out to squirrelof09/Rapazzini.

Main Menu

Search something to modify Units/scrapcost etc

Started by Shephren, March 19, 2009, 03:22:59 PM

Previous topic - Next topic

Shephren

#15
Weird.
Now my ivrecylcer_cheap.odf looks like that:

[GameObjectClass]
baseName = "ivrecy"
geometryName = "ivrecy00.xsi"
animCount = 1
animName1 = "deploy"
animFile1 = "ivrecy00.xsi"
classLabel = "Recylcer"
collisionRadius = 7.0
scrapCost = 0
scrapValue = 100
maxHealth = 6000
maxAmmo = 0
unitName = "Recycler"
aiName = "DeployBuildingFriend"
aiName2 = "DeployBuildingEnemy"
heatSignature = 2.0
imageSignature = 5.0
radarSignature = 5.0
isAssault = 1

armorClass = H

[CraftClass]
rangeScan = 400.0f
periodScan = 5.0f
velocJam = 0.0f
TeamTransferrable = false

selectUser1Msg = "ivrecy02.wav"  // building
selectUser2Msg = "ivrecy10.wav"  // can't do
selectWaitMsg = "ivrecy04.wav"  // yes sir
selectGoMsg = "ivrecy01.wav"  // in transit
selectOtherMsg = "ivrecy04.wav"  // yes sir
holdMsg = "ivrecy09.wav"
attackMsg = "ivrecy05.wav"
goMsg = "ivrecy05.wav"
goObjectMsg = "ivrecy04.wav"
user1Msg = "ivrecy02.wav"
user2Msg = "ivrecy13.wav"
followMsg = "ivrecy03.wav"
otherMsg = "ivrecy04.wav"


[trackedVehicleClass]
velocForward = 10.0
velocReverse = 10.0
accelThrust = 50.0
omegaSpin = 2.0

engineSound   = "irecy01.wav"
treadSound = "irecy01b.wav"

[trackedDeployableClass]
timeDeploy = 10.0
timeUndeploy = 10.0
soundDeploy = "irecy03.wav"


[DeployBuildingClass]
deployName = "ibrecy_cheap"

[RecyclerVehicleClass]
scrapHold = 40

[Lod1]
geometryName = "ivrecyL1.xsi" ;geometry for lod1
distance = 100


now he says,ERROR:Object "ivrecy_cheap" does not exist.
You said,addon is the right folder and it overwrite things in data with the same name if used,but because i'm making a new recycler,this isn't important.So..what shall i do?Or where is the problem?
Edit:Changed classlabel from Recylcer back to normal recylcervehicle,but still get the same error message,that this object doesn't exist.

mrtwosheds

Quotenow he says,ERROR:Object "ivrecy_cheap" does not exist.
The editor says that when you type the name wrong, or the odf does not exist.

Shephren

i know that it exists,in my addon folder,there is "ivrecy_cheap.odf" and some others.But everytime i type in "ivrecy_cheap" in the config box in the editor,he shuts down immediately.I tested some different ways of that file,sometimes he said that it doesn't exist,then,he shuts down with that runtime error or he shuts down without any warnings.

mrtwosheds


Warfreak


Zero Angel

Maybe you're getting those errors because you keep misspelling 'recycler'.
Reeeee-cyyyyy-cler
QuoteAwareness, Teamwork, Discipline
Constantly apply these principles, and you will succeed in a lot of things, especially BZ2 team strat.
{bac}Zero Angel
Victory through superior aggression

Shephren

Damn.Now i've got no clue what do anymore.My ivrecy_cheap.odf looks like that:
[GameObjectClass]
baseName = "ivrecy"
geometryName = "ivrecy00.xsi"
animCount = 1
animName1 = "deploy"
animFile1 = "ivrecy00.xsi"
classLabel = "recyclervehicle"
collisionRadius = 7.0
scrapCost = 0
scrapValue = 100
maxHealth = 6000
maxAmmo = 0
unitName = "Recycler"
aiName = "DeployBuildingFriend"
aiName2 = "DeployBuildingEnemy"
heatSignature = 2.0
imageSignature = 5.0
radarSignature = 5.0
isAssault = 1

armorClass = H

[CraftClass]
rangeScan = 400.0f
periodScan = 5.0f
velocJam = 0.0f
TeamTransferrable = false

selectUser1Msg = "ivrecy02.wav"  // building
selectUser2Msg = "ivrecy10.wav"  // can't do
selectWaitMsg = "ivrecy04.wav"  // yes sir
selectGoMsg = "ivrecy01.wav"  // in transit
selectOtherMsg = "ivrecy04.wav"  // yes sir
holdMsg = "ivrecy09.wav"
attackMsg = "ivrecy05.wav"
goMsg = "ivrecy05.wav"
goObjectMsg = "ivrecy04.wav"
user1Msg = "ivrecy02.wav"
user2Msg = "ivrecy13.wav"
followMsg = "ivrecy03.wav"
otherMsg = "ivrecy04.wav"


[trackedVehicleClass]
velocForward = 10.0
velocReverse = 10.0
accelThrust = 50.0
omegaSpin = 2.0

engineSound   = "irecy01.wav"
treadSound = "irecy01b.wav"

[trackedDeployableClass]
timeDeploy = 10.0
timeUndeploy = 10.0
soundDeploy = "irecy03.wav"


[DeployBuildingClass]
deployName = "ibrecy_cheap"

[RecyclerVehicleClass]
scrapHold = 40

[Lod1]
geometryName = "ivrecyL1.xsi" ;geometry for lod1
distance = 100
,but it causes the editor to shut down as he did before.Something you guys do,what i forget?

Nielk1

He stopped using inheritance...

Try this:
---------------
[GameObjectClass]
classLabel = "ivrecy"

[CraftClass]

[trackedVehicleClass]

[trackedDeployableClass]

[DeployBuildingClass]
deployName = "ibrecy_cheap"

[RecyclerVehicleClass]

[Lod1]
---------------

It will load all values from ivrecy.odf except what you change.

Click on the image...

Shephren

Getting crazy right now!Where's the problem?I've done everything you said,the ivrecy_cheap.odf looks like that:
[GameObjectClass]

classLabel = "ivrecy"

[CraftClass]

[trackedVehicleClass]

[trackedDeployableClass]

[DeployBuildingClass]
deployName = "ibrecy_cheap"

[RecyclerVehicleClass]

[Lod1]

saved it,but if i type "ivrecy_cheap" into the box right under "config" it shuts down like usual -.-
Is there anything special about that?Which line i have to wite in the config box when i'm in the editor?Basename gives me the normal recycler without changes,the name of the odf file "ivrecycler_cheap" crashes the editor.Is there a line where i have to type "ivrecy_cheap" in?

Nielk1

Of the above is ivrecy_cheap.odf and you are placing it in the editor it should be fine. Please provide the AV.

Also, are you using the LATEST 1.3, that is 1.3pb4a. Do not go and get the EXE version info, get the very last number in your change log (likely "1.3pb4a Released").

Click on the image...

Shephren

Oh,no my latest is Changelog_pb3.Whats the matter with an older version?You need the latest to edit things like i want to do,right?

mrtwosheds

QuoteOh,no my latest is Changelog_pb3.Whats the matter with an older version?You need the latest to edit things like i want to do,right?
No.
But if you want our advice to make any sort of sense, we need to know what you are doing it with.
Allot has changed since pb3.

Nielk1

Um, are you SURE.

pb4 AND pb4a have the following files:
changelog.txt
changelog_pb3.txt
changelog_pb2.txt
changelog_pb1.txt

changelog.txt is the one you need to look at. Look at the bottom to see if it ends at pb4 or pb4a

Click on the image...

Shephren

Last line is ---- 1.3 Public Beta 3 released======= ,so no pb4a.Should i update my current version of bz2?Would it change all my maps i've got now,or are they useless after you patched to pb4a?
So,with the new version my changed files would work?

Nielk1

You did open CHANGELOG.TXT correct? not CHANGELOG_pb3.TXT ?

Click on the image...