Feral Heart

FeralHeart Creations => Other Mods/Creations => FeralHeart Addons & Mods => Request Other Mods/Creations => Topic started by: raggedpelt98 on January 23, 2014, 02:31:18 am

Title: ||LOCK/DELETE||
Post by: raggedpelt98 on January 23, 2014, 02:31:18 am
Situation has been answered, please delete/lock.
Title: Re: Moving trees and grass??What pack?
Post by: OreoHeroz on January 23, 2014, 02:37:55 am
Actually, yes, there is such thing as moving grass and trees. So far, the only one I have heard of is moving willow trees.

Download link (direct): http://www.mediafire.com/download.php?5ov7lnrow1sls6y (http://www.mediafire.com/download.php?5ov7lnrow1sls6y)

Arkanis's thread (on forums): http://www.feral-heart.com/index.php?option=com_jfusion&Itemid=2&jfile=index.php&topic=30588.0 (http://www.feral-heart.com/index.php?option=com_jfusion&Itemid=2&jfile=index.php&topic=30588.0)
Title: Re: Moving trees and grass??What pack?
Post by: Ingredient on January 23, 2014, 08:38:08 am
Using files from Feralheart+ you are able to make the Feralheart trees and shrubs move just like in Feralheart+. You can find the download in the link below but it's only for the trees I'm afraid, no grass.

http://www.feral-heart.com/index.php?option=com_jfusion&Itemid=2&jfile=index.php&topic=27868.0 (http://www.feral-heart.com/index.php?option=com_jfusion&Itemid=2&jfile=index.php&topic=27868.0)

Not entirely sure but you might be able to make moving grass using the same code as the trees, located in the .material file. I found this:

-
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

Just remember to make a backup of your files just in case it doesn't turn out like planned ;)
Title: Re: Moving trees and grass??What pack?
Post by: raggedpelt98 on January 24, 2014, 08:01:17 pm
Thank yew guys, That was helpfull ^w^
Title: Re: Moving trees and grass??What pack?
Post by: OreoHeroz on January 24, 2014, 09:17:29 pm
Thank yew guys, That was helpfull ^w^


No problem! ^^ Glad we could help. c: