Game Development Community

FxFoilageReplicator

by fetze · in General Discussion · 03/17/2004 (4:14 am) · 3 replies

A very easy question: How can I get it working? What are the many textfields for? An example would be very nice :)

#1
03/17/2004 (4:42 am)
First, the example:
new fxFoliageReplicator(ShortGrass) {
         position = "-261.181 -18.7464 226.054";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         UseDebugInfo = "0";
         DebugBoxHeight = "1";
         HideFoliage = "0";
         ShowPlacementArea = "0";
         PlacementAreaHeight = "25";
         PlacementColour = "0.400000 0.000000 0.800000 1.000000";
         Seed = "1376312589";
         FoliageFile = "~/data/shapes/plants/plant2";
         FoliageCount = "6000";
         FoliageRetries = "100";
         InnerRadiusX = "0";
         InnerRadiusY = "0";
         OuterRadiusX = "50";
         OuterRadiusY = "50";
         MinWidth = "1";
         MaxWidth = "3";
         MinHeight = "1";
         MaxHeight = "1";
         FixAspectRatio = "1";
         FixSizeToMax = "0";
         OffsetZ = "0";
         RandomFlip = "1";
         UseCulling = "1";
         CullResolution = "25";
         ViewDistance = "15";
         ViewClosest = "1";
         FadeInRegion = "5";
         FadeOutRegion = "1";
         AlphaCutoff = "0.1";
         GroundAlpha = "1";
         SwayOn = "1";
         SwaySync = "0";
         SwayMagSide = "0.01";
         SwayMagFront = "0.03";
         MinSwayTime = "5";
         MaxSwayTime = "10";
         LightOn = "0";
         LightSync = "0";
         MinLuminance = "0.7";
         MaxLuminance = "1";
         lightTime = "5";
         AllowOnTerrain = "1";
         AllowOnInteriors = "0";
         AllowOnStatics = "0";
         AllowOnWater = "0";
         AllowWaterSurface = "0";
         AllowedTerrainSlope = "90";
      };

For the documentation of the various variables, see the original resource:
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=3057
Download the zip and read the DrinkMe.txt, it contains the installation instructions, which you won't need and the explanation of the fields.

Stefan.
#2
03/17/2004 (4:47 am)
You're one of the www.realmwars.de people, right? So, you're probably German? If you need some explanations in German, feel free to email me.

Stefan.
#3
03/17/2004 (5:07 am)
Yeah, I am one of www.realmwars.de :)
(btw.: The new Adress is www.realm-wars.com)

Thanks for the offer, but I first try to understand it myslf.