View Full Version : 1840 Asian Imperialism


jagdtigerXIV
Nov 30, 2006, 04:58 PM
Hey, i've never made a mod before and ive been looking around the forums and I think i got the hang of it... somewhat.

Im making an 1840 Asian Imperialism Scenario "mod". Its centred on East Asia, allowing you to play the Qing Dynasty, Imperial Russia, the British and French Empire Imperial Japan, and more.

Basically, i cant figure out how to make multiple leaders for the civilization in the Scenario, as well I cant figure out how to change colours of the civilization. Ive tried just copy/pasting "colour red" etc. in the Civilization XML files, but it didnt change it. Anybody know how?

Oh, and I want to use alot of units from the Chinese Unificaiton mod in Warlords, any easy way to do this? thanks for the feedback!

Chamaedrys
Dec 01, 2006, 08:28 AM
Basically, i cant figure out how to make multiple leaders for the civilization in the Scenario, as well I cant figure out how to change colours of the civilization. Ive tried just copy/pasting "colour red" etc. in the Civilization XML files, but it didnt change it. Anybody know how?

If you want NEW leaders you have to edit the CIV4LeaderHeadInfos.xml.
After you have created your new Leaders, open the CIV4CivilizationInfos.xml and put them in, i.e.:

You will found this for China:

<Leaders>
<Leader>
<LeaderName>LEADER_QIN_SHI_HUANG</LeaderName>
<bLeaderAvailability>1</bLeaderAvailability>
</Leader>
<Leader>
<LeaderName>LEADER_CHINESE_LEADER</LeaderName>
<bLeaderAvailability>1</bLeaderAvailability>
</Leader>
</Leaders>

and you change it to this:

<Leaders>
<Leader>
<LeaderName>LEADER_NEW_LEADER1</LeaderName>
<bLeaderAvailability>1</bLeaderAvailability>
</Leader>
<Leader>
<LeaderName>LEADER_NEW_LEADER2</LeaderName>
<bLeaderAvailability>1</bLeaderAvailability>
</Leader>
</Leaders>

The tags for the Player colour are in the civilizations.xml:

<DefaultPlayerColor>PLAYERCOLOR_YELLOW</DefaultPlayerColor>

Ok, now you want this civ to be red? Than change it to

<DefaultPlayerColor>PLAYERCOLOR_RED</DefaultPlayerColor>

or

<DefaultPlayerColor>PLAYERCOLOR_DARK_RED</DefaultPlayerColor>


Oh, and I want to use alot of units from the Chinese Unificaiton mod in Warlords, any easy way to do this? thanks for the feedback!

Your lucky, all new warlords units have are listed in the CIV4ArtDefines_Unit.xml. So you don't have edit that file.:)

jagdtigerXIV
Dec 02, 2006, 12:13 AM
Hey, thanks a lot. But I tried that colour change before and it didn't change them.

I think it might have had to do with the fact that I had already made the map/worldbuilder save, and expected them to just change. Would this do it?

Plus, as for the Chinese Units, so theres nothing more to add? They should just be in the units XML? Or is there any moving at all required?

Stargate
Dec 02, 2006, 09:24 AM
Hi jagdtigerXIV,

I like to help you to built civ4 version of 1840 Asian Imperialism mod :)
I love the story about China Qing Dynasty, Russia, British, French, Imperial Japan, etc around that time...The Opium War!
I have make a C3C version of it that have the leader name, city name, map, story...etc, some how it can contribute some infomation to your mod.
but i not yet learn to mod civ4, hopefully it will help you a lot :lol:

jagdtigerXIV
Dec 02, 2006, 04:27 PM
That would be awesome! I have some information already, but id love to get more information -- I've having trouble choosing a good leader for the Qing Dynasty in 1840s, they're all pretty pitiful. Same with Japan untill the Meiji restoration -- which is why I wanted to have one leader for pre-Meiji and one post-Meiji.