Giving Objects Health
Moderator: Moderators
- trainmaster611
- Sith Lord

- Posts: 1779
- Joined: Thu Aug 24, 2006 5:22 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Building a railway to Coruscant
- Contact:
Giving Objects Health
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? 
-
RC-1290
RE: Giving Objects Health
trainmaster, I am wondering, do you ever use the search function?
---
ClassLabel = "destructablebuilding"
and
MaxHealth = "5.0"
---
ClassLabel = "destructablebuilding"
and
MaxHealth = "5.0"
-
Qdin
- Old School Staff
- Posts: 2059
- Joined: Wed Feb 23, 2005 9:54 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
RE: Giving Objects Health
does it have to be 'destructable'? 
what if it's AnimatedProp in the classlabel, Prop or something?
what if it's AnimatedProp in the classlabel, Prop or something?
-
RC-1290
RE: Giving Objects Health
You could try just adding maxhealth.
- trainmaster611
- Sith Lord

- Posts: 1779
- Joined: Thu Aug 24, 2006 5:22 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Building a railway to Coruscant
- Contact:
RE: Giving Objects Health
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?
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?
- trainmaster611
- Sith Lord

- Posts: 1779
- Joined: Thu Aug 24, 2006 5:22 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Building a railway to Coruscant
- Contact:
RE: Giving Objects Health
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?
Could you give me the name of an odf file in the assets folder that I could use as an example?
-
Qdin
- Old School Staff
- Posts: 2059
- Joined: Wed Feb 23, 2005 9:54 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
RE: Giving Objects Health
I'm not confused yet 
I'm just more curios whether it's really this important to have the classlabel right
I'm just more curios whether it's really this important to have the classlabel right
-
Ace_Azzameen_5
- Jedi

- Posts: 1119
- Joined: Sat Apr 23, 2005 8:52 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
-
Qdin
- Old School Staff
- Posts: 2059
- Joined: Wed Feb 23, 2005 9:54 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
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
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
- trainmaster611
- Sith Lord

- Posts: 1779
- Joined: Thu Aug 24, 2006 5:22 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Building a railway to Coruscant
- Contact:
-
Qdin
- Old School Staff
- Posts: 2059
- Joined: Wed Feb 23, 2005 9:54 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- trainmaster611
- Sith Lord

- Posts: 1779
- Joined: Thu Aug 24, 2006 5:22 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Building a railway to Coruscant
- Contact:
