Only 2 chunks appearing when droid explodes [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
Jendo7
Sith
Sith
Posts: 1304
Joined: Wed Apr 01, 2009 6:37 pm
Location: Cambridge, England.
Contact:

Only 2 chunks appearing when droid explodes [Solved]

Post by Jendo7 »

I've been able to get my Probe Droid to explode but only two chunks appear in game. I would like four or five chunks to appear when it explodes. I did add five chunk sections in the odf but still only two chunks appear.

Below are my imp_droid_probe.odf and imp_droid_probe_exp.odf.
Hidden/Spoiler:
[GameObjectClass]
ClassLabel = "com_inf_default"
GeometryName = "imp_droid_probe.msh"

[Properties]
MapTexture = "troop_icon"
MapScale = 1.4

PilotType = "self"

GeometryName = "imp_droid_probe"
ExplosionName = "imp_droid_probe_exp"

MaxHealth = 180.0
HealthType = "droid"

SetAltitude = 1.0

Acceleraton = 8
MaxSpeed = 10

MaxStrafeSpeed = 8
MaxTurnSpeed = 4.0
PCMaxTurnSpeed = 20.0
PCMaxStrafeSpeed = 20.0

WeaponName = "cis_weap_inf_remotedroid_blaster"
WeaponAmmo = 0

CameraHeight = 2.3
CameraDistance = 4.5

TrakCenter = "0.0 0.0 0.0"
TrackOffset = "0.0 0.0 4.5"
NormalDirection = "0.0"
AimValue = "1.0"

AISizeType = "HOVER"

DropItemClass = "com_item_powerup_ammo"
DropItemProbability = 0.15
NextDropItem = "-"
DropItemClass = "com_item_powerup_health25"
DropItemProbability = 0.0
NextDropItem = "-"
DropItemClass = "com_item_powerup_health100"
DropItemProbability = 0.0

ChunkFrequency = 1.0

CHUNKSECTION = "CHUNK1"
ChunkGeometryName = "com_smallchunk1"
ChunkNodeName = ""
ChunkTerrainCollisions = "5"
ChunkTerrainEffect = "dirtspray"
ChunkTrailEffect = "com_sfx_chunktrail_xs"
ChunkPhysics = "FULL"
ChunkOmega = "4.0 4.0 4.0"
ChunkSpeed = 8.0

CHUNKSECTION = "CHUNK2"
ChunkGeometryName = "com_smallchunk1"
ChunkNodeName = ""
ChunkTerrainCollisions = "5"
ChunkTerrainEffect = "dirtspray"
ChunkTrailEffect = "com_sfx_chunktrail_xs"
ChunkPhysics = "FULL"
ChunkOmega = "4.0 4.0 4.0"
ChunkSpeed = 8.0

CHUNKSECTION = "CHUNK3"
ChunkGeometryName = "com_smallchunk1"
ChunkNodeName = ""
ChunkTerrainCollisions = "5"
ChunkTerrainEffect = "dirtspray"
ChunkTrailEffect = "com_sfx_chunktrail_xs"
ChunkPhysics = "FULL"
ChunkOmega = "4.0 4.0 4.0"
ChunkSpeed = 8.0

CHUNKSECTION = "CHUNK4"
ChunkGeometryName = "com_mediumchunk1"
ChunkNodeName = ""
ChunkTerrainCollisions = "5"
ChunkTerrainEffect = "dirtspray"
ChunkTrailEffect = "com_sfx_chunktrail_sm"
ChunkPhysics = "FULL"
ChunkOmega = "4.0 4.0 4.0"
ChunkSpeed = 8.0

CHUNKSECTION = "CHUNK5"
ChunkGeometryName = "com_mediumchunk1"
ChunkNodeName = ""
ChunkTerrainCollisions = "5"
ChunkTerrainEffect = "dirtspray"
ChunkTrailEffect = "com_sfx_chunktrail_sm"
ChunkPhysics = "FULL"
ChunkOmega = "4.0 4.0 4.0"
ChunkSpeed = 8.0
Hidden/Spoiler:
[ExplosionClass]
ClassLabel = "explosion"

[Properties]
LifeSpan = "0.2"
Damage = "20.0"
DamageRadius = "10.0"
Shake = "0.5"
ShakeRadius = "15.0"
Push = "0.0"
PushRadius = "1.5"
Effect = "com_sfx_explosion_lg"
ArmorScale = "0.8"
HealthScale = "1.0"
ShieldScale = "0.5"

SoundProperty = "com_weap_obj_small_exp"
Any help would be appreciated, thanks.
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: Droid explosion with only two chunks appearing in game.

Post by DarthD.U.C.K. »

do by any chance only one small- and one mediumchunk drop? :P
User avatar
Jendo7
Sith
Sith
Posts: 1304
Joined: Wed Apr 01, 2009 6:37 pm
Location: Cambridge, England.
Contact:

Re: Droid explosion with only two chunks appearing in game.

Post by Jendo7 »

Yes, that's exactly what happened. :)
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: Droid explosion with only two chunks appearing in game.

Post by DarthD.U.C.K. »

its because you didnt change the values of the chunks, especially omega, which defines in which direction the chunk flies. this way all chunks are on top of eachother/within eachother and you see only one. :P
User avatar
Jendo7
Sith
Sith
Posts: 1304
Joined: Wed Apr 01, 2009 6:37 pm
Location: Cambridge, England.
Contact:

Re: Droid explosion with only two chunks appearing in game.

Post by Jendo7 »

Thanks! :)

So does that mean each ChunkOmega value have to be different in each chunk section.
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: Droid explosion with only two chunks appearing in game.

Post by DarthD.U.C.K. »

yeah, it would look boring otherwise, wouldnt it?
by the way: ive made some basic probedroidchunks looong time ago, you could use them if you wanted.
User avatar
Jendo7
Sith
Sith
Posts: 1304
Joined: Wed Apr 01, 2009 6:37 pm
Location: Cambridge, England.
Contact:

Re: Droid explosion with only two chunks appearing in game.

Post by Jendo7 »

Thanks very much :thumbs: That would be much better than boring old command post chunks.
Post Reply