[ian-reeds-games] More on the new effects caused by point changes system

  • From: Ian Reed <support@xxxxxxxxxxxxxxxxxxx>
  • To: ian-reeds-games@xxxxxxxxxxxxx
  • Date: Fri, 22 Feb 2013 22:56:20 -0700

I wanted to say a little more about the new effects caused by point changes system.


When you have this line:
temperature_above_effects=80%|overheat

It means that the overheat effect will be applied once when the temperature point changes from something below 80% to something above 80%.
So if it changed from 60% to 85% the effect would occur.
If it then changed from 85% to 90% nothing new would happen.
Then 90% to 85% would still do nothing new.

If you also had this line:
temperature_below_remove_effects=80%|overheat

Then as soon as the temperature changes from something above 80% to something below 80% any overheat effects would be removed. But if a unit somehow got an overheat effect when it was below 80% then it would never get removed by this flag until the temperature went above 80% and then back below 80%.

So with both of these flags set I'd probably make the overheat effect have a very high duration since I really only want overheat to be removed when the temperature drops between a certain level.

Here's another example with morale:
morale_below_effects=10%|panic
morale_above_remove_effects=30%|panic

In this example a unit gets the panic effect if their morale falls below 10% but only gets it removed if they get their morale back above 30%.

This is interesting because you could say that a soldier who is not paniced has to have quite low morale to become panicked. But once panicked they can't just get rid of it by getting their morale up to the point where they first became panicked, they have to get it all the way up to 30% to get out of it. Kind of a notion that it's hard to change out of your current state rather than to have a single line that if you're above you're not panicked and if you're below you are.

I hope those examples help explain it a bit better.

Ian Reed


Other related posts: