Post by Général De Gaulle on Dec 1, 2018 23:32:33 GMT
So, it's time for me to teach World Conqueror 2 Modding
I/Add unit on a province, change province owner
II/Extend/Reduce Map size & Other
I/Add unit on a province, change province owner
First of all, WC2 missions & conquests are not organised like WC3 (Missions & conquests is a XML file instead of BTL file)
You see there two file :
conquest_3.bin determine the map size of the conquest
conquest_3.xml is where you will organize the country, unit
Let's go first see conquest_3.xml
This picture shows the country line. For example : USA
"am" is the mark of USA. To make a province owned by USA, put "am". For France, "fr" & for England "gb"
Patton is the commander of the USA in the map
USA is destroyed if you take all their land
Starting money : 500 & starting industry : 260
USA is on the alliance "b"
RGBA : represent the color of US province. In this case, it's green
Let's see how province are organised
This picture show two provinces owned by England (gb) & Canada (ca)
In UK's province, there's not unit
A territory without unit always finish with />
If you don't do this, you will suffer the consequences of your error
In Canadian province, there's 3 artillery
After putting units in the province (4 per province), you have to always finish with </area>
To change province owner, only change for example country="gb" to country="fr"
Here is all the two-letter country:
am=USA
gb=UK
fr=France
es=Spain
pt=Portugal
it=Italy
de=Germany
ch=Swiss
be=Belgium
nl=Netherlands
hu=Hungary
pl=Poland
yu=Yugoslavia
gr=Greece
bg=Bulgaria
tr=Turkey
ru=Soviet Union
dk=Denmark
ca=Canada
jp=Japan
tw= Nationalist China/Taiwan/Republic of China
cn=Communist China/ Popular Republic of China
fl=Finland
no=Norway
se=Sweden
in=India
au=Australia
rk=South Korea
nk=North Korea
ro=Romania
mx=Mexico
II/Extend/Reduce Map size & Other
Now, let's go see Conquest_3.bin
(I know that you will say "WTF is this")
This represents the Map province (Each 01 represent a province)
A 01 province will be in the mission/conquest
A 00 province will not be in the mission/conquest
To make a province available, just change 00 to 01
But now the question is "Who is who ?"
"9b 07 00 00" the first 4 numbers doesn't count & DON'T TOUCH IT
the first 01 represent in fact the first province of the map
Here is the World Map of WC2 with province's ID
drive.google.com/file/d/1hxXZ1LX2721YaAwMlOCVb1uOOBTNiIiu/view?usp=sharing
That's it for the moment
If you have questions or need help other things, I will help
Général De Gaulle, à votre service !
I/Add unit on a province, change province owner
II/Extend/Reduce Map size & Other
I/Add unit on a province, change province owner
First of all, WC2 missions & conquests are not organised like WC3 (Missions & conquests is a XML file instead of BTL file)
You see there two file :
conquest_3.bin determine the map size of the conquest
conquest_3.xml is where you will organize the country, unit
Let's go first see conquest_3.xml
This picture shows the country line. For example : USA
"am" is the mark of USA. To make a province owned by USA, put "am". For France, "fr" & for England "gb"
Patton is the commander of the USA in the map
USA is destroyed if you take all their land
Starting money : 500 & starting industry : 260
USA is on the alliance "b"
RGBA : represent the color of US province. In this case, it's green
Let's see how province are organised
This picture show two provinces owned by England (gb) & Canada (ca)
In UK's province, there's not unit
A territory without unit always finish with />
If you don't do this, you will suffer the consequences of your error
In Canadian province, there's 3 artillery
After putting units in the province (4 per province), you have to always finish with </area>
To change province owner, only change for example country="gb" to country="fr"
Here is all the two-letter country:
am=USA
gb=UK
fr=France
es=Spain
pt=Portugal
it=Italy
de=Germany
ch=Swiss
be=Belgium
nl=Netherlands
hu=Hungary
pl=Poland
yu=Yugoslavia
gr=Greece
bg=Bulgaria
tr=Turkey
ru=Soviet Union
dk=Denmark
ca=Canada
jp=Japan
tw= Nationalist China/Taiwan/Republic of China
cn=Communist China/ Popular Republic of China
fl=Finland
no=Norway
se=Sweden
in=India
au=Australia
rk=South Korea
nk=North Korea
ro=Romania
mx=Mexico
II/Extend/Reduce Map size & Other
Now, let's go see Conquest_3.bin
(I know that you will say "WTF is this")
This represents the Map province (Each 01 represent a province)
A 01 province will be in the mission/conquest
A 00 province will not be in the mission/conquest
To make a province available, just change 00 to 01
But now the question is "Who is who ?"
"9b 07 00 00" the first 4 numbers doesn't count & DON'T TOUCH IT
the first 01 represent in fact the first province of the map
Here is the World Map of WC2 with province's ID
drive.google.com/file/d/1hxXZ1LX2721YaAwMlOCVb1uOOBTNiIiu/view?usp=sharing
That's it for the moment
If you have questions or need help other things, I will help
Général De Gaulle, à votre service !