Page 1 of 1
Can you make dead units and exploded vehicles not fade away?
Posted: Tue Nov 22, 2011 4:16 pm
by Dwan
Hey guys!
Im working on a map and would like the dead units and exploded vehicles to stay the way they are after they die or crached/exploded and not fade away.
Does anyone know if there is a way to do this.
Is there a script for LUA or a script anywhere else that makes the fadeing happen that you can turn off?
For example:
[img]C:\Fraps\Screenshots\BattlefrontII%202011-11-22%2021-07-40-71[/img]
I want the LA-AT dropship to stay crached and burning after geting shot down and not fading away.
Re: Can you make dead units and exploded vehicles not fade a
Posted: Tue Nov 22, 2011 4:47 pm
by Dakota
dead units staying and destroyed vehecals staying would be a bit different. if you want the LA-AT dropship to stay on the ground after it crashes do you want it to be in peices because the way you put it it sounds like you want the whole ship to stay after it is shot down, i think that would require you to have a destroyed version of the ship (at least so it would look good instead of a clean shiny ship just sitting there on fire). i'm not exactly sure how you would get the ship in the right spot if it crashes but i think it has some type of lua code, maybe some type of thing if its dead then it creates the prop version, but that could be difficult to get it to appear in the right place and position though...
lets just say its complicated but possible in a rough version... maybe... if i'm reading this right.
Re: Can you make dead units and exploded vehicles not fade a
Posted: Tue Nov 22, 2011 4:58 pm
by THEWULFMAN
Short answer is: No. It can't be done.
Long answer is: You can't check (in lua) where something crashes, so you can't add a destroyed geometry dynamically on the battlefield. You could animate a ship in ZeroEditor, then destroy it with lua.
As for dead bodies on the battlefield, also can't be done. My team put a lot of resources into trying to get this to work, to no avail.
Re: Can you make dead units and exploded vehicles not fade a
Posted: Tue Nov 22, 2011 5:24 pm
by Dakota
THEWULFMAN wrote:Short answer is: No. It can't be done.
Long answer is: You can't check (in lua) where something crashes, so you can't add a destroyed geometry dynamically on the battlefield. You could animate a ship in ZeroEditor, then destroy it with lua.
As for dead bodies on the battlefield, also can't be done. My team put a lot of resources into trying to get this to work, to no avail.
for the underlined part, it actually has been done by some people that i know, but they use different tools. (yes there are a few)
Re: Can you make dead units and exploded vehicles not fade a
Posted: Tue Nov 22, 2011 10:35 pm
by The Nasal Abyss
The closest you can get is placing meshes of soldiers in "dead" positions on the ground. You can't make units that were killed stay perpetually, and you wouldn't want to do that anyway. It would lag something fierce after a while.
Re: Can you make dead units and exploded vehicles not fade a
Posted: Tue Nov 22, 2011 11:34 pm
by Dakota
The Nasal Abyss wrote:The closest you can get is placing meshes of soldiers in "dead" positions on the ground. You can't make units that were killed stay perpetually, and you wouldn't want to do that anyway. It would lag something fierce after a while.
just wondering, would a destroyed geometry work on a unit like it does on buildings?
Re: Can you make dead units and exploded vehicles not fade a
Posted: Tue Nov 22, 2011 11:54 pm
by AceMastermind
Dakota wrote:just wondering, would a destroyed geometry work on a unit like it does on buildings?
No need to wonder anything when
Search works.
The subject of dead units not fading away has been beaten to death too.
Changing Fade Time
Disappearing Units (Ideas on Keeping Dead Bodies)
Can I prevent dead units from fading away? [No]
Keeping Bodies
Re: Can you make dead units and exploded vehicles not fade a
Posted: Wed Nov 23, 2011 12:35 am
by Dakota
i actually laughed when i saw all of those links and in the first one it was the exact thing that i was talking about.