REGoth icon indicating copy to clipboard operation
REGoth copied to clipboard

.MSB mobs are not loaded by REGoth

Open superdaveman opened this issue 7 years ago • 6 comments

That's the reason the blacksmith mobsis at Harad's place or at Bennet's place in Gothic II are not loaded by REGoth. It only loads the existing .MDL files because static .ASC-files were compiled to .MDL files in Gothic I.

superdaveman avatar Jun 11 '17 17:06 superdaveman

So we would need to write a parser for mds files, just for a couple of objects? :/

ataulien avatar Jun 12 '17 21:06 ataulien

We would probably only need to load the .MDM and .MDH files as they are the compiled mesh and bone hierarchy. It's just important for Gothic II as there are no .MDS-files in the .VDF-files. This might be important for animated objects later - except we include the Gothic 2 .MDS files in REGoth.

superdaveman avatar Jun 13 '17 14:06 superdaveman

Ah, I forgot what .MDS files were. It's been a while ;) There actually is a parser for them in one of the branches I am working on!

Are the .MDS-Files still in the _work-folder then? So we would need to implement loading files which are not inside .VDF-Archives, right?

ataulien avatar Jun 13 '17 16:06 ataulien

They are. :D _work/Data/Anims is their normal path.

Yeah, loading files which are not inside .VDF-archives would be a good thing to implement.

superdaveman avatar Jun 13 '17 16:06 superdaveman

@superdavid639 I've been tinkering around with this now for a while and got the files inside the _work-directory mounted into our virtual file system. Unfortunately I don't quite understand what I need to do to have the anvils show up (it's also been a while since I worked with those files).

Can you explain a little further on what's different between these and most of the other mobs?

ataulien avatar Sep 30 '17 22:09 ataulien

The difference between these mobs and most of the other mobs is that the blacksmith mobs don't have any .mdl files in the Anims.vdf. Well that was what I found out about them and why they likely weren't loaded by REGoth.

Almost every other mob had a .mdl file in the Anims.vdf except some chests I guess, that's what I can remember at least and I searched for them in REGoth and they were also not loaded by it. So I guess what's to change is to load them by .mdm and not by .mdl for Gothic 2.

superdaveman avatar Oct 07 '17 13:10 superdaveman