Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => "Retro-Porting" => Topic started by: Roxas on December 01, 2015, 08:59:47 pm

Title: Ground effect animation in 3.3.5
Post by: Roxas on December 01, 2015, 08:59:47 pm
Hello, I would make a patch for the animation of the effect of ground warlord in wotlk, if possible can you tell me how? :)
Title: Re: Ground effect animation in 3.3.5
Post by: Namok on December 01, 2015, 09:43:14 pm
Hi Roxas ! Are you talking about the grass ? When you run and it's wriggling ?
Title: Re: Ground effect animation in 3.3.5
Post by: Roxas on December 01, 2015, 11:13:10 pm
you can see the grass moving on this video
https://www.youtube.com/watch?v=esjIBC41fXI (https://www.youtube.com/watch?v=esjIBC41fXI" onclick="window.open(this.href);return false;)[media:24m6oxt2]https://www.youtube.com/watch?v=esjIBC41fXI[/media:24m6oxt2]
Title: Re: Ground effect animation in 3.3.5
Post by: Gurluas on December 01, 2015, 11:49:35 pm
I think that's not possible in 3.3.5, as the effects are hardcoded not to move...At least that's what I heard.
Title: Re: Ground effect animation in 3.3.5
Post by: Amaroth on December 02, 2015, 08:46:56 am
I suppose we are talking about changes in game engine itself, if it is so, its near to impossible.
Title: Re: Ground effect animation in 3.3.5
Post by: Alastor on December 02, 2015, 03:41:10 pm
its possible and its easy

that moving grassare is just model spawned by ground effects so you can simple add that moving animation to model of grass which is like 4 vertexis and you are done you have moving grass
Title: Re: Ground effect animation in 3.3.5
Post by: Roxas on December 02, 2015, 05:28:50 pm
and if I convert a wod grass m2 on 3.3.5 ?
Title: Re: Ground effect animation in 3.3.5
Post by: Alastor on December 02, 2015, 06:25:35 pm
i have no idea if that grass has those animations but i guess that it should have one so try to have a look
Title: Re: Ground effect animation in 3.3.5
Post by: spik96 on December 02, 2015, 06:28:29 pm
I believe this moving effect was not written in the m2 by Blizzard, it's probably a global effect applied on grass models which, by themselves, contain no animation.
What Alastor suggest is to mimic the movement by adding an animation to the grass models you want.
I think this could be possible, if there is no hardcoded thing preventing ground models to move but I don't see why there would be one. Hell, we have moving palmtrees in Stranglethorn since Vanilla.

The hard task is here to define what the animation is. I believe most grass have one bone, therefore one keybone so we could apply the animation to all grass models with a script without having to do it by hand.
But how to define the movement in terms of time stamps and translation/rotation/scaling values ? Tricky.

Just to be sure we should check a WoD grass model. If there is an animation then we're done.
Title: Re: Ground effect animation in 3.3.5
Post by: Amaroth on December 02, 2015, 06:49:13 pm
Well, you still probably won't solve problem with animations of grass "reacting" on player movement. About WoD GE models, their retro-ported versions from PhillipTNG don't have animations and I doubt he would be removing those animations if there were any.
Title: Re: Ground effect animation in 3.3.5
Post by: spik96 on December 02, 2015, 08:21:04 pm
We can't bring the reacting to players feature, but ambient animation would already be quite nice.
Title: Re: Ground effect animation in 3.3.5
Post by: schlumpf on December 02, 2015, 10:42:57 pm
Please note that the number of bones (and probably vertices) is hard limited inside the client. Be sure to test before putting in a lot of work.
Title: Re: Ground effect animation in 3.3.5
Post by: Amaroth on December 02, 2015, 11:09:17 pm
Still guys came up with an interresting idea. I am just not sure how optimal will performance be (if engine will even handle this kind of solution). Well, hopefully someone will try and we shall see.
Title: Re: Ground effect animation in 3.3.5
Post by: Roxas on December 03, 2015, 01:41:20 am
Hi, thank you for your rep if you ever find a technique to do thank you in advance to explain me.