Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - 1eyedking

Pages: [1]
1
Released Mods / Re: Stats by Rank / Promotion
« on: March 25, 2020, 12:05:43 am »
I've made a small mod with the following changes, may speed up someone's modding who wants to do something similar:
  • All soldiers start with fixed average stats = (min+max)/2. Soldiers can't increase stats beyond next promotion's limit, incentivizing to transform immediately after promotion. File: soldiers.rul
  • Soldiers increase their stats with rank. Higher rank bonuses overrule lower rank bonuses. Stats increase lineally towards the maximum cap, reached at Commander rank. File: stats_rank.rul
Still there must be a way for this to be made cleaner/automatic via scripting

Any help is welcome!!

Edit: Added TFTD version as well, fixed some issues. Added contingency stats-1 stats+1 transformations in case soldiers not promoting automatically.

2
Released Mods / Re: Stats by Rank / Promotion
« on: March 23, 2020, 04:43:25 am »
I read some documentation about soldierTransformation, but stats are a bonus and not a fixed set amount. They're not automatic either :(

Is there a way to make stats fixed (rather than a +bonus) and apply changes automatically for each promotion?

3
Released Mods / Stats by Rank / Promotion
« on: March 22, 2020, 10:20:15 pm »
Hi everyone, long time lurker here. I've tried searching for this solution but haven't been able to find it anywhere, so here goes my query to the more knowledgeable people:

I'm trying to script a mod where soldiers have fixed stats defined by rank or promotion automatically, but so far I haven't been able to pinpoint the variables for scripting this in.

Can this be done at all?

Any help is greatly appreciated :)


Pages: [1]