playMaker

Author Topic: Changing texture on terrain  (Read 1689 times)

mitchelq

  • Guest
Changing texture on terrain
« on: June 04, 2015, 04:35:59 PM »
Hello,

I posted this message on the help forum, but realized this probably should go on the action requests page.

I want to paint/change textures on a terrain during runtime. I have found this post:

http://hutonggames.com/playmakerforum/index.php?topic=5201.msg24803#msg24803

Which lets you get what texture is at a specific place on the terrain, but I want to be able to change that texture. I want to use it for walking paths, which I believe I have seen in settlers 7 (long time ago). It should work like this: Whenever a character walks over a specific area many times I want the grass texture to be replaced by a sand texture.
Also I would like to use it to let the player select a specific area where the character starts to plow and sow seeds.

I believe this link has got the non-playmaker solution, but I don't understand a thing as I haven't got coding skills.

http://answers.unity3d.com/questions/178661/update-terrain-alphamap-at-runtime-makes-my-game-c.html

I think this action would be great to have, if it is possible in playmaker.

Best regards,

Mitchel