| General | Hosted Sites | Civ5 | CivRev | Civ4Col | Civ4 | Civ3 | Civ2 | Civ1 | Misc | Marketplace |
![]() |
|
|
Welcome to Civilization Fanatics' Center. You are currently viewing our site as a guest which gives you limited access to our site features. By joining our free community, you will be able to participate in the discussions, search the forum, send private messages, vote in polls, upload your own screenshots to the gallery, and access many other special features. Registration is fast, simple and absolutely free, so sign up today! If you have any problems with the registration process or your account login, please contact support. |
|
|||||||
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Chieftain
Join Date: Apr 2006
Posts: 48
|
[SDK MOD] Great Person Thresholds Per City
Great Person Points Threshold Per City Mod v1.0
By: Shaded (Serkan Koc) Contact: s_koc@hotmail.com Patch Compatibility: v1.61 MP Compatibility: Not Tested DESCRIPTION =-=-=-=-=-=-= This mod changes the great person point generation. In the original CIV IV, there is a single Great Person Points threshold per player. When this threshold is reached by any city, a great person borns and threshold is increased (doubled). This mod changes this behaviour so that each city has its own threshold. Birth of a great person in a city does not effect the thresholds of other cities. This way specialization of cities are much more meaningful and you can easily make one of your cities a Great Artist generating city, and one another a Great Prophet generating city without one of them overrunning the other. This mod eliminates the strategical need of putting all your wonders to a single city. (See the example below for more information.) INSTALLATION =-=-=-=-=-=-= Just copy the Assets/CvGameCoreDLL.dll to your custom assets folder. Please be aware that your previous sdk mods will be overridden. To be able to use multiple sdk mods, you will have to wait someone to put those mods together in a mod pack. SOURCE =-=-=-=-=-=-= Changed source codes (from the 1.61 SDK baseline) are also included in this package for the convenience of mod pack producers. LICENSE =-=-=-=-=-=-= Please feel free to use this mod in your mods/mod packs as long as you mention the name of this mod and my name (as its written on the top of this readme) in your docs and credit screens. EXAMPLE =-=-=-=-=-=-= City 1 generates 10 Great Artist Points per turn. City 2 generates 3 Great Engineer Points per turn. Original CIV behaviour: Initial GP threshold is 100. ------------------------------------------------- at turn 10: A Great Artist borns in City 1. Threshold increases to 200 City 2 generated only 30 GP points. ------------------------------------------------- at turn 30: A Great Artist borns in City 1. Threshold increases to 400 City 2 generated only 90 GP points. ------------------------------------------------- at turn 70: A Great Artist borns in City 1. Threshold increases to 800 City 2 generated only 210 GP points. ------------------------------------------------- at turn 999999: City 2 never gets a great engineer and the player suicides seeing his investment of great wonder didnt pay off Modded CIV behaviour: Initial GP threshold is 100. ------------------------------------------------- at turn 10: A Great Artist borns in City 1. Threshold for City1 increases to 200 City 2 generated only 30 GP points. Threshold for City2 remains at 100 ------------------------------------------------- at turn 30: A Great Artist borns in City 1. Threshold for City1 increases to 400 City 2 generated only 60 GP points. Threshold for City2 remains at 100 ------------------------------------------------- at turn 34: A Great Engineer borns in City 2. Threshold for City2 increases to 200 Threshold for City1 remains at 400 ------------------------------------------------- at turn 999999: Player smiles with enjoyment... DISCLAIMER =-=-=-=-=-=-= This product is provided "as is", "free of charge" and "without guarantees". Usage of this mod should be considered completely "use at your own risk" type.I can not be held responsible for damages to your software or hardware and any loss of information. DOWNLOAD LINK =-=-=-=-=-=-= http://www.civfanatics.net/uploads11...PerCityMod.zip |
|
|
|
|
|
#2 |
|
Chieftain
Join Date: Apr 2006
Posts: 48
|
reserved for future posts...
|
|
|
|
|
|
#3 |
|
Deity
Join Date: Oct 2005
Location: England
Posts: 4,985
|
hmm.
Specialists are probably overpowered now. I recomend that you massively tone down representation and caste system. Also, doesn't this kill the need for a GP farm? On another note, where did you find the great people code? I would like to do a similar mod where their is one GP counter for the entire civ, instead of per city.
__________________
Most zealously I seek for erudition. Much do I know, but to know all is my ambition.
-Faust |
|
|
|
|
|
#4 | |
|
Chieftain
Join Date: Apr 2006
Posts: 48
|
Quote:
And for GP farm, yes you are right! it kills it and that was my intention. A single city of GP was killing the whole concept of GP by forcing us to one "right" way. The great people code is scattered around CvCity and CvPlayer classes. Download the mod,it contains the changed source code. |
|
|
|
|
|
|
#5 |
|
Loves being STRONG
Join Date: Jan 2005
Location: Fiftychat
Posts: 4,454
|
Thank you!
I've had that exact same problem with great people, so now it's much better. I'll try it out and post my findings
__________________
"I feel like I've somehow managed to turn the domestic abuse of a burly mustachioed udder mutant into something adorable. I'm pretty proud of this." -AH |
|
|
|
|
|
#6 |
|
Civ4:Col UI programmer
Join Date: Dec 2005
Location: Vallejo, California
Posts: 1,736
|
This definatly is an improvment over the default game, but what I think the best solution would have been to pool all the GPP from across the Empire so every city would contribute and nothing would ever be wasted. The GP would spawn in a city randomly but it would be weighted towards which city is producing the most points of that type so your wonder bearing cities will get them most of the time and far off little colonies almost never spawn them.
__________________
Companions the creator seeks, not corpses, not herds and believers. Fellow creators, the creator seeks - those who write new values on new tablets. Companions the creator seeks, and fellow harvesters; for everything about him is ripe for the harvest. - Thus spoke Zarathustra, Fredrick Nietzsche Civ 4 Community Core Project One DLL to Rule them ALL, Now a part of WoC, 3.02 version in the Progress Modular XML Loading 3.0 True Drag and Drop modability, Included by Firaxis in Beyond the Sword World Of Civilization A World of Mods under one roof |
|
|
|
|
|
#7 | |
|
TR Team Leader
Join Date: Jan 2002
Posts: 1,083
|
Quote:
This would be actually the best solution and nothing is wasted. It is more realistic too, since it is an empire that becomes cultural and not only a single city.
__________________
Rewrite the History if you think you would have done better! Warlords: Total Realism 2.3a ...Every Nation deserves Another Chance... Website about this Mod Forum about this Mod The 300 Movie: Separating Fact from Fiction Please Support this TV Documentary to be released |
|
|
|
|
|
|
#8 |
|
King
Join Date: Nov 2003
Posts: 628
|
Nice mod but I noticed something wrong with your premise. You say that in the original civ the GP counter doubles everytime a GP is born. It doesn't double. It increases by the amount of GP points that your most productive GP producing city produces, rounded up to the nearest 100. For example: you have 3 cities making 112, 45, and 2 GP points per turn. After a GP is born the threshold increases by 200 (112 rounded up to the nearest 100).
Roger Bacon
__________________
Note: all mods listed are 3+ years old and for vanilla Civ4.Tori Gate Mod with Shinto Training Barracks mod Assassin Mod Kill List Mod Bad People Mod 3-Square Radius Cities Mod Borders over Oceans Mod Flying Mod AlwaysWar Mod |
|
|
|
|
|
#9 | |
|
Chieftain
Join Date: Apr 2006
Posts: 48
|
Quote:
|
|
|
|
|
|
|
#10 | |
|
Chieftain
Join Date: Apr 2006
Posts: 48
|
Quote:
|
|
|
|
|
|
|
#11 |
|
Civ4:Col UI programmer
Join Date: Dec 2005
Location: Vallejo, California
Posts: 1,736
|
I have an idea, to keep specialization alive and well wonders could give a % bonus to GPP creation much like the Parthanon but focused on only a particular type of GPP. So for example StoneHenge would give +50% Great Profit points rather then generate a measly 2. You would still need to alocate Priests and specialize the city for that purpose in order to get the benifits.
__________________
Companions the creator seeks, not corpses, not herds and believers. Fellow creators, the creator seeks - those who write new values on new tablets. Companions the creator seeks, and fellow harvesters; for everything about him is ripe for the harvest. - Thus spoke Zarathustra, Fredrick Nietzsche Civ 4 Community Core Project One DLL to Rule them ALL, Now a part of WoC, 3.02 version in the Progress Modular XML Loading 3.0 True Drag and Drop modability, Included by Firaxis in Beyond the Sword World Of Civilization A World of Mods under one roof |
|
|
|
|
|
#12 | |
|
Deity
Join Date: Oct 2005
Location: England
Posts: 4,985
|
Quote:
__________________
Most zealously I seek for erudition. Much do I know, but to know all is my ambition.
-Faust |
|
|
|
|
|
|
#13 | |
|
Chieftain
Join Date: Apr 2006
Posts: 48
|
Quote:
![]() The problem of anti-specialization of GPP pool is not the ability of having GPF. Problem is we cant differentiate different types of GP. To me city specialization should be like: (not a GPF, or randomly placed specialists/wonders all over the empire) 1 city as Engineering Base : High production, produces Great Engineers 1 city as Commercial Base : High commerce, produces Great Mercants 1 city as Scientific Base : High science output, produces Great Scientists 1 city as Religous Base : Triple holy city, produces Great Prophets etc.. When we pool the GPP's, there will be no reason to specialize the cities like this. You may get the same effects by putting all of them to one city or distrubiting them all over your empire. |
|
|
|
|
|
|
#14 | |
|
Chieftain
Join Date: Apr 2006
Posts: 48
|
Quote:
Great Idea! This way we may still have GP pooling and city specialization. However the bonuses of wonders of the same type should be cumulative rather then additive so that people would want to put all same type projects and specialists to one city to get the cumulative bonus. I should mediate on this idea...We are getting to somewhere at last...
|
|
|
|
|
|
|
#15 |
|
Civ4:Col UI programmer
Join Date: Dec 2005
Location: Vallejo, California
Posts: 1,736
|
In addition some of the buildings could provide some productivity bonuses to specialists of a particular type, say for example Factory gives all Enginers +1 Hammer. Wonders might also have such bonuses for local or global specialists, the GPP bonus should be local only. Currently buildings are very limited in what kind of bonuses they can give to specialists and I belive their restricted to global bonuses only. Changing this would require some SDK work along with new Building Schemas.
I think this would help make late game specialists more usefull as I often have realy productive terrain by that point and I dont find the measly 3 GPP and 3 hammers to be worth much when it takes 1200 to get my next GP and I have mines producing 5 hammers sitting idle. This could be a very nice improvment, I would like to help work on it.
__________________
Companions the creator seeks, not corpses, not herds and believers. Fellow creators, the creator seeks - those who write new values on new tablets. Companions the creator seeks, and fellow harvesters; for everything about him is ripe for the harvest. - Thus spoke Zarathustra, Fredrick Nietzsche Civ 4 Community Core Project One DLL to Rule them ALL, Now a part of WoC, 3.02 version in the Progress Modular XML Loading 3.0 True Drag and Drop modability, Included by Firaxis in Beyond the Sword World Of Civilization A World of Mods under one roof |
|
|
|
|
|
#16 |
|
Chieftain
Join Date: Apr 2004
Posts: 95
|
This mod discourages city specialisation. Its better for all your cities to just have one specialist to ensure the greatest number of great people for the least great people points. Specialising a city under the mod just makes the great people come slower.
|
|
|
|
|
|
#17 |
|
King
Join Date: Nov 2003
Posts: 628
|
Could you post comments around where you made changes in the files? I only saw comments on one of the files.
Roger Bacon
__________________
Note: all mods listed are 3+ years old and for vanilla Civ4.Tori Gate Mod with Shinto Training Barracks mod Assassin Mod Kill List Mod Bad People Mod 3-Square Radius Cities Mod Borders over Oceans Mod Flying Mod AlwaysWar Mod |
|
|
|
|
|
#18 | |
|
Chieftain
Join Date: Apr 2006
Posts: 48
|
Quote:
Another idea in my mind is to relating the GP types directly to city base values like production/science/culture etc. The city producing the much hammers may have the highest probability to get the Great Engineer instead of some artifical GP point system. So if you used a city as a production base for years then a Great Engineer will born there. More realistic isnt it? What do you think about this idea? |
|
|
|
|
|
|
#19 | |
|
Chieftain
Join Date: Apr 2006
Posts: 48
|
Quote:
|
|
|
|
|
|
|
#20 | |
|
Chieftain
Join Date: Apr 2006
Posts: 48
|
Quote:
First of all, here is the fish : I moved changeGreatPeopleThresholdModifier incrementGreatPeopleCreated methods and their related attributes from CvPlayer to CvCity I copied and adapted the greatPeopleThreshold method in CvPlayer to CvCity I kept and rewrote the greatPeopleThreshold method in CvPlayer because it was DllExported and removing it could cause crashes on the other dlls. I changed createGreatPeople method in CvCity to reflect above changes Then i made the necessary changes to the callers of the moved methods by clearing the compile errors. Secondly, how to fish ![]() Download the winmerge from winmerge.sourceforge.net. You can compare the files and see the changes by this tool. I will be more then happy if you can contribute to this mod too. Software is a team work and we can produce a better product (Great Wonder ) if we work together.
|
|
|
|
|
![]() |
| Bookmarks |
|
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Great Person Mod | xienwolf | FfH2 Modmods, Scenarios, and Maps | 32 | Feb 26, 2009 12:17 AM |
| [SDK Component] Unique Great person | Mexico | Civ4 - Mod Components | 31 | Jun 30, 2008 07:17 PM |
| Great Person Mod | ersner | Civ4 - Rise of Mankind | 1 | Apr 24, 2008 10:27 AM |
| Great Person City help | marconos | Civ4 - General Discussions | 9 | Mar 05, 2008 04:45 PM |
| Is This A Useful Great Person City Tactic? | ccubed | Civ4 - Strategy & Tips | 15 | Jan 06, 2006 05:42 PM |