Page 1 of 1
Is it possible to make the corpse last longer
Posted: Thu Nov 27, 2008 5:19 pm
by arphaxad
Is there any variable in the scripts controlling how long the corpse will stay in the map after one falls?
Re: Is it possible to make the corpse last longer
Posted: Thu Nov 27, 2008 5:32 pm
by Silas
i think i asked this a little under a year ago. No, apparently it is hard-coded to only last a few seconds.
Re: Is it possible to make the corpse last longer
Posted: Thu Nov 27, 2008 5:35 pm
by Fluffy_the_ic
I think you can change the amount of time, but it crashes. I might be thinking of something else to do with deaths, though.
Re: Is it possible to make the corpse last longer
Posted: Thu Nov 27, 2008 5:38 pm
by Taivyx
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?
Re: Is it possible to make the corpse last longer
Posted: Thu Nov 27, 2008 5:50 pm
by trainmaster611
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.
Re: Is it possible to make the corpse last longer
Posted: Thu Nov 27, 2008 5:58 pm
by arphaxad
What a pity..... I like piles of corpses in the scene, just like Doom 2....
Re: Is it possible to make the corpse last longer
Posted: Thu Nov 27, 2008 6:39 pm
by bobfinkl
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.
Re: Is it possible to make the corpse last longer
Posted: Thu Nov 27, 2008 7:22 pm
by Grev
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.
Re: Is it possible to make the corpse last longer
Posted: Thu Nov 27, 2008 8:42 pm
by elfie
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.
Re: Is it possible to make the corpse last longer
Posted: Thu Nov 27, 2008 10:47 pm
by trainmaster611
elfie 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.
Sounds good but then you have two problems
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.
Re: Is it possible to make the corpse last longer
Posted: Thu Nov 27, 2008 11:01 pm
by Xavious
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.
Re: Is it possible to make the corpse last longer
Posted: Fri Nov 28, 2008 7:37 am
by Teancum
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.