Author Topic: Unable to use multiple presets  (Read 3490 times)

Offline PuppyDog52

  • Forum Newcomer
  • *
  • Posts: 6
  • Floof-O-Meter: 0
    • View Profile
Unable to use multiple presets
« on: May 12, 2017, 02:41:46 am »
I'm trying to use multiple presets but when I put a preset in a folder it only makes that folder with the preset vanish help please

Offline Azurain

  • 🍃🍃🍃🍃🍃
  • Elder Grey Pelt
  • ****
  • Posts: 3,303
  • Country: us
  • Floof-O-Meter: 183
  • an actual forest gremlin
    • lark-bird
    • View Profile
Re: Unable to use multiple presets
« Reply #1 on: May 12, 2017, 02:47:48 am »
Are you trying to put multiple presets into one folder? If you already have a preset in a folder, you can't put another preset in it. You will have to use another one. If you have a preset labeled preset_3 for example, but already have a preset in folder 3, all you have to do is rename all of the files to the file you want to put it in and go change the coding in the material file. (Basically just change everything from _3 to _# you choose)

Hope this was what you were meaning. ^^;

Offline PuppyDog52

  • Forum Newcomer
  • *
  • Posts: 6
  • Floof-O-Meter: 0
    • View Profile
Re: Unable to use multiple presets
« Reply #2 on: May 12, 2017, 02:53:36 am »
I mean I have a preset in a folder and a another in preset_2 folder but when I do that the game doesn't see that folder
« Last Edit: May 12, 2017, 02:55:23 am by PuppyDog52 »

Offline Azurain

  • 🍃🍃🍃🍃🍃
  • Elder Grey Pelt
  • ****
  • Posts: 3,303
  • Country: us
  • Floof-O-Meter: 183
  • an actual forest gremlin
    • lark-bird
    • View Profile
Re: Unable to use multiple presets
« Reply #3 on: May 12, 2017, 03:01:47 am »
So you're saying that when you go into preset maker you don't have an option for preset 2? Or did you not go to preset maker first and export it?

Offline Morgra

  • I don't like sand...
  • Immortal Legend
  • *****
  • Posts: 5,718
  • Country: us
  • Floof-O-Meter: 347
  • Ever been killed by a spider? I was
    • DinksterDaily
    • View Profile
Re: Unable to use multiple presets
« Reply #4 on: May 12, 2017, 03:02:47 am »
Did you change the material files in each to correspond with each folder number? If you just pasted your first folder's material file overtop of the one in the preset_2 file, then the preset will indeed disappear. I'd recommend copying all of your files over except for the material file of your preset and making a new material file with the names of each of your texture files.
Profile pic by Edolicious

People don't think the universe be like it is, but it do.


Offline PuppyDog52

  • Forum Newcomer
  • *
  • Posts: 6
  • Floof-O-Meter: 0
    • View Profile
Re: Unable to use multiple presets
« Reply #5 on: May 12, 2017, 03:05:52 am »
I put a preset in preset_2 made sure the material file said preset_2 then I go into the game to export it and preset 2 doesn't show up
« Last Edit: May 12, 2017, 03:07:24 am by PuppyDog52 »

Offline Morgra

  • I don't like sand...
  • Immortal Legend
  • *****
  • Posts: 5,718
  • Country: us
  • Floof-O-Meter: 347
  • Ever been killed by a spider? I was
    • DinksterDaily
    • View Profile
Re: Unable to use multiple presets
« Reply #6 on: May 12, 2017, 03:10:22 am »
Are you making sure that the numbers inside of each material section say "2"? In my example below, note the top line. Each part of your preset, that first line (bodyMatL, bodyMatR, headMatL, headMatR etc) should have a 2 listed next to it.
Code: [Select]
material preset_2_bodyMatL
{
technique
{
pass
{
texture_unit
{
texture preset_2body.jpg
}
}
}
}
Profile pic by Edolicious

People don't think the universe be like it is, but it do.


Offline PuppyDog52

  • Forum Newcomer
  • *
  • Posts: 6
  • Floof-O-Meter: 0
    • View Profile
Re: Unable to use multiple presets
« Reply #7 on: May 12, 2017, 03:18:21 am »
I don't know how to check that

Offline Morgra

  • I don't like sand...
  • Immortal Legend
  • *****
  • Posts: 5,718
  • Country: us
  • Floof-O-Meter: 347
  • Ever been killed by a spider? I was
    • DinksterDaily
    • View Profile
Re: Unable to use multiple presets
« Reply #8 on: May 12, 2017, 03:30:32 am »
You will need to open the preset_2.material file in Notepad. How you do that is you right click the .material file, move your cursor down to 'Open With...' then select the program "Notepad". In here will be all of the preset's information. For each part you need to make sure the file names and the file types are correct. Say for instance, your preset body texture file is "mypresetbody.png" It would need to look like this under the left body material text and the right body material text.

Like this


Code: [Select]
material preset_2_bodyMatL
{
technique
{
pass
{
texture_unit
{
texture mypresetbody.png
}
}
}
}
material preset_2_bodyMatR
{
technique
{
pass
{
texture_unit
{
texture mypresetbody.png
}
}
}
}

Not this

Code: [Select]
material preset_2_bodyMatL
{
technique
{
pass
{
texture_unit
{
texture preset_2body.jpg
}
}
}
}
material preset_2_bodyMatR
{
technique
{
pass
{
texture_unit
{
texture preset_2body.jpg
}
}
}
}

You will need to change the filenames for each preset part in order for it to show up correctly.
Profile pic by Edolicious

People don't think the universe be like it is, but it do.


Offline PuppyDog52

  • Forum Newcomer
  • *
  • Posts: 6
  • Floof-O-Meter: 0
    • View Profile
Re: Unable to use multiple presets
« Reply #9 on: May 12, 2017, 03:45:27 am »
Ok I did it now preset 2 is showing but the export button doesn't do anything