Re: Another simple thing...
Just figured a single mod/unit creation command that could make making some very cool effects easy.
#preferredscale [what scale] [what value -3...3] [penaltystat] [penaltyvalue]
All units such as niefel giants or abysians would be modeled as what they are on their best situation, say cold-3 for niefel giants, and then their stats would be modified by a set modifier for each point a scale in the province in which they reside differ from their preferred value.
So, for example, niefel giants would be something like:
#prefscale heat -3 prot -2
#prefscale cold -3 enc +1
etc etc, so niefel giants would get +6 enc when in heat 3...
What's so good with it is that with it many hardcodings can be removed and simplified into a single softcode command, everything from mage research ability in drain to units encumberance malus in wrong heat conditions and many more things that already are in the game, to many that are very thematic but aren't now and would be hard to implement otherwise. For example speed and strenght for Pan CW units in growth dominion, morale bonus for early ermorian and late pythian troops in order dominion (so also a quite substantial malus in turmoil...) and some more interesting things such as units whose stats differ much depending from the scales so that some stats go up and some down.
Just an idea, implementable?
|