GP Trickle Mod

TheLopez

Deity
Joined
Jan 16, 2006
Messages
2,525
Location
Oregon
GP Trickle Mod
By: TheLopez

Last Update: 07/30/06

Version: v0.3.1w
Patch Compatibility: Warlords v2.0.0.0
MP Compatible: ?
Download Mod v0.3.1w

Version: v0.3.1
Patch Compatibility: v1.61
MP Compatible: ?
Download Mod v0.3.1

Description:
The GP trickle mod randomly determines the primary trait for leaders in the
game and will use the primary trait to positively influence the type of great
person that is generated in the leader's capital. So for instance creative
leaders will spawn more great artists, spiritual leaders will spawn more great
prophets, industrious leaders will spawn more engineers, etc.


Installation Instructions:

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

-----Game Play-----
Spoiler :

- Randomly pickes one of the two leader traits randomly and uses it to
influence the type of great person that will be generated in their capital

- Several configurable options:
- Mappings for Leader traits to great persons
- Number of extra great person points
- Extra great person points in the leader capitals or throughout their empire
- Ability to require that great person points in their corresponding catagory
before giving the extra great person points.


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

If you want to use the GP Trickle Mod in your mod I have tried to make things as
easy as possible for you. In the XML files modified sections are enclosed by:
<!-- -->
<!-- GP Trickle Mod Start -->
<!-- -->
and
<!-- -->
<!-- GP Trickle Mod End -->
<!-- -->

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

All I ask is that you give me credit.


-----Version Information-----

-----v0.3------

- Fixed the bug pointed out by OzzyKP, the great person points were being
handed out correctly but the chances that the particular great person for the
points given was not updating correctly.

Spoiler :

-----v0.2------

- Fixed the bug pointed out by OzzyKP causing the great person points to
increment on each game slice.


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

- Inital setup of the mod infrastructure

- Setup the "GP Trickle Mod Config.ini" file and added the default values for
each leader trait.

- Added the option allowing players to require that at least one great person
point for the civilization leader's primary trait be generated to give the
extra great person points.

- Added the option allowing players to specify if the extra great person points
based on their civilization leader's primary trait should be given to all of
their cities or to just their capital city.


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

- Exavier
[TAB]Composite Mod - readme.txt format

- OzzyKP
[TAB]For proposing the idea and testing the resulting mod

- Shqype
[TAB]For testing the mod and pointing out that a plus size version of the
[TAB]mod is needed

- Dr Elmer Jiggle
[TAB]For providing the INI file parser code allowing for players to
[TAB]customize this mod without having to touch the python code!!!
 
This mod comp is compatible with the v1.61 patch!
 
OzzyKP said:
Yay! Thanks Lopez :goodjob:
Ozzy, you should check out the GP Trickle Plus Mod, I think you may like it :D
 
Updated with link to Warlords compatible version!!!
 
v0.3.1w ain't working for me. i get all sorts of horrendous traceback errors when launching the program and when starting a game, e.g.

Code:
File "CvEventInterface" line 23 in onEvent

File "CvCustomEventManager" line 71 in handleEvent

File "CvCustomEventManager" line 82 in _handleDefaultEvent

File "CvGPTrickleEventManager" line 450 in onGameStart

File "CvGPTrickleEventManager" line 421 in loadConfigFileData

KeyError: 'TRAIT_CHARISMATIC"
 
Alright zulu9812, I've uploaded a new version that should work. I forgot to add the three new traits.
 
Certified to work with warlords patch v2.0.8.0
 
Top Bottom