Thread: (WIP) FF_phantom
View Single Post
Old 10-15-2008, 05:18 PM   #12
Gator-
FF God
 
Gator-'s Avatar
 
Join Date: May 2007
Location: TX
Class/Position: Scout O, Medic O, Demo D/O, Soldier D
Gametype: CTF 4v4
Affiliations: [milkwood] ( GoodFellas )
Posts Rated Helpful 1 Times
Send a message via AIM to Gator- Send a message via MSN to Gator- Send a message via Yahoo to Gator-
My friend, you don't have to know anything about lua.

Open notepad and add this line:

IncludeScript("base_shutdown");

save it as ff_yourmapname.lua

The rest is all in hammer..
create a func button, name it blue_button
create a trigger_hurt, name it blue_laser_hurt
make env_beams and name them all
create an ambient_generic, name it, give it ambient/shutdown/generator_down.wav
create an ambient_generic, name it, give it
ambient/shutdown/generator_up.wav

Go back to your func_button and modify all the necessary target entities for TURN ON/OFF, DISABLE/ENABLE, PLAYSOUND, SHOWSPRITE/HIDESPRITE [in the output tab]. This is all basic hammer skills, no lua needed (just proper naming). If you can't figure it out (I want you to learn how to do it ), I'll upload a red/blue security for you. Please attempt it and then come back and give me an update whether you need it or not.

Last edited by Gator-; 10-15-2008 at 05:24 PM.
Gator- is offline   Reply With Quote