Author |
Message |
tancred_ Newbie
Joined: Aug 03 2004 Posts: 1 Offline
|
Posted: Wed Aug 04, 2004 8:44 pm Post subject: Doors? |
 |
|
|
|
aright, feel like a newbie map builder but, that's cause, i am, now, how do i make doors? lol, i'll figure out how to make a bot that'll open em and close em but how do i make doors? im using ssme btw |
|
Back to top |
|
 |
Solo Ace Yeah, I'm in touch with reality...we correspond from time to time.

Age:38 Gender: Joined: Feb 06 2004 Posts: 2583 Location: The Netherlands Offline
|
Posted: Wed Aug 04, 2004 10:02 pm Post subject: |
 |
|
|
|
 |
|
Back to top |
|
 |
Cyan~Fire I'll count you!

Age:37 Gender: Joined: Jul 14 2003 Posts: 4608 Location: A Dream Offline
|
Posted: Wed Aug 04, 2004 10:44 pm Post subject: |
 |
|
|
|
You can open/close doors with ?set Door:DoorMode. Or you can be lazy (or not sysop) and use my plugin. _________________ This help is informational only. No representation is made or warranty given as to its content. User assumes all risk of use. Cyan~Fire assumes no responsibility for any loss or delay resulting from such use.
Wise men STILL seek Him. |
|
Back to top |
|
 |
Donkano Server Help Squatter
Gender: Joined: Jul 02 2003 Posts: 763 Offline
|
Posted: Thu Aug 05, 2004 12:19 am Post subject: |
 |
|
|
|
50% Packetloss made a doorbot plugin as well.
-Donkano |
|
Back to top |
|
 |
Solo Ace Yeah, I'm in touch with reality...we correspond from time to time.

Age:38 Gender: Joined: Feb 06 2004 Posts: 2583 Location: The Netherlands Offline
|
Posted: Thu Aug 05, 2004 2:00 am Post subject: |
 |
|
|
|
Of course he did. |
|
Back to top |
|
 |
50% Packetloss Server Help Squatter

Age:40 Gender: Joined: Sep 09 2003 Posts: 561 Location: Santa Clarita, California Offline
|
Posted: Thu Aug 05, 2004 5:07 am Post subject: |
 |
|
|
|
Doors are given 1 bit each for a total of 8 bits. The least signigicant bit (right most) is door number 1 and the left most door tile on your tileset.
To turn on door 1 you would do ?set door:doormode:1 because 00000001 binary = 1 decimal. If you just wanted door 2 then you would do 00000010 binary = 2 decimal. Use windows caculator to do binary math, or you could do it in your head if you know binary. Doors are either open, closed or random. So in all, you use a char in C++ to represent all 8 doors and then you use bitshifting and bitwise operators to do the rest. So to close all doors ?set door:doormode=255 and to open them all ?set door:doormode:0 |
|
Back to top |
|
 |
Cyan~Fire I'll count you!

Age:37 Gender: Joined: Jul 14 2003 Posts: 4608 Location: A Dream Offline
|
Posted: Thu Aug 05, 2004 5:27 pm Post subject: |
 |
|
|
|
Frick you 50%, why do you have to be so much cooler than me? |
|
Back to top |
|
 |
Solo Ace Yeah, I'm in touch with reality...we correspond from time to time.

Age:38 Gender: Joined: Feb 06 2004 Posts: 2583 Location: The Netherlands Offline
|
Posted: Thu Aug 05, 2004 6:15 pm Post subject: |
 |
|
|
|
He dedicated his life to bot coding, you didn't, you loser, you. |
|
Back to top |
|
 |
Game Warden Newbie
Gender: Joined: Jul 20 2004 Posts: 15 Location: Minnesota Offline
|
Posted: Fri Aug 06, 2004 10:10 am Post subject: |
 |
|
|
|
They still make it a little to hard....if you download FACTS from subspacedownloads.com it has a handy file that tells you the right numbers to open and close certain doors using the ?set door:doormode=0-255 _________________ Guns dont kill people, People kill people
quote(:UNKNOWN:) only in SS is "chair" a leet name. |
|
Back to top |
|
 |
Solo Ace Yeah, I'm in touch with reality...we correspond from time to time.

Age:38 Gender: Joined: Feb 06 2004 Posts: 2583 Location: The Netherlands Offline
|
Posted: Fri Aug 06, 2004 12:53 pm Post subject: |
 |
|
|
|
He just told you how it works... |
|
Back to top |
|
 |
Bak ?ls -s 0 in

Age:26 Gender: Joined: Jun 11 2004 Posts: 1826 Location: USA Offline
|
Posted: Fri Aug 06, 2004 2:30 pm Post subject: |
 |
|
|
|
just think of it as powers of two
say door y is closed and you want it open.
step one ?get door:doormode
write this down let's call it x
then do 2^y and add this to x and let's call this z
type ?set door:doormode:z
doesn't get much easier than that |
|
Back to top |
|
 |
Mr Ekted Movie Geek

Gender: Joined: Feb 09 2004 Posts: 1379 Offline
|
|
Back to top |
|
 |
|