Would it be possible to set up a point system for winning battles with each nation?
The more points you gain, the more enemy units you unlock for creation by your faction.
Just wondering how this might be done if possible![]()
Would it be possible to set up a point system for winning battles with each nation?
The more points you gain, the more enemy units you unlock for creation by your faction.
Just wondering how this might be done if possible![]()
Oh its possible. But you would have to create units and skins for every faction you wanted to apply this to, and figure out how you wanted the system to work.
To some extent the skins already available would determine what is on each factions set of lists. Slave unit's skins would also suffice. Basically I'm looking to do this without any skinning.
I figured a faction would have it's own lists of unlockable units, one for each of the other factions. The system would allow players to accumulate points by fighting battles, spying and diplomacy. Preferably all 3 at the same time, so 3 different point systems per other faction. Probably this system should only be active for the player or else turn times would be affected.
2 ways of unlocking enemy units:
battles and spying: points for winning battles and points for succesful spying operation. when appropriate levels are achieved in both a new unit gets unlocked and so on.
diplomacy and spying: maintaining perfect relations while carrying out many spying operations. unsuccessful spying operations should have a negative impact on the opponents regard for our faction. when appropriate levels are achieved in both a new unit gets unlocked and so on.
just battling, spying or being diplomatic would yield nothing.
if this is possible where should I begin? is there anything similar I can look at?
In the Kingdoms mod, America campaign the Prestige system used by Spain gives the Spanish faction points for impressing the King of Spain. These cause events that unlock additional units. However you may need to make a seperate script for every faction you want this to apply to.
Morning Sun (adds Korea and China to the Shogun 2 map)
http://www.twcenter.net/forums/forum...28-Morning-Sun
Expanded Japan mod (97 new regions and 101 new factions)
http://www.twcenter.net/forums/showt...ew-factions%29
How to split a region in TWS2
http://www.twcenter.net/forums/showt...split-a-region
Eras Total Conquest 2.3 (12 campaigns from 970-1547)
You could have 2 systems in play, one that gives the tech points and one that stores the tech points...
When you succesfully spy, increase an event counter
When you win a battle, increase an event counter
When you construct such and such a building, increase an event counter
etc etc...
As these events occur the points will accumulate, you may want somthing the player can check to see his/her tech point level so far (that would be the most time consuming to write, i have somthing similar in my Recruitment limitations for the player to check his levels)
Do it for just human player first, would need seperate counters for every single faction...
Then in the EDB next to the units you want for each tech level...
check that the unit has the specified event counter of 10...20, 50... whatever you desire... before the unit becomes avaialable...
So what your suggesting Taiji is possible
It will slow turn time down a little for the player due to checking for battles the player wins/loses during the AI turn... but should not be a significant slow down...
You could go so far as to use very specific events to increase the counter like building specific buildings, a specific year comes around, or an event in the events file fires, taking a settlement, upgrading a settlement, gain an alliance, or whatever... could even make th eplayer lose points when they lose a settlement or the king dies, lose an alliance etc etc...
Nice idea tho, +rep
...longbows, in skilled hands, could reach further than trebuchets...
I think the Natives use this tech system to earn their gun powder units but GED is right thier would be a lot of modding involved in this procedure.