LoneGazebo / Community-Patch-DLL

Community Patch for Civilization V - Brave New World
Other
285 stars 158 forks source link

Feature Request: A new table similar to "Terrain_TechYieldChanges" but for era. "Terrain_EraYieldChanges" maybe? #9275

Open n-core opened 1 year ago

n-core commented 1 year ago

I want to make something that can utilize something like Terrain_EraYieldChanges but no such table exists in CP. You know, similar to Terrain_TechYieldChanges but for era.

So I was scouring though the files and found these lines related to terrain yield changes. image

So essentially, when you're advancing to an era, your civ will get a terrain yield upgrade. I know this is going to be hard to balance, but I can experiment this with some adjustments to GameSpeeds table by increasing the percentage of almost everything. I just want the emphasis of playing on a more advanced era can affect something to terrain yields.

Furthermore, I still don't have the skill to try to make my own DLL file and I don't understand C++. So if there is someone willing to add this for me would be appreciated.

pineappledan commented 1 year ago

Something like this already exists for landmarks, but it requires being keyed to the antiquity site system to function properly. It looks at the era the plot was added to the antiquity site list for calculating the era bonus.

You can look at the Nubia for VP mod for an example of a civ that uses yields on era change. https://forums.civfanatics.com/threads/mc-and-lites-nubia-for-vp.647918/

n-core commented 1 year ago

Something like this already exists for landmarks, but it requires being keyed to the antiquity site system to function properly. It looks at the era the plot was added to the antiquity site list for calculating the era bonus.

Yeah, but that's YieldPerEra, not EraYieldChanges

I actually also want to suggest to change Feature_EraYieldChanges to also specify the Era type, because it's more in line with other tables, and change the current table to Feature_YieldPerEra. Any _SomethingYieldChanges tables all of them have a column where you specify the type, so Feature_EraYieldChanges table without an Era type column is weird.

What I want is to have a table where you can specify an Era type. So there are additional yields when you're advancing to specific Era, not through all eras.e