- Joined
- Aug 11, 2018
- Messages
- 82
Try to make custom campaigns in Reforged
Hello everyone, I am a user of World Editor from China Forum. I have been researching custom campaigns for a while, and this is my latest result. Here are four examples of custom campaigns I added. Their tabs are behind the Rexxar campaign. In general, these contents are completed by...
www.hiveworkshop.com
In the previous post I modified [war3.w3mod\ui\campaigninforeforged.txt] to add a new official campaign, and modified [war3.w3mod\webui\gluemanager.js] to add media support for the new official campaign. By modifying these two files, we have approximately added custom campaign functionality.
As you probably know,[war3.w3mod\webui\index.html] is the main menu page, and [war3.w3mod\webui\gluemanager.js] manages the style and logic of the main menu.
If you extract the entire webui folder locally, you can even open it with a browser, you can turn on the developer mode of the browser and try editing the CSS, or try doing something with the console.
I think [gluemanager.js] has great potential, but I am not a professional web engineer, I think I may not be able to make good use of this file.
Recently, Blizzard released 1.33 with a ladder feature. I started re-reading [gluemanager.js] and found the following code. ↓
I don't really understand how this code works, but I'm guessing it's reading the leaderboard data.
So, I guess here we might be able to add some code to get and send the celestial leaderboard data to a local location, organized into Excel or a database?
I wish I had the chance to implement a site like wc3maps.com, but counting ladder data instead of custom maps.
I'm not a professional programmer, I've only learned a little basics of C, JAVA, Python, HTML+CSS+Javascript in college courses.
Anyway, if you are interested in this, please let me know.
Attachments
Last edited: