Page 1 of 1

Mod/script help please: My Control Room

Posted: Tue Mar 14, 2006 3:17 pm
by Ophisâ„¢
Hey,
I'm currently building a prision map and on this map i have a main control room. In this control room i have a fair few things already scripted and modded using tutorials/prefabs.

Currently In Control Room:
  • Two CCTV camera screens linked to 2 cams (copyed/pasted/edited from HERE)
    A switch to open multiple (prision) cell doors (copyed/pasted/edited from same as above)
    A switch to lock all cell doors
    A switch to trigger a trap door (copyed/pasted/edited from same as above)
now, i'm not brill with scripts, however i do understand the princable on how they work. Heres why/what i need help with.

1. I what my cameras to move, like you would see a real CCTV cam do. Now i don't mean so the user moves them, i mean like a set path to take. Lets say for example, turn left then countdown 10secs and move right again. (understand me? lol)

2. I have tryed and tryed again to do this tutorial (here) that makes a light able to be switched on/off. But no matter what i do it goes wrong and i do it by the book!! i wouldn't mind sombody explaining to me what all the foreign writing is saying where the script is on that page. (or maybe tell me it in basic so i understand the script as its not the best written tutorial yet only one about light switches.)

3. This isnt important but its worth asking init!
About the cams, in the test_cam file (that you can download from the first posted link) there is 2... now how would i go about scripting more? copy and paste but change the names from things like "cam2" to "cam3" ??


Cheers, any simple help on any matter at all would help.

THANK YOU DOT MAPPERS!

(p.s. any suggestions for things to go in a prision style map for use in the control room?)

light

Posted: Tue Mar 14, 2006 4:36 pm
by tltrude
Well, I think I can help with the light a little.

go read this thread:

/forum/viewtopic.php?t=6855

Posted: Tue Mar 14, 2006 9:36 pm
by Ophisâ„¢
Ok thanks i'll get right on it.


About the whole camrea moving thing.

can anyone give me an answer to this (at least a yes or no answer):

Is it possable to make the 2 cameras i have already in the map move by making them work alittle like a door. That way by a flick of a switch you can make the cam swing left/right and press again to do the opposite. I havn't a clue how to script this but i think that kind of things possable isnt it?!?! surely?

Thanks for reading the above at least.