HL2DM Airstrike
Post Reply
Quote
Re: HL2DM Airstrike
Posted by SuperCobra on Wed Jan 5th at 1:37am 2005


Is there a way if I press a button I can call in an airstrike?

[addsig]




Quote
Re: HL2DM Airstrike
Posted by omegaslayer on Wed Jan 5th at 2:28am 2005


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?
[addsig]




Quote
Re: HL2DM Airstrike
Posted by IrishGuinea on Wed Jan 5th at 2:31am 2005


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





Quote
Re: HL2DM Airstrike
Posted by SuperCobra on Wed Jan 5th at 4:53am 2005


I am talking like in hl1
[addsig]




Quote
Re: HL2DM Airstrike
Posted by IrishGuinea on Wed Jan 5th at 8:22am 2005


? quoting SuperCobra
I am talking like in hl1

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.





Quote
Re: HL2DM Airstrike
Posted by ZivZulander on Mon Jan 10th at 7:26pm 2005


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






Post Reply