Mods with item texture replacement

Discuss everything related to custom data creation.

Moderator: NADEO

Post Reply
User avatar
xbx
Nadeo
Nadeo
Posts: 1289
Joined: 14 Jun 2010, 17:35

Mods with item texture replacement

Post 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.
User avatar
spaii
Posts: 1075
Joined: 19 Jun 2010, 00:04
Location: Rémy - France
Contact:

Re: Mods with item texture replacement

Post by spaii »

Nice :thumbsup: :thx:
User avatar
spaii
Posts: 1075
Joined: 19 Jun 2010, 00:04
Location: Rémy - France
Contact:

Re: Mods with item texture replacement

Post 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
ziza
Posts: 65
Joined: 29 Mar 2013, 19:18

Re: Mods with item texture replacement

Post 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?
User avatar
xbx
Nadeo
Nadeo
Posts: 1289
Joined: 14 Jun 2010, 17:35

Re: Mods with item texture replacement

Post 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.
ziza
Posts: 65
Joined: 29 Mar 2013, 19:18

Re: Mods with item texture replacement

Post 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
tnc1976
Posts: 147
Joined: 06 Aug 2011, 16:52
Location: Germany

Re: Mods with item texture replacement

Post 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
User avatar
angry_duck
Nadeo
Nadeo
Posts: 185
Joined: 14 Oct 2011, 12:17

Re: Mods with item texture replacement

Post 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.
angry_duck
Post Reply

Return to “Title Pack & Custom Data Creation”

Who is online

Users browsing this forum: No registered users and 1 guest