Author Topic: (SOLVED) Unable to view preset body in preset maker  (Read 3447 times)

Offline Kitterr

  • Dedicated Supporter
  • ***
  • Posts: 424
  • Country: au
  • Floof-O-Meter: 11
  • joe mama
    • View Profile
(SOLVED) Unable to view preset body in preset maker
« on: June 30, 2020, 12:45:19 am »
So, I got some preset textures from a friend in a group, and I'm using them to make myself a preset. I made the body, exported it out of gimp, and opened feral heart to view the preset. Body didn't show up. "Huh, that must be weird. Did I name it wrong or put it in the wrong slot?" Nope. Correct slot, correct name. Next, I remembered that the preset texture for the body was 1024x1024. So I scaled it down to regular size. No luck. What could be happening that is not allowing me to view the body?
« Last Edit: June 30, 2020, 08:13:05 am by Kitterr »
i'm back cause i'm bored as hell.

Offline Garfield.

  • ✨Magical chihuahua✨
  • Finest Floof
  • ***
  • Posts: 901
  • Country: co
  • Floof-O-Meter: 80
  • hello, it's mac
    • channel/UClsDv82N2aher_4BWUy8KPQ
    • View Profile
Re: Unable to view preset body in preset maker
« Reply #1 on: June 30, 2020, 12:47:05 am »
You should maybe check out in the code and maybe renaming it could work.
properties:
512x512
png or jpg (need to be coded in the material file aswell)
this thread can also help ya
https://feral-heart.com/smf/index.php?topic=68509.0
in case you maybe used any special code, make sure it is all right and take a peek at the tutorial for it.
« Last Edit: June 30, 2020, 12:49:05 am by QuietMacaroni »

Offline Kitterr

  • Dedicated Supporter
  • ***
  • Posts: 424
  • Country: au
  • Floof-O-Meter: 11
  • joe mama
    • View Profile
Re: Unable to view preset body in preset maker
« Reply #2 on: June 30, 2020, 01:25:39 am »
You should maybe check out in the code and maybe renaming it could work.
properties:
512x512
png or jpg (need to be coded in the material file aswell)
this thread can also help ya
https://feral-heart.com/smf/index.php?topic=68509.0
in case you maybe used any special code, make sure it is all right and take a peek at the tutorial for it.

It is 512x512, I used special code, not the culprit. All my preset images are PNGs. Always. Everything is coded correctly, as said in thread, file name, type, and size matches. I did have to scale down the image though, since it was 1024x1024, as stated.
i'm back cause i'm bored as hell.

Offline Garfield.

  • ✨Magical chihuahua✨
  • Finest Floof
  • ***
  • Posts: 901
  • Country: co
  • Floof-O-Meter: 80
  • hello, it's mac
    • channel/UClsDv82N2aher_4BWUy8KPQ
    • View Profile
Re: Unable to view preset body in preset maker
« Reply #3 on: June 30, 2020, 01:31:14 am »
Hmm, did you try renaming it? it could help.

Offline Kitterr

  • Dedicated Supporter
  • ***
  • Posts: 424
  • Country: au
  • Floof-O-Meter: 11
  • joe mama
    • View Profile
Re: Unable to view preset body in preset maker
« Reply #4 on: June 30, 2020, 01:41:18 am »
Hmm, did you try renaming it? it could help.
No luck.
EDIT: I had used the gradient tool in gimp, thought that may have been the culprit, but nope. no luck.
EDIT 2: I also set the body image to a COMPLETELY RANDOM image. No luck. I'll try maybe getting rid of the code used, since anyways I don't think I'll use the code, it's just something I put in there for fun..
EDIT 3: Nope. Didn't work. Body is still showing as black & yellow.
« Last Edit: June 30, 2020, 01:53:02 am by Kitterr »
i'm back cause i'm bored as hell.

Offline LadySigyn

  • Let me guess... someone stole your sweetroll?
  • Moderator
  • Community Champion
  • *****
  • Posts: 2,197
  • Country: au
  • Floof-O-Meter: 105
    • View Profile
Re: Unable to view preset body in preset maker
« Reply #5 on: June 30, 2020, 01:54:16 am »
Could you possibly paste the code for me?
Definitely sounds like a coding problem.

Offline Kitterr

  • Dedicated Supporter
  • ***
  • Posts: 424
  • Country: au
  • Floof-O-Meter: 11
  • joe mama
    • View Profile
