Jump to content

Recommended Posts

Posted

Hi guys

I am trying to make some examples for the terrain section of the wiki. Does anyone see my mistake?

SetTerrainTexture(Terrain,Sand,0,0);
SetTerrainTextureConstraints(Terrain,0,45,0,5,0);
SetTerrainTexture(Terrain,Gras,0,1);
SetTerrainTextureConstraints(Terrain,0,90,5,10,1);

I have the Sand texture everywhere ...

Greetz =)

Posted

The base layer will appear everywhere. The second layer needs an alpha map or manually entered alpha values.

My job is to make tools you love, with the features you want, and performance you can't live without.

Posted
SetTerrainTexture(Terrain,Gras,0,1);

 

Is that meant to be "Grass"?

AMD Phenom 9850 (X4 2.5GHz) | 1066MHz CL5 GEIL Black Dragon (800MHz) | Powercolor ATI 4870 1GB | DFI 790FXB-M2RSH | 24" 1920x1200 | Windows Vista 64-bit Ultimate

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...