?


(Karamazov) #1

Hello
I would like that an object is not only destructible by explosions (thus grenades, dynamite, satchel, panzer and mortar). How to do that?
Thx a lot. :smiley:


(EB) #2

Re-phrase your sentence please ?


(Mr_Tickles) #3

It doesn’t need to be in the script, just set it as a func_explosive with a health key.


(Karamazov) #4

Sorry I use a translator of text… I don’t speak english.
But for the health key… does that thus define the number of points of life of the object…so with a knife… it would go nevertheless after a long moment, not?


(Loffy) #5

Hi Karamazov!
Have you tried the editor (radiant)? I use version 1.4 myself.
When you create en object in the editor, for example a box, you can SHIFT-CLICK on it. Then it will become highlighted. Then you shoud press “N” on your keyboard. This will show a information-window. This information will tell you many things, including the meaning of “health”.
When I make a house I always put some windows in it. These windows are then made into func_explosives (by me), and I set the “health” to 15. Then the window will be destroyed with just 1 single shot with the MP40 or Thompson. (Like a real window.)
//Loffy


(EB) #6

karamazov, what language do you speak ?


(Karamazov) #7

I speak french.
I understood Loffy.
But, if I want to make a door, while remaining realistic, one would not have which it destroys with Mp40. So I would have liked to know the value of the key “health” so that this door is destructible only with weapons of the “explosive” type.


(technomeister) #8

you need :

health = 0