Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
Doors?

 
Post new topic   Reply to topic Printable version
 View previous topic  Big/Small shipsets Post :: Post From Bi to Mono Energy bars...  View next topic  
Author Message
tancred_
Newbie


Joined: Aug 03 2004
Posts: 1
Offline

PostPosted: Wed Aug 04, 2004 8:44 pm    Post subject: Doors? Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List
Solo Ace
Yeah, I'm in touch with reality...we correspond from time to time.


Age:38
Gender:Gender:Male
Joined: Feb 06 2004
Posts: 2583
Location: The Netherlands
Offline

PostPosted: Wed Aug 04, 2004 10:02 pm    Post subject: Reply to topic Reply with quote

Back to top
View users profile Send private message Add User to Ignore List
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Wed Aug 04, 2004 10:44 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Visit posters website
Donkano
Server Help Squatter


Gender:Gender:Male
Joined: Jul 02 2003
Posts: 763
Offline

PostPosted: Thu Aug 05, 2004 12:19 am    Post subject: Reply to topic Reply with quote

50% Packetloss made a doorbot plugin as well.

-Donkano
Back to top
View users profile Send private message Add User to Ignore List
Solo Ace
Yeah, I'm in touch with reality...we correspond from time to time.


Age:38
Gender:Gender:Male
Joined: Feb 06 2004
Posts: 2583
Location: The Netherlands
Offline

PostPosted: Thu Aug 05, 2004 2:00 am    Post subject: Reply to topic Reply with quote

Of course he did.
Back to top
View users profile Send private message Add User to Ignore List
50% Packetloss
Server Help Squatter


Age:40
Gender:Gender:Male
Joined: Sep 09 2003
Posts: 561
Location: Santa Clarita, California
Offline

PostPosted: Thu Aug 05, 2004 5:07 am    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Send email AIM Address
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Thu Aug 05, 2004 5:27 pm    Post subject: Reply to topic Reply with quote

Frick you 50%, why do you have to be so much cooler than me?
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Solo Ace
Yeah, I'm in touch with reality...we correspond from time to time.


Age:38
Gender:Gender:Male
Joined: Feb 06 2004
Posts: 2583
Location: The Netherlands
Offline

PostPosted: Thu Aug 05, 2004 6:15 pm    Post subject: Reply to topic Reply with quote

He dedicated his life to bot coding, you didn't, you loser, you.
Back to top
View users profile Send private message Add User to Ignore List
Game Warden
Newbie


Gender:Gender:Male
Joined: Jul 20 2004
Posts: 15
Location: Minnesota
Offline

PostPosted: Fri Aug 06, 2004 10:10 am    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Send email AIM Address
Solo Ace
Yeah, I'm in touch with reality...we correspond from time to time.


Age:38
Gender:Gender:Male
Joined: Feb 06 2004
Posts: 2583
Location: The Netherlands
Offline

PostPosted: Fri Aug 06, 2004 12:53 pm    Post subject: Reply to topic Reply with quote

He just told you how it works...
Back to top
View users profile Send private message Add User to Ignore List
Bak
?ls -s
0 in


Age:26
Gender:Gender:Male
Joined: Jun 11 2004
Posts: 1826
Location: USA
Offline

PostPosted: Fri Aug 06, 2004 2:30 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List AIM Address
Mr Ekted
Movie Geek


Gender:Gender:Male
Joined: Feb 09 2004
Posts: 1379
Offline

PostPosted: Fri Aug 06, 2004 3:15 pm    Post subject: Reply to topic Reply with quote

Code: Show/Hide
door 1 = 0000 0001
door 2 = 0000 0010
door 3 = 0000 0100
door 4 = 0000 1000
door 5 = 0001 0000
door 6 = 0010 0000
door 7 = 0100 0000
door 8 = 1000 0000

Bitwise OR them together. That's a single |.

_________________
4,691 irradiated haggis!
Back to top
View users profile Send private message Add User to Ignore List
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> LVZ/LVL Questions All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 31 page(s) served in previous 5 minutes.

phpBB Created this page in 0.459611 seconds : 37 queries executed (86.8%): GZIP compression disabled