HL2DM Airstrike

HL2DM Airstrike

Re: HL2DM Airstrike Posted by SuperCobra on Wed Jan 5th 2005 at 1:37am
SuperCobra
184 posts
Posted 2005-01-05 1:37am
184 posts 28 snarkmarks Registered: Jan 2nd 2005 Location: Oregon,USA
Is there a way if I press a button I can call in an airstrike?
Re: HL2DM Airstrike Posted by omegaslayer on Wed Jan 5th 2005 at 2:28am
omegaslayer
2481 posts
Posted 2005-01-05 2:28am
2481 posts 595 snarkmarks Registered: Jan 16th 2004 Occupation: Sr. DevOPS Engineer Location: Seattle, WA
Is there func_mortar_field? that was the ent in HL1 used to create the
air strike, maybe there is something similar, right now im away from
hammer so I cant tell you.

edit: Ohh do you mean like in crossfire? trigger_hurt (like Irish said)
with the flash. Or do you want it like the thing when you were
attacking the nexsus in HL2 SP?
Re: HL2DM Airstrike Posted by IrishGuinea on Wed Jan 5th 2005 at 2:31am
IrishGuinea
51 posts
Posted 2005-01-05 2:31am
51 posts 5 snarkmarks Registered: Nov 14th 2004 Occupation: Production Manager Location: USA
make a button that triggers an airraid sound, dunno if hl2 has that sound file?then trigger env_fade for the white flash and an explosion sound right before you trigger the trigger hurt entity(brushbased entity), just enclose the room or building or whole map with it. Ofcourse you'll need to tie all the entitys together to fire in order and on time.

so you need at least these entitys...

1 func_button -- to trigger evrything
2 ambient_generic -- 1 for airraid/warning sound, 1 for explosion
1 env_fade -- to simulate white flash of nuke explosion
1 trigger hurt -- kill evrything within it, and is a brushed based entity

thats the basics anyway...

ka-boom :smile:
Re: HL2DM Airstrike Posted by SuperCobra on Wed Jan 5th 2005 at 4:53am
SuperCobra
184 posts
Posted 2005-01-05 4:53am
184 posts 28 snarkmarks Registered: Jan 2nd 2005 Location: Oregon,USA
I am talking like in hl1
Re: HL2DM Airstrike Posted by IrishGuinea on Wed Jan 5th 2005 at 8:22am
IrishGuinea
51 posts
Posted 2005-01-05 8:22am
51 posts 5 snarkmarks Registered: Nov 14th 2004 Occupation: Production Manager Location: USA
<DIV class=quote>
<DIV class=quotetitle>? quoting SuperCobra</DIV>
<DIV class=quotetext>I am talking like in hl1
</DIV></DIV>
That is from HL1, just add another ambient generic for the plane sound and its crossfire's nuke

Hit the button, you hear the air raid, then in about 30 seconds you hear the plane, then boom, white screen, explosion sound and everyone who didn't make it to the bunker is dead ala trigger hurt.
Re: HL2DM Airstrike Posted by ZivZulander on Mon Jan 10th 2005 at 7:26pm
ZivZulander
9 posts
Posted 2005-01-10 7:26pm
9 posts 1 snarkmarks Registered: Dec 5th 2004
i think he means from hl1 singleplayer "forget about freeman" episode where on the technical map plot bomb targets and get the hell out of there???

the entity that was used to do this is not in hl2.

however, i think you could still do it but it would be...complicated