Door Trigger
-
- Vertex
- Posts: 7
- Joined: Fri Aug 22, 2008 12:43 pm
Door Trigger
Hi!
I'm kinda new to the HL2 I/O-System and i build a map to try some things out...
I've created a zombie, some weaps and a door....
I want the Zombie to make the door open when it dies...on the npc_zombie i've created a new output with OnDeath, Door01(thats the name of the door) Open 0.00....but when i kill the zombie, the door doesnt open
can someone help?
Greetz, SirOffensivus
I'm kinda new to the HL2 I/O-System and i build a map to try some things out...
I've created a zombie, some weaps and a door....
I want the Zombie to make the door open when it dies...on the npc_zombie i've created a new output with OnDeath, Door01(thats the name of the door) Open 0.00....but when i kill the zombie, the door doesnt open
can someone help?
Greetz, SirOffensivus
Does the zombie spawn into the world on a npc_template_maker?
If so use the template_maker to give a AllSpawnedDead output. if not I dont see any reason why it shouldn't work. Have you checked you have the corret flags checked?
(edit: in object properties the tick boxes under flags tab). make sure the door gets unlocked before its told to open).
If so use the template_maker to give a AllSpawnedDead output. if not I dont see any reason why it shouldn't work. Have you checked you have the corret flags checked?
(edit: in object properties the tick boxes under flags tab). make sure the door gets unlocked before its told to open).
'I would probably smarten up before you meet Violet'.
'She has zero tolerance for idiots'.
fug's Obsidian files
fug's Obsidian clips
Obsidian wiki
Obsidian Map Database
'She has zero tolerance for idiots'.
fug's Obsidian files
fug's Obsidian clips
Obsidian wiki
Obsidian Map Database
-
- Vertex
- Posts: 7
- Joined: Fri Aug 22, 2008 12:43 pm
http://developer.valvesoftware.com/wiki/Math_counter
Maxvalue 2
onhitmax door open
and on the npcs
ondeath mathcountername add 1
Maxvalue 2
onhitmax door open
and on the npcs
ondeath mathcountername add 1
-
- Vertex
- Posts: 7
- Joined: Fri Aug 22, 2008 12:43 pm
-
- Vertex
- Posts: 7
- Joined: Fri Aug 22, 2008 12:43 pm
What valve do is create a prop_dynamic and put an invisible button ent in front of it. When its pressed they call animation changes on the prop_dynamic.SirOffensivus wrote:can someone tell me how to crate a button with a model (such as the combine-buttons)
In HL1 you could create a brush, tie it to a func_button and then give it a button texture, but i didnt find any button textures....
thx and greetz, SirOffensivus
Last edited by skidz on Fri Aug 22, 2008 11:48 pm, edited 1 time in total.
For an example check out the keypad and button prefabs Valve made.
'I would probably smarten up before you meet Violet'.
'She has zero tolerance for idiots'.
fug's Obsidian files
fug's Obsidian clips
Obsidian wiki
Obsidian Map Database
'She has zero tolerance for idiots'.
fug's Obsidian files
fug's Obsidian clips
Obsidian wiki
Obsidian Map Database
-
- Vertex
- Posts: 7
- Joined: Fri Aug 22, 2008 12:43 pm
-
- Vertex
- Posts: 7
- Joined: Fri Aug 22, 2008 12:43 pm