Keeping Bodies

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
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:

Keeping Bodies

Post by Silas »

Is there any way to make it so that when a trooper is shot/killed, his body remains on the ground for a little while longer?

Oh , and one more problem that i thought of after i posted this. How do you increase the speed that Jet Troopers move at while hovering?
Caleb1117
2008 Most Original Avatar
Posts: 3096
Joined: Sun Aug 20, 2006 5:55 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: X-Fire: caleb1117 ಠ_ಠ

Re: Keeping Bodies

Post by Caleb1117 »

A body's decay time is hardcoded I beleive.

As for jettpacks, try this topic, it may have some helpful info.
http://www.gametoast.com/forums/viewtop ... 28&start=0
-_-
Gametoast Staff
Gametoast Staff
Posts: 2678
Joined: Sat May 07, 2005 1:22 pm

Re: Keeping Bodies

Post by -_- »

hard-coded, and even if you did change th decay time, it would dramatically bog down performance.
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: Keeping Bodies

Post by AceMastermind »

Maybe you could try this in the odf:
DestroyedGeometryName = "somemeshname"

*somemeshname = whatever mesh used for your dead soldier pose
The classlabel soldier or droid may or may not support this, try it out and let us know if it works.
Aman/Pinguin
Jedi
Jedi
Posts: 1104
Joined: Tue Jan 30, 2007 6:04 am
Projects :: Inactive
Location: Germany

Re: Keeping Bodies

Post by Aman/Pinguin »

AceMastermind wrote:Maybe you could try this in the odf:
DestroyedGeometryName = "somemeshname"
Good idea but that don't works... :?
EGG_GUTS
Master Bounty Hunter
Master Bounty Hunter
Posts: 1626
Joined: Thu Dec 07, 2006 7:38 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: CANADA!

Re: Keeping Bodies

Post by EGG_GUTS »

-=]BFWE[=-Pinguin wrote:
AceMastermind wrote:Maybe you could try this in the odf:
DestroyedGeometryName = "somemeshname"
Good idea but that don't works... :?
Ya wouldn't it do the basic trooper with the arms wide open pose?
Ace_Azzameen_5
Jedi
Jedi
Posts: 1119
Joined: Sat Apr 23, 2005 8:52 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: Keeping Bodies

Post by Ace_Azzameen_5 »

Why doesn't it work? The reason Ace mentioned?

You could try some SetEntityMatrix stuff, make it so that when someone dies, an object (the body, fully animated with the right pose) moves to their position.

I figure you could even spawn as many bodies as you need as vehicles, except I'm not sure how to reference a vehicle in the code (See This Thread) unless someone drives it through a region (like in Teleport Code) .
Post Reply