CSM- Destructable Guard Towers

Ask questions, discuss ideas, get answers
Post Reply
tekk
Posts: 171
Joined: Fri Dec 11, 2009 6:12 pm

CSM- Destructable Guard Towers

Post by tekk »

I have a embarrasing issue, I imported the destructable guard towers from DCX into my DCF mod that I have started. The towers material number is 92 by default, no weapons on DCF would do damage to the towers, so i switched it with material 45 that I got from the humvee on dcf. The problem is that it seems like only the c4 will destroy the towers with mat 45 , i have tried other mat id's but nothing seems to be working. Any idea what may be going on?
Nodbrother- "getting whiped every single game by some over-active 9 year old kid with too much spare time and a reaction time that is a third of yours."
User avatar
Marshall_Nord
Posts: 33
Joined: Wed Feb 10, 2010 10:13 pm
Contact:

Re: CSM- Destructable Guard Towers

Post by Marshall_Nord »

DCX’s destructible guard tower uses the vanilla static model mesh “guard tow_m1”. The COL02 mesh for this model has four material I.D.’s : 82, 85, 92 & 99. Doing a quick check in the T72 projectile’s damage system, all of these material I.D.’s have a zero damage modifier vs. this projectile:

Code: Select all

MaterialManager.damageMod 0.0
Unless you change this, the projectile will not cause damage to the destructible tower. The material I.D. from the objects.con file that you changed from 92 to 45 is only used when determining damage from an explosive/splash-based damage code.

Another option is to reassign the material I.D.s for the model, but that is more involved.
tekk
Posts: 171
Joined: Fri Dec 11, 2009 6:12 pm

Re: CSM- Destructable Guard Towers

Post by tekk »

Thanks for the reply, I really have not toyed with mad id's before so this is valuable info for me, Once I finish waking up and having my coffee im gonna sort out this info and try solve the issue, Thanks Marshall :)
Nodbrother- "getting whiped every single game by some over-active 9 year old kid with too much spare time and a reaction time that is a third of yours."
Post Reply