General asset questions

General discussion regarding the OpenMW project.
For technical support, please use the Support subforum.
User avatar
psi29a
Posts: 5361
Joined: 29 Sep 2011, 10:13
Location: Belgium
Gitlab profile: https://gitlab.com/psi29a/
Contact:

Re: General asset questions

Post by psi29a »

Not so fast Zini, try that again with a new omwgame. You'll run into the same problem of only seeing Strength and Block. Add another NPC and you see Strength and Intelligence, add a third which will add Willpower. Delete the last two NPCs and create a new one, and you'll just be back to Strength and Intelligence.

Interesting bug eh? ;)
Attachments
Screenshot.png
User avatar
Zini
Posts: 5538
Joined: 06 Aug 2011, 15:16

Re: General asset questions

Post by Zini »

For some definitions of interesting :(

Please file a bug report.
User avatar
psi29a
Posts: 5361
Joined: 29 Sep 2011, 10:13
Location: Belgium
Gitlab profile: https://gitlab.com/psi29a/
Contact:

Re: General asset questions

Post by psi29a »

Zini wrote:For some definitions of interesting :(

Please file a bug report.
https://bugs.openmw.org/issues/2791

Done and done.
User avatar
Zini
Posts: 5538
Joined: 06 Aug 2011, 15:16

Re: General asset questions

Post by Zini »

Thanks.
User avatar
psi29a
Posts: 5361
Joined: 29 Sep 2011, 10:13
Location: Belgium
Gitlab profile: https://gitlab.com/psi29a/
Contact:

Re: General asset questions

Post by psi29a »

When do you think some de-hardcoding could happen?

Stuff like this makes makes my lawyer sense tingle:

Code: Select all

apps/openmw/engine.cpp:            MWBase::Environment::get().getSoundManager()->streamMusic("Special/morrowind title.mp3");
If file isn't found, could we try openmw_title.mp3? :P
SquireNed
Posts: 403
Joined: 21 Dec 2013, 22:18

Re: General asset questions

Post by SquireNed »

Why not just title.mp3?
User avatar
Zini
Posts: 5538
Joined: 06 Aug 2011, 15:16

Re: General asset questions

Post by Zini »

Yeah, we will dehardcode that. But also a post 1.0 feature.
User avatar
psi29a
Posts: 5361
Joined: 29 Sep 2011, 10:13
Location: Belgium
Gitlab profile: https://gitlab.com/psi29a/
Contact:

Re: General asset questions

Post by psi29a »

What is the difference between "scripts" and "start scripts"?

For instance, I put Startup and Main scripts in "scripts", nothing is in "start scripts" and OpenMW seems to be OK with that.
User avatar
Zini
Posts: 5538
Joined: 06 Aug 2011, 15:16

Re: General asset questions

Post by Zini »

Scripts are the script records. Start scripts is a list of scripts that are automatically started (as global scripts) on game startup. The script main is an exception here, because it will be automatically started even without being in the start script list.
User avatar
Pherim
Posts: 140
Joined: 27 Aug 2014, 15:37

Re: General asset questions

Post by Pherim »

psi29a wrote: 4) Is there a way to do a reverse lookup to see what particular file (be it dds, kf or nif) is used by another file?
Not sure if this question was already answered on one of the thread's pages (quickly browsed through them, but could not find anything) or if you are still interested in an answer, but there is a way. With programs like "AstroGrep" you can search within files, for example .nif files, so you can look for a certain .dds file and get all the .nifs that use it. Better yet, just look for the texture name without the .dds extension, because sometimes textures are referenced as .tga or .bmp within nif files and you might miss some. In the same way, it can be used to search within .esm or .esp files, e.g. for .nif files.
Post Reply