Can you make dead units and exploded vehicles not fade away?

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
Dwan
Posts: 4
Joined: Wed Jun 08, 2011 11:38 am
Projects :: The 107th Spaceborne Div Campaign
Games I'm Playing :: SWBF2
xbox live or psn: No gamertag set
Location: Sweden

Can you make dead units and exploded vehicles not fade away?

Post 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.
User avatar
Dakota
Field Commander
Field Commander
Posts: 991
Joined: Mon Dec 06, 2010 8:21 pm
Projects :: making random weapon assets
Games I'm Playing :: SWBF2 and more
xbox live or psn: PS3 beats xbox
Location: at a computer desk floating around in space

Re: Can you make dead units and exploded vehicles not fade a

Post 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.
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: Can you make dead units and exploded vehicles not fade a

Post 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.
User avatar
Dakota
Field Commander
Field Commander
Posts: 991
Joined: Mon Dec 06, 2010 8:21 pm
Projects :: making random weapon assets
Games I'm Playing :: SWBF2 and more
xbox live or psn: PS3 beats xbox
Location: at a computer desk floating around in space

Re: Can you make dead units and exploded vehicles not fade a

Post 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)
User avatar
The Nasal Abyss
1st Lieutenant
1st Lieutenant
Posts: 428
Joined: Sun Sep 14, 2008 12:55 pm
Projects :: Currently Working on an Indie Game
Games I'm Playing :: Splatoon 2
xbox live or psn: Stm: Tight Verbage

Re: Can you make dead units and exploded vehicles not fade a

Post 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.
User avatar
Dakota
Field Commander
Field Commander
Posts: 991
Joined: Mon Dec 06, 2010 8:21 pm
Projects :: making random weapon assets
Games I'm Playing :: SWBF2 and more
xbox live or psn: PS3 beats xbox
Location: at a computer desk floating around in space

Re: Can you make dead units and exploded vehicles not fade a

Post 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?
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: Can you make dead units and exploded vehicles not fade a

Post 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
User avatar
Dakota
Field Commander
Field Commander
Posts: 991
Joined: Mon Dec 06, 2010 8:21 pm
Projects :: making random weapon assets
Games I'm Playing :: SWBF2 and more
xbox live or psn: PS3 beats xbox
Location: at a computer desk floating around in space

Re: Can you make dead units and exploded vehicles not fade a

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