No matter how much I try, I can't seem to get $treeSway to work in the dev-branch.
I've edited the material used on the entity in the picture to this:
"VertexLitGeneric"
{
"$baseTexture" "stormfox/models/moon_edit"
"$treeSway" "1"
"$treeSwayHeight" "300"
"$treeSwayStartHeight" ".1"
"$treeSwayRadius" "200"
"$treeSwayStartRadius" ".3"
"$treeSwaySpeed" "1"
"$treeSwayStrength" "1"
"$treeSwayFalloffExp" "1"
"$treeSwayScrumbleSpeed" "2"
"$treeSwayScrumbleStrength" ".2"
"$treeSwayScrumbleFrequency" "4"
"$treeSwayScrumbleFalloffExp" "2"
"$treeSwaySpeedHighWindMultiplier" "0"
"$treeSwaySpeedLerpStart" "200"
"$treeSwaySpeedLerpEnd" "600"
}
But no matter what arguments I put in cl_tree_sway_dir, it doesn't move.
https://files.facepunch.com/forum/upload/107119/2ecbfdc2-4e70-4a40-994f-e7bf1917102f/billede.png
Any ideas on what I'm doing wrong?
cl_tree_sway_dir takes three arguments even though it only uses two.
https://files.facepunch.com/forum/upload/107119/4d90588d-89ae-41b1-a2c3-96d65536d3c6/billede.png
Sadly it doesn't seem to do anything.
I also made a function to override a material and insert $treeSway as well. But no luck.
I also made sure there are no bumpmap in the material.
It takes 2 arguments. 3 wont work.
Try the examples parameters from vdc
Maybe it should throw an error with the wrong number?
Thanks, looks like I used a wrong parameter .. after copying the vdc, looks like it works.
My guess would be that the treeSwaySpeedHighWindMultiplier was on 0 and the wind currently count as "high wind".
PS: Looks like the flashlight breaks a bit when shining on materials with treeSway.
Sorry, you need to Log In to post a reply to this thread.