Forum

Alternate Armor skins not working

Discuss the creation of various model formats for Quake engines, and related matters to modeling.

Moderator: InsideQC Admins

Alternate Armor skins not working

Postby Cobalt » Tue Jan 06, 2015 5:00 pm

Ok, it never ceases to amaze me how simple you think doing something can be , only to be puzzled for days trying to fix it.

Using Darkplaces, and found some old alternate armor skins for the std armor.mdl

I wanted to merely add these skins to be skin 3,4 and 5 respectively, and keep the old armor skins in the original. Well, seems I can sub the skins for skin 0,1 and 2 if I rename the files: armor.mdl_0.png , _1 and _2 respectively , essentially placing these skin files in the progs folder where the armor model is located, but trying to make them skins _3 _4 and _5 results in a white skin all the time. Im using (2) pak files for my mod and they both have progs folders , but as I understand, the system will merely override same file names in higher directory structures, and I dont see any duplicates in lower directories such as id1.

The DP extensions file describes "skin groups" such as _A_B which I dont completely understand, but for the most part my naming scheme (armor.mdl_x.png) where "x" is the new skin number seems to work when subbing to the original skin in the mdl file, and I also am doing the same thing where a player model with (8) skins in it, I merely place the new skin files in the same directory as the model, even in a pk3 file, and it works, so am really stumped by this one. Any help appreciated.
User avatar
Cobalt
 
Posts: 445
Joined: Wed Jun 10, 2009 2:58 am
Location: New England, USA

Re: Alternate Armor skins not working

Postby r00k » Tue Jan 06, 2015 10:22 pm

your model has to have the extra skin slots baked into it
even if they are 8bit placement holders (ie just white).

fire up qme go to skins button then add more skins then save
r00k
 
Posts: 1108
Joined: Sat Nov 13, 2004 10:39 pm

Re: Alternate Armor skins not working

Postby Cobalt » Wed Jan 07, 2015 12:19 am

I just dbl checked and I have a player.mdl with (8) built in skin slots in the model, and with the external texturing file system I merely place the new skin picture files in the progs folder where the player.mdl is and it renders them fine. (skin 9 and up)

I dont see any empty skin slots in that model...how can it do this for one kind of model and not another?

r00k wrote:your model has to have the extra skin slots baked into it
even if they are 8bit placement holders (ie just white).

fire up qme go to skins button then add more skins then save
User avatar
Cobalt
 
Posts: 445
Joined: Wed Jun 10, 2009 2:58 am
Location: New England, USA

Re: Alternate Armor skins not working

Postby Cobalt » Wed Jan 07, 2015 8:17 pm

Ok Im stil puzzled, but I did what Rook said and I made (10) more duplicate skin slots in the armor model, and now I can apparently sub in new skins ok. I havent tried going past slot 10 yet, but as I said, the player.mdl with 8 skins baked in the mdl accepts new skin files all the way up to 16 and beyond using the external naming scheme. Not sure what the reason is unless you need an "x" number of prebaked skin slots, apparently its > 3 for the tests I have done here.
User avatar
Cobalt
 
Posts: 445
Joined: Wed Jun 10, 2009 2:58 am
Location: New England, USA

Re: Alternate Armor skins not working

Postby ceriux » Thu Jan 08, 2015 5:34 pm

i actually did it with sectioned models ... i know you can just use skins. but i was playing around when i did it.

viewtopic.php?f=2&t=5296
User avatar
ceriux
 
Posts: 2223
Joined: Sat Sep 06, 2008 3:30 pm
Location: Indiana, USA

Re: Alternate Armor skins not working

Postby mankrip » Sat Jan 10, 2015 7:57 am

QuakeWorld supports external skins on the player model, so Darkplaces must be using those extra player skins as external skins instead of replacement skins.
Ph'nglui mglw'nafh mankrip Hell's end wgah'nagl fhtagn.
==-=-=-=-=-=-=-=-=-=-==
Dev blog / Twitter / YouTube
User avatar
mankrip
 
Posts: 915
Joined: Fri Jul 04, 2008 3:02 am


Return to Modeling

Who is online

Users browsing this forum: No registered users and 1 guest