Favorite Religion v0.2w

This mod provides the ability to make some leaders more historically accurate by helping the AI to pick a particular leader's state relig...

Download

Uploading...
Do not refresh or leave this page!

File Description

This mod provides the ability to make some leaders more historically accurate by helping the AI to pick a particular leader's state religion. This way Saladin can be hinted to pick Islam as his state religion and Christianity as Isabella's state religion.

Read More

Readme
Favorite Religion v0.2w
By: TheLopez

Patch Compatibility: Warlords v2.0.8.0
MP Compatible: ?

Description:
This mod provides the ability to make some leaders more historically accurate 
by helping the AI to pick a particular leader's state religion. This way 
Saladin can be hinted to pick Islam as his state religion and Christianity as 
Isabella's state religion.


Installation Instructions:

1) Unzip this into the "warlords_install_folder\Mods\" folder. 
2) Open the CivilizationIV.ini configuration file
3) Change the Mod line to read: Mod = Mods\Favorite Religion
4) Load the game. 
5) Then play as normal.


-----Game Play-----

- Most leaders have been given a favorite religion, the are:
	Alexander: [NONE]
	Asoka: Buddhism
	Augustus: Christianity
	Bismarck: Christianity
	Brennus: None
	Caesar: [NONE]
	Catherine: Christianity
	Churchill: Christianity
	Cyrus: [NONE]
	Elizabeth I: Christianity
	FDR: Christianity
	Frederick II: Christianity
	Gandhi: Hinduism
	Genghis Khan: Taoism
	George Washington: Christianity
	Hannibal: None
	Hatshepsut: [NONE]
	Huayna Capac: [NONE]
	Isabella: Christianity
	Ivan: Christianity
	Kublai Khan: Buddhism
	Louis XIV: Christianity
	Mansa Musa: Islam
	Mao Zedong: Buddhism
	Mehmed: Islam
	Montezuma: [NONE]
	Napoleon: Christianity
	Qin Shi: Taoism
	Ragnar: None
	Rameseese II: Islam
	Saladin: Islam
	Shaka: None
	Stalin: None
	Tokugawa: [NONE]
	Victoria: Christianity
	Wang Kon: Buddhism

  
-----Notes to Modmakers-----

If you want to use the Favorite Religion in your mod I have tried to make 
things as easy as possible for you. In the XML files I have added  
<!-- Favorite Religion Start --> and <!-- Favorite Religion End   --> in all of 
the places that I have made changes to the original files. 

In the SDK files I have added // < Favorite Religion Start > and 
// < Favorite Religion End  > in all of the places that I have made changes to 
the original files. 

In the Python files I have added # < Favorite Religion Start > and 
# < Favorite Religion End  > in all of the places that I have made changes to 
the original files. 

In order to provide hints to the AI of what a leaders favorite religion is new
tags similar to the favorite civic tags have been added. 

Last, several new methods have been exposed to the python layer in the 
CvLeaderHeadInfo class in order to allow getting and setting the favorite 
religion variables they are:
	int getFavoriteReligion()
	int getFavoriteReligionAttitudeChange()
	int getFavoriteReligionAttitudeDivisor()
	int getFavoriteReligionAttitudeChangeLimit()

	void setFavoriteReligion(int iNewValue)
	void setFavoriteReligionAttitudeChange(int iNewValue)
	void setFavoriteReligionAttitudeDivisor(int iNewValue)
	void setFavoriteReligionAttitudeChangeLimit(int iNewValue)

-----Version Information-----
 
-----v0.2w------

- Added the missing text tags: 
	TXT_KEY_MISC_ATTITUDE_FAVORITE_RELIGION
	TXT_KEY_DENIAL_FAVORITE_RELIGION
  Reported by Mexico.
  
- Moved the favorite religion trade code from the AI_civicTrade method to the 
  AI_religionTrade method since it was in the wrong place. Reported by Mexico.

- Added the missing DENIAL_FAVORITE_RELIGION entry in the CIV4BasicInfos.xml 
  file. Reported by Mexico.
  
- Added the missing favorite religion entry for Alexander. Reported by Houman.
  
- Updated to be compatible with Warlords v2.0.8.0 patch.


-----v0.1.1w------

- Fixed the CvPediaLeader.py file. There was one part of the file that was left
  out during the conversion to warlords. Reported by GraveEatr

- Fixed a copy/paste error in the SDK file causing the favorite civic information
  to be misread and the favorite religion info to not be read in at all. Reported 
  by GraveEatr


-----v0.1w------

- Setup the Favorite Religion Mod infrastructure

- Added the <iFavoriteReligionAttitudeChange>, 
  <iFavoriteReligionAttitudeDivisor>, <iFavoriteReligionAttitudeChangeLimit> and
  <FavoriteReligion> tags including the underlying code support in the SDK.
  
- Exposed several methods to the python layer through the SDK to allow setting
  the new favorite religion variables.
  
- Updated the CvPediaLeader.py file to display leaders favorite religions.

  
-----===Credits & Thanks===-----

- Exavier 
	Composite Mod - readme.txt format

- GraveEatr
	For inspiring me to develop this mod.

Read More

Comments on this File

There are no comments yet. Be the first!

TheLopez


50 XP


Registered 6th March 2006

69 Files Uploaded

Share This File
Embed File