JD2022-TU1/data/EngineData/FcgTemplates/11_SquareSimple.fcg

158 lines
No EOL
2.6 KiB
Text

params =
{
NAME = "FriseConfig",
FriseConfig =
{
TAGS = {{VAL="frieze"},},
methode = 3,
height = 4,
width = 8,
smoothFactorVisual = 4.0,
collision =
{
CollisionFrieze =
{
build = FALSE,
offset = 0.75,
flip = FALSE,
methode = 0,
distMaxToSkipParallelEdge = 0.075,
extremity = vector2dNew(0.6,0.8),
extremity2 = vector2dNew(0.5,0.75),
--smoothFactor = 4.0,
}
},
textureConfigs =
{
{
FriseTextureConfig =
{
friendly = "remplissage",
material =
{
GFXMaterialSerializable =
{
shaderPath = "World/Common/MatShader/RegularBuffer/Backlighted.msh",
textureSet =
{
GFXMaterialTexturePathSet =
{
__DifTexture__,
__DifTexture_BACK__,
normal = "",
separateAlpha = "",
},
},
},
},
color = "0xffffffff",
}
},
{
FriseTextureConfig =
{
material =
{
GFXMaterialSerializable =
{
shaderPath = "World/Common/MatShader/RegularBuffer/Backlighted.msh",
textureSet =
{
GFXMaterialTexturePathSet =
{
__DifTexture_FILL__,
__DifTexture_BACK_FILL__,
normal = "",
separateAlpha = "",
},
},
},
},
color = "0xffffffff",
}
},
{
FriseTextureConfig =
{
friendly = "texZoneTop",
collision =
{
CollisionTexture =
{
offset = 0.75,
cornerIn = vector2dNew(0.5,0.75),
cornerOut = vector2dNew(0.25,0.75),
}
},
}
},
{
FriseTextureConfig =
{
friendly = "texZoneRight",
collision =
{
CollisionTexture =
{
offset = 0.5,
cornerIn = vector2dNew(0.5,0.1),
cornerOut = vector2dNew(0.75,0.75),
}
},
}
},
{
FriseTextureConfig =
{
friendly = "texZoneLeft",
collision =
{
CollisionTexture =
{
offset = 0.5,
cornerIn = vector2dNew(0.5,0.75),
cornerOut = vector2dNew(0.5,0.25),
}
},
}
},
{
FriseTextureConfig =
{
friendly = "texZoneBottom",
collision =
{
CollisionTexture =
{
offset = 0.9,
cornerIn = vector2dNew(0.5,0.1),
cornerOut = vector2dNew(0.5,0.175),
}
},
}
},
},
fill =
{
fillConfig =
{
tex = "remplissage",
offset = 0.5,
angle = 0.0,
scale = vector2dNew(2.0,2.0),
--smoothFactor = 2.0,
}
},
}
}