Morale - Would it be possible in Wesnoth?

The place to post your WML questions and answers.

Moderator: Forum Moderators

Forum rules
  • Please use [code] BBCode tags in your posts for embedding WML snippets.
  • To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Post Reply
User avatar
Issyl
Posts: 364
Joined: January 23rd, 2010, 9:48 pm
Location: Orlando, Florida, USA

Morale - Would it be possible in Wesnoth?

Post by Issyl »

Morale

Basically, my idea is thus. There would be three states of morale for units;

- Disheartened (-25% Damage Penalty)
- Content (N/A)
- Emboldened (+25% Damage Bonus)

These bonuses and penalties would be on top of any day/night system. For example, a disheartened lawful unit at night would have a -50% damage penalty, and an emboldened lawful unit at night would fight normally.

Ways to get from Content to Disheartened:

- Take -50% or more damage

Ways to get from Disheartened to Content:

- Heal once at a village (Healing and Curing effects from other units will not affect morale).

Ways to get from Content to Emboldened:

- Defeat an enemy unit in combat

How to get from Emboldened to Content:

- Lose an adjacent friendly unit (it has to die, not just move away)

So my two questions are:

- Is this possible in WML?
- What do you think of this system? I don't think it would suit mainline, and I understand it won't make it into mainline, but I was considering making an alternate Default era with the (hopefully possible) system included.
Last edited by Issyl on March 1st, 2010, 5:42 am, edited 1 time in total.
User avatar
Ken_Oh
Moderator Emeritus
Posts: 2178
Joined: February 6th, 2006, 4:03 am
Location: Baltimore, Maryland, USA

Re: Morale - Would it be possible in Wesnoth?

Post by Ken_Oh »

Issyl wrote:Is this possible in WML?
Yes. Add/remove abilities to/from units depending on the circumstances you drafted. The ability you want is [leadership], but you have to make it effect the unit itself and not others adjacent to it. More info: http://wiki.wesnoth.org/AbilitiesWML

For the events that you'll need to apply the abilities, you'll need to read up on: http://wiki.wesnoth.org/EventWML
daonlynussa
Posts: 12
Joined: March 16th, 2010, 12:00 am

Re: Morale - Would it be possible in Wesnoth?

Post by daonlynussa »

this sounds like a pretty cool idea. however, i think the effects might be a little drastic. I think if you simply changed both the time of day and moral effects to maybe 15-20%, it would add some more variables to gameplay without really screwing things up.
Post Reply