Laser Target Created 20 years ago2004-09-14 12:57:18 UTC by Madcow Madcow

Created 20 years ago2004-09-14 12:57:18 UTC by Madcow Madcow

Posted 20 years ago2004-09-14 12:57:18 UTC Post #59313
I am making a "lab map" and i need a laser that hits a scientist in the head. But the laser seems to be aming at the middle of the "space".
How do i make some kind of a laser target?
(sorry for wrong spelled English :( )
/.Madcow ;)
Madcow MadcowSpy zappin my udder
Posted 20 years ago2004-09-14 13:07:23 UTC Post #59317
You need to make a func_train with origin in roughly center, then make a path corner at the scientists head, with the func_train somewhere else, and set the speed very high so it's not noticable that it moves to the scientists head.
And BAM! decapitated scientist.
Posted 20 years ago2004-09-14 13:12:03 UTC Post #59319
An,, and,, and how do I do that? >_<
Im just a little n00b in a big world..
But i really need to know!
MHAHAHAHAHAHAHAHA
:nuts:
Madcow MadcowSpy zappin my udder
Posted 20 years ago2004-09-14 13:23:03 UTC Post #59323
Ah sorry I thought you where someone else that had been here longer. lol.
OK
-Make a brush and origin, which is a brush with the origin texture, and put the origin brush roughly in the center of the other brush.
-Tie them to entity, func_train,
-Name it train1, and set it's target to corner1, set the speed very high,
-Make a path corner, name it corner1,
-Make a env_laser, then set its name to laser1, and its target to the func_train called train1,
-Move the path_corner infront of the scientists head,
-Then if you want it to be triggered make a trigger_once and set its target to laser1, so that when you walk through it, unless you want the scientists head to be blown of beforer the console window has lifted then you will neeed a trigger_once.

Also there are a few usefull tutorials:
http://cariad.co.za/twhl/tutorial.php?id=12 - the laser tutorial,

http://cariad.co.za/twhl/tutorial.php?id=10 - the func_train set up guide,

http://cariad.co.za/twhl/entityinfo.php?ent=env_laser&game=1 -the laser properties.

That should work, happy mapping.
Posted 20 years ago2004-09-14 13:27:31 UTC Post #59327
Thanks!
I'll try!
:)
Madcow MadcowSpy zappin my udder
Posted 20 years ago2004-09-14 15:20:49 UTC Post #59381
YOU DID IT G_KID!!
THANKS!
The map works now (as i want is to) thanks to you! :)
Thanks again G_KID!
:D
Madcow MadcowSpy zappin my udder
Posted 20 years ago2004-09-14 15:23:13 UTC Post #59386
No problem.
Posted 20 years ago2004-09-14 15:40:11 UTC Post #59403
Out of curiosity what is the map based on?
Posted 20 years ago2004-09-14 15:43:46 UTC Post #59409
I mean what would you need to decapitate a scientist for? :D
Posted 20 years ago2004-09-14 15:45:32 UTC Post #59411
Oh.
Its a mod!
Your a laber named Gordon Freeman( :P )
And it is based on puching buttons and so on..
And some times something bad happens. (like the scientist with the laser in the head)
But it's a noob mod.
I am just trying to see how to script things.
So there is many scripted sequences and sentences.

May I ask an other question? :)
If i may, I really wonder how to make the laser go from corner1 to corner2.
I tryed to fix it but failed.
:)
(sorry for wrong spelled English)
/.Madcow [The Really Mad One]
Madcow MadcowSpy zappin my udder
Posted 20 years ago2004-09-14 15:52:23 UTC Post #59419
What do you mean corner to corner?
If you mean to move, then it's just setting the speed slower so you can see it moving, and set the next stop target for the train to a path_corner then set the target for the path_corner to the next one.

If you want a laser to go around a corner, then it is just two lasers one at the beginning and one where the first ends.
Posted 20 years ago2004-09-14 16:12:20 UTC Post #59430
If the scientist is not moving, you can use an info_target instead of func_train, etc.
Posted 20 years ago2004-09-14 16:13:24 UTC Post #59432
you could just use an info_target it you want it to stay still...
Posted 20 years ago2004-09-15 07:50:16 UTC Post #59525
Hmm..
Can't make it swich.
Something is wrong.
Don't really know what. :S
Do I have to change any option on the funk train thing or do I just have to write the name of the corner2 in Next stop, in corner1.
Madcow MadcowSpy zappin my udder
Posted 20 years ago2004-09-15 08:01:11 UTC Post #59527
Err,,?
Sorry.
I don't really know how to do that.. ( >_< )
Do I have to make a new train..? or what?
:zonked:
Madcow MadcowSpy zappin my udder
Posted 20 years ago2004-09-15 08:28:36 UTC Post #59532
nah. just cant get it to work. :(
I did setup every thing in the path_corner propeties.
:
Madcow MadcowSpy zappin my udder
Posted 20 years ago2004-09-15 08:32:05 UTC Post #59533
Then tell us exactly what you filled in and where, otherwise we can't help you either...

Oh, perhaps this helps more?
http://collective.valve-erc.com/index.php?ent=path_corner

That should really be clear enough, it even comes with an example map and references to the other entities involved.
You must be logged in to post a response.