Feral Heart

Help & Guidance => Game Help => Topic started by: Shazadah on November 18, 2013, 03:58:38 am

Title: Some preset help?
Post by: Shazadah on November 18, 2013, 03:58:38 am
So I've begun to make presets thanks to the help of a friend who's made them before (preset making has become quite addictive for me XD), and I had a few questions to ask about preset making, all help is welcome!

1. Is it possible to make additional preset folders? Can I make new folders i.e. preset_13 to add to the original 12 and use it for preset making?

2. Is there a way to make a transparent wing preset? I've seen them before and would like to know how to make them as well, I tried coding the material file myself but the wings don't at all appear in FeralHeart.

3. In correspondence to number 1 above, if it is not possible to make additional folders then is it possible to reuse one of the original 12 preset folders to make another preset aside from the one that was there before (meaning can I reuse the folder and export the preset and still have the one from before, or in other case without replacing)?


I apologize if these questions are not easy to answer if not impossible, but I am quite curious and would like to know (my curiousity does often get the better of me XD). Thanks for the help!
Title: Re: Some preset help?
Post by: AlphaEclipse on November 18, 2013, 04:13:24 am
Haha! Glad to see you're starting to make presets, floof.

1. Nope. I'm not sure exactly why, but I'm pretty sure it has to do something about how the game is coded and whatnot.

2. Yerp! All you must do is apply a invisible/transparent code into your preset's .mat file.
Code: [Select]
material preset_?_equipMatL
{
      receive_shadows on
   technique
   {
      pass
      {
                     ambient 1.000000 1.000000 1.000000 1.000000
                    diffuse 1.000000 1.000000 1.000000 1.000000
                     specular 0.050000 0.050000 0.050000 1.000000 12.500000
                     emissive 0.000000 0.000000 0.000000 1.000000
                    cull_hardware none
                     cull_software none
                     scene_blend alpha_blend
             alpha_rejection greater_equal 128
                     texture_unit
         {
            texture Transparentbody.png
                         tex_address_mode wrap
                         filtering trilinear
         }
      }
   }
}
material preset_?_equipMatR
{
      receive_shadows on
   technique
   {
      pass
      {
                     ambient 1.000000 1.000000 1.000000 1.000000
                    diffuse 1.000000 1.000000 1.000000 1.000000
                     specular 0.050000 0.050000 0.050000 1.000000 12.500000
                     emissive 0.000000 0.000000 0.000000 1.000000
                    cull_hardware none
                     cull_software none
                     scene_blend alpha_blend
             alpha_rejection greater_equal 128
                     texture_unit
         {
            texture Transparentbody.png
                         tex_address_mode wrap
                         filtering trilinear
         }
      }
   }
}

Here's a tutorial on how to actually create 'em. http://www.feral-heart.com/index.php?option=com_jfusion&Itemid=2&jfile=index.php&topic=34786.0 (http://www.feral-heart.com/index.php?option=com_jfusion&Itemid=2&jfile=index.php&topic=34786.0)
 3.If I understand what you mean, yes, you could save a copy of the preset you are going to replace, and then switch it back whenever you want. I do it all the time. But no, you can't do this with he same folders in my_presets. I save them to desktop or other folders I've made in desktop.

EDIT: I couldn't help but laugh at that, Kiki. x'D
Title: Re: Some preset help?
Post by: Kerriki on November 18, 2013, 04:14:08 am
1. No, not that I know of.
2. Yus there is, I'll give you the link to a great preset tutorial in a minute. look at Alpha's post above xD
3. Yes you can, simply just cover up the old colors with new ones!
Title: Re: Some preset help?
Post by: Shazadah on November 18, 2013, 04:28:00 am
1. Darn, it would make things so much easier if it were possible!

2. Ok, I might have that code somewhere because I made an earlier attempt to make a transparent preset, I just wanna know about transparent wings

3. Hmmm...Well what I mean is can I have doubles of the same file but both are completely different presets, i.e. Shazadah_11.fhp is the first preset, and Shazadah_11(2).fhp is the second preset exported from the same file. Would the game be able to do that? I'm sorry if I'm making this more confusing then it needs to be

Thanks!
Title: Re: Some preset help?
Post by: AlphaEclipse on November 18, 2013, 04:31:53 am
1. Darn, it would make things so much easier if it were possible!

2. Ok, I might have that code somewhere because I made an earlier attempt to make a transparent preset, I just wanna know about transparent wings

3. Hmmm...Well what I mean is can I have doubles of the same file but both are completely different presets, i.e. Shazadah_11.fhp is the first preset, and Shazadah_11(2).fhp is the second preset exported from the same file. Would the game be able to do that? I'm sorry if I'm making this more confusing then it needs to be

Thanks!

