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

War3:Source

General Discussion => War3: Source - General Discussion => Topic started by: Revan on January 15, 2012, 06:49:04 AM



Title: Race Categories
Post by: Revan on January 15, 2012, 06:49:04 AM
I added a simple race category system, grab it from the SVN.

HowTo:
1. You need to enable race categories
war3_racecats 1 / 0
2. Set Categories(remember, they will be refreshed either on mapchange or if u write war3_reloadcats in your server console)
So here's a little example, this will put fluttershy, rarity and rainbowdash in the My Little Pony category
war3 "fluttershy_category" "My Little Pony"
war3 "rarity_category" "My Little Pony"
war3 "rainbowdash_category" "My Little Pony"


Title: Re: Race Categories
Post by: Ownz on January 15, 2012, 11:46:26 AM
buck yeah


Title: Re: Race Categories
Post by: Schmarotzer on January 17, 2012, 11:44:35 AM
And how I can open these categories?
By pressing changerace?
I think that need to have separate command like racecats or something else


 ??? ??? ???


Title: Re: Race Categories
Post by: Revan on January 17, 2012, 11:48:22 AM
The Server owner need to choose between catted and un-catted. Set the cvar to 1 to activate racecats then just Open changerace and See the magic happen


Title: Re: Race Categories
Post by: iceman on January 21, 2012, 10:12:57 AM
So i need to add a category for every race? Just testing this out i only added a category for MLP races


Title: Re: Race Categories
Post by: Revan on January 21, 2012, 02:05:00 PM
yes, if cats are active, each race needs a category.(by default each race is under the cat default lol)
You want to do something like this?:
Undead
Human
Lich
Blood Hunter
...
...
My Little Pony Races(when pressed shows all pownies?)


Title: Re: Race Categories
Post by: Ownz on January 21, 2012, 02:06:43 PM
like folders?

catagory
catagory
catagory
no catagory race
no catagory race
no catagory race
no catagory race


Title: Re: Race Categories
Post by: iceman on January 21, 2012, 02:33:16 PM
might just add them to right folder if its gonna be on the next release?


Title: Re: Race Categories
Post by: Glider⠠⠵ on January 22, 2012, 09:02:12 AM
Does it work like shopitem categorys (http://war3source.com/index.php?topic=866.0) or is it smarter than that  ;D?


Title: Re: Race Categories
Post by: Revan on January 22, 2012, 09:41:16 AM
*took quick look @ shopcats*
I don't use an adt array but they work pretty much the same :D


Title: Re: Race Categories
Post by: Glider⠠⠵ on October 06, 2012, 07:49:42 AM
Does somebody have an example cfg for the stock races?


Title: Re: Race Categories
Post by: Revan on October 09, 2012, 09:14:24 AM
I don't have a example for stock races, but here's mine(if you just want a example):

Code:
//Undeads
war3 undead_category "Undead"
war3 orc_category "Undead"
war3 hunter_category "Undead"
war3 sr_category "Undead"
war3 bh_category "Undead"
war3 naix_category "Undead"
war3 lich_o_category "Undead"
war3 crypt_category "Undead"
//Humans
war3 human_category "Humans"
war3 sacredw_category "Humans"
war3 hammerstorm_category "Humans"
war3 cd_category "Humans"
war3 warlock_category "Humans"
//Elves
war3 nightelf_category "Elves"
war3 warden_category "Elves"
war3 darkelf_o_category "Elves"
war3 luna_category "Elves"
//Dwarves
war3 mountain_category "Dwarves"
war3 kardel_category "Dwarves"
//Priests
war3 mage_category "Priests"
war3 succubus_category "Priests"
war3 priest_category "Priests"

// Configs are executed too late, we need to manually refresh categories...
war3_reloadcats