PDA

View Full Version : func_breakable durability


Redvan
06-18-2002, 10:36 AM
how to you make a brush be more durable? say, it takes 2 saber swings to break it rather than one? I have func_breakable on some and i don't even need to swing, i just poke my saber at it and it breaks, is there a way to change the durability?

RichDiesal
06-18-2002, 10:43 AM
Add the key health and a value to set the object's health. If you set it to 100 or so, I believe that will take you a few swings (depends if they have g_saberrealisticcombat on and at what value)

Set it and experiment. :)

alienprotein
06-18-2002, 12:41 PM
Yeah rich is right, adding the key health to the entity will do the trick. I used the health key in the map Iím working on, and it works great. I think that 100 = 100% damage. For instance I was playing with it, and decided that the lockers I made where not though enough, so I changed the health value to 300, and it now seems to take 3 times the damage. Hope this helps.

Redvan
06-19-2002, 03:27 AM
thanks! I'll try it out!