Possible conflict when using custom displays and modifying Evoch fighter mplane25

Tips, tactics, and general discussion for Evochron Legacy.
User avatar
TraderDan
Lieutenant
Lieutenant
Posts: 297
Joined: Tue Dec 13, 2022 10:05 am

Possible conflict when using custom displays and modifying Evoch fighter mplane25

Post by TraderDan »

When trying to load a custom model for the Evoch fighter textures mplane25lights, mplane25shader, mplane25normal, crash the game to the desktop, the conflict seems to be related to custom displays 1-3. Even removing these textures and getting the game to load just results in distorted textures from mplane25 being applied to the stock in game Evoch model instead of mplane25.obj.
- aCrustyBread
User avatar
Vice
Administrator
Administrator
Posts: 12227
Joined: Fri Apr 25, 2003 1:38 am

Re: Possible conflict when using custom displays and modifying Evoch fighter mplane25

Post by Vice »

Indeed. From the Discord discussion:

There are some index overlaps there when trying to use both sets of custom image files simultaneously. There are a couple of options to work around it. 1 - You can import the gunstar into a lower military index, 24 or lower should work. 2 - Import the gunstar into a higher index, 28-31 should avoid a conflict. 3 - You can import the custom hull textures into the global group (ie mplane-medium.png) and then have those textures shared among other military ships (or make them all gunstars of different 'types'/configurations. 4 - If you have enough index room, increase the baseline index for your custom display textures by +4 or +5 to avoid an index conflict with that military frame index. If +4, then index 9104 will be used which should be ok.

Moving to main Evochron forum. Not sure there is sufficient room in the block for shuffling things, but I can look into it. If applied, it may be a while before such changes are available in an update (such changes can cause the same kind of thing). In the meantime, one of the options above is what I'd recommend.
StarWraith 3D Games
www.starwraith.com | www.spacecombat.org
3D Space Flight and Combat Simulations
User avatar
TraderDan
Lieutenant
Lieutenant
Posts: 297
Joined: Tue Dec 13, 2022 10:05 am

Re: Possible conflict when using custom displays and modifying Evoch fighter mplane25

Post by TraderDan »

Ok thanks for your help vice, it sounds like the Evoch textures will have to use global setting and other frames individual ones for now. For the time being I'll try it as mplane24 - what about the .obj not loading when it was named mplane25.obj?
- aCrustyBread
User avatar
Vice
Administrator
Administrator
Posts: 12227
Joined: Fri Apr 25, 2003 1:38 am

Re: Possible conflict when using custom displays and modifying Evoch fighter mplane25

Post by Vice »

'mplane' is not an affiliated frame mesh identifier for any of the available mesh indexes. That prefix is only used for military ship textures. 'frame' is exclusive to all ship frame meshes. So it would need to be 'frame25.obj'.
StarWraith 3D Games
www.starwraith.com | www.spacecombat.org
3D Space Flight and Combat Simulations
User avatar
TraderDan
Lieutenant
Lieutenant
Posts: 297
Joined: Tue Dec 13, 2022 10:05 am

Re: Possible conflict when using custom displays and modifying Evoch fighter mplane25

Post by TraderDan »

Oh .... Got it, frame25.obj mesh with military texture names of mplane. Thanks Vice I'll give it a go
- aCrustyBread