HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

New race

12-18-2002, 09:59 AM#1
rodeo
Did you guys ever tried to add a race, instead of replacing one? If so, I'd be curious to hear your experiences with it.
12-18-2002, 01:02 PM#2
Zanmato
We only replaced them but it will be fun trying to add new teams:ggani:
12-18-2002, 04:20 PM#3
RightField
actually i tried adding new ones but it seems a bit difficult. You have to edit some framedefs, or maybe even edit the exe but i don't think so. I can fix the framdefs allright but i can't seem to make it work.
12-18-2002, 09:04 PM#4
rodeo
so, what exactly was the problem? We want to add a fifth playable race, and are a bit stuck with this. Over at warcraftiii.net, project ROR has the same problem, and they are also stuck...
12-18-2002, 09:10 PM#5
Nogumari
Oh my, well if you can rename a race then just copy and paste an old race in the same directory, rename it, and thats all I can think of.

Shouldnt that work?
12-18-2002, 09:21 PM#6
nicoli_s
addign a new race is more complicated than just the framedefs, it is hardcoded into the dll, at leas tthe buttons and some other stuff
12-19-2002, 04:33 PM#7
Nogumari
I know it would take long, but if you don't want to waste time just begin your own .mpq .
12-19-2002, 11:05 PM#8
Guest
Maybe you could make it so you select a race at the begining by entering a circle of power wich would create 4 workers and the main building for that race which would allow you to add more races just you wouldn't chose what your are where you join the game before it loads.:gsmile:
12-20-2002, 07:30 AM#9
rodeo
sounds interesting...

someone should give that a try... So, in fact, you would have 2 "human" races in the mpq, and your choice in the beginning would define which one is active?

Of course, some code could replace your choosing action...
12-20-2002, 08:29 PM#10
Nakou the Saiyan
If your going to do that, make sure you put a trigger in there that doesnt allow the game to start until everyone has chosen their race, otherwise it wouldnt be fair now would it
12-20-2002, 11:15 PM#11
AlexBS
but then u can have more than 3 heroes or else you cant get another trust me ive tried it o and about the beacons heres a really cheap map that did that
12-21-2002, 04:27 PM#12
Nakou the Saiyan
Heroes are no problem, simply edit the Melee Game Triggers in the "scripts\blizzard.j" file. You can edit it in Notepad.

Change "constant integer bj_MELEE_HERO_LIMIT = 3"

to "constant integer bj_MELEE_HERO_LIMIT = 6"

and you will have enough heroes for two races worth. However take this into account, this will let each race have up to six. However it doesn't really matter since they will only be able to get three each (you are only letting them get three).

This works, I have done it plenty of times. I was working on a mod back when I was heavy into WC3 editing (when it first came out) that added 4 or 5 units to each race and a new hero... so um yeah enjoy. :gsmile:
12-28-2002, 11:50 PM#13
Guest
Yes i want to thanks every body for your work... and ask you like many people can work on a solution to add the news races and not replace because can play on the net with 10 races a final battle is a dream i want to realise on day if ti possible !

Thanks all the programers for their work and happy christmas :)
01-01-2003, 05:44 PM#14
ESPER_PALE
Have anyone ever seen this?
http://www.wc3campaigns.com/forums/s...&threadid=5750

I have made a mod which have 8 races. And not any native code cracking. You can realize how to make it from my mod's source.
01-01-2003, 05:57 PM#15
RightField
Ok, thanks I will take a look at the source but i can't say that i'm going to convert into adding 3 races instead since then i have to remake all the units as custom units (since now they're overwriting the normal ones, mostly) and the AI won't work if i do. So i prefer the way it is now.