Doom3world

The world is yours! Doom 3 - Quake 4 - ET:QW - Prey - Rage
It is currently Fri May 24, 2013 5:08 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: problem with destructible object
PostPosted: Sun Mar 18, 2012 8:47 pm 
Offline
picked up 100 armour

Joined: Tue Nov 24, 2009 2:51 am
Posts: 115
Hello guys i made a destructible wood barrel for the Blade of Doom mod using the exploding barrel code it works more or less like i want there's only a small problem when i destroy the object it hurts the AI and the player, i commented the code that does the splash damage on the entity code but it seams it still work's what can i do so solve this?

Here is a small video of the destructible object.

Image


Top
 Profile E-mail  
 
 Post subject: Re: problem with destructible object
PostPosted: Mon Mar 19, 2012 2:17 am 
Offline
Very Senior Forum Poster
User avatar

Joined: Sun May 29, 2005 10:02 pm
Posts: 7082
Location: Here, not there.
I forget but in D3 I believe there's a main damage radius & a splash damage radius. I'd say just reduce the damage dealt to 0 instead of commenting it out. That could just be done in the def file I think (btw, if it inherits anything then if you commented out part of the code it will use whatever it inherited from instead because there's nothing to override it).

_________________
Fuzzy Logic Inc
PAINTBALL DOOM 3!!!!
Check out my Q2 server! q2server.fuzzylogicinc.com :D
Doom 3, Paintball! d3server.fuzzylogicinc.com


Top
 Profile E-mail  
 
 Post subject: Re: problem with destructible object
PostPosted: Mon Mar 19, 2012 8:36 pm 
Online
picked up 200 ammo

Joined: Tue Aug 31, 2004 7:31 pm
Posts: 280
Location: Ireland
Hi Argoon,

Add this line to your Entity_Def:

Code:
"def_splash_damage"         ""

_________________
"Leave me alone, I know what I'm doing..." Kimi Raikkonen


Top
 Profile  
 
 Post subject: Re: problem with destructible object
PostPosted: Tue Mar 20, 2012 1:30 am 
Offline
picked up 100 armour

Joined: Tue Nov 24, 2009 2:51 am
Posts: 115
Thanks Sir Random i will try that, doing a damage def with values of 0 like The Happy Friar said also work but your idea sure takes out the need for writing a extra damage def. Thanks all for the help. :)


Top
 Profile E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group