Post by angelarmageddon on Sept 16, 2018 14:11:36 GMT
(1.Yes, Im new here. 2. Yes, I know there are many other thread that talk about mods, or modding. But I decided to make a new thread because it appears that many of said mod threads are years old.)
I need help in modding a modded version of WC3, that's known as World of Iron 3: Critical Weaopon
What I want to do is add a new General into the game.
I searched YT and Google, but almost nothing related to my question came up, except this YT video:
Its a nit poorly made, but it helped me understand the basics.
(Scroll to bottom to see my problem. The rest is context)
Open the .apk as a .zip file.
Go to assets>json>CommanderSettings.json
Copy and paste any general info at the bittom.
Change the photo that the file will use to the photo you want to use for your general, as well as the name, and the Id to the appropriate number.
Go back to the json folder and then go to smallheads.png and (using a computer program) add in the photo you plan to use for your general, and set the scale of it to 50/50, and get the coordinates of where the photo is.
Then go to smallheads.xml and add those coordinates, as well as the head_yourgeneralname.
Go back to the json folder, scroll down till you see stringtable_cn.ini and stringtable_en.ini
Go in both scroll down untill you see text2_commandername_ and copy and past the general you used earlier. Make sure the Id of your general match the number you edit here.
In _cn.ini the names are in Chinese (for me) but to the same, but the name doesn't matter here.
Exit the json folder and scroll up to the images folder. Go images>heads This is where you will add in your generals .png file. Make sure its 150/150.
Also make sure that the files name matches the name in the code above, or it won't work.
So far as I know, thats pretty much it, and save it all and overwrite each file.
And thats what I did here.
However, (I'm using an Android emulator on my laptop NexPlayer) when I install the .apk, and start the game up, all the General portraits are gone, and when I click the general schools wherw you go to buy Generals, or when I choose a starting general in the HQ, the game crashes.
So far, I don't understand what I did wrong.
And could someone smarter than me explain what I did wrong?
I need help in modding a modded version of WC3, that's known as World of Iron 3: Critical Weaopon
What I want to do is add a new General into the game.
I searched YT and Google, but almost nothing related to my question came up, except this YT video:
Its a nit poorly made, but it helped me understand the basics.
(Scroll to bottom to see my problem. The rest is context)
Open the .apk as a .zip file.
Go to assets>json>CommanderSettings.json
Copy and paste any general info at the bittom.
Change the photo that the file will use to the photo you want to use for your general, as well as the name, and the Id to the appropriate number.
Go back to the json folder and then go to smallheads.png and (using a computer program) add in the photo you plan to use for your general, and set the scale of it to 50/50, and get the coordinates of where the photo is.
Then go to smallheads.xml and add those coordinates, as well as the head_yourgeneralname.
Go back to the json folder, scroll down till you see stringtable_cn.ini and stringtable_en.ini
Go in both scroll down untill you see text2_commandername_ and copy and past the general you used earlier. Make sure the Id of your general match the number you edit here.
In _cn.ini the names are in Chinese (for me) but to the same, but the name doesn't matter here.
Exit the json folder and scroll up to the images folder. Go images>heads This is where you will add in your generals .png file. Make sure its 150/150.
Also make sure that the files name matches the name in the code above, or it won't work.
So far as I know, thats pretty much it, and save it all and overwrite each file.
And thats what I did here.
However, (I'm using an Android emulator on my laptop NexPlayer) when I install the .apk, and start the game up, all the General portraits are gone, and when I click the general schools wherw you go to buy Generals, or when I choose a starting general in the HQ, the game crashes.
So far, I don't understand what I did wrong.
And could someone smarter than me explain what I did wrong?