Changing Fade Time

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

Post Reply
User avatar
Lagomorphia
Major
Major
Posts: 502
Joined: Sun Dec 13, 2009 10:02 am

Changing Fade Time

Post by Lagomorphia »

Normally when you kill a unit it dies then fades instantly. I understand that leaving the bodies there would result in alot of lag but is it possible to extent the fade time to say, 30 seconds? It also occured to me that, seeing as you always wait until you fade when you are killed, would you have to wait those 30 seconds to respawn?
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Changing Fade Time

Post by DarthD.U.C.K. »

no
User avatar
Lagomorphia
Major
Major
Posts: 502
Joined: Sun Dec 13, 2009 10:02 am

Re: Changing Fade Time

Post by Lagomorphia »

No to which? And could you explain why?
kinetosimpetus
Imperial Systems Expert
Imperial Systems Expert
Posts: 2381
Joined: Wed Mar 25, 2009 4:15 pm
Projects :: A secret project
Games I'm Playing :: Warframe STO

Re: Changing Fade Time

Post by kinetosimpetus »

No, to both.
Hardcoded.
User avatar
Lagomorphia
Major
Major
Posts: 502
Joined: Sun Dec 13, 2009 10:02 am

Re: Changing Fade Time

Post by Lagomorphia »

Ah.
I'll just wait for those death animations Darth.D.U.C.K said he was making then.
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Changing Fade Time

Post by DarthD.U.C.K. »

they are done, i just havent yet got around writing a readme and polishing them
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: Changing Fade Time

Post by Maveritchell »

kinetosimpetus wrote:No, to both.
Hardcoded.
I'm pretty sure respawn time is a function of the time your unit remains on the field. It's nothing so limited as you not being able to spawn, but extending it to something long with an excessively long death animation will cause issues if you have a sufficient number of units dying at once (and that is relative to the number of units allowable on the field at once).

I don't know if DarthD.U.C.K. has tested this, since the OP and he indicate that he's making death animations to (presumably) extend the time units' bodies are on the field, but I have tested this and an easy test is to reduce the unit count to 1, with an extended death animation, and try to respawn in a normal amount of time. It won't happen.
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Changing Fade Time

Post by DarthD.U.C.K. »

i actually meant death unitanimprops, not death animations
User avatar
Lagomorphia
Major
Major
Posts: 502
Joined: Sun Dec 13, 2009 10:02 am

Re: Changing Fade Time

Post by Lagomorphia »

Do you mean dead unit props that writhe or something then?
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Changing Fade Time

Post by Fiodis »

Another "way around this" would be to give the unit an explosion with an effect that uses a dead play model mesh. You could then control the amount of time the "body" stays in-game, and still be able to respawn after the normal amount of time. However, I haven't tested this and aside from some obvious graphical bugs it would also cause issues if too many units died at once.
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Changing Fade Time

Post by DarthD.U.C.K. »

Lagomorphia wrote:Do you mean dead unit props that writhe or something then?
no, they are just motionless dead units, but because they are animprops you can give them the modle of any unit you want
Post Reply