Introduction:
This template is a modified warcraft3. It allows you to add more than 4 race to Warcraft without replacing any of the default elements. Completely playable on Lan with any melee map. (havn’t test it on BNet yet)
I developed it for my Mod(unfinished). And I’m hoping this template could inspire people around the global to create more interesting and innovative Mods
Basically, it has 3 features:
1. It allows War3 to load an additional MPQ while executing.
2. In this template, I crack the item amounts limitation of HandicapMenu and use it to replace the RaceMenu. Now you can add extra items to the new RaceMenu as your custom race slot.(Theoretically it support 100 items max).
SELECTABLE EXTRA ITEMS
3. With this template, you can even create a whole new pack of UIs to your own race and there will be no conflicts between yours and Blizzard’s default. Each race’s UI can be stored independently. 100 different races = 100 different UIs
I HAD CHOSEN RACE_5, LOOK AT THE CURSOR.
(NOT JUST UI, CUSTOM WARNING SOUND AND LOADING SCREEN CAN
ADDED AS WELL!)
HOW TO INSTALL/USE: [for 1.26.0.6410]
1.Copy these files to your Warcraft III directory: (Don't forget to backup the original Game.dll first!)
Race.mpq - Custom appended MPQ
Game.dll - A Modified Game.dll(1.26a)
UserInterface - This folder contains custom UI packages.
(‘1.mpq’ contains UI files that used by Race 1(Human), the first slot of RACEMENU;
‘2.mpq’ is the UI for Race 2(Orc), the second slot of RACEMENU;
And so on… )
*I only change the cursor for a demonstration*
[ If you just want to test it, ignore Step 2 & 3. ]
2. Any in-game jass instructions should be seen at the bottom of ‘Blizzard.j’ (inside Race.mpq).
[3].’Sample\handicap2.w3x’ - A sample map that shows you how to get your chosen race by handicap in game. Since I have included the scripts in Blizzard.j, it become unnecessary
KNOWN BUG:
1. The ‘Random’ item on the new RaceMenu don’t have proper UI.
** I honestly don't know how to determine which UI should be loaded BEFORE THE GAME when player select the Random item(currently the random race generation process is IN THE GAME), but if I switch the process to BEFORE THE GAME, and then I don’t know which race should be created IN THE GAME! I've tried using JAPI to pass the value into the game but it will cause multi-player disconnecting (Because the value is local, use it at multi-player will cause momery data synchronization) which is SUUUPER annoying!!! SO YEA, I'm devastated **
2. Custom UI might not presented correctly when user run maps that have force1, force2.
3. Might be incompatible with 64bit OS, for now.
IN Further Improvements:
*Remove the 8M limit of max map file size.
*Add JAPI support, better make the data can be exchange via Lan.
*Rewrite it into loader+dll, best way to solve the 64 bit OS problem and coding in asm really makes me hell of a headache =)
Credits:
* Thanks Aeris, ESPER_PALE, especially Aeris for the asm help he gave me during the debugging process of Game.dll.
* If you encounter any bug, pls send me an email: [email protected]
GL&HF!
-fucckz
Here is the VirusScan:
This template is a modified warcraft3. It allows you to add more than 4 race to Warcraft without replacing any of the default elements. Completely playable on Lan with any melee map. (havn’t test it on BNet yet)
I developed it for my Mod(unfinished). And I’m hoping this template could inspire people around the global to create more interesting and innovative Mods
Basically, it has 3 features:
1. It allows War3 to load an additional MPQ while executing.
2. In this template, I crack the item amounts limitation of HandicapMenu and use it to replace the RaceMenu. Now you can add extra items to the new RaceMenu as your custom race slot.(Theoretically it support 100 items max).
SELECTABLE EXTRA ITEMS
3. With this template, you can even create a whole new pack of UIs to your own race and there will be no conflicts between yours and Blizzard’s default. Each race’s UI can be stored independently. 100 different races = 100 different UIs
I HAD CHOSEN RACE_5, LOOK AT THE CURSOR.
(NOT JUST UI, CUSTOM WARNING SOUND AND LOADING SCREEN CAN
ADDED AS WELL!)
HOW TO INSTALL/USE: [for 1.26.0.6410]
1.Copy these files to your Warcraft III directory: (Don't forget to backup the original Game.dll first!)
Race.mpq - Custom appended MPQ
Game.dll - A Modified Game.dll(1.26a)
UserInterface - This folder contains custom UI packages.
(‘1.mpq’ contains UI files that used by Race 1(Human), the first slot of RACEMENU;
‘2.mpq’ is the UI for Race 2(Orc), the second slot of RACEMENU;
And so on… )
*I only change the cursor for a demonstration*
[ If you just want to test it, ignore Step 2 & 3. ]
2. Any in-game jass instructions should be seen at the bottom of ‘Blizzard.j’ (inside Race.mpq).
[3].’Sample\handicap2.w3x’ - A sample map that shows you how to get your chosen race by handicap in game. Since I have included the scripts in Blizzard.j, it become unnecessary
KNOWN BUG:
1. The ‘Random’ item on the new RaceMenu don’t have proper UI.
** I honestly don't know how to determine which UI should be loaded BEFORE THE GAME when player select the Random item(currently the random race generation process is IN THE GAME), but if I switch the process to BEFORE THE GAME, and then I don’t know which race should be created IN THE GAME! I've tried using JAPI to pass the value into the game but it will cause multi-player disconnecting (Because the value is local, use it at multi-player will cause momery data synchronization) which is SUUUPER annoying!!! SO YEA, I'm devastated **
2. Custom UI might not presented correctly when user run maps that have force1, force2.
3. Might be incompatible with 64bit OS, for now.
IN Further Improvements:
*Remove the 8M limit of max map file size.
*Add JAPI support, better make the data can be exchange via Lan.
*Rewrite it into loader+dll, best way to solve the 64 bit OS problem and coding in asm really makes me hell of a headache =)
Credits:
* Thanks Aeris, ESPER_PALE, especially Aeris for the asm help he gave me during the debugging process of Game.dll.
* If you encounter any bug, pls send me an email: [email protected]
GL&HF!
-fucckz
Here is the VirusScan:
Attachments
Last edited: