100 lines
		
	
	
		
			3.2 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			100 lines
		
	
	
		
			3.2 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
    "foliageList" : [
 | 
						|
        {
 | 
						|
            "name" : "FallOak1",
 | 
						|
            "tokens" : [
 | 
						|
                "BLENDER_ROTATION"
 | 
						|
            ],
 | 
						|
            "physicsObjects" : [
 | 
						|
                {
 | 
						|
                    "type" : "CYLINDER",
 | 
						|
                    "dimension1" : 0.1,
 | 
						|
                    "dimension2" : 0.45,
 | 
						|
                    "dimension3" : 0.1,
 | 
						|
                    "offsetX" : 0,
 | 
						|
                    "offsetY" : 0.45,
 | 
						|
                    "offsetZ" : 0
 | 
						|
                }
 | 
						|
            ],
 | 
						|
            "modelPath" : "Models/falloak1.fbx"
 | 
						|
        },
 | 
						|
        {
 | 
						|
            "name" : "Green Grass",
 | 
						|
            "tokens" : [
 | 
						|
                "AMBIENT",
 | 
						|
                "REACTS_TO_WIND",
 | 
						|
                "GROWS_BACK",
 | 
						|
                "FLAMMABLE"
 | 
						|
            ],
 | 
						|
            "growthModel": {
 | 
						|
                "growthRate" : 0.001
 | 
						|
            },
 | 
						|
            "modelPath" : "Models/foliage/grass2.fbx"
 | 
						|
        },
 | 
						|
        {
 | 
						|
            "name" : "oak",
 | 
						|
            "tokens" : [
 | 
						|
                "TREE",
 | 
						|
                "REACTS_TO_WIND",
 | 
						|
                "GROWS_BACK",
 | 
						|
                "FLAMMABLE"
 | 
						|
            ],
 | 
						|
            "growthModel": {
 | 
						|
                "growthRate" : 0.001
 | 
						|
            },
 | 
						|
            "treeModel": {
 | 
						|
                "limbScalarFalloffFactor": 0.3,
 | 
						|
                "minimumLimbScalar": 0.25,
 | 
						|
                "maximumLimbDispersion": 0.5,
 | 
						|
                "minimumLimbDispersion": 0.3,
 | 
						|
                "minimumNumberForks": 3,
 | 
						|
                "maximumNumberForks": 5,
 | 
						|
                "branchHeight": 3,
 | 
						|
                "centralTrunk": false,
 | 
						|
                "maximumTrunkSegments": 4,
 | 
						|
                "maximumBranchSegments": 3,
 | 
						|
                "maxBranchSegmentFalloffFactor": 1,
 | 
						|
                "minimumSegmentToSpawnLeaves": 2,
 | 
						|
                "minBranchHeightToStartSpawningLeaves": 1.5,
 | 
						|
                "maxBranchHeightToStartSpawningLeaves": 3.01,
 | 
						|
                "leafIncrement": 0.5,
 | 
						|
                "minLeavesToSpawnPerPoint": 3,
 | 
						|
                "maxLeavesToSpawnPerPoint": 5,
 | 
						|
                "leafDistanceFromCenter": 1.2,
 | 
						|
                "peelVariance": 0.2,
 | 
						|
                "peelMinimum": 0.1,
 | 
						|
                "swaySigmoidFactor": 2,
 | 
						|
                "minimumSwayTime": 500,
 | 
						|
                "swayTimeVariance": 500,
 | 
						|
                "yawVariance": 0.2,
 | 
						|
                "yawMinimum": 0.1,
 | 
						|
                "minimumScalarToGenerateSwayTree": 0.5,
 | 
						|
                "maximumScalarToGenerateSwayTree": 1.0,
 | 
						|
                "physicsCutoff": 3,
 | 
						|
                "physicsBody": {
 | 
						|
                    "type" : "CYLINDER",
 | 
						|
                    "dimension1" : 0.5,
 | 
						|
                    "dimension2" : 3,
 | 
						|
                    "dimension3" : 0.5,
 | 
						|
                    "rotX": 0,
 | 
						|
                    "rotY": 0,
 | 
						|
                    "rotZ": 0,
 | 
						|
                    "rotW": 1,
 | 
						|
                    "offsetX" : 0,
 | 
						|
                    "offsetY" : 1.5,
 | 
						|
                    "offsetZ" : 0
 | 
						|
                }
 | 
						|
            },
 | 
						|
            "ambientAudio": {
 | 
						|
                "responseWindAudioFilePath": "Audio/ambienceWind1SeamlessMono.ogg",
 | 
						|
                "responseWindLoops": true,
 | 
						|
                "randomizeOffset": true,
 | 
						|
                "gainMultiplier": 0.9,
 | 
						|
                "emitterSpatialOffset": [0,3,0]
 | 
						|
            },
 | 
						|
            "modelPath" : "Models/foliage/proceduralTree2/proceduralTree2v2.fbx"
 | 
						|
        }
 | 
						|
 | 
						|
    ]
 | 
						|
}
 |