Barathor
Emperor
- Joined
- May 7, 2011
- Messages
- 1,202
Does anybody know of any mods which add affinity points to virtue synergy bonuses?
Currently, there only exists free affinity "levels" of your choice, and percent boosts to affinity points gained from techs.
If not, does anybody know how to mod this in? Any help would be greatly appreciated -- anything. I can usually take off with just a little boost or a good, similar example to work off of.
What I'm looking for exactly is a new column added to the Policies table. I'll call it, "NumFreeAffinityPoints". When a player unlocks a synergy bonus or anything with this perk, a window (similar to the free affinity level one) pops up and allows them to choose their affinity. The chosen affinity gets +X affinity points added to the total. X is defined in the row data.
Within my project, I wish to take some affinity advancement away from technology, and properly make culture a major contributor as well. I don't like the free level rewards, because they can be hard to control. A free level early on is much less points than a free level later. (I'll reveal my overhauled tech tree soon; I'm finally satisfied with my solution to this puzzle and can take off with the rest of the project.)
EDIT:
I may have used the wrong term. To avoid any confusion, I meant the synergy bonuses which run vertically to the left of all the trees. Edited the text above.
Also, I'm going to check out Machiavelli's example mod, "Policies Grant Buildings and Perks".
I'm only accustomed to working with Lua within mapscript files (oh, and for new rewards using the plot bonus system). I've never created Lua mods which hook into GameEvents before. I assume I have to do this to get this new perk to work.
Currently, there only exists free affinity "levels" of your choice, and percent boosts to affinity points gained from techs.
If not, does anybody know how to mod this in? Any help would be greatly appreciated -- anything. I can usually take off with just a little boost or a good, similar example to work off of.
What I'm looking for exactly is a new column added to the Policies table. I'll call it, "NumFreeAffinityPoints". When a player unlocks a synergy bonus or anything with this perk, a window (similar to the free affinity level one) pops up and allows them to choose their affinity. The chosen affinity gets +X affinity points added to the total. X is defined in the row data.
Within my project, I wish to take some affinity advancement away from technology, and properly make culture a major contributor as well. I don't like the free level rewards, because they can be hard to control. A free level early on is much less points than a free level later. (I'll reveal my overhauled tech tree soon; I'm finally satisfied with my solution to this puzzle and can take off with the rest of the project.)
EDIT:
I may have used the wrong term. To avoid any confusion, I meant the synergy bonuses which run vertically to the left of all the trees. Edited the text above.
Also, I'm going to check out Machiavelli's example mod, "Policies Grant Buildings and Perks".
I'm only accustomed to working with Lua within mapscript files (oh, and for new rewards using the plot bonus system). I've never created Lua mods which hook into GameEvents before. I assume I have to do this to get this new perk to work.