Re: Unable to view preset body in preset maker
« Reply #6 on: June 30, 2020, 02:27:42 am »
The code? Sure, let me grab that..
Code: [Select]
material preset_4_bodyMatL
{
technique
{
pass
{
texture_unit
{
texture genebody.png
}
}
}
}
material preset_4_bodyMatR
{
technique
{
pass
{
texture_unit
{
texture genebody.png
}
}
}
}
material preset_4_headMatL
{
technique
{
pass
{
texture_unit
{
texture genehead.png
}
}
}
}
material preset_4_headMatR
{
technique
{
pass
{
texture_unit
{
texture genehead.png
}
}
}
}
material preset_4_eyeMatL
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture geneeyes.png
}
}
}
}
material preset_4_eyeMatR
{
technique
{
pass
{
cull_hardware none
cull_software none
texture_unit
{
texture geneeyes.png
}
}
}
}
material preset_4_tailMat
{
technique
{
pass
{
texture_unit
{
texture genetail.png
}
}
}
}
material preset_4_maneMat
{
technique
{
pass
{
lighting off
cull_hardware none
cull_software none
scene_blend alpha_blend
depth_write off
texture_unit
{
texture genemane.png
}
}
}
}
There it is. If there's anything wrong, please tell me or give me a fixed version. <3
i'm back cause i'm bored as hell.

SpicyDirt

  • Guest
Re: Unable to view preset body in preset maker
« Reply #7 on: June 30, 2020, 03:58:57 am »
So half of me thinks that this is connected to the name of the preset. Just to test, I'd recommend changing the code/image back to preset_4body.png and see if that fixes it.

If you don't mind my asking, you said that you have used special code ~ is that only to change the images to .png or do you have a glow added? I know with glow you have to make the glow image first to get the body image to show up. c:

Offline Kitterr

  • Dedicated Supporter
  • ***
  • Posts: 424
  • Country: au
  • Floof-O-Meter: 11
  • joe mama
    • View Profile
Re: Unable to view preset body in preset maker
« Reply #8 on: June 30, 2020, 04:05:55 am »
Nah, it was just an inside texture code thingy. Don't use glow stuff. Also, no luck with changing the filename.
« Last Edit: June 30, 2020, 04:10:44 am by Kitterr »
i'm back cause i'm bored as hell.

SpicyDirt

  • Guest
Re: Unable to view preset body in preset maker
« Reply #9 on: June 30, 2020, 04:15:30 am »
Ohhh texture inside of the preset? If so, the coding should look something like this:

Quote
material preset_4_bodyMatL
{
   receive_shadows off
   technique
   {
      pass
      {
         ambient 1.000000 1.000000 1.000000 1.000000
         diffuse 1.000000 1.000000 1.000000 1.000000
         specular 0.010000 0.010000 0.010000 1.000000
         emissive 0.000000 0.000000 0.000000 1.000000
         cull_hardware none
         cull_software none
         alpha_rejection greater_equal 128
         texture_unit
         {
            texture BOTTOM TEXTURE.png
            tex_address_mode wrap
            filtering trilinear
         }
      }
      pass
      {
         ambient 1.000000 1.000000 1.000000 1.000000
         diffuse 1.000000 1.000000 1.000000 1.000000
         specular 0.010000 0.010000 0.010000 1.000000
         emissive 0.000000 0.000000 0.000000 1.000000
         alpha_rejection greater_equal 128
         texture_unit
         {
            texture TOP TEXTURE.png
            tex_address_mode wrap
            filtering trilinear
         }
      }
   }
}
material preset_4_bodyMatR
{
   receive_shadows off
   technique
   {
      pass
      {
         ambient 1.000000 1.000000 1.000000 1.000000
         diffuse 1.000000 1.000000 1.000000 1.000000
         specular 0.010000 0.010000 0.010000 1.000000
         emissive 0.000000 0.000000 0.000000 1.000000
         cull_hardware none
         cull_software none
         alpha_rejection greater_equal 128
         texture_unit
         {
            texture BOTTOM TEXTURE.png
            tex_address_mode wrap
            filtering trilinear
         }
      }
      pass
      {
         ambient 1.000000 1.000000 1.000000 1.000000
         diffuse 1.000000 1.000000 1.000000 1.000000
         specular 0.010000 0.010000 0.010000 1.000000
         emissive 0.000000 0.000000 0.000000 1.000000
         alpha_rejection greater_equal 128
         texture_unit
         {
            texture TOP TEXTURE.png
            tex_address_mode wrap
            filtering trilinear
         }
      }
   }
}




The post that I got this from is right here: https://feral-heart.com/smf/index.php?topic=67295.0 (Hopefully that helps with it all)