[question] Separating counters from Great Engineers, Scientists and Merchants

kaspergm

Deity
Joined
Aug 19, 2012
Messages
5,830
Following how Great Artists (A/M/W) were separated from the other great persons in BNW and given each their individual counter, I would like to also separate the counters for Engineers, Scientists and Merchants, so that for instant spawning a Great Merchant won't actually be a disadvantage for you because it increases the counter for your next Scientist/Engineer.

Is this possible through simple modding (how?), or does it require a .dll mod?
 
There is a non-DLL approach, but it's not for the faint of heart:

  1. Disable the existing system. You can do this by setting all specialists to give 0 GP points.
  2. Build your own GP point counting and spawning system. You can use Lua to count specialists (or anything else) each turn and add points however you want. (You do need a system to persist data through game exit/reload.)
  3. Modify existing (or create your own) UI to display your own GP values.
I did this in my mod to make GP point accumulation global rather than city-specific.
 
There is a non-DLL approach, but it's not for the faint of heart:

  1. Disable the existing system. You can do this by setting all specialists to give 0 GP points.
  2. Build your own GP point counting and spawning system. You can use Lua to count specialists (or anything else) each turn and add points however you want. (You do need a system to persist data through game exit/reload.)
  3. Modify existing (or create your own) UI to display your own GP values.
I did this in my mod to make GP point accumulation global rather than city-specific.
Yeah, too complicated to me for now, but thanx for the answers all, good to have this confirmed!
 
Back
Top Bottom