Changing Fade Time
Moderator: Moderators
- Lagomorphia
- Major

- Posts: 502
- Joined: Sun Dec 13, 2009 10:02 am
Changing Fade Time
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?
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
- Lagomorphia
- Major

- Posts: 502
- Joined: Sun Dec 13, 2009 10:02 am
Re: Changing Fade Time
No to which? And could you explain why?
-
kinetosimpetus
- Imperial Systems Expert

- Posts: 2381
- Joined: Wed Mar 25, 2009 4:15 pm
- Projects :: A secret project
Re: Changing Fade Time
No, to both.
Hardcoded.
Hardcoded.
- Lagomorphia
- Major

- Posts: 502
- Joined: Sun Dec 13, 2009 10:02 am
Re: Changing Fade Time
Ah.
I'll just wait for those death animations Darth.D.U.C.K said he was making then.
I'll just wait for those death animations Darth.D.U.C.K said he was making then.
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Changing Fade Time
they are done, i just havent yet got around writing a readme and polishing them
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Changing Fade Time
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).kinetosimpetus wrote:No, to both.
Hardcoded.
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.
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Changing Fade Time
i actually meant death unitanimprops, not death animations
- Lagomorphia
- Major

- Posts: 502
- Joined: Sun Dec 13, 2009 10:02 am
Re: Changing Fade Time
Do you mean dead unit props that writhe or something then?
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Changing Fade Time
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.
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Changing Fade Time
no, they are just motionless dead units, but because they are animprops you can give them the modle of any unit you wantLagomorphia wrote:Do you mean dead unit props that writhe or something then?
