show target resistances

Questions specific to OpenMW-CS can be asked, and content development related topics can be discussed here
Post Reply
LoneWolf
Posts: 75
Joined: 26 Sep 2017, 19:13

show target resistances

Post by LoneWolf »

On a recent playthrough I noticed that my stalhrim war axe with Shock Damage was not very effective against liches like gedna .

Using GetShockResist / GetFireResist from console showed liches have 50% shock resistance but no fire resistance.
I spend some money & time for a similar axe with Fire Damage and tried again (liches were easy now).

This made me realise one thing from other RPGs I miss in openmw : an identify option that allows to see (some) stats of npc/creatures.
A mod for this doesn't exist as faar as I can find.

Madd leveler and MultiMarkOMW mods do use commands/dialog from a spell.
Looking at their code indicates rather complex methods are used to achieve that.

Maybe a new magical effect is needed, but those seem to be hardcoded.

Does anyone know how to get command results onscreen using a spell in a simple way ?
LoneWolf
Posts: 75
Joined: 26 Sep 2017, 19:13

Re: show target resistances

Post by LoneWolf »

I haven't found a way to acheive this yet.

MultiMarkOMW summons an invisible npc/creature and uses its dialog options.

Another approach was to add a new spell effect that basically does nothing for 1 second and check continously if that spell effect is active and start a script if it is.

Neither allows to use target selection.

I may have to wait until the big dehardcoding happens and allows spells / spell effects to use lua scripting.
User avatar
DestinedToDie
Posts: 1181
Joined: 29 Jun 2015, 09:08

Re: show target resistances

Post by DestinedToDie »

In The Underground mod, there is a powerful ring called Ring of Awareness or something like that. If you talk to someone, you can use this ring to learn every detail about their character. This sounded similar to what you're talking about, just thought I'd mention it.
Post Reply