Fixed up behavior of the new functions of convex editor.

This commit is contained in:
Areloch 2019-05-21 00:29:44 -05:00
parent 29433b9f22
commit d6f87da608
5 changed files with 796 additions and 370 deletions

View file

@ -75,131 +75,21 @@ new Scene(PbrMatTestLevel) {
canSaveDynamicFields = "1";
direction = "1 1 -1";
};
new SimGroup(PlayerDropPoints) {
canSave = "1";
canSaveDynamicFields = "1";
Enabled = "1";
};
new Skylight(theSkyLight) {
Enabled = "1";
ReflectionMode = "Baked Cubemap";
position = "8.74661 10.1457 2.94337";
rotation = "1 0 0 0";
canSave = "1";
canSaveDynamicFields = "1";
persistentId = "247d7009-db8a-11e8-87b8-ed691a78e155";
posOffset = "0 0 0";
ProbeShape = "Box";
radius = "10";
reflectionPath = "levels/Timmy Test/probes/";
scale = "1 1 1";
};
new SpotLight() {
range = "10";
innerAngle = "5";
outerAngle = "45";
isEnabled = "1";
color = "1 0 0 1";
brightness = "1";
castShadows = "1";
staticRefreshFreq = "32";
dynamicRefreshFreq = "8";
priority = "1";
animate = "1";
animationPeriod = "5";
animationPhase = "1";
flareScale = "1";
attenuationRatio = "0 1 1";
shadowType = "Spot";
texSize = "512";
overDarkFactor = "2000 1000 500 100";
shadowDistance = "400";
shadowSoftness = "0.15";
numSplits = "1";
logWeight = "0.91";
fadeStartDistance = "0";
lastSplitTerrainOnly = "0";
representedInLightmap = "0";
shadowDarkenColor = "0 0 0 -1";
includeLightmappedGeometryInShadow = "0";
position = "-11.3397 10.2393 5.48993";
rotation = "0.996932 0.0250098 -0.0741721 37.3757";
canSave = "1";
canSaveDynamicFields = "1";
};
new PointLight() {
radius = "10";
isEnabled = "1";
color = "0.011612 1 0.991102 1";
brightness = "1";
castShadows = "1";
staticRefreshFreq = "32";
dynamicRefreshFreq = "8";
priority = "1";
animate = "1";
animationPeriod = "1";
animationPhase = "1";
flareScale = "1";
attenuationRatio = "0 1 1";
shadowType = "DualParaboloidSinglePass";
texSize = "512";
overDarkFactor = "2000 1000 500 100";
shadowDistance = "400";
shadowSoftness = "0.15";
numSplits = "1";
logWeight = "0.91";
fadeStartDistance = "0";
lastSplitTerrainOnly = "0";
representedInLightmap = "0";
shadowDarkenColor = "0 0 0 -1";
includeLightmappedGeometryInShadow = "0";
position = "-9.67408 18.3499 3.91894";
rotation = "1 0 0 0";
canSave = "1";
canSaveDynamicFields = "1";
};
new ConvexShape() {
Material = "Grid_512_Orange";
position = "-6.41329 13.7734 2.12278";
rotation = "0 0 1 3.19212";
Material = "Grid512_OrangeLines_Mat";
position = "0 0 0";
rotation = "1 0 0 0";
scale = "1 1 1";
canSave = "1";
canSaveDynamicFields = "1";
surface = "0 0 0 1 0 0 0.384079";
surface = "0 1 0 0 0 0 -0.384079";
surface = "0.707107 0 0 0.707107 0 0.285194 0";
surface = "0 0.707107 -0.707107 0 0 -0.285194 -1.42109e-14";
surface = "0.5 0.5 -0.5 0.5 -0.758333 0 -1.07696e-07";
surface = "0.5 -0.5 0.5 0.5 0.758333 0 -1.07696e-07";
};
new BoxEnvironmentProbe() {
Enabled = "0";
refOffset = "0 0 0";
refScale = "10 10 10";
ReflectionMode = "Baked Cubemap";
position = "-11.7544 15.2634 4.67576";
rotation = "1 0 0 0";
scale = "10 10 10";
canSave = "1";
canSaveDynamicFields = "1";
persistentId = "8c7e1f23-5f1c-11e9-8089-c88cdaba85a3";
attenuation = "1";
};
new ConvexShape() {
Material = "Floor_Material";
position = "0 0 0";
rotation = "1 0 0 0";
scale = "15 15 1";
canSave = "1";
canSaveDynamicFields = "1";
surface = "0 0 0 1 0 0 0.5";
surface = "0 1 0 0 0 0 -0.5";
surface = "0.707107 0 0 0.707107 0 0.5 0";
surface = "0 0.707107 -0.707107 0 0 -0.5 0";
surface = "0.5 0.5 -0.5 0.5 -0.5 0 0";
surface = "0.5 -0.5 0.5 0.5 0.5 0 0";
surfaceTexture = "Floor_Material";
surface = "0 0 0 1 0 0 0.5 1 0 0 1 1 0 0 0";
surface = "0 1 0 0 0 0 -0.5 1 0 0 1 1 0 0 0";
surface = "0.707107 0 0 0.707107 0 4 0 1 0 0 1 1 0 0 0";
surface = "0 0.707107 -0.707107 0 0 -4 0 1 0 0 1 1 0 0 0";
surface = "0.5 0.5 -0.5 0.5 -4 0 0 1 0 0 1 1 0 0 0";
surface = "0.5 -0.5 0.5 0.5 4 0 0 1 0 0 1 1 0 0 0";
};
};
//--- OBJECT WRITE END ---