hp booster
Hi.
Tell me please, how i can do hp booster like kz_dimblock?
Use a func_button to trigger the door..
func_button which triggers a trigger_hurt or a func_door with a minus damage to heal the user.
can somebody do this for me as a rmf and upload here? im struggling with those button and door/hurn entities. wanna use it in my new map. thanks a lot.
are you in need of a normal hp booster or does it have to be a button you click?
wanna use this type of booster as on that pic - the button you click and it heals you. kind of like it more than the other one.
Here you go perd0
http://www87.zippyshare.com/v/LgXDaWe0/file.html
explaining:
func_button at brush chest high
func_door a bit higher than the button and higher as the players high.
func_door settings:
name: door
Render Mode: Texture
FX Amount: 0
delay before close: 0.1
Damage inflicted when blocked: -1000
Yaw: Down
func_button settings:
target: door
delay before reset: 0.1
Flags
Don't Move
So we dont need to see the thing which hits us. So we give the func_door a render mode of texture and an fx amount of 0, which makes the texture invisible. The yaw to down gives the door the advice to move only down, which we should always use when we want to get hit from a button. delay before close is just in seconds how long the entity should be inactive to be used again. low timer = better reacting time for the button. Damage inflicted when blocked, a positive value loses you health or vice versa negative vaule you get health.
to the button settings: target is the name of the entity which should be triggered from the button e.g here the name of the door "door"
delay before reset same value as the door to make somekind of a spam effect. Flag Don't move otherwise the button moves a bit and then triggers the trigger entity.
if something is still unclear just shoot it out :)
Thanks for the file and thanks for the explanation.
I was indeed imagining there must be some way to make 'something' smash us to deal dmg to us, since there was this door entity, of which purpose is to make movement only, I just couldn't make it work.
Thanks again, it's good to have those inactive mappers who still remember that stuff tho, hehe.
Please log in to post replies.