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

Question about .QC file


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GasmoN
Member
Join Date: Jul 2014
Old 02-02-2018 , 21:59   Question about .QC file
Reply With Quote #1

I created one model file, with two submodels (like in jailbreak extreme mod)

PHP Code:
$bodygroup submodel
{
studio "leet_county"
studio "leet"

But how can I set custom .bmp skins for each submodel I added?
What to write in .QC file? I read something about $texturegroup
but I need an example.

PS: Idk if this thread is in right place, i didn't knowed where to post it.
GasmoN is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 02-02-2018 , 23:15   Re: Question about .QC file
Reply With Quote #2

Off-Topic is the only place that would be appropriate for modeling questions (since this is a plugin scripting forum).
__________________
fysiks is offline
GasmoN
Member
Join Date: Jul 2014
Old 02-03-2018 , 03:22   Re: Question about .QC file
Reply With Quote #3

Well, i'm sorry for posting in wrong place, but can you help me anyway?
GasmoN is offline
Ghosted
Veteran Member
Join Date: Apr 2015
Location: Georgia
Old 02-03-2018 , 08:59   Re: Question about .QC file
Reply With Quote #4

https://developer.valvesoftware.com/wiki/$texturegroup

! Add .bmp after file name
__________________

[MOD] CS Weapon Mod V1.7.1
[MM] MetaMod-C V1.0
[MOD] CS NPC Mod (5%)


Probably Left AM

Last edited by Ghosted; 02-03-2018 at 09:00.
Ghosted is offline
GasmoN
Member
Join Date: Jul 2014
Old 02-03-2018 , 09:41   Re: Question about .QC file
Reply With Quote #5

Quote:
Originally Posted by Ghosted View Post
Can you give me the example????
I want only "leet_county" model to have multiple skins (Orange.bmp, blue.bmp, etc.)
What is the full code for that?
GasmoN is offline
Ghosted
Veteran Member
Join Date: Apr 2015
Location: Georgia
Old 02-03-2018 , 09:46   Re: Question about .QC file
Reply With Quote #6

Quote:
Originally Posted by GasmoN View Post
Can you give me the example????
I want only "leet_county" model to have multiple skins (Orange.bmp, blue.bmp, etc.)
What is the full code for that?
X = leet_county skin name (bmp file name)

Code:
$texturegroup "LeetCountySkins"
{
{ "X.bmp" } { "X.bmp" }
{ "X.bmp" } { "NewSkinName1.bmp" }
{ "X.bmp" } { "NewSkinName2.bmp" }
}
or this one:

Code:
$texturegroup "X.bmp"
{
{ "X.bmp" }
{ "NewSkinName1.bmp" }
{ "NewSkinName2.bmp" }
}
__________________

[MOD] CS Weapon Mod V1.7.1
[MM] MetaMod-C V1.0
[MOD] CS NPC Mod (5%)


Probably Left AM

Last edited by Ghosted; 02-03-2018 at 09:48.
Ghosted is offline
GasmoN
Member
Join Date: Jul 2014
Old 02-03-2018 , 10:08   Re: Question about .QC file
Reply With Quote #7

PHP Code:
$bodygroup submodel
{
studio "GSG9"
studio "gign"
studio "sas"
studio "ref_rex_player_byReega_zm7up_2016_fix"
studio "leet_county"
}

$texturegroup "t_leet_county.bmp"
{
"t_leet_county.bmp" }
"t_leet_county_yellow.bmp" }
"t_leet_county_grey.bmp" }

This crashes my 3D MilkShape and model won't open.

t_leet_county.bmp is default texture used in .mdl file
These two textures, yellow and grey I added in the same folder. What is wrong with this?

PS: I tried both ways, same result.

Last edited by GasmoN; 02-03-2018 at 10:10.
GasmoN is offline
Ghosted
Veteran Member
Join Date: Apr 2015
Location: Georgia
Old 02-03-2018 , 10:19   Re: Question about .QC file
Reply With Quote #8

Quote:
Originally Posted by GasmoN View Post
PHP Code:
$bodygroup submodel
{
studio "GSG9"
studio "gign"
studio "sas"
studio "ref_rex_player_byReega_zm7up_2016_fix"
studio "leet_county"
}

$texturegroup "t_leet_county.bmp"
{
"t_leet_county.bmp" }
"t_leet_county_yellow.bmp" }
"t_leet_county_grey.bmp" }

This crashes my 3D MilkShape and model won't open.

t_leet_county.bmp is default texture used in .mdl file
These two textures, yellow and grey I added in the same folder. What is wrong with this?

PS: I tried both ways, same result.
where it stucked ? what was last output message ?
i have already tested those methods and both are working to me.
(make sure they are in same dimensions)
(crash can be caused when texture dimensions are very big)
__________________

[MOD] CS Weapon Mod V1.7.1
[MM] MetaMod-C V1.0
[MOD] CS NPC Mod (5%)


Probably Left AM

Last edited by Ghosted; 02-03-2018 at 10:23.
Ghosted is offline
GasmoN
Member
Join Date: Jul 2014
Old 02-03-2018 , 10:27   Re: Question about .QC file
Reply With Quote #9

ref_shot_knife_blen... and just pop up "ms3d.exe has stopped working" message.
Dimensions of all 3 textures are 512 x 512, actually that is the same texture just with changed colors.
Location of that textures is in folder where .qc file is.
GasmoN is offline
Ghosted
Veteran Member
Join Date: Apr 2015
Location: Georgia
Old 02-03-2018 , 10:28   Re: Question about .QC file
Reply With Quote #10

Quote:
Originally Posted by GasmoN View Post
ref_shot_knife_blen... and just pop up "ms3d.exe has stopped working" message.
Dimensions of all 3 textures are 512 x 512, actually that is the same texture just with changed colors.
Location of that textures is in folder where .qc file is.
can you attach files?
__________________

[MOD] CS Weapon Mod V1.7.1
[MM] MetaMod-C V1.0
[MOD] CS NPC Mod (5%)


Probably Left AM
Ghosted 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 23:51.


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