Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Tools => Topic started by: Nyctaeus on August 07, 2011, 05:24:25 am

Title: Submodel import - texture slots problem
Post by: Nyctaeus on August 07, 2011, 05:24:25 am
Hi. I downloaded the newest version of the PCS2 and I've met a strange problem. When I'm trying to import a turret submodel from other model, PCS creates new texture slots instead of fuse with existing ones. Texture what submodel uses is present on the texture list and normaly it should be fused, but now PCS ignore it and create new texture slot on the end of the list. Now I have a lot of doubled textures. Double textures = more textures and model is less-optimised than it should be. Anyone met similar problem?
Title: Re: Submodel import - texture slots problem
Post by: pecenipicek on August 08, 2011, 10:10:59 am
i seriously do not believe it causes textures to be loaded twice for the model.
Title: Re: Submodel import - texture slots problem
Post by: Nyctaeus on August 08, 2011, 11:25:44 am
I found the problem. Newest version of PCS2 can discern big and small letters. Even if texture name is the same, if first texture had some big letters but second not, PCS will reckon them as two different textures. To import submodel from other model I needed to rename the texture [for example from "Tcov2" to "tcov2"], now the texture names works.

Question for PCS2 developers: Is this desired function or somekind of bug?
Title: Re: Submodel import - texture slots problem
Post by: Droid803 on August 08, 2011, 03:44:02 pm
texture loading shouldn't be case sensitive, since FSO disregards case altogether.
so probably a bug, or a quirk.
Title: Re: Submodel import - texture slots problem
Post by: chief1983 on August 10, 2011, 01:48:25 am
On some platforms, Tcov2 and tcov2 could be different files, and on other platforms it would be impossible for those to be different files.  FSO should disregard case if they're found in different locations, but if they're both found in the same folder on Linux, how could it know which one to use?
Title: Re: Submodel import - texture slots problem
Post by: Nyctaeus on August 12, 2011, 07:08:37 pm
I'm using standard Windows 7 and I have this problem since I downloaded PCS version The E posted here: http://www.hard-light.net/forums/index.php?topic=77292.0 (http://www.hard-light.net/forums/index.php?topic=77292.0)