Chunk Properties [Solved]
Moderator: Moderators
- Eggman
- Master Bounty Hunter

- Posts: 1516
- Joined: Mon Jul 16, 2007 1:30 pm
- Projects :: Battlefront Chronicles
- Location: Las Vegas
Chunk Properties [Solved]
I was playing around with some of the chunk properties in a vehicle .odf, and I realized that I have no clue what a lot of them control. I was wondering if anyone knew what each of them does. Here are some of the chunk properties I've come across:
ChunkGeometryName = "cis_fly_droidgunship_chunk1" --msh used for the chunk
ChunkNodeName = "" --
ChunkTerrainCollisions = "2" --number of times the chunk bounces off the terrain?
ChunkTerrainEffect = "com_sfx_explosion_lg" --effect played when chunk hits the terrain
ChunkPhysics = "FULL" --
ChunkOmega = "2.0 2.0 2.5" --
ChunkSpeed = "13.0" --
ChunkUpFactor = "1.00" --
ChunkTrailEffect = "com_sfx_chunktrail_sm" --effect emitted by the chunk
ChunkGravity = "1.0 1.0 1.0" --
ChunkVelocityFactor = "0.15" --proportion of the vehicle's velocity when it was destroyed
ChunkBounciness = 0.45 --
ChunkStickiness = 0.25 --
ChunkInitialCollisionSound = "exp_obj_small_debris" --sound played when the chunk hits terrain?
ChunkGeometryName = "cis_fly_droidgunship_chunk1" --msh used for the chunk
ChunkNodeName = "" --
ChunkTerrainCollisions = "2" --number of times the chunk bounces off the terrain?
ChunkTerrainEffect = "com_sfx_explosion_lg" --effect played when chunk hits the terrain
ChunkPhysics = "FULL" --
ChunkOmega = "2.0 2.0 2.5" --
ChunkSpeed = "13.0" --
ChunkUpFactor = "1.00" --
ChunkTrailEffect = "com_sfx_chunktrail_sm" --effect emitted by the chunk
ChunkGravity = "1.0 1.0 1.0" --
ChunkVelocityFactor = "0.15" --proportion of the vehicle's velocity when it was destroyed
ChunkBounciness = 0.45 --
ChunkStickiness = 0.25 --
ChunkInitialCollisionSound = "exp_obj_small_debris" --sound played when the chunk hits terrain?
Last edited by Eggman on Sun May 31, 2009 12:45 pm, edited 1 time in total.
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Chunk Properties
...And which do you need help with?
-
RogueKnight
- Space Ranger
- Posts: 2512
- Joined: Sat Nov 22, 2008 1:50 pm
- Projects :: Life. Work.
- xbox live or psn: No gamertag set
- Location: Washington, US
Re: Chunk Properties
I'd assume the ones without definitions next to them.Fiodis wrote:...And which do you need help with?
- Eggman
- Master Bounty Hunter

- Posts: 1516
- Joined: Mon Jul 16, 2007 1:30 pm
- Projects :: Battlefront Chronicles
- Location: Las Vegas
Re: Chunk Properties
Correct.DarthRogueKnight wrote:I'd assume the ones without definitions next to them.Fiodis wrote:...And which do you need help with?
- B.I.G_Cookie
- High General

- Posts: 839
- Joined: Sun Feb 22, 2009 4:28 pm
- Location: Frankfurt, Germany
Re: Chunk Properties
I guess:
ChunkSpeed = "13.0" -- the speed of the flying chunk
ChunkGravity = "1.0 1.0 1.0" -- the time until the chunk reaches the ground or the velocity of fall
ChunkSpeed = "13.0" -- the speed of the flying chunk
ChunkGravity = "1.0 1.0 1.0" -- the time until the chunk reaches the ground or the velocity of fall
- Eggman
- Master Bounty Hunter

