B0MBER II Posted June 19, 2002 Share Posted June 19, 2002 How do i make useable switches that light up when their used with the use button (E) Link to comment Share on other sites More sharing options...
Grets Sirob Posted June 19, 2002 Share Posted June 19, 2002 I think it's a shader... Other than that, I have no idea... Mesa stupid! Link to comment Share on other sites More sharing options...
B0MBER II Posted June 19, 2002 Author Share Posted June 19, 2002 Anyone Anyone? Link to comment Share on other sites More sharing options...
B0MBER II Posted June 20, 2002 Author Share Posted June 20, 2002 bump Link to comment Share on other sites More sharing options...
B0MBER II Posted June 20, 2002 Author Share Posted June 20, 2002 bump Link to comment Share on other sites More sharing options...
Xcom Posted June 20, 2002 Share Posted June 20, 2002 For SinglePlayer or Multiplayer? And btw, what do you need the switch for? Link to comment Share on other sites More sharing options...
B0MBER II Posted June 21, 2002 Author Share Posted June 21, 2002 sp and for a door Link to comment Share on other sites More sharing options...
Xcom Posted June 21, 2002 Share Posted June 21, 2002 create 2 func_usables (that'll be a switch). Now, apply "switch off" textures to 1 func_usable and and "switch on" texture to the other. Make that one with OFF texture start off (by clicking "startoff box in the entity window"). Also, give them both the same targetname, ie: "switch1". Then you can put a trigger_multipe (mark player_use box in the entity view) in front of your switch connected to target_scriptrunner.This scriptrunner should run the short script, smth like this: use ("switch1"); // code to open the door wait (3000); use ("switch1"); This script will basically toggle 2 func_usables making an effect of a switch activating. Link to comment Share on other sites More sharing options...
RichDiesal Posted June 21, 2002 Share Posted June 21, 2002 Or if you want the much more complicated way that doesn't involve scripting, follow the Switches tutorial on my tut website. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.