Cruiser Command

Cruiser command is a cooperative map between two teams. Simply put, each team controls one battlecruiser and the goal is to kill the opponent's battlecruiser.


It is currently Thu Jan 17, 2019 12:57 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 


 Post subject: Yo Erik, need help
PostPosted: Sat Dec 26, 2015 10:19 pm 
User avatar
CCA
Joined: Sun Feb 24, 2013 6:00 pm
Posts: 582
Location: Canada
Wiki edits: 97
Offline
Hey Erik, I'm looking for a quick tutorial on banning someone from a SC2 map.

I'm guessing it has to do with finding a players real ID (the bank number) no clue how to do that

Then with a map init + player has ID#xxx, cause loss. Not sure what the Condition of a player ID would be though

_________________
WhyteDragon wrote:
"[...]As to what Caladbold said -- he's right.[...]"

Discord Server
Better replay suggestion
Merwins-island.dyndns.org Unofficial Teamspeak server.


Top
 Profile  
 

 Post subject: Re: Yo Erik, need help
PostPosted: Wed Dec 30, 2015 7:17 am 
User avatar
CCA
Joined: Wed Jan 23, 2013 6:00 pm
Posts: 241
Location: Baden-Württemberg, Germany, EU
Wiki edits: 0
Offline
Might as well do it as CC does it:
When you press "F12" to open Help, there is a section displaying all concurrent player's IDs.
You screenshot them and provide them to the map author to ban them.

Now as a map author you would just look up how to gather the SC2 ID,
how to create a section in "Help",
and how to export them as strings there.


Top
 Profile  
 

 Post subject: Re: Yo Erik, need help
PostPosted: Sat Jan 02, 2016 4:11 am 
User avatar
Creator
Joined: Sat Jun 16, 2012 5:00 pm
Posts: 1027
Location: In the SC2 Editor
Wiki edits: 115
Offline
In SC2, the ID is called "player handle". Assuming you have the player handle of the person you're trying to ban, you can just have a trigger on map init that loops through all the players and for all players, checks them against a list of banned players. If it matches, you end the game for them.

You'll have to hardcode the ban in and update the game to get the ban in effect.

_________________
Never ignore coincidence. Unless, of course, you’re busy. In which case, always ignore coincidence.


Top
 Profile  
 

Display posts from previous:  Sort by  

Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group