The AnimUV shader can be used to create scrolling or multi-frame animations. There are 2 AnimUV shaders - one for
props and one for buildings and building sub-meshes.
The building AnimUV shader doesn't require a mod.
While vehicle sub-meshes and previously created props still require the AnimUV Params mod , a new method for saving shader parameters by boformer has removed the requirement for a mod. Vehicle sub-meshes
still require the mod.
This article assumes you are familiar with regular prop asset creation.
There are 2 types of scripts for each type of asset - one creates a simple scrolling animation, and the other can be used to
create multi-frame animations.
For the advanced multi-frame animation scripts, the transform amount is (how many pixels you want the UV mapping to move each
frame) divided by (the width or height of the texture).
The cycles variable describes how many times per minute the animation runs. If 60 doesn't divide by this number evenly, the
animation will "reset" every minute.