#652: GMST Verifier

Involved development of the OpenMW construction set.
User avatar
Zini
Posts: 5538
Joined: 06 Aug 2011, 15:16

Re: #652: GMST Verifier

Post by Zini »

1. Correct. We will eventually need tooltips to explain this kind of things.

2. If with "passing it" you mean passing a reference to the respective collection class, then the answer is yes.

3./4. When in doubt, browse the code of OpenMW. Don't have the details about NPC mechanics ready. Sorry.
User avatar
sirherrbatka
Posts: 2159
Joined: 07 Aug 2011, 17:21

Re: #652: GMST Verifier

Post by sirherrbatka »

Ok, thanks for quick answer.
wheybags
Posts: 207
Joined: 21 Dec 2012, 19:41

Re: #652: GMST Verifier

Post by wheybags »

Zini wrote:1. Correct. We will eventually need tooltips to explain this kind of things.
Might be better to display a tick box with "infinite duration", instead, which would set the duration box to -1 and grey it out.
User avatar
sirherrbatka
Posts: 2159
Joined: 07 Aug 2011, 17:21

Re: #652: GMST Verifier

Post by sirherrbatka »

Hey,

Do we need VFX_.* records in order to run OpenMW? If yes, should i check if they are present inside my verifer?
User avatar
scrawl
Posts: 2152
Joined: 18 Feb 2012, 11:51

Re: #652: GMST Verifier

Post by scrawl »

VFX_Hands, VFX_Absorb, VFX_Reflect, and VFX_DefaultBolt are hardcoded. Others are referenced inside ESM::MagicEffect and should be made sure to exist:

Code: Select all

    std::string mCasting, mHit, mArea; // ESM::Static
    std::string mBolt; // ESM::Weapon
mBolt can be empty and will use VFX_DefaultBolt in that case.
User avatar
Zini
Posts: 5538
Joined: 06 Aug 2011, 15:16

Re: #652: GMST Verifier

Post by Zini »

Didn't know that we have hardcoded statics. This will need to be added when new .omwgame files are created (I think we are only covering globals and GMSTs at the moment).

Records that can be references by magic effect records should (obviously) only be checked by the verifier for the magic effect records.
User avatar
sirherrbatka
Posts: 2159
Joined: 07 Aug 2011, 17:21

Re: #652: GMST Verifier

Post by sirherrbatka »

Ok, that makes sense.
User avatar
sirherrbatka
Posts: 2159
Joined: 07 Aug 2011, 17:21

Re: #652: GMST Verifier

Post by sirherrbatka »

Still, I need to get list of all effects so I can ignore those VFX ids. How to do so?
User avatar
Zini
Posts: 5538
Joined: 06 Aug 2011, 15:16

Re: #652: GMST Verifier

Post by Zini »

Sorry, I don't understand what you mean. Why would you need a list of effects?
User avatar
sirherrbatka
Posts: 2159
Joined: 07 Aug 2011, 17:21

Re: #652: GMST Verifier

Post by sirherrbatka »

I really should work on being precise. Anyway:

MagicEffect struct holds mBolt string to the specific VFX_* record. Unfortunatly, technicly speaking those VFX_* records are listed as weapons (arrow types). When i check for weapons, I check for icon and name, since weapons are inventory items. But since VFX_* are also there, I need to skip it ─ they have empty icon and name and are listed as invalid by my verifer. Therefore i need to know what needs to be skipped, so i need all MagicEffects to get all mBolt strings.

Hopefully I didn't confuse anything :oops:
Post Reply