Disable impact damage on model

Grab your favourite IDE and tinker with the innards of game engines

Disable impact damage on model

Postby dennisdc on Thu May 17, 2007 10:45 am

Currently I have some obstacles as models, which is supposed to break when I hit them with melee weapons. But I just found out that they also break, when I run into them with great speed.

Is there some way to disable this ?
dennisdc
Member
Member
 
Joined: Thu May 17, 2007 10:44 am

Postby SgtJman on Thu May 17, 2007 11:25 am

do you mean you have func_breakables?

if so there is a flag called "don't take physics damage" that might help

you could also try giving them more health
Image
User avatar
SgtJman
Regular
Regular
 
Joined: Tue Jan 03, 2006 3:20 am
Location: Around

Postby Chicken64 on Thu May 17, 2007 11:33 am

Yeah! You'll have to insert the flag 'dont take damage on physics'
Dont take life too seriously; No one gets out alive
User avatar
Chicken64
Regular
Regular
 
Joined: Thu May 17, 2007 10:46 am
Location: India

Postby dennisdc on Thu May 17, 2007 12:26 pm

wont that disable damage from the crowbar ?
dennisdc
Member
Member
 
Joined: Thu May 17, 2007 10:44 am

Postby Shr3d on Thu May 17, 2007 12:34 pm

dennisdc wrote:wont that disable damage from the crowbar ?


No. Weapons will still deal damage to it.
Shr3d
 

Postby dennisdc on Thu May 17, 2007 1:48 pm

cool, it works. Thanks a lot.
dennisdc
Member
Member
 
Joined: Thu May 17, 2007 10:44 am

Postby SgtJman on Fri May 18, 2007 8:50 am

*tips hat*
Image
User avatar
SgtJman
Regular
Regular
 
Joined: Tue Jan 03, 2006 3:20 am
Location: Around

Postby dennisdc on Fri May 18, 2007 9:07 am

*tips hat back in gratitude*
dennisdc
Member
Member
 
Joined: Thu May 17, 2007 10:44 am

Return to Programming

Who is online

Users browsing this forum: No registered users

cron