Feral Heart
Help & Guidance => Game Help => Topic started by: Wolfexpert79 on September 28, 2011, 05:23:56 pm
-
i followed all the steps to make a terrain mask and i used gimp but when i try to pull it up in map maker it won't work...
Yes:
the mask is 513x513
it's in RGB mode
it's a png image
i use gimp
Problem:
when i type in the name of the mask and everything it won't show up...not even the pattern of the terrain mask shows up
-
did u type the file EXACTLY as u saved it?
-
yes
-
import AlphaSplatTerrain1 from "terrain.material"
material Terrain/WaterMill : AlphaSplatTerrain1
{
technique
{
pass
{
vertex_program_ref AlphaSplatTerrain/VP
{
param_named pageSize float 10000
param_named textureTileSize float 5
}
fragment_program_ref AlphaSplatTerrain1/FP
{
param_named alpha0Mask float4 1 1 1 0
}
}
}
set_texture_alias AlphaMap1 watermillMask.png
set_texture_alias Splat1 greengrass.jpg
set_texture_alias Splat2 brokensand.jpg
set_texture_alias Splat3 seasand.jpg
Make sure your MapnameTerrain.material is typed correctly?
-
i didn't understand that sorry... but i'll show you what the material file says:
AlphaMap1=ForestMask.png
AlphaMap2=ForestMask.png
Splat1=green_grass.jpg
Splat2=green_grass.jpg
Splat3=flowergrass2.jpg
Splat4=deepgreenGrass2.jpg
Splat5=green_grass.jpg
Splat6=green_grass.jpg
it just says this.. is something missing?
-
bump (sorry if thats not allowed here)
-
(http://i52BannedImageSite/10mq8zl.png)
When you type the mask, make sure you include the .png .
-
i did but it still won't work....
-
Where is your file?
-
it's called ForestmapMask
it's a png image
it's RGB
and it's 513X513
-
Not what is your file, where it is. xD
The place you put your file.
-
sorry i misread that message.
it's located in the my map's file
c:feralheart>media>terrains>forestmap
-
Move "forsetmapMask.png" out of the "forestmap" file and into "Terrains". It may work then.
-
it still won't work
-
i think i have a unfixable problem 0_0
-
Can you get the watermill mask to work?
-
i don't think so. what color is the ground supposed to be? because for me the ground is always African grass
-
bump