U mean how to tile textures on blocks in WED?
Looks like there r some block options for that. Im not using WED...
If u wanna tile texture in c-script, u need to create the shader or u can use cycle:
//////////////////////////////////
VECTOR temp;
function uv_scale (ENTITY* this,var s)
{
var x;
x=1;
while (x<ent_vertices(this))
{
vec_for_uv(temp,this,x);
vec_scale(temp,s);
vec_to_uv(temp,this,x);
x++;
}
}
action scaleMyTexture ()
{
uv_scale (my,10);
}
function main ()
{
var x;
level_load("");
wait(3);
ent_create("my_tiled_entity.hmp",nullvector,scaleMyTexture);
camera.z=100;camera.tilt=-90; //camera
}
Last edited by SIBERDT; 07/29/08 14:08.