Author Topic: Waving Leaves  (Read 8805 times)

Offline TullileIsHere

  • Finest Floof
  • ***
  • Posts: 751
  • Country: 00
  • Floof-O-Meter: 17
    • plonke
    • View Profile
Waving Leaves
« on: October 25, 2015, 06:17:43 pm »
Are you tired of the leaves on the trees in FeralHeart just sitting there? Well, here's a way to make it so that the leaves wave.

1. Open the main FH folder (it should be in OS(C:))

2. Go to media>objects>trees

3. Open the material file of whatever tree you want to add the waving animation to.
(For this, I'm using the acacia tree.)

4. Copy and paste the following right underneath "texture acacialeaf.png" (or whatever texture you're using for the leaves):

            wave_xform rotate sine 1 .12 0 .02

5. Save

6. Open FeralHeart (close it, then open it again if it's already open)


Your tree's leaves should now have a waving animation, like so:

Don't be afraid to experiment with the numbers in the code above to get different waves.

Offline Whisperingwaves

  • #2FAB4U
  • Community Champion
  • ****
  • Posts: 1,593
  • Country: us
  • Floof-O-Meter: 135
  • #SlainyTheBattleTurkey
    • Whisperingwaves
    • @slainytbm
    • View Profile
    • Kiros
Re: Waving Leaves
« Reply #1 on: October 25, 2015, 06:22:34 pm »
Ooo, many users will appreciate this tutorial~ Thank you very much for posting this up. It will be useful if someone wants to make FH a bit more realistic~

~ Whisper

Avatar by Chezdip on Lioden || Signature by Jackdaw ♥
In-Game As Whisperingwaves

Offline ritat

  • Incarnated Angel
  • Pack & Pride Representative
  • ****
  • Posts: 1,203
  • Country: 00
  • Floof-O-Meter: 156
  • Will be inactive.
    • View Profile
Re: Waving Leaves
« Reply #2 on: October 25, 2015, 06:55:45 pm »
This is wonderful, thanks for sharing! <3 I tried it and it works. I really struggle with codes but I am getting better ideas now.

+Nuzzle. Did you figure this out yourself?

Offline TullileIsHere

  • Finest Floof
  • ***
  • Posts: 751
  • Country: 00
  • Floof-O-Meter: 17
    • plonke
    • View Profile
Re: Waving Leaves
« Reply #3 on: October 25, 2015, 09:54:45 pm »
I've seen the code used in other games like World of Warcraft for the in-game meshes (mostly on the plants and whatnot), so I thought I should try to use it on FeralHeart.

Offline Warriorstrike

  • . "The truth is often what we make of it; you heard what you wanted to hear, believed what you wanted to believe."
  • Ancient Silver Mane
  • *****
  • Posts: 4,221
  • Country: us
  • Floof-O-Meter: 346
  • . Remember… the Force will be with you. Always.
    • warriorstrike
    • warriorstrike
    • View Profile
    • My Tumblr
Re: Waving Leaves
« Reply #4 on: October 26, 2015, 02:33:14 am »
Thank you for sharing this with us. I'm sure that this will definitely help some floofs who are having difficulty with meshes, or would just like a good tutorial to show them how to make them look different. Nice work! c:

If you define yourself by the power to take life, the desire to dominate, to possess… then you have nothing.

Offline PrettyReckless

  • Elder Grey Pelt
  • ****
  • Posts: 3,285
  • Country: england
  • Floof-O-Meter: 218
    • RecklessAce
    • View Profile
Re: Waving Leaves
« Reply #5 on: October 26, 2015, 05:01:48 am »
Thank you so much for sharing this.
I must try this once I am home for work. ^^
RETIRED.

Preach

  • Guest
Re: Waving Leaves
« Reply #6 on: October 26, 2015, 09:57:14 am »
Ooh! That's so cool. Do you think falling leaves are possible?

Offline Jango_Fett

  • Solid Snake
  • Ancient Silver Mane
  • *****
  • Posts: 4,113
  • Country: ee
  • Floof-O-Meter: 134
  • rotten kind of cute
    • euralore
    • EmpressWolf
    • littlemisscancer
    • parahyena
    • LM_Cancer
    • View Profile
    • Picarto.tv
Re: Waving Leaves
« Reply #7 on: October 26, 2015, 01:36:43 pm »
tulile you're a life saver



i owe you my firstborn

i don't know nothing about mopeds
feral_cast.fhm
have a question? just ask - Rubricae#6972

Offline TullileIsHere

  • Finest Floof
  • ***
  • Posts: 751
  • Country: 00
  • Floof-O-Meter: 17
    • plonke
    • View Profile
Re: Waving Leaves
« Reply #8 on: October 26, 2015, 07:32:40 pm »
Ooh! That's so cool. Do you think falling leaves are possible?
Honestly, I doubt it, unless if you're able to add a falling leaf particle to the default mesh.
tulile you're a life saver



i owe you my firstborn
Ah jeez, thanks.

Offline shayy

  • Pack & Pride Representative
  • ****
  • Posts: 1,241
  • Country: us
  • Floof-O-Meter: 73
  • World Class Shawty
    • View Profile
Re: Waving Leaves
« Reply #9 on: October 26, 2015, 10:24:45 pm »
Thanks a lot for sharing!! Zit would probably make my game super lag tho, but I would love to download it. :) Great job
pm for free art i need practice