Destructable object questions [Solved]

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

Destructable object questions [Solved]

Post by DarthD.U.C.K. »

i thought of making a map with many destructable objetcs and came to these questions
1. can battlefront handle many destructible objetcs( they dont need a big explosion effect)?
2. do the parameters for different damaged models of an objetc work in battlefront 2? (im not shure where is saw them or if i messed that with another thing)
3. can i give an object both chunks and a "destroyed geometry"?

these questions may be easy to answer, but i cant acces my moddingfiles to look for the answers
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: destructable objects

Post by Maveritchell »

1) It can handle as many destructible objects as will fit inside the object limit. Size of explosion (particle-wise) isn't a big deal, as long as too many aren't going off at once.

2) I've never seen parameters for different levels of damage and corresponding models, just destroyed and not destroyed geometries. Prove me wrong, though - I'd be happy to see something like that.

3) Sure, I would imagine so. Try it out.
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: destructable objects

Post by DarthD.U.C.K. »

i have two more questions:
4.: can i give chunks (solider)collision?
5.: how long can chunks stay untill they disappear?
6.: can i give a dieanimation to anything prop or building-like?
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: destructable objects

Post by Maveritchell »

4) I think chunks can be told to support soldier collisions, try:

Code: Select all

                                        ChunkKeepSoldierCollision = "1"
5) Set the lifetime of the chunk:

Code: Select all

                                        ChunkLifetime = 
6) Animated buildings support death animations; I've never tried them though:

Code: Select all

                    AnimatedBuilding
                                        AnimationName
                                        IdleAnimation
                                        DeathAnimation
                                        EnableDeathExplosions
                                        DeathEffect   
User avatar
vampire_lord
Rebel Sergeant
Rebel Sergeant
Posts: 216
Joined: Thu Mar 20, 2008 7:02 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: Mexico City
Contact:

Re: destructable objects

Post by vampire_lord »

Sounds crazy but... what about giving a destroyed object another destroyed object? it might not even work, but you know, ODFs are sometimes too flexible.
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: destructable objects

Post by Maveritchell »

vampire_lord wrote:Sounds crazy but... what about giving a destroyed object another destroyed object? it might not even work, but you know, ODFs are sometimes too flexible.
They don't have their own .odfs as a destroyed object. If they did, it would be a possibility, but in this case just putting a second destroyed object parameter would just overwrite the first.
Post Reply