JD2022-TU1/data/EngineData/Helpers/Samples/FriseConfig_Template.fcg

265 lines
No EOL
5.2 KiB
Text
Raw Permalink Blame History

params =
{
NAME = "FriseConfig",
FriseConfig =
{
TAGS = {{VAL="frieze"},},
--zForced = 0.0,
gameMaterial = "",
gameMaterialExtremityStart = "",
gameMaterialExtremityStop = "",
visualOffset = 0.5,
regionId = "",
useFriezeScale = TRUE,
useFriezeFlipToFlipUV = TRUE,
cornerFactor = 1.5,
height = 2.0,
width = 2.0,
methode = 1,
snapCoeff = 0.1,
snapCoeffUv = 0.6,
flexibility = 0.75,
wallAngle = 45.0,
isUvFlipX = FALSE,
isUvFlipY = FALSE,
isRatioFixed = TRUE,
--smoothFactorVisual = 4.0,
--skewAngle = 90,
scale = 0.0,
density = 0.0,
zExtrudeUp = 0.0,
zExtrudeDown = 0.0,
zExtrudeStart = 0.0,
zExtrudeStop = 0.0,
zExtrudeExtremityStart = 0.0,
zExtrudeExtremityStop = 0.0,
selfIllumColor = "0xffffffff",
pluginName = "",
collision =
{
CollisionFrieze =
{
build = TRUE,
offset = 0.5,
flip = FALSE,
methode = 0,
distMaxToSkipParallelEdge = 0.075,
--extremity = vector2dNew(0.0,0.0),
--extremity2 = vector2dNew(0.0,0.0),
--smoothFactor = 4.0,
}
},
textureConfigs =
{
{
FriseTextureConfig =
{
friendly = "",
material =
{
GFXMaterialSerializable =
{
shaderPath = "World\Common\MatShader\Default.msh",
textureSet =
{
GFXMaterialTexturePathSet =
{
diffuse = "",
back_light = "",
normal = "",
separateAlpha = "",
},
},
},
},
path = "", -- deprecated, use material above
color = "0xffffffff",
--fillingOffset = 0.5,
scrollUV = vector2dNew(0.0, 0.0),
scrollAngle = 0,
--alphaBorder = 0,
--alphaUp = 0,
collision =
{
CollisionTexture =
{
build = FALSE,
offset = 0.5,
--cornerIn = vector2dNew(0.0,0.0),
--cornerOut = vector2dNew(0.0,0.0),
}
},
}
},
{
FriseTextureConfig =
{
friendly = "",
path = "",
color = "0xffffffff",
}
},
},
fill =
{
fillConfig =
{
tex = "",
offset = 0.5,
angle = 0.0,
scale = vector2dNew(2.0,2.0),
--smoothFactor = 2.0,
zExtrude = 0.0,
}
},
fluidLayers =
{
{
FluidFriseLayer =
{
erosion = 0,
color = "0xffffffff",
threshold = 0.0,
gameMaterial = "",
backsideGameMaterial = "",
collisionHeight = 0.0,
hasBacksideInversion = 0,
forcedHeightWhenNotColored = 0.0,
hasForcedHeightWhenNotColored = 0,
}
},
{
FluidFriseLayer =
{
erosion = 0,
color = "0xffffffff",
threshold = 0.0,
gameMaterial = "",
backsideGameMaterial = "",
collisionHeight = 0.0,
hasBacksideInversion = 0,
forcedHeightWhenNotColored = 0.0,
hasForcedHeightWhenNotColored = 0,
}
},
},
VertexAnim =
{
VertexAnim =
{
animGlobalSpeed = 1.0,
animGlobalRotSpeed = 0.0,
animSpeedX = 1.0,
animSpeedY = 1.0,
animSyncX = 0.0,
animSyncY = 0.0,
animAmplitudeX = 1.0,
animAmplitudeY = 1.0,
animSync = 0.0,
animAngleUsed = FALSE,
animAngle = 0.0,
}
},
pluginSettings =
{
FriseConfigPluginSettings =
{
values =
{
{
FriseConfigPluginParam =
{
value = 0,
name = "",
}
},
{
FriseConfigPluginParam =
{
value = 0,
name = "",
}
},
}
}
},
Fluid =
{
fluidConfig =
{
Amplification = 0.01, -- propagation
Elasticity = 0.98, -- propagation
Velocity = 0.04, -- propagation
Viscosity = 0.05, -- propagation
TargetHeight = 0, -- hauteur de l'eau au repos
TargetMaxHeight = 5, -- au max
TargetMinHeight = -5, -- au min
TargetAddHeight = -0.005,
UnityWidth = 0.1, -- taille en m<>tre d'une subdivision visuelle
PolylineUnityMult = 2, -- facteur de subdivision physique ( polyline de collision, de r<>gion )
EnterMult = 10, -- multiplicateur force in
LeaveMult = 10, -- multiplicateur force out
MaxDstInfluence = 0.5, -- distance d'influence du player sous l'eau ( en Y ) sur la vague
PerpendicularBack = TRUE,
PerpendicularBackPosZ = 0,
PerpendicularBackZ = -1,
PerpendicularBackScale = 2,
PerpendicularBackPos = 0.92,
PerpendicularFront = TRUE,
PerpendicularFrontPosZ = 0,
PerpendicularFrontZ = 0.3,
PerpendicularFrontScale = 1,
PerpendicularFrontPos = 0.92,
LevelsFront = 0,
LevelsBack = 0,
LevelDelta = vectorNew(0.0,0.0,0.0),
UVDelta = vector2dNew(0.0,0.0),
WeightMultiplier = 0.03,
dstInfluenceMultiplier = 1.0,
AbsorptionAtEdgeStartt = 0,
AbsorptionAtEdgeEndt = 0,
AbsorptionAtEdge_Lengtht = 0,
-- InfluenceLimit = 0.0,
}
},
}
slope_0 = "",
slope_22 = "",
slope_45 = "",
slope_67 = "",
slope_90 = "",
slope_112 = "",
slope_135 = "",
slope_157 = "",
slope_180 = "",
slope_202 = "",
slope_225 = "",
slope_247 = "",
slope_270 = "",
slope_292 = "",
slope_315 = "",
slope_337 = "",
}