Page 1 of 1

Mods with item texture replacement

Posted: 06 Jul 2014, 15:52
by xbx
Hi!

Just passing to inform you that since MP3.1, you can mod custom item textures in addition to the enviro textures.

here is how:

Imagine you have the following layout:
  • Items/MyCollection/Group1/Textures/image1.dds
  • Items/MyCollection/Group1/Textures/imagex.dds
  • Items/MyCollection/Group1/item1.item1.gbx
  • Items/MyCollection/Group1/item3.item1.gbx
  • Items/MyCollection/Group1/item12.item1.gbx
  • Items/MyCollection/Group2/Textures/image.dds
  • Items/MyCollection/Group2/item1.item1.gbx
  • Items/OtherCollection/itemtest.item1.gbx
  • Items/OtherCollection/itemtest.dds
then you can add folders to the mod zip
  • Items/MyCollection!Group1!Textures/image1.dds
  • Items/MyCollection!Group1!Textures/imagen.dds
  • Items/MyCollection!Group2!Textures/image.dds
  • Items/OtherCollection/imagetest.dds
notice how the hierarchy was flattenend out by replaceing path separators by '!'




In addition, it is also possible to do:
  • Items/MyCollection/Textures/Wood/image1.dds
  • Items/MyCollection/Textures/Wood/image2.dds
  • Items/MyCollection/Textures/Stone/image1.dds
  • Items/MyCollection/Textures/Stone/image2.dds
  • Items/MyCollection/Group1/item1.item1.gbx
  • Items/MyCollection/Group1/item3.item1.gbx
  • Items/MyCollection/Group1/item12.item1.gbx
  • Items/MyCollection/Group2/item1.item1.gbx
and have in the mod.zip
  • Items/MyCollection!Textures/Wood/image1.dds
  • Items/MyCollection!Textures/Stone/image1.dds
With the technical limitation that you can't have a hierarchy more than 2 folder deep..[/size]


An other thing is that while when you play a map and the P2P downloads the mod, it is applied at race restart as soon as it is downloaded. This will not work for items.
For items, the mod.zip must be on the disk when the map is loaded to be applied.

Re: Mods with item texture replacement

Posted: 06 Jul 2014, 16:40
by spaii
Nice :thumbsup: :thx:

Re: Mods with item texture replacement

Posted: 06 Jul 2014, 17:31
by spaii
This works nice :thumbsup: :clap:

I simply changed a texture to test, Start is green at origin and CP is blue, fastly modded for testing : http://scree.noscop.es/images/2014-07-06_18-25-12.jpg

Re: Mods with item texture replacement

Posted: 07 Jul 2014, 19:43
by ziza
An other thing is that while when you play a map and the P2P downloads the mod, it is applied at race restart as soon as it is downloaded. This will not work for items.
For items, the mod.zip must be on the disk when the map is loaded to be applied.
Is that in any way fixable?

Re: Mods with item texture replacement

Posted: 09 Jul 2014, 20:48
by xbx
ziza wrote:
An other thing is that while when you play a map and the P2P downloads the mod, it is applied at race restart as soon as it is downloaded. This will not work for items.
For items, the mod.zip must be on the disk when the map is loaded to be applied.
Is that in any way fixable?
the P2P still works. it's just that applying the textures is delayed till next loading.

Re: Mods with item texture replacement

Posted: 16 Jul 2014, 17:27
by ziza
i did get that, it's just a bad system in my view.

In our titlepack (RPG) tracks are built with 90% custom items, so loading the mod ingame would be quite important.
Our own selfmade system for having modable items is already capable of doing it(and already worked in MP2), so this is kind of a step backwards.

ZiZa

Re: Mods with item texture replacement

Posted: 02 Jul 2016, 19:59
by tnc1976
:?: :?:

I use a item that uses StadiumRoadGridD.dds

If i use ModWork/Image/StadiumRoadGridD.dds with custom Texture it shows up on all Road & Loop Parts & the Item.

Is it possible to only mod the Item texture ?

I try´d ModWork/Items/Image/StadiumRoadGridD.dds

but this wont work ...

greets

Re: Mods with item texture replacement

Posted: 04 Jul 2016, 13:59
by angry_duck
No it's not possible. There is no other way than import the item again, using your custom texture directly instead of the game texture.