Author Topic: About preset  (Read 1402 times)

Offline aryana100

  • Dedicated Supporter
  • ***
  • Posts: 264
  • Country: ro
  • Floof-O-Meter: 7
    • iuliathewolf
    • /c/Ritsukii
    • View Profile
About preset
« on: June 16, 2018, 09:37:16 pm »
I wanted to make a scrolling head preset and when i goes on fh to check the preset are not the preset and is not scrolling

Quote
material preset_7_bodyMatL
{
 technique
 {
  pass
  {
   texture_unit
   {
    texture preset_7scroll.jpg
    scroll_anim 1.0 1.0
   }
  }
  pass
  {
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_7body.jpg
   }
  }
 }
}
material preset_7_bodyMatR
{
 technique
 {
  pass
  {
   texture_unit
   {
    texture preset_7scroll.jpg
    scroll_anim 1.0 1.0
   }
  }
  pass
  {
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_7body.jpg
   }
  }
 }
}
material preset_7_headMatL
{
 technique
 {
  pass
  {
   texture_unit
   {
    texture preset_7scroll.jpg
    scroll_anim 1.0 1.0
   }
  }
  pass
  {
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_7head.jpg
   }
  }
 }
}
material preset_7_headMatR
{
 technique
 {
  pass
  {
   texture_unit
   {
    texture preset_7scroll.jpg
    scroll_anim 1.0 1.0
   }
  }
  pass
  {
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_7head.jpg
   }
  }
 }
}
material preset_7_eyeMatL
{
 technique
 {
  pass
  {
   texture_unit
   {
    texture preset_7scroll.jpg
    scroll_anim 1.0 1.0
   }
  }
  pass
  {
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_7eye.png
   }
  }
 }
}
material preset_7_eyeMatR
{
 technique
 {
  pass
  {
   texture_unit
   {
    texture preset_7scroll.png
    scroll_anim 1.0 1.0
   }
  }
  pass
  {
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_7eye.png
   }
  }
 }
}
material preset_7_tailMat
{
 technique
 {
  pass
  {
   texture_unit
   {
    texture preset_7scroll.jpg
    scroll_anim 1.0 1.0
   }
  }
  pass
  {
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_7tail.jpg
   }
  }
 }
}
material preset_7_maneMat
{
 technique
 {
  pass
  {
   cull_hardware none
   cull_software none
   alpha_rejection greater_equal 128
   texture_unit
   {
    texture preset_7mane.png
    scroll_anim 1.0 1.0
   }
  }
 }
}

Offline CheesePizza

  • Forum Newcomer
  • *
  • Posts: 9
  • Country: gb
  • Floof-O-Meter: 2
  • + glug glug glug
    • Cheesier-Pizza
    • View Profile
Re: About preset
« Reply #1 on: June 16, 2018, 09:48:01 pm »
Hi there,

Scrolling markings (preset_7scroll.jpg) scroll wherever there is transparency on the body part (eg. preset_7body.jpg). Exporting things as a jpg gets rid of this transparency, and instead you need to export the body part as a png as this file type supports transparency. If you are using gimp to make your preset, you need to uncheck the box that says "save colour values for each pixel" so that the transparent areas remain transparent. I think that the scrolling texture has to be a png too. remember to modify the material file so that it says .png instead of .jpg, once you have re-exported everything in your preset to this file type.

Is your whole preset (eg mane, body, eye, tail, etc) supposed to have a scrolling component? Or just a certain part?

« Last Edit: June 16, 2018, 09:51:40 pm by CheesePizza »

Offline D-ead7Dog

  • AFK NPC
  • Member Of The Season
  • Pack & Pride Representative
  • ***
  • Posts: 1,461
  • Country: us
  • Floof-O-Meter: 98
  • BUMPY SNOW
    • D-ead7Dog
    • d-ead7dog
    • View Profile
Re: About preset
« Reply #2 on: June 16, 2018, 11:10:48 pm »
Make your material file look like this even though i'm pretty sure your code is that but i would just copy this and paste it in the material and change where you see fit jusssttt in case - also be sure to change the files to .png - just to make things easier! [you don't have to but I always prefer it when making moving presets]
Code: [Select]
material preset_7_bodyMatL
{
 technique
 {
  pass
  {
   texture_unit
   {
    texture preset_7scroll.png
    scroll_anim 0.1 0.1
   }
  }
  pass
  {
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_7body.png
   }
  }
 }
}
material preset_7_bodyMatR
{
 technique
 {
  pass
  {
   texture_unit
   {
    texture preset_7scroll.png
    scroll_anim 0.1 0.1
   }
  }
  pass
  {
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_7body.png
   }
  }
 }
}
material preset_7_headMatL
{
 technique
 {
  pass
  {
   texture_unit
   {
    texture preset_7scroll.png
    scroll_anim 0.1 0.1
   }
  }
  pass
  {
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_7headH.png
   }
  }
 }
}
material preset_7_headMatR
{
 technique
 {
  pass
  {
   texture_unit
   {
    texture preset_7scroll.png
    scroll_anim 0.1 0.1
   }
  }
  pass
  {
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_7headH.png
   }
  }
 }
}
material preset_7_eyeMatL
{
 technique
 {
  pass
  {
   ambient 0.5 0.5 0.5
   texture_unit
   {
    texture noseglow.png
   }
  }
  pass
  {
   emissive 1.0 0.0 0.0
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_7eye.png
   }
  }
 }
}
material preset_7_eyeMatR
{
 technique
 {
  pass
  {
   ambient 0.3 0.3 0.3
   texture_unit
   {
    texture noseglow.png
   }
  }
  pass
  {
   emissive 1.0 0.0 0.0
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_7eye.png
   }
  }
 }
}
material preset_7_tailMat
{
 technique
 {
  pass
  {
   texture_unit
   {
    texture preset_7scroll.png
    scroll_anim 0.1 0.1
   }
  }
  pass
  {
   scene_blend alpha_blend
   texture_unit
   {
    texture preset_7tail.png
   }
  }
 }
}
material preset_7_maneMat
{
technique
{
pass
{
lighting off
cull_hardware none
cull_software none
scene_blend alpha_blend
depth_write off
texture_unit
{
texture preset_7mane.png
}
}
}
}
material preset_7_equipMatL
{
technique
{
pass
{
alpha_rejection greater_equal 128
texture_unit
{
texture preset_7equip.png
}
}
}
}
material preset_7_equipMatR
{
technique
{
pass
{
alpha_rejection greater_equal 128
texture_unit
{
texture preset_7equip.png
}
}
}
}

