Author Topic: Question Concerning "Moving trees" and "grass"  (Read 2138 times)

Offline Nowe

  • Experienced Traveler
  • **
  • Posts: 190
  • Country: 00
  • Floof-O-Meter: 23
  • Turn forever Hand in Hand~
    • View Profile
    • Impressive Elements
Question Concerning "Moving trees" and "grass"
« on: March 13, 2013, 01:39:25 am »
Since FH+ Doesn't work on this computer And if what I heard is true how is it possible to make The Trees move?

Offline Blackeme99

  • Dedicated Supporter
  • ***
  • Posts: 261
  • Floof-O-Meter: 6
  • My Avatar is My FeralHeart Character Shaden :3
    • View Profile
    • Canines
Re: Question Concerning "Moving trees" and "grass"
« Reply #1 on: March 13, 2013, 02:19:56 am »
Well i do know that you can make animated meshes.

I downloaded a map with an animated bonfire.

So yes it is most likely possible.

I don't know how though.


In the game, My username is Blackeme99.

Offline Ruby1234

  • Mean Tutorial Queen
  • Elder Grey Pelt
  • ****
  • Posts: 2,794
  • Country: us
  • Floof-O-Meter: 297
  • aka Phloxenfree.
    • View Profile
Re: Question Concerning "Moving trees" and "grass"
« Reply #2 on: March 13, 2013, 02:52:36 am »
I downloaded a map with an animated bonfire.
That'd be a particle, not a standard mesh.
Unless I am mistaken.
-
As for "moving" trees n such,
it's just a material code.
Quote from: OGRE Manual
Format: wave_xform <xform_type> <wave_type> <base> <frequency> <phase> <amplitude>

Example: wave_xform scale_x sine 1.0 0.2 0.0 5.0
-
xform_type
scroll_x
Animate the x scroll value

scroll_y
Animate the y scroll value

rotate
Animate the rotate value

scale_x
Animate the x scale value

scale_y
Animate the y scale value

wave_type
sine
A typical sine wave which smoothly loops between min and max values

triangle
An angled wave which increases & decreases at constant speed, changing instantly at the extremes

square
Max for half the wavelength, min for the rest with instant transition between

sawtooth
Gradual steady increase from min to max over the period with an instant return to min at the end.

inverse_sawtooth
Gradual steady decrease from max to min over the period, with an instant return to max at the end.

base
The base value, the minimum if amplitude > 0, the maximum if amplitude < 0

frequency
The number of wave iterations per second, i.e. speed

phase
Offset of the wave start

amplitude
The size of the wave
One that works well is;
Code: [Select]
wave_xform rotate sine 1 .1 0 .02

Offline Ingredient

  • ~Dead men tell no tales~
  • Ancient Silver Mane
  • *****
  • Posts: 3,662
  • Country: 00
  • Floof-O-Meter: 366
    • Ingredient91
    • View Profile
Re: Question Concerning "Moving trees" and "grass"
« Reply #3 on: March 13, 2013, 05:56:17 am »
Here: http://www.mediafire.com/?2wv0jy7ovb95eu3 :)

Just move the files into Feralheart>> Media>> Objects>> Trees and replace the existing files with those. That should give you the moving trees ;)
Will be inactive due to work and exams.