Feral Heart

Help & Guidance => Game Help => Topic started by: Arandomperson on October 14, 2017, 02:46:54 pm

Title: Preset scrolling help
Post by: Arandomperson on October 14, 2017, 02:46:54 pm
Ive never made a scrolling preset in my life and i want to ask a question if this could be done with scrolling. Can you make a lazy eye using scrolling on a preset? If it is no, just say so and I'll give up. IF its a yes, then I'll need to ask someone who can do it.
Title: Re: Preset scrolling help
Post by: Macabre.Cat on October 14, 2017, 03:00:22 pm
I don't think its possible, but I've never tried..
But when making a preset I find this page helps..

https://feral-heart.com/smf/index.php?topic=26062.0
Title: Re: Preset scrolling help
Post by: Arandomperson on October 14, 2017, 03:12:53 pm
I have that, bit I feel like if i make scrolling i'll fail beyond relief.
Title: Re: Preset scrolling help
Post by: Kynvuu on October 14, 2017, 03:36:13 pm
Moving this over to Game Help c:
Title: Re: Preset scrolling help
Post by: G4RG0YLE on October 14, 2017, 03:44:04 pm
Not quite sure how much I understand your implications,
however, it is possible to make an eye that is more 'animated' than a 'scroll' in a preset. But after looking in a preset file that I've made WITH scrolling markings, I have found the code for a scrolling eye:

(https://i.gyazo.com/fcaef125b0dd470340625f525f085bb0.png)

With a little experimentation, I can try to help you make it work after you've tried for yourself. c:
Title: Re: Preset scrolling help
Post by: Arandomperson on October 14, 2017, 04:00:32 pm
It didnt do anything. And im not even going to try and experiment. My brain cant even handle Blender.
Title: Re: Preset scrolling help
Post by: Morgra on October 14, 2017, 05:34:16 pm
Depends on what you mean by lazy eye. I think, from the way it sounds, you want an eye that moves a lot independent from the other one? You could do that with frame animation which can be challenging but also simple once you understand the process you need to go through.

Oh, none of material coding is done in Blender btw....all in Photoshop/Gimp and Notepad.
Title: Re: Preset scrolling help
Post by: Kuri on October 14, 2017, 06:38:36 pm
i have made wandering eyes before.  If you have one layer as your main eyes, but use 'sided' eye textures, don't put the pupil in one side.
The next layer put on top should be transparent with just the eye, for the side with the blank eye. 
For instance, i used this code
Code: [Select]
}
pass
{
cull_hardware none
cull_software none
alpha_rejection greater_equal 128
texture_unit
{
texture eyebase.png
}
}
pass
{
scene_blend alpha_blend
texture_unit
{
texture eyepupil.png
wave_xform scale_x sine 0.8 0.2 0 0.15
wave_xform scale_y sine 0.8 0.2 0 0.15
wave_xform scale_x sine 0.9 0.5 0 0.1
wave_xform scale_x sine 0.9 0.1 0 0.1
}
}
}
}
But you may need to rework it to suit your tastes.
Title: Re: Preset scrolling help
Post by: Arandomperson on October 14, 2017, 07:04:17 pm
Can I just upload the preset file and have someone do it. I dont know code, my brain is hurting, and i might cry. Also I have no clue how to do any of what was said above. I never thought of myself as a smart person.
Title: Re: Preset scrolling help
Post by: Kerriki on October 14, 2017, 07:09:05 pm
No need to get down on yourself<3 Preset coding can be very confusing. You're a smart person, I promise<3

You're more then welcome to request the lazy eye coding here:

https://feral-heart.com/smf/index.php?board=53.0