How did you built the NPCs and the world with the pictures?
have you decrypt this part of data in the bsa files?
Q: How are the NPCs built?
Re: Q: How are the NPCs built?
We have a library that allows us to decompress and use the files within each BSA.Pithorn wrote:How did you built the NPCs and the world with the pictures?
have you decrypt this part of data in the bsa files?
We then use the information in the Morrowind.ESM file to 'build' each NPC. There is information in the ESM that contains the models and textures we need to use for each NPC, where they are located and what their name is and other personal info.
Sorry, If I misunderstand what you are trying to ask. It's a little bit cryptic.
Re: Q: How are the NPCs built?
Amazing.We have a library that allows us to decompress and use the files within each BSA.
Where's it in the source code?
Re: Q: How are the NPCs built?
components/bsa/bsa_archive.cpp and hpp
That part only really allows openmw to grab files from the bsa though (like a zip file sort of).
To actually build NPCs there is quite a bit going on. NPCs are built with body parts connected to a skeleton. Body parts can be classified as skin, armor, or clothing. This is purely to display an NPC. You have a physics collision shape, stats, and a lot of other stuff related to them.
The world is kind of a broad term though and could include a lot of stuff.
That part only really allows openmw to grab files from the bsa though (like a zip file sort of).
To actually build NPCs there is quite a bit going on. NPCs are built with body parts connected to a skeleton. Body parts can be classified as skin, armor, or clothing. This is purely to display an NPC. You have a physics collision shape, stats, and a lot of other stuff related to them.
The world is kind of a broad term though and could include a lot of stuff.