I've learned how to use banning in the SC1 editor, but that was because the players in game couldn't change color. I'm using regular beacons and units to go over them to ban someone, but since players can choose their colors, I don't know how to make it easier for people to ban who they want. Does anyone know how to make a more suitable ban system?
I'd try to make it via chat. Like you type "ban" and then hit enter. Then the next thing you type is the name of the guy you want to kick from the game. If a player gets more than a few votes you can make them leave the game. Debates has a system like this, maybe you could PM rodrigo for more info?
Rollback Post to RevisionRollBack
Feel free to Send me a PM if you have any questions/concerns!
I'm not totally sure. I thought you couldnt compare strings, but rodrigo did it so....Thats why I said to ask him. One way you could do it though is make it so when a player types "ban" a dialog with a button for each player shows up. When you press the button it adds to a variable for that player.
Rollback Post to RevisionRollBack
Feel free to Send me a PM if you have any questions/concerns!
u can also ban a player permanently by using bank files.
(for sure the player can delete the bank, so this only makes sens if you also save other data like highscores)
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I've learned how to use banning in the SC1 editor, but that was because the players in game couldn't change color. I'm using regular beacons and units to go over them to ban someone, but since players can choose their colors, I don't know how to make it easier for people to ban who they want. Does anyone know how to make a more suitable ban system?
@Vietman: Go
Just lock the colours in Player Property?
I'd try to make it via chat. Like you type "ban" and then hit enter. Then the next thing you type is the name of the guy you want to kick from the game. If a player gets more than a few votes you can make them leave the game. Debates has a system like this, maybe you could PM rodrigo for more info?
@zeldarules28: Go
How do you make it so that it works when you type the player's name?
I'm not totally sure. I thought you couldnt compare strings, but rodrigo did it so....Thats why I said to ask him. One way you could do it though is make it so when a player types "ban" a dialog with a button for each player shows up. When you press the button it adds to a variable for that player.
@zeldarules28: Go
I think I figured it out, but I'll ask again if I need extra help.
type player number.
-ban 1
show number in leaderboard
u can also ban a player permanently by using bank files. (for sure the player can delete the bank, so this only makes sens if you also save other data like highscores)