Chunks

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
xwingguy

Chunks

Post by xwingguy »

As you may know, when certain things (like frigates) die, they "fall apart" into what the the game calls "chunks." I've been trying to modify the chunks in odf files with little understanding and success. If you could inform me a bit more on these chunks, I would really appreciate it.

Example (Victory 2 Class Frigate)

Code: Select all

CHUNKSECTION        = "CHUNK1"
ChunkGeometryName   = "spa1_prop_minidestroyer2_chunk1"
ChunkTrailEffect	= "spa_sfx_frigate_exp_3"
ChunkNodeName       = "" //???? (never used)
ChunkTerrainCollisions  = "0" //Don't think it matters in space
ChunkTerrainEffect  = ""
ChunkPhysics        = "FULL" //???
ChunkOmega      = "0.06 0.01 0.01" //direction?
ChunkSpeed      = "0.05"
ChunkUpFactor       = "0.00"
ChunkGravity 	    = "0.0 0.0 0.0"
ChunkKeepSoldierCollision = 1 //??? (never seen it listed as anything but 1)

CHUNKSECTION        = "CHUNK2"
ChunkGeometryName   = "spa1_prop_minidestroyer2_chunk2"
ChunkTrailEffect	= "spa_sfx_frigate_exp_4"
ChunkNodeName       = ""
ChunkTerrainCollisions  = "0"
ChunkTerrainEffect  = ""
ChunkPhysics        = "FULL"
ChunkOmega      = "-0.02 0.01 0.06"
ChunkSpeed      = "0.05"
ChunkGravity 	    = "0.0 0.0 0.0"
ChunkKeepSoldierCollision = 1

CHUNKSECTION        = "CHUNK3"
ChunkGeometryName   = "spa1_prop_minidestroyer2_chunk3"
ChunkTrailEffect	= "spa_sfx_frigate_exp_4"
ChunkNodeName       = ""
ChunkTerrainCollisions  = "0"
ChunkTerrainEffect  = ""
ChunkPhysics        = "FULL"
ChunkOmega      = "-0.05 0.01 -0.05"
ChunkSpeed      = "0.04"
ChunkGravity 	    = "0.0 0.0 0.0"
ChunkKeepSoldierCollision = 1
Qdin
Old School Staff
Posts: 2059
Joined: Wed Feb 23, 2005 9:54 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

RE: Chunks

Post by Qdin »

CHUCKSECTION reffers to the part of the model in the .msh file which is called "CHUNK1" at least this is the case for SWBF1, but I'm not sure because ChuckGeometryName reffers to a seperate .MSH model... :?

the Traileffect must be the "explosion" or how it'll "fall apart" i.e. with fire in its 'tail' :)
TerrainColision: makes it possible to hit it if it's set to "1"
the Chuckphysics: FULL - that reminds me of the animations: _lower, _upper and _full - maybe that's only used in case you have somethign like a unit (droideka...:wink:) exploding while having an animation playing. just a theory! (who says it's not jstu there to bug us?) :wink:

the Omega: don't know what an omega is... :?
Speed: says itself :wink:
Gravity: I'd bet this is the speed it's dropping down :o

dunno the KeepSoldierCollision

those are mainly guessing.
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

RE: Chunks

Post by [RDH]Zerted »

Have you noticed that you can fly through some parts of the frigates when they break up? I think thats what KeepSoldierCollision is for (but I have no proof).
Post Reply