Feral Heart

Help & Guidance => Game Help => Topic started by: Wolfexpert79 on September 28, 2011, 05:23:56 pm

Title: my terrain mask won't work!
Post 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
Title: Re: my terrain mask won't work!
Post by: -Angel- on September 28, 2011, 10:49:52 pm
did u type the file EXACTLY as u saved it?
Title: Re: my terrain mask won't work!
Post by: Wolfexpert79 on September 28, 2011, 11:45:49 pm
yes
Title: Re: my terrain mask won't work!
Post by: Definition on September 29, 2011, 12:15:55 am
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?
Title: Re: my terrain mask won't work!
Post by: Wolfexpert79 on September 30, 2011, 03:41:10 am
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?
Title: Re: my terrain mask won't work!
Post by: Wolfexpert79 on October 02, 2011, 05:36:33 pm
bump (sorry if thats not allowed here)
Title: Re: my terrain mask won't work!
Post by: Definition on October 03, 2011, 12:26:30 am
(http://i52BannedImageSite/10mq8zl.png)

When you type the mask, make sure you include the .png .
Title: Re: my terrain mask won't work!
Post by: Wolfexpert79 on October 03, 2011, 05:59:34 pm
i did but it still won't work....
Title: Re: my terrain mask won't work!
Post by: Jitters on October 03, 2011, 06:01:35 pm
Where is your file?
Title: Re: my terrain mask won't work!
Post by: Wolfexpert79 on October 03, 2011, 11:11:48 pm
it's called ForestmapMask

it's a png image

it's RGB

and it's 513X513
Title: Re: my terrain mask won't work!
Post by: Definition on October 03, 2011, 11:12:39 pm
Not what is your file, where it is. xD

The place you put your file.
Title: Re: my terrain mask won't work!
Post by: Wolfexpert79 on October 03, 2011, 11:14:16 pm
sorry i misread that message.

it's located in the my map's file

c:feralheart>media>terrains>forestmap

Title: Re: my terrain mask won't work!
Post by: Jitters on October 04, 2011, 03:12:08 am
Move "forsetmapMask.png" out of the "forestmap" file and into "Terrains". It may work then.
Title: Re: my terrain mask won't work!
Post by: Wolfexpert79 on October 05, 2011, 03:47:34 pm
it still won't work
Title: Re: my terrain mask won't work!
Post by: Wolfexpert79 on October 07, 2011, 10:04:53 pm
i think i have a unfixable problem 0_0
Title: Re: my terrain mask won't work!
Post by: Jitters on October 08, 2011, 05:11:01 am
Can you get the watermill mask to work?
Title: Re: my terrain mask won't work!
Post by: Wolfexpert79 on October 08, 2011, 03:54:33 pm
i don't think so. what color is the ground supposed to be? because for me the ground is always African grass
Title: Re: my terrain mask won't work!
Post by: Wolfexpert79 on October 10, 2011, 02:47:21 am
bump