Making your own grass in a Tileset
Come here for tutorials and 3d training. The aim is to point out good 3d training sites or methods.

Moderators: Winterhawk99, Mermut, Bannor Bloodfist

Post Reply
User avatar
Winterhawk99
Posts: 1397
Joined: Thu Oct 08, 2009 12:00 am
ctp: Yes
nwnihof: Yes
Location: Pa.
Contact:

Making your own grass in a Tileset

Post by Winterhawk99 »

Making the Savanna tileset, I had problems with the default Bioware grass. I thought the only way to modify the color was to modify the ambient and diffuse settings for grass in the .SET file. 666 Who really should get credit for this showed me how I could introduce my own growing grass into the tileset.

You can make a TGA like this
Image

load it into the hak and then add an entry into the .Set file to replace the default grass with your very own creation.

Normally The begining of a .set file looks like this

Code: Select all

[GENERAL]
Name=TTR01
Type=SET
Version=V1.0
Interior=0
HasHeightTransition=1
EnvMap=ttr01__ref01
Transition=5
DisplayName=1606
Border=Grass
Default=Grass
Floor=Grass
 
[GRASS]
Grass=1
Density=5.000
Height=1.200
AmbientRed=0.500
AmbientGreen=0.600
AmbientBlue=0.300
DiffuseRed=0.500
DiffuseGreen=0.600
DiffuseBlue=0.300
Notice that after the [Grass] is grass=1

if you add an entry like this

GrassTextureName=whg01_grass or GrassTextureName=( Your TGA name here)

so that the beginning of the set looks like this

Code: Select all

[GENERAL]
Name=WDP01
Type=SET
Version=V1.0
Interior=0
HasHeightTransition=1
EnvMap=ttf01__ref01
Transition=3
DisplayName=-1
UnlocalizedName=Savannah_Grasslands
Border=The_Bush
Default=The_Bush
Floor=The_Bush

[GRASS]
GrassTextureName=whg01_grass
Grass=1
Density=15
Height=1.2
AmbientRed=0.500
AmbientGreen=0.400
AmbientBlue=0.001
DiffuseRed=0.500
DiffuseGreen=0.400
DiffuseBlue=0.001
You will effectively change the default grass with your own texture and your grass will also grow.

Thats pretty much it. Its very easy to do just not well known.

By the way I already tried to roll the grass texture above but it was just too wet.:p

Post Reply