WorldBuilding/MissionEditor/fxshapereplicator

From TDN

This page is a Work In Progress.


Contents

Introduction

The fx shapeReplicator will provide your level with the ability to populate the levels with any model you have created within a matter of seconds.

fx shapeReplicator

This method of replication is most often used for trees but can be used for grass, plants, rocks and many other environmental props.

An example fxShapeReplicator for trees:

new fxShapeReplicator(WhiteLocus) {
         position = "108.886 487.07 137.906";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         HideReplications = "1";
         ShowPlacementArea = "0";
         PlacementAreaHeight = "25";
         PlacementColour = "0.4 0 0.8 1";
         shapeFile = "~/data/shapes/trees/White_Pine/Sharp_WhitePine01.dts";
         Seed = "1376312589";
         ShapeCount = "100";
         ShapeRetries = "100";
         InnerRadiusX = "0";
         InnerRadiusY = "0";
         OuterRadiusX = "300";
         OuterRadiusY = "300";
         AllowOnTerrain = "1";
         AllowOnInteriors = "1";
         AllowOnStatics = "0";
         AllowOnWater = "0";
         AllowWaterSurface = "0";
         AlignToTerrain = "0";
         Interactions = "1";
         AllowedTerrainSlope = "90";
         TerrainAlignment = "1 1 1";
         FixShapeAspect = "1";
         ShapeScaleMin = "5 5 5";
         ShapeScaleMax = "7 7 7";
         ShapeRotateMin = "0 0 0";
         ShapeRotateMax = "0 0 0";
         OffsetZ = "0";
      };