Script question Created 18 years ago2006-05-02 10:18:53 UTC by Elon Yariv Elon Yariv

Created 18 years ago2006-05-02 10:18:53 UTC by Elon Yariv Elon Yariv

Posted 18 years ago2006-05-02 10:18:53 UTC Post #177951
Can I make a helicopter(apach) shoot missles at a certain spot?(when I want it to)
Posted 18 years ago2006-05-02 10:22:23 UTC Post #177955
I'd assume so, it's been done in HL (I think) and i always see scripted grunts shooting at things. Something to do with info_targets i think..?
Strider StriderTuned to a dead channel.
Posted 18 years ago2006-05-02 10:52:52 UTC Post #177963
It's probably easier to set up an explosion where you want it, and add a "flying missile" sound. Make the illusion of the apache firing a missile.
Posted 18 years ago2006-05-02 10:53:47 UTC Post #177964
I have the same question but for source. :o
Madcow MadcowSpy zappin my udder
Posted 18 years ago2006-05-02 11:16:41 UTC Post #177966
They did it in Hl1. I remember now, in the level with the dam, the apache shot the brigde that leads to the tower with the button that stops the fans.

I can also make it shoot a barney if I have to. :(
Posted 18 years ago2006-05-02 12:52:54 UTC Post #177973
Barney still ows me a beer. :
Posted 18 years ago2006-05-02 12:54:17 UTC Post #177974
Not funny! :x

I gess I'll try to decompile that level. :
Posted 18 years ago2006-05-02 13:02:45 UTC Post #177977
decompiling = shit

it doesn't work very good... and entities ends up to be little here and there
Posted 18 years ago2006-05-02 13:02:55 UTC Post #177978
Run it through with "developer 2". That shows entity types as well as names, doesn't it? "Firing env_explosion 'foo'"?
Seventh-Monkey Seventh-MonkeyPretty nifty
Posted 18 years ago2006-05-02 13:48:29 UTC Post #177986
Barney still ows me a beer.
Not funny!
Woa.

There is no squence in hl1 its just apache's angle to the creature.And while having that missle launced into the dam.There was an alien slave in there.So apache(AI) automaticly launches its missles(according to its angle to the ground[alien slave]).But I've seen missles that been shot from somewhere else not from an apache.In chemical existence and heart of evil.I better check them again.I'll post an example map when I figure it out
Posted 18 years ago2006-05-03 00:37:02 UTC Post #178085
decompiling = shit
it doesn't work very good... and entities ends up to be little here and there
Um, no. The brushwork gets borked, but the entities are competely unaffected.

Decompiling is a valuble tool that nobody should discount...not to copy other's work--or make de_dust clones lol--, but to see how certain things are done.
Posted 18 years ago2006-05-03 02:33:49 UTC Post #178093
Saco that'll be really nice. I think I'll just make the apache a prisoner and make two env_beams with a glow in their end as missles. The end of the beam will follow a invisible func_train that will trigger the explotions. After the missles explodes I'll just kill the beams and trains.

Much easier... that depends on if a chopper will follow scripts. :

Sorry for all the questions that I ask without testing, it's for a part from a map I didn't build yet, but I will soon.
You must be logged in to post a response.