Page 1 of 1

Chunks

Posted: Sun Mar 12, 2006 4:16 pm
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

RE: Chunks

Posted: Sun Mar 12, 2006 5:12 pm
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.

RE: Chunks

Posted: Sun Mar 12, 2006 6:05 pm
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).