And then have whatever scrolling image you want be a separate file like how the head, body, tail, and mane is all separate like this - the bottom two images. [Ignore the wrong numbers on mine! I didn't want to have to move all the files over and rename them to _7]
.
:)
« Last Edit: June 16, 2018, 11:22:13 pm by D-ead7Dog »
WORK IN PROGRESS
Artwork (c) LynxBrush & Majorest

Originally registered January 15, 2011

Offline aryana100

  • Dedicated Supporter
  • ***
  • Posts: 264
  • Country: ro
  • Floof-O-Meter: 7
    • iuliathewolf
    • /c/Ritsukii
    • View Profile
Re: About preset
« Reply #3 on: June 17, 2018, 07:58:39 am »


i use firealpaca to make preset

Offline aryana100

  • Dedicated Supporter
  • ***
  • Posts: 264
  • Country: ro
  • Floof-O-Meter: 7
    • iuliathewolf
    • /c/Ritsukii
    • View Profile
Re: About preset
« Reply #4 on: June 17, 2018, 08:02:10 am »
i tried again and is not in preset maker

Offline SenseiRei

  • Dedicated Supporter
  • ***
  • Posts: 476
  • Country: us
  • Floof-O-Meter: 25
  • ❤️ Plz Nuzzle me! I'm super Cuddly ❤️
    • royaldog12
    • View Profile
Re: About preset
« Reply #5 on: June 17, 2018, 08:45:19 am »
Another tip from a photoshoppers perspective. NEVER Save a file as a JPG. Even though it’s faster to load. It RUINS the image creating these weird giant square like formations (in the dpi sizeing) this form of image wrecking is caused by saving the file as a JPEG. So it’s usually better to save in other formats (ex: TIFF, PNG, PSD) I been using TIFF/PSD files in my FH presets and they work the same as PNG. And whenever I want to fix the file in the future without a hassle I can always open it and make another layer! ^_^

Offline SenseiRei

  • Dedicated Supporter
  • ***
  • Posts: 476
  • Country: us
  • Floof-O-Meter: 25
  • ❤️ Plz Nuzzle me! I'm super Cuddly ❤️
    • royaldog12
    • View Profile
Re: About preset
« Reply #6 on: June 17, 2018, 08:48:45 am »
LAST NOTE!!! And HEADS UP!
You may need to change your username to something without numbers on the end.
In one of my researches, I found out that FH will CONFUSE the numbers at the end of your username with the preset file number. And once exported and sent to a friend, they won’t be ABLE to see your preset. Letting you know that dear.

Offline aryana100

  • Dedicated Supporter
  • ***
  • Posts: 264
  • Country: ro
  • Floof-O-Meter: 7
    • iuliathewolf
    • /c/Ritsukii
    • View Profile
Re: About preset
« Reply #7 on: June 17, 2018, 09:06:51 am »
i want to change my name in fh?

Offline Kerriki

  • Band Geek
  • Immortal Legend
  • *****
  • Posts: 5,670
  • Country: us
  • Floof-O-Meter: 371
  • Who needs furniture when you have the floor?
    • Kikiorylandia
    • View Profile
    • DeviantART
Re: About preset
« Reply #8 on: June 17, 2018, 07:09:59 pm »
LAST NOTE!!! And HEADS UP!
You may need to change your username to something without numbers on the end.
In one of my researches, I found out that FH will CONFUSE the numbers at the end of your username with the preset file number. And once exported and sent to a friend, they won’t be ABLE to see your preset. Letting you know that dear.

Not true. Aryana100, you do not need to change your username so don't worry about it~

Looking at your screenshot I already see something. Rename your scroll image from "preset_7scroll.material" to "preset_7scroll.png" (Make sure all of your files end in ".png", for that matter)

Also, do you mind re-pasting your code here, please? I'd just like to see it in case you've changed it since you last posted it c:
Farewell everyone<3

Offline aryana100

  • Dedicated Supporter
  • ***
  • Posts: 264
  • Country: ro
  • Floof-O-Meter: 7
    • iuliathewolf
    • /c/Ritsukii
    • View Profile
Re: About preset
« Reply #9 on: June 17, 2018, 07:55:19 pm »
i created the scrolling for hea d but for mane idk