Page 1 of 1
Giving Objects Health
Posted: Sat Feb 17, 2007 1:09 pm
by trainmaster611
How would you edit an odf (particularly a prop) to give them health? And also how would you link up odf objects together so they get destroyed together?

RE: Giving Objects Health
Posted: Sat Feb 17, 2007 1:26 pm
by RC-1290
trainmaster, I am wondering, do you ever use the search function?
---
ClassLabel = "destructablebuilding"
and
MaxHealth = "5.0"
RE: Giving Objects Health
Posted: Sat Feb 17, 2007 3:02 pm
by Qdin
does it have to be 'destructable'?
what if it's AnimatedProp in the classlabel, Prop or something?
RE: Giving Objects Health
Posted: Sat Feb 17, 2007 3:12 pm
by RC-1290
You could try just adding maxhealth.
RE: Giving Objects Health
Posted: Sat Feb 17, 2007 4:54 pm
by trainmaster611
Yes I do use the search function but it never seems to turn up what I am looking for
So Rc, your'e telling me to add the lin that says "Maxhealth = 5.0" under the properties section, it will dissapear when I try to shoot it right?
And yes Qdin, I was trying to make it destructable. THat's what the Maxhealth line will do right?

RE: Giving Objects Health
Posted: Sat Feb 17, 2007 11:25 pm
by trainmaster611
So basically, its using the same corresponding msh files but I change the odf to give it building like properties (with the health of course).
Could you give me the name of an odf file in the assets folder that I could use as an example?
RE: Giving Objects Health
Posted: Sun Feb 18, 2007 9:04 am
by Qdin
I'm not confused yet
I'm just more curios whether it's really this important to have the classlabel right

Posted: Sun Feb 18, 2007 10:03 am
by Ace_Azzameen_5
It is. I've tested it. props can't even be killed by LUA code.
Posted: Sun Feb 18, 2007 11:21 am
by Qdin
Interesting
Does anyone know how to use the .odf to play a death-animation? The Kashyyyk Gate played the death-animation through the .lua if I'm not mistaken.
Is there any way to let it have a designated animation to play when it dies?
+ we call it destructableprop, -building, -fisherhouse or whatever it want

Posted: Sun Feb 18, 2007 5:10 pm
by trainmaster611
I found the Polis Massa hangar shield odf (I know it has infinite health but I know how to change the value). The class label says "armedbuilding". Is there any real difference between that and "building"

Posted: Sun Feb 18, 2007 7:04 pm
by Qdin
maybe this have more properties?
or weapon-effect-like-wannabe-lolzorz?
so we can exaggerate with the classlabels

that's good enough

Posted: Tue Feb 20, 2007 12:01 am
by trainmaster611
I just have one last question...do I have to edit the .msh files for all of this to work or can it be odf alone?
