Archived copy of war3source.com, the War3Source forum (2009–2020), rebuilt from the Internet Archive by wc3mods.net. This page was captured on 2012-09-22 (original capture). Forum · All archived topics · Wiki · Bug tracker · Blog
Chat

War3:Source
September 21, 2012, 09:44:14 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Download: http://war3source.com/index.php?board=9.0
What is War3Source?: http://war3source.com/index.php?topic=200.0
Sample Stats: http://war3source.com/war3stats
Steam Community Group: http://steamcommunity.com/groups/war3source
War3Source SVN Checkout: http://ownageclan.com/svn/war3source/
War3Source servers: http://www.game-monitor.com/search.php?vars=war3_version=
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Race Restrictions per Map  (Read 1561 times)
Revan
Sr. Member
****
Posts: 263



View Profile
« on: August 10, 2011, 12:12:55 PM »

Race Map Restrictions
- Restricts races on a specific map

New Server Command:
war3_reloadmapcfg - will reload the current map config file

If this W3S Addon is loaded it will create a war3source/maps folder(in gamemodfolder/cfg/war3source/<mapname>.cfg) + a .cfg file for each map
If you want to restrict for example Corrupted Disciple for scoutknives cause it has strong AoE damage, just open up the map (ex. cfg/war3source/maps/scoutknivez.cfg)
make a new line and enter the shortname of Corrupted Disciple (cd)
IMPORTANT: Only one race shortname is allowed per line

Example:
Code:
// www.war3source.com - Race Map Restrictions :: config for: scoutknivez.cfg
undead
cd
human
idk
ownz
« Last Edit: August 10, 2011, 03:34:14 PM by Ownz » Logged

Ownz
Developer
Administrator
Hero Member
*****
Posts: 2032



View Profile WWW Email
« Reply #1 on: August 10, 2011, 03:34:24 PM »

edited post, see if its correct
Logged

DarkEnergy
Ownz
Developer
Administrator
Hero Member
*****
Posts: 2032



View Profile WWW Email
« Reply #2 on: August 10, 2011, 03:46:46 PM »

just use MAXRACES instead of getting the count from W3 get race list or racesloaded


i just made a new system of denying races

http://ownageclan.com/websvn/comp.php?repname=war3source&compare[]=%2F%40451&compare[]=%2F%40449

basically you hook the "deny event" like NoSpySuicide addon and call W3Deny() if you want to deny it
« Last Edit: August 10, 2011, 04:04:45 PM by Ownz » Logged

DarkEnergy
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!