Zachary 1 Posted January 8, 2013 Hi Guys, I'm trying to find some information online regarding the setup of the rvmat files for a water texture. What i seem to notice is that in the following.. class uvTransform { aside[] = {1.0,0.0,0.0}; up[] = {0.0,1.0,0.0}; dir[] = {0.0,0.0,0.0}; pos[] = {0.0,0.0,0.0}; }; It looks as if some of these values may be responsible for changing the direction the water flows in. AT the moment it looks like they all flow in one direction and i need to have a few variants for differently angled rivers in the map. The textures used are flat non moving objects so i suspect as with other engines some other file is giving it a 'scrolling' texture effect. However I have read people having to edit the CFGMaterials.hpp file to do this too? Can someone tell me if i was to edit this file and say create a new Water class, such as RiverWater or something, that i could edit the direction of the texture and also remove the foam effect that is generated when the water meets terrain (there is no coastline on my map) If this was edited and packed into the PBO, would it work online for when people join the map? EDIT I put this in modeling because i thought perhaps the RVMAt would be the main culprit, should it have been in scripting instead? Sorry Share this post Link to post Share on other sites
Zachary 1 Posted January 13, 2013 OK, since no one seems to know if it is possible, anyone know if a material can be animated in any shape or form? Can it for example have its X / Y values set to move across a face and repeat back on itself (im struggling to remember what this is called) Share this post Link to post Share on other sites
PuFu 4600 Posted January 13, 2013 you have no answers because you posted in the wrong section. This belong to http://forums.bistudio.com/forumdisplay.php?95-ARMA-2-amp-OA-ADDONS-Configs-amp-Scripting. textures can be animated, this how tracks for vehicles works Share this post Link to post Share on other sites
Zachary 1 Posted January 13, 2013 My bad. I suppose it is more scripting than anything else so my apologies for that, but thank you for the information I shall definatley give it a look. Share this post Link to post Share on other sites