Model has too many sub files Created 6 months ago2019-03-10 03:52:26 UTC by Cabo Fiambre Cabo Fiambre

Created 6 months ago2019-03-10 03:52:26 UTC by Cabo Fiambre Cabo Fiambre

Posted 6 months ago2019-03-10 03:52:26 UTC Post #342205
As the titles says, is there any way to get rid of these?
User posted image
Posted 6 months ago2019-03-10 05:01:45 UTC Post #342207
Had a quick look at studiomdl and maybe $sequencegroupsize set to some high number? Not sure.
Posted 6 months ago2019-03-10 22:06:44 UTC Post #342215
It's better to remove $sequencegroupsize from QC at all. This was the optimization for very old & slow PCs. Currently it's totally obsolete & useless (and even can cause problems in specific situations). Almost the same I can say about $externaltextures (external *T.mdl-files), but that optimization is a bit useful & also depends on compilers' limitations (usual MDL compiler can't create MDL-files over 4Mb, so external textures can be an option for HD/UD models). But you can overcome those limitations using custom MDL compilers (for XashXT or Sven Co-op, for example).
Posted 6 months ago2019-03-11 09:40:55 UTC Post #342216
Yup, as Qwertyus said, get rid of that line in the QC file and you get one, maybe two model files if you have a texture file as well.

Come to think of it, I don't know what determines the appearance of the modelt.mdl file...
UrbaNebula UrbaNebulaGoldSourcerer
Posted 6 months ago2019-03-11 21:44:49 UTC Post #342218
Come to think of it, I don't know what determines the appearance of the modelt.mdl file...
Thats $externaltextures command. And yeah as said before with modern stuff its best to remove that and the $sequencegroupsize commands altogether.

For OP, you will have to decompile&recompile it with those commands removed. Use the latest version (0.58) to decompile and for recompiling use a modern studiomdl like svens (so you dont get texture shifting) .
Posted 6 months ago2019-03-11 21:51:00 UTC Post #342220
Thats $externaltextures command. And yeah as said before with modern stuff its best to remove that and the $sequencegroupsize commands altogether
How on Earth did I miss that... Alright, well thanks 303! That'll make my future mod models directory a little neater. :D
UrbaNebula UrbaNebulaGoldSourcerer
Posted 6 months ago2019-03-17 01:49:47 UTC Post #342273
usual MDL compiler can't create MDL-files over 4Mb
Really? What part of it sets that limit?
Posted 6 months ago2019-03-17 05:20:53 UTC Post #342277
2 tschumann
I can't tell, but it's what I got on practice (compiling my models).
Posted 6 months ago2019-03-17 10:16:23 UTC Post #342278
Studiomdl allocates a fixed size buffer 16Mb in size to write each file. It's possible that file write operations can fail if they exceed the total size though.
Posted 6 months ago2019-03-17 13:10:54 UTC Post #342280
Done, edited the model and got rid of the unnecessary files. Thanks for the help everybody!
You must be logged in to post a response.