Hi!
Remember last time I ask for something to be done. A player hits wrong button, a guy comes and kills the player, and kicks him out of the game?
Well, I know now what will happen exactly.
The player presses one of the following 4 switches, then a 10 second delay...
This guy materializes at this point (with particles) and then moves to... Oh, too many to count... But it won't be straight lines. It will be like he checks out his home.
I had the thought of you find this place that belongs to a Guy. Now he has put alarms on 4 essantial switches: a light switch, a phone switch, and 2 for the phone booth. You see, he has kids, and they can take care of themselves. But sometimes they are curious to see if they can make long distance calls with the phone. And that phone is a secret phone to some friends that the Guy is doing deals with. And he doesn't want his kids to mess it up for him. So he's on holiday, they press button, and his beeper goes and he dashes home and sees what is going on! Now why the light? Well, he wants to keep his underground home a secret. And of course, the light can give a flear, and then people will get curious and probebly hack at the walls to get in.
Now... Here's a plan of the home.
+ - | = walls
: = stairs
; = one step up ledge
_ = window out where the light is
\ = exit entrance
E = elevator
= = teleporter pannel
C = chair
* = door
@ = power core, home made power
£ = phone booth
' = light switch
x = phone booth switch for opening/closing
0 is starting point, where he materializes.
Then he will look in the direction of 1 for a second. Then turn and walk to 2 and looks through the door for a second. Then move on to 3 and looks through the door. Then number 4 and door to the left. Then Open the door infront of him and look in the direction of 5. If booth is open, then press switch to close it. Then to position 6 and looks towards the window. If the light is on, then turn it off with his weapon. Then off to 7 and if elevator is down, he uses his weapon to press the switch to bring it up. Then down the elevator, and to 8 and takes a look around. Then to 9 and looks. This is the kitchen. And if the water is running, turn it off. No one home? Then return to the starting point and activate the teleporting pannel, and dissapears (with particles).
Now here comes the tricky part... If he sees a player, and player=host, then he will put away his weapon and take up a book. Yes, linking book, so what? Anyway, takes up book, wants host to touch the book. If no activation after 10 seconds, then he looks disapointed, and walks to starting point and disappears. If host activates him again, he turns and holds up the book. If you activate him with book open, then you get teleported to a new place. I'll choose the position. If host damages the guy, then he pulls out weapon and kills host. Then gets kicked out of the game, taking everyone else with him!
If Guy sees player, and player!=host, quickly fire weapon, kill player, and a second later kick him out of the game.
OK... BIG COG! Please put plenty of comments explaining what happens here, because I don't know that much COG.
Thanks...
/Edward
Remember last time I ask for something to be done. A player hits wrong button, a guy comes and kills the player, and kicks him out of the game?
Well, I know now what will happen exactly.
The player presses one of the following 4 switches, then a 10 second delay...
This guy materializes at this point (with particles) and then moves to... Oh, too many to count... But it won't be straight lines. It will be like he checks out his home.
I had the thought of you find this place that belongs to a Guy. Now he has put alarms on 4 essantial switches: a light switch, a phone switch, and 2 for the phone booth. You see, he has kids, and they can take care of themselves. But sometimes they are curious to see if they can make long distance calls with the phone. And that phone is a secret phone to some friends that the Guy is doing deals with. And he doesn't want his kids to mess it up for him. So he's on holiday, they press button, and his beeper goes and he dashes home and sees what is going on! Now why the light? Well, he wants to keep his underground home a secret. And of course, the light can give a flear, and then people will get curious and probebly hack at the walls to get in.
Now... Here's a plan of the home.
Code:
+-------------------+ | | | £££ | | £££££ | | £££ | | 5 | +-----+-+-*x+-+-----+ | * 4 | | | | | | +-+ 3 * | | | | | | * 2 | | +-------------+-+ +-+-+ +--------+ ' C6 | | | |CC CC +----------+ +-=----+ @@ | |CC CC |7 01:::: @@@@ | +________+-+-------------------+ @@ | +E+ | | +-+ +--------+ +-++ +----+ |9* 8 | | | | | | | | |;;;;;;;\ +-+-------+
+ - | = walls
: = stairs
; = one step up ledge
_ = window out where the light is
\ = exit entrance
E = elevator
= = teleporter pannel
C = chair
* = door
@ = power core, home made power
£ = phone booth
' = light switch
x = phone booth switch for opening/closing
0 is starting point, where he materializes.
Then he will look in the direction of 1 for a second. Then turn and walk to 2 and looks through the door for a second. Then move on to 3 and looks through the door. Then number 4 and door to the left. Then Open the door infront of him and look in the direction of 5. If booth is open, then press switch to close it. Then to position 6 and looks towards the window. If the light is on, then turn it off with his weapon. Then off to 7 and if elevator is down, he uses his weapon to press the switch to bring it up. Then down the elevator, and to 8 and takes a look around. Then to 9 and looks. This is the kitchen. And if the water is running, turn it off. No one home? Then return to the starting point and activate the teleporting pannel, and dissapears (with particles).
Now here comes the tricky part... If he sees a player, and player=host, then he will put away his weapon and take up a book. Yes, linking book, so what? Anyway, takes up book, wants host to touch the book. If no activation after 10 seconds, then he looks disapointed, and walks to starting point and disappears. If host activates him again, he turns and holds up the book. If you activate him with book open, then you get teleported to a new place. I'll choose the position. If host damages the guy, then he pulls out weapon and kills host. Then gets kicked out of the game, taking everyone else with him!
If Guy sees player, and player!=host, quickly fire weapon, kill player, and a second later kick him out of the game.
OK... BIG COG! Please put plenty of comments explaining what happens here, because I don't know that much COG.
Thanks...
/Edward