Hallo Native Community,
ich habe eine Probelm ich habe mir eine kleine Map erstellt aber ich habe kein Grass egal was ich ausprobieren es komme einfach nicht kann mir wer helfen?
Config.cpp als txt wahr zu lang
Code: layers.cfg
class Layers
{
class HDTeam_asphalt
{
texture = "HDIsland\data\HDTeam_asphalt_mco.paa";
material="HDIsland\data\HDTeam_asphalt.rvmat";
};
class HDTeam_forest
{
material="HDIsland\data\HDTeam_forest.rvmat";
};
class HDTeam_grass_green
{
texture = "HDIsland\data\HDTeam_grass_green_mco.paa";
material="HDIsland\data\HDTeam_grass_green.rvmat";
};
class HDTeam_green
{
material="HDIsland\data\HDTeam_green.rvmat";
};
class HDTeam_rock
{
texture = "HDIsland\data\HDTeam_rock_mco.paa";
material="HDIsland\data\HDTeam_rock.rvmat";
};
class HDTeam_sand
{
material="HDIsland\data\HDTeam_sand.rvmat";
};
};
class Legend
{
picture="HDIsland\Source\mapLegend.png";
class Colors
{
/// color names should correspond to surface layer names
HDTeam_asphalt[]={{255,0,255}};
HDTeam_forest[]={{127,161,253}};
HDTeam_grass_green[]={{0,255,0}};
HDTeam_green[]={{112,79,36}};
HDTeam_rock[]={{0,0,0}};
HDTeam_sand[]={{255,255,255}};
};
};
Alles anzeigen
Code: material von Textturen
ambient[]={1,1,1,1};
diffuse[]={0.25,0.25,0.25,1};
forcedDiffuse[]={0,0,0,0};
emmisive[]={0,0,0,0};
specular[]={0,0,0,0};
specularPower=10;
PixelShaderID="NormalMapDiffuse";
VertexShaderID="NormalMapDiffuseAlpha";
class Stage1
{
texture="HDIsland\data\HDTeam_asphalt_nopx.paa";
uvSource="tex";
class uvTransform
{
aside[]={6,0,0};
up[]={0,6,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage2
{
texture="HDIsland\data\HDTeam_asphalt_co.paa";
uvSource="tex";
class uvTransform
{
aside[]={6,0,0};
up[]={0,6,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
Alles anzeigen