1. I know how you feel... I'm constantly switching out presets.

2. Click da linkie. :3

3. Nope. The game doesn't run like that. Sorrie. :c
Title: Re: Some preset help?
Post by: Shazadah on November 18, 2013, 07:23:26 am
1. That's just more work XD

2. Ok X3

3. I wish it did, that means I can have only a max of 12 presets doesn't it? Aside from the ones I download from friends
Title: Re: Some preset help?
Post by: AlphaEclipse on November 18, 2013, 08:09:19 pm
1. That's just more work XD

2. Ok X3

3. I wish it did, that means I can have only a max of 12 presets doesn't it? Aside from the ones I download from friends

3. You could only have 12 at one time. If ya' switch 'em out, then you could have more than 12, technically.
Title: Re: Some preset help?
Post by: Shazadah on November 19, 2013, 02:35:27 am
3. But only 12 exported right? What would happen if I switched out a preset for another in a preset folder and exported it, would that replace the current exported preset that was there before?
Title: Re: Some preset help?
Post by: AlphaEclipse on November 19, 2013, 02:46:00 am
If you mean you export two different presets from different files, then no, they won't replace. If they are from the same folder and you just switched them out, then yes, they will.
Title: Re: Some preset help?
Post by: Shazadah on November 19, 2013, 06:02:04 am
Ah, ok, so a limit of 12 exported presets total correct?

And back to question number 2, I applied the coding to the preset_11 file so that I can make transparent wings and it's not working, the wings in the Preset Maker appear as black and yellow and not as I want them. Do they have to be completely invisible? Because that's not my intension, I'm trying to make the membrane (or the arm as you might call it) non-transparent, and the wing part in between the membrane transparent.
Title: Re: Some preset help?
Post by: AlphaEclipse on November 19, 2013, 08:19:16 pm
Ah, ok, so a limit of 12 exported presets total correct?

And back to question number 2, I applied the coding to the preset_11 file so that I can make transparent wings and it's not working, the wings in the Preset Maker appear as black and yellow and not as I want them. Do they have to be completely invisible? Because that's not my intension, I'm trying to make the membrane (or the arm as you might call it) non-transparent, and the wing part in between the membrane transparent.

Yesh.

No, the preset doesn't have to be erased fully. You can just erase the parts chu want invisible. :3 Are you completely sure you saved it as a .png and coded to match the names that you saved the actual preset body parts as?

If that didn't work, could chu either PM me the .material code you are using or you could post it right here. :3 I'll go over it to see if everything's correct/
Title: Re: Some preset help?
Post by: Shazadah on November 20, 2013, 05:59:12 am
Well I could try to post what info is needed...I might take a screenshot of the wing opened in GIMP just to show how its colored and to make the transparency more obvious. I am sure however that I am saving it as a .png file format, the coding though I am unsure of, I've never done this before so I don't know much about coding XD
Title: Re: Some preset help?
Post by: AlphaEclipse on November 20, 2013, 02:07:26 pm
Well I could try to post what info is needed...I might take a screenshot of the wing opened in GIMP just to show how its colored and to make the transparency more obvious. I am sure however that I am saving it as a .png file format, the coding though I am unsure of, I've never done this before so I don't know much about coding XD

To make transparency cone up on the wing, you just erase the areas you want transparent.

If you go into the mat file and cope the code, paste it on here and put this around it:

Code: [Select]
[.code][./code]
Just ignore the dots ^_^
Title: Re: Some preset help?
Post by: Shazadah on November 21, 2013, 04:18:11 am
Lol don't worry I know, but what I mean is the webbing of the wing is partly transparent so if I posted it here it would be hard to tell because of the forum background, and I've used the code thing before on the forums ;)
Title: Re: Some preset help?
Post by: Shazadah on November 21, 2013, 04:27:20 am
Alright, as I said here is the wing opened in GIMP, the membrane is fully there, but the webbing of it is partly transparent meaning its opacity is turned down but still visible
(http://i43BannedImageSite/17r3t0.png)

As for the code, I used the one you gave me and still it doesn't work
Code: [Select]
material preset_11_equipMatL
{
      receive_shadows on
   technique
   {
      pass
      {
                     ambient 1.000000 1.000000 1.000000 1.000000
                    diffuse 1.000000 1.000000 1.000000 1.000000
                     specular 0.050000 0.050000 0.050000 1.000000 12.500000
                     emissive 0.000000 0.000000 0.000000 1.000000
                    cull_hardware none
                     cull_software none
                     scene_blend alpha_blend
             alpha_rejection greater_equal 128
                     texture_unit
         {
            texture Transparentbody.png
                         tex_address_mode wrap
                         filtering trilinear
         }
      }
   }
}
material preset_11_equipMatR
{
      receive_shadows on
   technique
   {
      pass
      {
                     ambient 1.000000 1.000000 1.000000 1.000000
                    diffuse 1.000000 1.000000 1.000000 1.000000
                     specular 0.050000 0.050000 0.050000 1.000000 12.500000
                     emissive 0.000000 0.000000 0.000000 1.000000
                    cull_hardware none
                     cull_software none
                     scene_blend alpha_blend
             alpha_rejection greater_equal 128
                     texture_unit
         {
            texture Transparentbody.png
                         tex_address_mode wrap
                         filtering trilinear
         }
      }
   }
}
Title: Re: Some preset help?
Post by: AlphaEclipse on November 21, 2013, 05:03:17 am
I'm certain it must be fully transparent for the transparency to take effect unless you use another code. (That's how mine work anyway.) I'm not to familiar with using this code, but I'm sure it's not to hard. (It's not modified for wings yet!)
Code: [Select]
material preset_4_bodyMatL
{
    receive_shadows on
    technique
    {
        pass
        {
            scene_blend alpha_blend
            fog_override true
            ambient 1.000000 1.000000 1.000000 1.000000
            diffuse 1.000000 1.000000 1.000000 1.000000
            specular 0.050000 0.050000 0.050000 1.000000
            emissive 0.000000 0.000000 0.000000 1.000000
            alpha_rejection greater_equal 128
            cull_hardware none
            cull_software none
            texture_unit
            {
                texture Texture.png (make your texture slightly trasparent, the rest no texture at all)
                tex_address_mode wrap
                filtering trilinear
            }
        }
    }
}

Anyways, You have to save the wings as transparentbody.png, just like in the .material file.
Title: Re: Some preset help?
Post by: Feareh on November 21, 2013, 05:11:18 am
 If you need some more assistance in this preset I am willing to lend a helping paw for ya. But it seems like Alpha is doing a really good job now :)
Just don't forget how you save your materials and how you title them in the coding?
btw, I love your signature Shasta, Code Lyoko was my fave show when it aired on TV
Title: Re: Some preset help?
Post by: Shazadah on November 21, 2013, 05:42:36 am
Ok, but I don't think I understand the (make your texture slightly trasparent, the rest no texture at all) part though

And thanks Feareh
Title: Re: Some preset help?
Post by: Feareh on November 21, 2013, 08:57:28 am
I'm certain it must be fully transparent for the transparency to take effect unless you use another code. (That's how mine work anyway.) I'm not to familiar with using this code, but I'm sure it's not to hard. (It's not modified for wings yet!)
Not really. You can use the opacity levels to make it see through and there for will be see through in Game. I tried this transparent coding when working on Bakus wings when wanting a solid figure yet the webbing in the wings be see through yet still be somewhat visible.
HOWEVER, the current coding you have now will create unusual blocks in the wings. Yes it will be see through, but ntoa appealing see through.
 If you are wanting parts of a preset to be somewhat visible yet still have that solid look then use the transparent coding you could use the current coding to make a completely invisible wing to where it looks like your character is floating. Just remember when you are done then save your file as a png so that way the transparent effect will work
 NOTE: jpgs are NOT going to work with the transparent coding since they are already a solid picture
Title: Re: Some preset help?
Post by: AlphaEclipse on November 21, 2013, 08:14:38 pm
I'm certain it must be fully transparent for the transparency to take effect unless you use another code. (That's how mine work anyway.) I'm not to familiar with using this code, but I'm sure it's not to hard. (It's not modified for wings yet!)
Not really. You can use the opacity levels to make it see through and there for will be see through in Game. I tried this transparent coding when working on Bakus wings when wanting a solid figure yet the webbing in the wings be see through yet still be somewhat visible.
HOWEVER, the current coding you have now will create unusual blocks in the wings. Yes it will be see through, but ntoa appealing see through.
 If you are wanting parts of a preset to be somewhat visible yet still have that solid look then use the transparent coding you could use the current coding to make a completely invisible wing to where it looks like your character is floating. Just remember when you are done then save your file as a png so that way the transparent effect will work
 NOTE: jpgs are NOT going to work with the transparent coding since they are already a solid picture


Oohoho! I'mma have to experiment with the opacity sometime. Never seemed to work with my program before.
And any type of preset that has coding like that must be a .png to work. .jpg won't work for them.

Gawd Feareh. x'D You're so good at explaining sturf.
Title: Re: Some preset help?
Post by: Shazadah on November 21, 2013, 11:43:02 pm
Lol see I thought there'd be a way XD, I've seen wings like that before on dA. The coding though seems to be giving me the most trouble, I know and .png file allows layers to be compatible in an image especially when it comes to transparency and that a .jpg file does not, its the coding that isn't allowing me to do so