- Posts: 1516
- Joined: Mon Jul 16, 2007 1:30 pm
- Projects :: Battlefront Chronicles
- Location: Las Vegas
Re: Chunk Properties
That's all what I would assume, but the question comes up with the interaction between ChunkVelocityFactor and ChunkSpeed. It seems to me that they would interfere with each other.B.I.G_Cookie wrote:I guess:
ChunkSpeed = "13.0" -- the speed of the flying chunk
ChunkGravity = "1.0 1.0 1.0" -- the time until the chunk reaches the ground or the velocity of fall
As for ChunkGravity, I'm just not sure what each number controls. Maybe something such as the x,y,z axes?
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Chunk Properties
Ah, silly me.DarthRogueKnight wrote:I'd assume the ones without definitions next to them.Fiodis wrote:...And which do you need help with?
Gravity would be how steeply it arcs, another example of this is the Thermal Detonator, which only has one number, not being affected by 2 of the 3 axes of motion.
Speed is it's base speed through the air.
NodeName - Possibly unused, form an earlier time when developers were planning to put nodes on vehicles to tell where chunks come from? Also possibly the node where effects come from, if they don't come from the dummyroot.
UpFactor - IDK, but the word "up" tells me it's something to do with its flight path. Careful experimentation may yield results.
Bounciness - Bounciness. How it bounces.
Stickiness - How sticky it is. An example is droid chunks, which stick to terrain and props.
The TerrainCollisions may be correct; however I'll note that spaceship chunks pass right through objects. Haven't gotten around to checking if they do likewise for terrain. Probably related to Bounciness and/or Stickiness value.Eggman wrote:ChunkTerrainCollisions = "2" --number of times the chunk bounces off the terrain?
ChunkTerrainEffect = "com_sfx_explosion_lg" --effect played when chunk hits the terrain
TerrainEffect - I've never seen any chunk play an effect upon hitting the terrain. Can anyone confirm this?
My hypothesis: Speed is the base value, which is altered by VelocityFactor to get the chunk's final speed. This would be so a spaceship flying extremely fast wouldn't blow up into super-slow chunks, but a spaceship flying extremely slowly wouldn't break up into super-fast chunks.Eggman wrote:That's all what I would assume, but the question comes up with the interaction between ChunkVelocityFactor and ChunkSpeed. It seems to me that they would interfere with each other.
- AceMastermind
- Gametoast Staff

- Posts: 3285
- Joined: Mon Aug 21, 2006 6:23 am
- Contact:
Re: Chunk Properties
From psych0fred's cis_hover_aat_odf_commented.txt:
http://www.secretsociety.com/forum/down ... mented.txt
Source:Code: Select all
// Chunks are the peices resulting from the vehicle's explosion CHUNKSECTION = "CHUNK1" // Defines the chunk ChunkGeometryName = "cis_hover_att_Chunk1" // Defines the mesh file to use for the chunk ChunkNodeName = "" // Defines the hardpoint in the mesh from which the chunk originates ChunkTerrainCollisions = "2" // Defines the number of time the chunk bounces ChunkTerrainEffect = "dirtspray" // Defines the particle effect attached to each bounce ChunkPhysics = "FULL" // Defines the chunk behavior/mass ChunkOmega = "1.0 2.0 1.0" // ?? Defines chunk spin??? ChunkBounciness = 0.35 // Defines rate of upward bounce ChunkStickiness = 0.45 // Defines how fast chunk accelerate in bounce ChunkSpeed = "15.0" // Defines speed of moving chunk ChunkUpFactor = "25.00" // Defines the upward speed of spawned chunk ChunkTrailEffect = "mediumsmoketrail" // Defines the particle effect attached to chunk
http://www.secretsociety.com/forum/down ... mented.txt
- Eggman
- Master Bounty Hunter

- Posts: 1516
- Joined: Mon Jul 16, 2007 1:30 pm
- Projects :: Battlefront Chronicles
- Location: Las Vegas
Re: Chunk Properties
Ah, thanks. I've been poking around Psych0fred's site a lot lately, I guess I forgot that was there.AceMastermind wrote:From psych0fred's cis_hover_aat_odf_commented.txt:Source:Code: Select all
// Chunks are the peices resulting from the vehicle's explosion CHUNKSECTION = "CHUNK1" // Defines the chunk ChunkGeometryName = "cis_hover_att_Chunk1" // Defines the mesh file to use for the chunk ChunkNodeName = "" // Defines the hardpoint in the mesh from which the chunk originates ChunkTerrainCollisions = "2" // Defines the number of time the chunk bounces ChunkTerrainEffect = "dirtspray" // Defines the particle effect attached to each bounce ChunkPhysics = "FULL" // Defines the chunk behavior/mass ChunkOmega = "1.0 2.0 1.0" // ?? Defines chunk spin??? ChunkBounciness = 0.35 // Defines rate of upward bounce ChunkStickiness = 0.45 // Defines how fast chunk accelerate in bounce ChunkSpeed = "15.0" // Defines speed of moving chunk ChunkUpFactor = "25.00" // Defines the upward speed of spawned chunk ChunkTrailEffect = "mediumsmoketrail" // Defines the particle effect attached to chunk
http://www.secretsociety.com/forum/down ... mented.txt
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Chunk Properties
the chunkomega is the direction in which the chunk flys not the spin
