Is it possible to make the corpse last longer

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Locked
arphaxad
Posts: 4
Joined: Sun Nov 23, 2008 1:38 pm

Is it possible to make the corpse last longer

Post by arphaxad »

Is there any variable in the scripts controlling how long the corpse will stay in the map after one falls?
User avatar
Silas
Captain
Captain
Posts: 481
Joined: Thu Oct 11, 2007 5:30 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: Is it possible to make the corpse last longer

Post 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.
User avatar
Fluffy_the_ic
Hoth Battle Chief
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

Post 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.
Taivyx
2008 Best Games Related Avatar
Posts: 1706
Joined: Thu Jun 07, 2007 3:34 pm
Projects :: Terra Strife - discontinued
Games I'm Playing :: none
xbox live or psn: No gamertag set
Contact:

Re: Is it possible to make the corpse last longer

Post 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?
User avatar
trainmaster611
Sith Lord
Sith Lord
Posts: 1779
Joined: Thu Aug 24, 2006 5:22 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Building a railway to Coruscant
Contact:

Re: Is it possible to make the corpse last longer

Post 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.
arphaxad
Posts: 4
Joined: Sun Nov 23, 2008 1:38 pm

Re: Is it possible to make the corpse last longer

Post by arphaxad »

What a pity..... I like piles of corpses in the scene, just like Doom 2....
User avatar
bobfinkl
Rebel Colonel
Rebel Colonel
Posts: 593
Joined: Sun Jul 13, 2008 9:01 am
Projects :: Lots of unreleased stuff
Games I'm Playing :: Life
xbox live or psn: No gamertag set
Location: The quaint little city gametoast.

Re: Is it possible to make the corpse last longer

Post 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.
Grev
Hoth Battle Chief
Hoth Battle Chief
Posts: 3132
Joined: Sun Dec 09, 2007 11:45 pm
Projects :: No Mod project currently.
Games I'm Playing :: Minecraft
Location: A Certain Box Canyon

Re: Is it possible to make the corpse last longer

Post 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.
User avatar
elfie
Field Commander
Field Commander
Posts: 931
Joined: Fri Jan 25, 2008 8:26 pm
Games I'm Playing :: no games
xbox live or psn: no live
Location: Coruscant, Jedi Temple
Contact:

Re: Is it possible to make the corpse last longer

Post 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.
User avatar
trainmaster611
Sith Lord
Sith Lord
Posts: 1779
Joined: Thu Aug 24, 2006 5:22 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Building a railway to Coruscant
Contact:

Re: Is it possible to make the corpse last longer

Post 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.
Xavious
Sith Master
Sith Master
Posts: 2783
Joined: Mon Jun 12, 2006 3:46 pm

Re: Is it possible to make the corpse last longer

Post 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.
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: Is it possible to make the corpse last longer

Post 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.
Locked