PiBoSo Official Forum

GP Bikes => Mods => Bikes => Topic started by: julien113 on January 11, 2018, 10:24:07 AM

Title: Tyre textures
Post by: julien113 on January 11, 2018, 10:24:07 AM
Can i have a screenshot of the forlder to see how it looks like for the export? or a tutorial?
It is difficult to have different texture for each type of tyre
Thanks!!!
Title: Re: Tyre textures
Post by: JOACKO172 on July 04, 2018, 09:15:30 PM
I am looking for the same information. Any help?
Title: Re: Tyre textures
Post by: Blackheart on July 04, 2018, 09:23:58 PM
Here (http://docs.piboso.com/wiki/index.php?title=Tyres)
Title: Re: Tyre textures
Post by: JOACKO172 on July 04, 2018, 09:45:23 PM
Quote from: Blackheart on July 04, 2018, 09:23:58 PM
Here (http://docs.piboso.com/wiki/index.php?title=Tyres)
Yeah, i see that but i need a explication, its confussing for me.
Title: Re: Tyre textures
Post by: Blackheart on July 04, 2018, 10:00:03 PM
Quote from: JOACKO172 on July 04, 2018, 09:45:23 PM
Yeah, i see that but i need a explication, its confussing for me.

So this is the "Block 1":

Quotetread_b1.tga
tread_b2.tga
tread_w1.tga
tread_w1_b1.tga
tread_w1_b2.tga
tread_w2.tga
tread_w2_b1.tga
tread_w2_b2.tga
tread_w3.tga
tread_w3_b1.tga
tread_w3_b2.tga

A block are 12 textures, the first block is + 1 [the default] of your model.

b = Blur textures
w = wear

So if for example you want a different textures, under this block 1, put the name of the new texture and in the gfx set the texture n.2 for the tire "X".
Title: Re: Tyre textures
Post by: Manu on July 04, 2018, 10:09:07 PM
Quote from: JOACKO172 on July 04, 2018, 09:45:23 PM
Yeah, i see that but i need a explication, its confussing for me.

I can show a small tutorial.
Title: Re: Tyre textures
Post by: JOACKO172 on July 05, 2018, 12:14:05 AM
Quote from: Manu on July 04, 2018, 10:09:07 PM
Quote from: JOACKO172 on July 04, 2018, 09:45:23 PM
Yeah, i see that but i need a explication, its confussing for me.

I can show a small tutorial.
Yes please
Title: Re: Tyre textures
Post by: JOACKO172 on July 05, 2018, 01:41:33 AM
Quote from: Blackheart on July 04, 2018, 10:00:03 PM
Quote from: JOACKO172 on July 04, 2018, 09:45:23 PM
Yeah, i see that but i need a explication, its confussing for me.

So this is the "Block 1":

Quotetread_b1.tga
tread_b2.tga
tread_w1.tga
tread_w1_b1.tga
tread_w1_b2.tga
tread_w2.tga
tread_w2_b1.tga
tread_w2_b2.tga
tread_w3.tga
tread_w3_b1.tga
tread_w3_b2.tga

A block are 12 textures, the first block is + 1 [the default] of your model.

b = Blur textures
w = wear

So if for example you want a different textures, under this block 1, put the name of the new texture and in the gfx set the texture n.2 for the tire "X".
I don´t have blur and wear textures and for now i don´t want it (maybe is obligatory, correct me ), i only need the normal tyres and the wet ones, so that is what i am looking for.
Title: Re: Tyre textures
Post by: Blackheart on July 05, 2018, 03:53:12 AM
Quote from: JOACKO172 on July 05, 2018, 01:41:33 AM
I don´t have blur and wear textures and for now i don´t want it (maybe is obligatory, correct me ), i only need the normal tyres and the wet ones, so that is what i am looking for.

Its not obligatory, you can also leave a single texture in a block  ;)

For example:


Quotetyre_texture.tga
tyre_texture.tga
tyre_texture.tga
tyre_texture.tga
tyre_texture.tga
tyre_texture.tga
tyre_texture.tga
tyre_texture.tga
tyre_texture.tga
tyre_texture.tga
tyre_texture.tga
tyre_texture_WET.tga  If you want use just 2 textures, in this way It should work

After the EDF exportation, go in the gfx of the tires, and just put the correct number in compound, = 0 for the default and = 1 for the wet texture:

Quotetyre_frame
   {
      compound0 = 0
      compound1 = 1
   }


Title: Re: Tyre textures
Post by: JOACKO172 on July 05, 2018, 02:57:33 PM
This is what i have now and it´s not working.
(https://s19.postimg.cc/jfei1lidr/bandicam_2018-07-05_11-55-47-545.jpg) (https://postimg.cc/image/jfei1lidr/) (https://s19.postimg.cc/rkwjzqywv/bandicam_2018-07-05_11-55-57-182.jpg) (https://postimg.cc/image/rkwjzqywv/) (https://s19.postimg.cc/7qaidmbzj/bandicam_2018-07-05_11-56-38-050.jpg) (https://postimg.cc/image/7qaidmbzj/)

Title: Re: Tyre textures
Post by: Blackheart on July 05, 2018, 03:05:42 PM
Quote from: JOACKO172 on July 05, 2018, 02:57:33 PM
This is what i have now and it´s not working.
(https://s19.postimg.cc/jfei1lidr/bandicam_2018-07-05_11-55-47-545.jpg) (https://postimg.cc/image/jfei1lidr/) (https://s19.postimg.cc/rkwjzqywv/bandicam_2018-07-05_11-55-57-182.jpg) (https://postimg.cc/image/rkwjzqywv/) (https://s19.postimg.cc/7qaidmbzj/bandicam_2018-07-05_11-56-38-050.jpg) (https://postimg.cc/image/7qaidmbzj/)

Missing the name of the texture before the compounds:

Quotetyre_texture = yourtexture
   tyre_frame
   {
      compound0 = 0
      compound1 = 1
   }

Title: Re: Tyre textures
Post by: JOACKO172 on July 05, 2018, 03:27:05 PM
Quote from: Blackheart on July 05, 2018, 03:05:42 PM
Quote from: JOACKO172 on July 05, 2018, 02:57:33 PM
This is what i have now and it´s not working.
(https://s19.postimg.cc/jfei1lidr/bandicam_2018-07-05_11-55-47-545.jpg) (https://postimg.cc/image/jfei1lidr/) (https://s19.postimg.cc/rkwjzqywv/bandicam_2018-07-05_11-55-57-182.jpg) (https://postimg.cc/image/rkwjzqywv/) (https://s19.postimg.cc/7qaidmbzj/bandicam_2018-07-05_11-56-38-050.jpg) (https://postimg.cc/image/7qaidmbzj/)

Missing the name of the texture before the compounds:

Quotetyre_texture = yourtexture
   tyre_frame
   {
      compound0 = 0
      compound1 = 1
   }
Maybe other thing? Still not working
(https://s19.postimg.cc/3v74b5g03/bandicam_2018-07-05_12-26-03-722.jpg) (https://postimg.cc/image/bnxs34lz3/)
Title: Re: Tyre textures
Post by: Blackheart on July 05, 2018, 03:37:20 PM
Copy/paste Here the cfg of the tires
Title: Re: Tyre textures
Post by: JOACKO172 on July 05, 2018, 03:38:55 PM
Quote from: Blackheart on July 05, 2018, 03:37:20 PM
Copy/paste Here the cfg of the tires



front_wheel
{
   model
   {
      file = ftyre.edf
   }
   shadow
   {
      file = 125rr_s.edf
      name = fwheel
   }
   ambientshadow
   {
      file = d_rr125_07_as.edf
   }
   tyre_texture = tyre
   tyre_frame
   {
      compound0 = 0
      compound1 = 1
   }
}

rear_wheel
{
   model
   {
      file = rtyre.edf
   }
   shadow
   {
      file = rwheel_s.edf
      name = rwheel
   }
   ambientshadow
   {
      file = d_rr125_07_as.edf
      name = rtyre
   }
   tyre_texture = tyre
   tyre_frame
   {
      compound0 = 0
      compound1 = 1
   }

}
Title: Re: Tyre textures
Post by: Blackheart on July 05, 2018, 03:41:58 PM
Quote from: JOACKO172 on July 05, 2018, 02:57:33 PM
(https://s19.postimg.cc/rkwjzqywv/bandicam_2018-07-05_11-55-57-182.jpg) (https://postimg.cc/image/rkwjzqywv/)

Here there is a error, try in this way, the wet on the line 12:

Quote1.tga
2.tga
3.tga
4.tga
5.tga
6.tga
7.tga
8.tga
9.tga
10.tga
11.tga
12_WET.tga

EDIT: You have posted the gfx not the cfg.
Title: Re: Tyre textures
Post by: JOACKO172 on July 05, 2018, 03:45:00 PM
Quote from: Blackheart on July 05, 2018, 03:41:58 PM
Quote from: JOACKO172 on July 05, 2018, 02:57:33 PM
(https://s19.postimg.cc/rkwjzqywv/bandicam_2018-07-05_11-55-57-182.jpg) (https://postimg.cc/image/rkwjzqywv/)

Here there is a error, try in this way, the wet on the line 12:

Quote1.tga
2.tga
3.tga
4.tga
5.tga
6.tga
7.tga
8.tga
9.tga
10.tga
11.tga
12_WET.tga

EDIT: You have posted the gfx not the cfg.
Sorry

id = Dunlop_TC_18

wheel0
{
   tyre0
   {
      id = Dunlop F Soft
      params = Dunlop_f_soft.tyre
   }
   tyre1
   {
      id = Dunlop F Wet
      params = Dunlop_f_wet.tyre
   }
}

wheel1
{
   tyre0
   {
      id = Dunlop R Soft
      params = Dunlop_r_soft.tyre
   }
   tyre1
   {
      id = Dunlop R Wet
      params = Dunlop_r_wet.tyre
   }
}
Title: Re: Tyre textures
Post by: Blackheart on July 05, 2018, 03:46:28 PM
Ok is correct send me the files in a pack I check it.
Title: Re: Tyre textures
Post by: JOACKO172 on July 05, 2018, 03:51:34 PM
Quote from: Blackheart on July 05, 2018, 03:46:28 PM
Ok is correct send me the files in a pack I check it.
Do you need a file from the bike folder too?
http://www.mediafire.com/file/wal17bd8wmlh9jm/Dunlop_TC_18.rar/file
Title: Re: Tyre textures
Post by: Blackheart on July 05, 2018, 03:53:20 PM
Yup also the bike, please  ;)
Title: Re: Tyre textures
Post by: JOACKO172 on July 05, 2018, 04:16:56 PM
Quote from: Blackheart on July 05, 2018, 03:53:20 PM
Yup also the bike, please  ;)
I send you a PM
Title: Re: Tyre textures
Post by: Blackheart on July 05, 2018, 04:23:24 PM
(https://s33.postimg.cc/t7459tz7z/screen048.png)

Works but in the 2nd step so, try to not use the same name in the tire.txd for the 11 files and it should work.

Anyway the bike has not shaders is normal?
Title: Re: Tyre textures
Post by: JOACKO172 on July 05, 2018, 04:38:41 PM
Quote from: Blackheart on July 05, 2018, 04:23:24 PM
(https://s33.postimg.cc/t7459tz7z/screen048.png)

Works but in the 2nd step so, try to not use the same name in the tire.txd for the 11 files and it should work.

Anyway the bike has not shaders is normal?
Can you send me the files please?
About the shaders i need to check that, i made something but is not completed
Title: Re: Tyre textures
Post by: JOACKO172 on July 05, 2018, 05:35:34 PM
Quote from: Blackheart on July 05, 2018, 04:23:24 PM
(https://s33.postimg.cc/t7459tz7z/screen048.png)

Works but in the 2nd step so, try to not use the same name in the tire.txd for the 11 files and it should work.

Anyway the bike has not shaders is normal?

Thank you so much Blackheart! Its working perfectly now.