Is it possible to make the corpse last longer
Moderator: Moderators
-
arphaxad
- Posts: 4
- Joined: Sun Nov 23, 2008 1:38 pm
Is it possible to make the corpse last longer
Is there any variable in the scripts controlling how long the corpse will stay in the map after one falls?
- Silas
- Captain

- Posts: 481
- Joined: Thu Oct 11, 2007 5:30 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Re: Is it possible to make the corpse last longer
i think i asked this a little under a year ago. No, apparently it is hard-coded to only last a few seconds.
- Fluffy_the_ic
- Hoth Battle Chief

- Posts: 3223
- Joined: Thu Jan 24, 2008 7:03 pm
- xbox live or psn: fluffytherc
- Location: she/her
- Contact:
Re: Is it possible to make the corpse last longer
I think you can change the amount of time, but it crashes. I might be thinking of something else to do with deaths, though.
-
Taivyx
- 2008 Best Games Related Avatar
- Posts: 1706
- Joined: Thu Jun 07, 2007 3:34 pm
- Projects :: Terra Strife - discontinued
- xbox live or psn: No gamertag set
- Contact:
Re: Is it possible to make the corpse last longer
I've been thinking about this too.
Would it be possible to make an uber-long death animation, or would the corpse fade away in a couple seconds anyway?
Would it be possible to make an uber-long death animation, or would the corpse fade away in a couple seconds anyway?
- 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: Is it possible to make the corpse last longer
No, anything that has to do with properties of a corpse is hard-coded.
You might be able to pull some coding work around where it leaves a corpse prop wherever a unit dies but it will not necessarily be in the same position the unit fell in.
You might be able to pull some coding work around where it leaves a corpse prop wherever a unit dies but it will not necessarily be in the same position the unit fell in.
-
arphaxad
- Posts: 4
- Joined: Sun Nov 23, 2008 1:38 pm
Re: Is it possible to make the corpse last longer
What a pity..... I like piles of corpses in the scene, just like Doom 2....
- bobfinkl
- Rebel Colonel

- Posts: 593
- Joined: Sun Jul 13, 2008 9:01 am
- Projects :: Lots of unreleased stuff
- xbox live or psn: No gamertag set
- Location: The quaint little city gametoast.
Re: Is it possible to make the corpse last longer
You can always put dead unit props in locations you want them to be in, go check the released assets forum you'll probably find some easily.
-
Grev
- Hoth Battle Chief

- Posts: 3132
- Joined: Sun Dec 09, 2007 11:45 pm
- Projects :: No Mod project currently.
- Location: A Certain Box Canyon
Re: Is it possible to make the corpse last longer
Actually, Im not sure, but I think there is a line somewhere about it, infact I think I've seen it. Its either in Zero Editor (probably not), or its in the main unit .odf.
- elfie
- Field Commander

- Posts: 931
- Joined: Fri Jan 25, 2008 8:26 pm
- xbox live or psn: no live
- Location: Coruscant, Jedi Temple
- Contact:
Re: Is it possible to make the corpse last longer
I think I got an idea. The time a corpse lasts is hard-coded, but the time a pick-up that a unit drops, such as pick ups that give you health/ammo aren't. In fact, they are controlled in the odf. So you could simply change the corresponding mesh to that of a unit, remove the properties, and when the unit disappears the time that you have set in the properties the time that you want the corpse to stick around for. Not sure if that made sense, but It did in my head and it may work, possibly.
- 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: Is it possible to make the corpse last longer
Sounds good but then you have two problemselfie wrote:I think I got an idea. The time a corpse lasts is hard-coded, but the time a pick-up that a unit drops, such as pick ups that give you health/ammo aren't. In fact, they are controlled in the odf. So you could simply change the corresponding mesh to that of a unit, remove the properties, and when the unit disappears the time that you have set in the properties the time that you want the corpse to stick around for. Not sure if that made sense, but It did in my head and it may work, possibly.
1) There's a period of time in which you have the real corpse and the pick-up corpse, so you have two corpses and then one of them disappears
2)You still can't get the pick-ups msh's to be in the same position as the position in which the unit fell when he died.
-
Xavious
- Sith Master

- Posts: 2783
- Joined: Mon Jun 12, 2006 3:46 pm
Re: Is it possible to make the corpse last longer
I'd say just drop the idea. It would be a messy hackjob even if you did get it working, and would likely cause a fair deal of lag.
- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
Re: Is it possible to make the corpse last longer
Yep, and Gametoasters will beat a dead horse as long as you can I'm gonna lock this.
There is no way to do this without it being some extremely crappy hack job. Sorry to the creator of the topic, but I gotta lock this.
There is no way to do this without it being some extremely crappy hack job. Sorry to the creator of the topic, but I gotta lock this.
