Raised This Month: $51 Target: $400
 12% 

$texturegroup issue MiklShape 3D


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
AirShot
Veteran Member
Join Date: Sep 2009
Location: Belgium
Old 06-19-2013 , 10:54   $texturegroup issue MiklShape 3D
Reply With Quote #1

Hello guys,
I am here requesting some help because I have an issue whenever I try to compile my .qc file with more than 15 textures to a .mdl file

e.g. :
Quote:
$texturegroup skinfamilies
{
{ "originalskin.bmp"}
{ "skin2.bmp"}
{ "skin3.bmp"}
{ "skin4.bmp"}
{ "skin5.bmp"}
{ "skin6.bmp"}
{ "skin7.bmp"}
{ "skin8.bmp"}
{ "skin9.bmp"}
{ "skin10.bmp"}
{ "skin11.bmp"}
{ "skin12.bmp"}
{ "skin13.bmp"}
{ "skin14.bmp"}
{ "skin15.bmp"}
{ "skin16.bmp"}
}
won't compile and will make MilkShape3D crashes.

I can't understand why. Is there some sort of limitation of skins hl1 models can support?

Found nothing about it except that there is a limitation of 32 skin materials when using studiomdl (for Source) :
Quote:
Where
$texturegroup "<name>" { { "<skin_0>" } { "<skin_1>" } }
  • <name> is the name of the texturegroup. Even though a name string is required for studiomdl to compile it is not stored within the binary.
  • <skin_0> is the name of the default Material (VMT) file.
  • <skin_1> is the name of the alternative Material (VMT) file.
  • Allows up to a maximum of 32 alternate material sets. Limit hard coded by studiomdl.
$texturegroup
but nothing for hl1...

or Maybe the problem comes from MilkShape 3D? Is there another way to compile my .qc file?
__________________

Last edited by AirShot; 06-19-2013 at 10:55.
AirShot is offline
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 06-19-2013 , 11:49   Re: $texturegroup issue MiklShape 3D
Reply With Quote #2

compiler will crash because some of your textures are in wrong format.
Not 8 bit texture ...
.Dare Devil. is offline
AirShot
Veteran Member
Join Date: Sep 2009
Location: Belgium
Old 06-19-2013 , 14:07   Re: $texturegroup issue MiklShape 3D
Reply With Quote #3

No that's not the problem. All my textures are 8 bits 256 indexed colors bmp format and works fine individually.
Also when I have 15 textures it works fine, when I try to add a 16th, it crashes (tested multiple times with differents textures all working fine untill I add a 16th)
__________________

Last edited by AirShot; 06-19-2013 at 14:09.
AirShot is offline
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 06-19-2013 , 17:57   Re: $texturegroup issue MiklShape 3D
Reply With Quote #4

I can add more than 16 skins with no problem
( I upload the model, i edited it little bit ... )

The problem is with textures...
Attached Files
File Type: zip jbemodel.zip (1.77 MB, 173 views)
.Dare Devil. is offline
AirShot
Veteran Member
Join Date: Sep 2009
Location: Belgium
Old 06-20-2013 , 05:40   Re: $texturegroup issue MiklShape 3D
Reply With Quote #5

Well that's weird What do you use to compile? Because my Milkshape 3D keep crashing

I sent you a PM with the thing I try to compile, tell me if you suceed or find what's the problem^^.
__________________
AirShot is offline
ANTICHRISTUS
kingdom of weird stuff
Join Date: Jun 2010
Location: My kingdom is not in thi
Old 06-20-2013 , 07:04   Re: $texturegroup issue MiklShape 3D
Reply With Quote #6

Quote:
Originally Posted by AirShot View Post
Well that's weird What do you use to compile? Because my Milkshape 3D keep crashing
http://forums.alliedmods.net/showpos...1&postcount=25
Quote:
Originally Posted by AirShot View Post
I sent you a PM with the thing I try to compile, tell me if you suceed or find what's the problem^^.
hidden work in a public request ?

__________________
ANTICHRISTUS is offline
AirShot
Veteran Member
Join Date: Sep 2009
Location: Belgium
Old 06-20-2013 , 07:53   Re: $texturegroup issue MiklShape 3D
Reply With Quote #7

Quote:
Originally Posted by ANTICHRISTUS View Post
hidden work in a public request ?
Well there is nothing private really, I just attached a .zip file to this post with needed files to compile.
Quote:
Originally Posted by ANTICHRISTUS View Post
I just tried using this .bat and I have almost the same problem, studiomdl.exe crashes and won't compile my mdl. I really can't see where the problem comes from or what I'm doing wrong. (Again it works fine when using only 15 skins.

If you want to try to compile the attached file by yourself remember to edit the path in the .qc files
Quote:
$modelname "C:\Users\Elliot\Desktop\Airshot\large\large. mdl"
$cd "\Users\Elliot\Desktop\Airshot\large"
$cdtexture "\Users\Elliot\Desktop\Airshot\large\textures \"
If you extract the zip on your desktop and change "Elliot" by your Windows user name and you should be able to compile it.

Download(5.9M)

Edit 2 : It seems to work fines wit a smaller mdl... : Pole So this probably means that the problem is not the n° of texture I use but the size of the model I try to compile :/

Edit 3 : I solution is to make a new mdl using smaller texture (256x256 instead of 512x512 for exemple)
__________________

Last edited by AirShot; 06-20-2013 at 14:58. Reason: forum doesn't allow attached zip files bigger than 5MB
AirShot is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:03.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode