Initial commit
This commit is contained in:
1601
example/demo/data/missions/features.mis
Executable file
1601
example/demo/data/missions/features.mis
Executable file
File diff suppressed because it is too large
Load Diff
BIN
example/demo/data/missions/features.ter
Executable file
BIN
example/demo/data/missions/features.ter
Executable file
Binary file not shown.
762
example/demo/data/missions/fps.mis
Normal file
762
example/demo/data/missions/fps.mis
Normal file
@ -0,0 +1,762 @@
|
||||
//--- OBJECT WRITE BEGIN ---
|
||||
new SimGroup(MissionGroup) {
|
||||
|
||||
new ScriptObject(MissionInfo) {
|
||||
type = "fps";
|
||||
name = "FPS Example";
|
||||
desc0 = "This is a very basic death-match style first person shooter built using default Torque Engine objects. Mission lighting only occurs the first time the mission is loaded.";
|
||||
};
|
||||
new MissionArea(MissionArea) {
|
||||
Area = "-1024 -1024 2048 2048";
|
||||
flightCeiling = "300";
|
||||
flightCeilingRange = "20";
|
||||
locked = "true";
|
||||
};
|
||||
new SimGroup(environment) {
|
||||
|
||||
new Sky(Sky) {
|
||||
position = "336 136 0";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
materialList = "~/data/skies/sky_storm.dml";
|
||||
cloudHeightPer[0] = "7";
|
||||
cloudHeightPer[1] = "0.3";
|
||||
cloudHeightPer[2] = "0.199973";
|
||||
cloudSpeed1 = "0.002";
|
||||
cloudSpeed2 = "0.001";
|
||||
cloudSpeed3 = "0.003";
|
||||
visibleDistance = "800";
|
||||
fogDistance = "500";
|
||||
fogColor = "0.4 0.4 0.4 1";
|
||||
fogStorm1 = "0";
|
||||
fogStorm2 = "1";
|
||||
fogStorm3 = "0";
|
||||
fogVolume1 = "100 0 169.5";
|
||||
fogVolume2 = "150 170 250";
|
||||
fogVolume3 = "0 0 0";
|
||||
fogVolumeColor1 = "0.9 0.9 0.9 1";
|
||||
fogVolumeColor2 = "0.9 0.9 0.9 1";
|
||||
fogVolumeColor3 = "0 0 0 1";
|
||||
windVelocity = "1 1 0";
|
||||
windEffectPrecipitation = "0";
|
||||
SkySolidColor = "0.64 0.148 0.215 0";
|
||||
useSkyTextures = "1";
|
||||
renderBottomTexture = "0";
|
||||
noRenderBans = "0";
|
||||
locked = "true";
|
||||
};
|
||||
new Sun() {
|
||||
azimuth = "120";
|
||||
elevation = "35";
|
||||
color = "1 1 0.7 1";
|
||||
ambient = "0.3 0.3 0.4 1";
|
||||
direction = "0.635001 0.635001 -0.439941";
|
||||
locked = "true";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
position = "0 0 0";
|
||||
};
|
||||
new fxSunLight(sunflare1) {
|
||||
position = "98.5277 -289.053 188.13";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
Enable = "1";
|
||||
LocalFlareBitmap = "common/lighting/corona";
|
||||
RemoteFlareBitmap = "common/lighting/corona";
|
||||
SunAzimuth = "224";
|
||||
SunElevation = "10";
|
||||
LockToRealSun = "1";
|
||||
FlareTP = "1";
|
||||
Colour = "1 0 0 1";
|
||||
Brightness = "1";
|
||||
FlareSize = "1.5";
|
||||
FadeTime = "0.1";
|
||||
BlendMode = "0";
|
||||
AnimColour = "0";
|
||||
AnimBrightness = "1";
|
||||
AnimRotation = "1";
|
||||
AnimSize = "1";
|
||||
AnimAzimuth = "0";
|
||||
AnimElevation = "0";
|
||||
LerpColour = "1";
|
||||
LerpBrightness = "1";
|
||||
LerpRotation = "1";
|
||||
LerpSize = "1";
|
||||
LerpAzimuth = "1";
|
||||
LerpElevation = "1";
|
||||
LinkFlareSize = "0";
|
||||
SingleColourKeys = "1";
|
||||
MinColour = "0 0 0 1";
|
||||
MaxColour = "1 1 1 1";
|
||||
MinBrightness = "0.4";
|
||||
MaxBrightness = "1";
|
||||
MinRotation = "0";
|
||||
MaxRotation = "359";
|
||||
MinSize = "0.5";
|
||||
MaxSize = "1";
|
||||
MinAzimuth = "0";
|
||||
MaxAzimuth = "359";
|
||||
MinElevation = "-30";
|
||||
MaxElevation = "210";
|
||||
RedKeys = "AZA";
|
||||
GreenKeys = "AZA";
|
||||
BlueKeys = "AZA";
|
||||
BrightnessKeys = "JAZJTAJ";
|
||||
RotationKeys = "ZA";
|
||||
SizeKeys = "ATAZA";
|
||||
AzimuthKeys = "AZ";
|
||||
ElevationKeys = "AZ";
|
||||
ColourTime = "5";
|
||||
BrightnessTime = "10";
|
||||
RotationTime = "40";
|
||||
SizeTime = "30";
|
||||
AzimuthTime = "5";
|
||||
ElevationTime = "5";
|
||||
};
|
||||
new fxSunLight(sunflare2) {
|
||||
position = "72.9234 -289.051 187.692";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
Enable = "1";
|
||||
LocalFlareBitmap = "common/lighting/corona";
|
||||
RemoteFlareBitmap = "common/lighting/corona";
|
||||
SunAzimuth = "224";
|
||||
SunElevation = "10";
|
||||
LockToRealSun = "1";
|
||||
FlareTP = "1";
|
||||
Colour = "1 1 0 1";
|
||||
Brightness = "1";
|
||||
FlareSize = "1.5";
|
||||
FadeTime = "0.1";
|
||||
BlendMode = "0";
|
||||
AnimColour = "0";
|
||||
AnimBrightness = "1";
|
||||
AnimRotation = "1";
|
||||
AnimSize = "0";
|
||||
AnimAzimuth = "0";
|
||||
AnimElevation = "0";
|
||||
LerpColour = "1";
|
||||
LerpBrightness = "1";
|
||||
LerpRotation = "1";
|
||||
LerpSize = "1";
|
||||
LerpAzimuth = "1";
|
||||
LerpElevation = "1";
|
||||
LinkFlareSize = "0";
|
||||
SingleColourKeys = "1";
|
||||
MinColour = "0 0 0 1";
|
||||
MaxColour = "1 1 1 1";
|
||||
MinBrightness = "0.25";
|
||||
MaxBrightness = "0.5";
|
||||
MinRotation = "0";
|
||||
MaxRotation = "359";
|
||||
MinSize = "0.5";
|
||||
MaxSize = "1";
|
||||
MinAzimuth = "0";
|
||||
MaxAzimuth = "359";
|
||||
MinElevation = "-30";
|
||||
MaxElevation = "210";
|
||||
RedKeys = "AZA";
|
||||
GreenKeys = "AZA";
|
||||
BlueKeys = "AZA";
|
||||
BrightnessKeys = "AZJTA";
|
||||
RotationKeys = "AZ";
|
||||
SizeKeys = "ATAZA";
|
||||
AzimuthKeys = "AZ";
|
||||
ElevationKeys = "AZ";
|
||||
ColourTime = "5";
|
||||
BrightnessTime = "6";
|
||||
RotationTime = "80";
|
||||
SizeTime = "5";
|
||||
AzimuthTime = "5";
|
||||
ElevationTime = "5";
|
||||
};
|
||||
new TerrainBlock(terrain) {
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
detailTexture = "~/data/terrains/details/detail1";
|
||||
terrainFile = "./features.ter";
|
||||
squareSize = "8";
|
||||
bumpScale = "1";
|
||||
bumpOffset = "0.01";
|
||||
zeroBumpScale = "8";
|
||||
tile = "1";
|
||||
locked = "true";
|
||||
position = "-1024 -1024 0";
|
||||
};
|
||||
new WaterBlock() {
|
||||
position = "-32 -752 159.5";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "512 768 10";
|
||||
UseDepthMask = "1";
|
||||
surfaceTexture = "~/data/water/water_center";
|
||||
ShoreTexture = "~/data/water/water_edge";
|
||||
envMapOverTexture = "~/data/skies/storm_env";
|
||||
specularMaskTex = "~/data/water/water_spec";
|
||||
liquidType = "OceanWater";
|
||||
density = "1";
|
||||
viscosity = "15";
|
||||
waveMagnitude = "3";
|
||||
surfaceOpacity = "0.2";
|
||||
envMapIntensity = "1";
|
||||
TessSurface = "50";
|
||||
TessShore = "60";
|
||||
SurfaceParallax = "1";
|
||||
FlowAngle = "220";
|
||||
FlowRate = "0.1";
|
||||
DistortGridScale = "0.1";
|
||||
DistortMag = "0.1";
|
||||
DistortTime = "2";
|
||||
ShoreDepth = "14";
|
||||
DepthGradient = "1";
|
||||
MinAlpha = "0.01";
|
||||
MaxAlpha = "0.4";
|
||||
tile = "1";
|
||||
removeWetEdges = "0";
|
||||
specularColor = "1 0.8 0.46 1";
|
||||
specularPower = "10";
|
||||
locked = "true";
|
||||
floodFill = "1";
|
||||
seedPoints = "0 0 1 0 1 1 0 1";
|
||||
params3 = "1.21 -0.61 0.13 -0.33";
|
||||
params0 = "0.32 -0.67 0.066 0.5";
|
||||
params2 = "0.39 0.39 0.2 0.133";
|
||||
params1 = "0.63 -2.41 0.33 0.21";
|
||||
Extent = "100 100 10";
|
||||
textureSize = "32 32";
|
||||
};
|
||||
new fxFoliageReplicator(ShortGrass) {
|
||||
position = "61.8315 -143.622 181.494";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
UseDebugInfo = "0";
|
||||
DebugBoxHeight = "1";
|
||||
HideFoliage = "0";
|
||||
ShowPlacementArea = "0";
|
||||
PlacementAreaHeight = "25";
|
||||
PlacementColour = "0.4 0 0.8 1";
|
||||
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";
|
||||
};
|
||||
new fxFoliageReplicator(TallGrass) {
|
||||
position = "66.3401 -147.628 181.149";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
UseDebugInfo = "0";
|
||||
DebugBoxHeight = "1";
|
||||
HideFoliage = "0";
|
||||
ShowPlacementArea = "0";
|
||||
PlacementAreaHeight = "25";
|
||||
PlacementColour = "0.4 0 0.8 1";
|
||||
Seed = "1376312589";
|
||||
FoliageFile = "~/data/shapes/plants/plant1";
|
||||
FoliageCount = "1000";
|
||||
FoliageRetries = "100";
|
||||
InnerRadiusX = "0";
|
||||
InnerRadiusY = "0";
|
||||
OuterRadiusX = "50";
|
||||
OuterRadiusY = "50";
|
||||
MinWidth = "1";
|
||||
MaxWidth = "3";
|
||||
MinHeight = "1";
|
||||
MaxHeight = "2";
|
||||
FixAspectRatio = "1";
|
||||
FixSizeToMax = "0";
|
||||
OffsetZ = "0";
|
||||
RandomFlip = "1";
|
||||
UseCulling = "1";
|
||||
CullResolution = "30";
|
||||
ViewDistance = "30";
|
||||
ViewClosest = "1";
|
||||
FadeInRegion = "10";
|
||||
FadeOutRegion = "1";
|
||||
AlphaCutoff = "0.2";
|
||||
GroundAlpha = "1";
|
||||
SwayOn = "1";
|
||||
SwaySync = "0";
|
||||
SwayMagSide = "0.02";
|
||||
SwayMagFront = "0.01";
|
||||
MinSwayTime = "3";
|
||||
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";
|
||||
};
|
||||
new TSStatic() {
|
||||
position = "325.266 147.55 175.866";
|
||||
rotation = "0 0 -1 18.3347";
|
||||
scale = "1 1 1";
|
||||
shapeName = "~/data/shapes/rocks/rock1.dts";
|
||||
};
|
||||
};
|
||||
new SimGroup(PlayerDropPoints) {
|
||||
|
||||
new SpawnSphere() {
|
||||
position = "208.964 100.106 223.616";
|
||||
rotation = "0 0 1 92.0645";
|
||||
scale = "1 1 1";
|
||||
dataBlock = "SpawnSphereMarker";
|
||||
radius = "1";
|
||||
sphereWeight = "100";
|
||||
indoorWeight = "100";
|
||||
outdoorWeight = "100";
|
||||
locked = "false";
|
||||
lockCount = "0";
|
||||
homingCount = "0";
|
||||
};
|
||||
new SpawnSphere() {
|
||||
position = "500.635 292.382 235.17";
|
||||
rotation = "0 0 1 235.668";
|
||||
scale = "1 1 1";
|
||||
dataBlock = "SpawnSphereMarker";
|
||||
radius = "1";
|
||||
sphereWeight = "100";
|
||||
indoorWeight = "100";
|
||||
outdoorWeight = "100";
|
||||
};
|
||||
new SpawnSphere() {
|
||||
position = "352.413 -151.499 236.457";
|
||||
rotation = "0 0 -1 20.6265";
|
||||
scale = "1 1 1";
|
||||
dataBlock = "SpawnSphereMarker";
|
||||
radius = "1";
|
||||
sphereWeight = "100";
|
||||
indoorWeight = "100";
|
||||
outdoorWeight = "100";
|
||||
};
|
||||
new SpawnSphere() {
|
||||
position = "202.112 268.204 258.772";
|
||||
rotation = "0 0 1 123.186";
|
||||
scale = "1 1 1";
|
||||
dataBlock = "SpawnSphereMarker";
|
||||
radius = "1";
|
||||
sphereWeight = "100";
|
||||
indoorWeight = "100";
|
||||
outdoorWeight = "100";
|
||||
};
|
||||
new SpawnSphere() {
|
||||
position = "443.291 88.888 221.834";
|
||||
rotation = "0 0 -1 69.9008";
|
||||
scale = "1 1 1";
|
||||
dataBlock = "SpawnSphereMarker";
|
||||
radius = "1";
|
||||
sphereWeight = "100";
|
||||
indoorWeight = "100";
|
||||
outdoorWeight = "100";
|
||||
};
|
||||
};
|
||||
new SimGroup(Buildings) {
|
||||
|
||||
new InteriorInstance() {
|
||||
position = "175.38 -10.1902 182.883";
|
||||
rotation = "0 0 -1 29.7937";
|
||||
scale = "1 1 1";
|
||||
interiorFile = "~/data/interiors/room/greathall.dif";
|
||||
useGLLighting = "0";
|
||||
showTerrainInside = "0";
|
||||
locked = "true";
|
||||
};
|
||||
new InteriorInstance() {
|
||||
position = "398.843 -177.541 257.626";
|
||||
rotation = "0 0 1 192.123";
|
||||
scale = "1 1 1";
|
||||
interiorFile = "~/data/interiors/towers/landtower.dif";
|
||||
useGLLighting = "0";
|
||||
showTerrainInside = "0";
|
||||
};
|
||||
new InteriorInstance() {
|
||||
position = "283.125 126.847 189.219";
|
||||
rotation = "0 0 1 211.031";
|
||||
scale = "1 1 1";
|
||||
interiorFile = "~/data/interiors/hovels/cottage.dif";
|
||||
useGLLighting = "0";
|
||||
showTerrainInside = "0";
|
||||
};
|
||||
new InteriorInstance() {
|
||||
position = "361.396 73.8407 193.051";
|
||||
rotation = "0 0 1 49.2744";
|
||||
scale = "1 1 1";
|
||||
interiorFile = "~/data/interiors/hovels/cottage.dif";
|
||||
useGLLighting = "0";
|
||||
showTerrainInside = "0";
|
||||
};
|
||||
new InteriorInstance() {
|
||||
position = "365.421 150.179 189.229";
|
||||
rotation = "0 0 -1 42.9714";
|
||||
scale = "1 1 1";
|
||||
interiorFile = "~/data/interiors/hovels/cottage.dif";
|
||||
useGLLighting = "0";
|
||||
showTerrainInside = "0";
|
||||
locked = "false";
|
||||
};
|
||||
new InteriorInstance() {
|
||||
position = "252.589 -52.2817 192.135";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
interiorFile = "~/data/interiors/docks/ggpiling.dif";
|
||||
useGLLighting = "0";
|
||||
showTerrainInside = "0";
|
||||
};
|
||||
new InteriorInstance() {
|
||||
position = "256.272 -62.3054 192.427";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
interiorFile = "~/data/interiors/docks/ggpiling.dif";
|
||||
useGLLighting = "0";
|
||||
showTerrainInside = "0";
|
||||
};
|
||||
new InteriorInstance() {
|
||||
position = "257.65 -72.945 190.926";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
interiorFile = "~/data/interiors/docks/ggpiling.dif";
|
||||
useGLLighting = "0";
|
||||
showTerrainInside = "0";
|
||||
};
|
||||
new InteriorInstance() {
|
||||
position = "193.13 -74.2614 197.199";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
interiorFile = "~/data/interiors/docks/ggpiling.dif";
|
||||
useGLLighting = "0";
|
||||
showTerrainInside = "0";
|
||||
};
|
||||
new InteriorInstance() {
|
||||
position = "191.429 -82.0062 198.114";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
interiorFile = "~/data/interiors/docks/ggpiling.dif";
|
||||
useGLLighting = "0";
|
||||
showTerrainInside = "0";
|
||||
};
|
||||
new InteriorInstance() {
|
||||
position = "232.431 -137.729 171.274";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
interiorFile = "~/data/interiors/docks/ggdock.dif";
|
||||
useGLLighting = "0";
|
||||
showTerrainInside = "0";
|
||||
};
|
||||
new InteriorInstance() {
|
||||
position = "232.517 -125.739 171.274";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
interiorFile = "~/data/interiors/docks/ggbridgem.dif";
|
||||
useGLLighting = "0";
|
||||
showTerrainInside = "0";
|
||||
};
|
||||
new InteriorInstance() {
|
||||
position = "256.424 -149.716 174.465";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
interiorFile = "~/data/interiors/docks/ggpiling.dif";
|
||||
useGLLighting = "0";
|
||||
showTerrainInside = "0";
|
||||
};
|
||||
new InteriorInstance() {
|
||||
position = "254.05 -160.74 174.93";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
interiorFile = "~/data/interiors/docks/ggpiling.dif";
|
||||
useGLLighting = "0";
|
||||
showTerrainInside = "0";
|
||||
};
|
||||
new InteriorInstance() {
|
||||
position = "250.421 -170.1 175.965";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
interiorFile = "~/data/interiors/docks/ggpiling.dif";
|
||||
useGLLighting = "0";
|
||||
showTerrainInside = "0";
|
||||
};
|
||||
new InteriorInstance() {
|
||||
position = "211.781 283.737 272.58";
|
||||
rotation = "0 0 -1 2.29138";
|
||||
scale = "1 1 1";
|
||||
interiorFile = "~/data/interiors/towers/landtower.dif";
|
||||
useGLLighting = "0";
|
||||
showTerrainInside = "0";
|
||||
};
|
||||
};
|
||||
new SimGroup(Items) {
|
||||
|
||||
new TSStatic(firepit) {
|
||||
position = "339.396 137.811 176.994";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
shapeName = "~/data/shapes/campfires/campfire.dts";
|
||||
};
|
||||
new TSStatic() {
|
||||
position = "319.644 147.987 176.663";
|
||||
rotation = "0 0 1 55.5769";
|
||||
scale = "1 1 1";
|
||||
shapeName = "~/data/shapes/rocks/rock1.dts";
|
||||
};
|
||||
};
|
||||
new SimGroup(Weapons) {
|
||||
|
||||
new Item() {
|
||||
position = "379.294 -169.167 238.099";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
dataBlock = "Crossbow";
|
||||
collidable = "0";
|
||||
static = "1";
|
||||
rotate = "1";
|
||||
};
|
||||
new Item() {
|
||||
position = "380.562 -170.106 238.026";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
dataBlock = "CrossbowAmmo";
|
||||
collidable = "0";
|
||||
static = "1";
|
||||
rotate = "1";
|
||||
};
|
||||
new Item() {
|
||||
position = "381.176 -170.352 238.026";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
dataBlock = "CrossbowAmmo";
|
||||
collidable = "0";
|
||||
static = "1";
|
||||
rotate = "1";
|
||||
};
|
||||
new Item() {
|
||||
position = "230.38 281.686 253.148";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
dataBlock = "Crossbow";
|
||||
collidable = "0";
|
||||
static = "1";
|
||||
rotate = "1";
|
||||
};
|
||||
new Item() {
|
||||
position = "231.648 280.747 253.075";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
dataBlock = "CrossbowAmmo";
|
||||
collidable = "0";
|
||||
static = "1";
|
||||
rotate = "1";
|
||||
};
|
||||
new Item() {
|
||||
position = "232.262 280.501 253.075";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
dataBlock = "CrossbowAmmo";
|
||||
collidable = "0";
|
||||
static = "1";
|
||||
rotate = "1";
|
||||
};
|
||||
new Item() {
|
||||
position = "164.556 6.58634 185.584";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
dataBlock = "Crossbow";
|
||||
collidable = "0";
|
||||
static = "1";
|
||||
rotate = "1";
|
||||
};
|
||||
new Item() {
|
||||
position = "166.042 7.11638 185.511";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
dataBlock = "CrossbowAmmo";
|
||||
collidable = "0";
|
||||
static = "1";
|
||||
rotate = "1";
|
||||
};
|
||||
new Item() {
|
||||
position = "166.588 7.48927 185.511";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
dataBlock = "CrossbowAmmo";
|
||||
collidable = "0";
|
||||
static = "1";
|
||||
rotate = "1";
|
||||
};
|
||||
new Item() {
|
||||
position = "361.418 72.9986 183.599";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
dataBlock = "Crossbow";
|
||||
collidable = "0";
|
||||
static = "1";
|
||||
rotate = "1";
|
||||
};
|
||||
new Item() {
|
||||
position = "362.904 73.5287 183.526";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
dataBlock = "CrossbowAmmo";
|
||||
collidable = "0";
|
||||
static = "1";
|
||||
rotate = "1";
|
||||
};
|
||||
new Item() {
|
||||
position = "363.45 73.9016 183.526";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
dataBlock = "CrossbowAmmo";
|
||||
collidable = "0";
|
||||
static = "1";
|
||||
rotate = "1";
|
||||
};
|
||||
};
|
||||
new TSStatic() {
|
||||
position = "26.82 -158.032 181.627";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
shapeName = "~/data/shapes/trees/shrub.dts";
|
||||
};
|
||||
new TSStatic() {
|
||||
position = "33.5032 -102.146 200.744";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
shapeName = "~/data/shapes/trees/shrub.dts";
|
||||
};
|
||||
new TSStatic() {
|
||||
position = "-17.6384 -134.142 193.94";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
shapeName = "~/data/shapes/trees/shrub.dts";
|
||||
};
|
||||
new TSStatic() {
|
||||
position = "46.4201 -164.338 175.735";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
shapeName = "~/data/shapes/trees/shrub.dts";
|
||||
};
|
||||
new TSStatic() {
|
||||
position = "227.474 13.1872 180.342";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
shapeName = "~/data/shapes/trees/shrub.dts";
|
||||
};
|
||||
new TSStatic() {
|
||||
position = "312.162 89.0373 177.131";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
shapeName = "~/data/shapes/trees/shrub.dts";
|
||||
};
|
||||
new TSStatic() {
|
||||
position = "335.684 120.844 174.677";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
shapeName = "~/data/shapes/trees/shrub.dts";
|
||||
};
|
||||
new TSStatic() {
|
||||
position = "333.012 254.374 194.459";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
shapeName = "~/data/shapes/trees/shrub.dts";
|
||||
};
|
||||
new TSStatic() {
|
||||
position = "317.349 434.381 226.095";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
shapeName = "~/data/shapes/trees/shrub.dts";
|
||||
};
|
||||
new TSStatic() {
|
||||
position = "493.967 325.23 227.741";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
shapeName = "~/data/shapes/trees/shrub.dts";
|
||||
};
|
||||
new TSStatic() {
|
||||
position = "392.588 330.081 218.042";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
shapeName = "~/data/shapes/trees/shrub.dts";
|
||||
};
|
||||
new TSStatic() {
|
||||
position = "427.776 -357.14 190.34";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
shapeName = "~/data/shapes/trees/shrub.dts";
|
||||
};
|
||||
new TSStatic() {
|
||||
position = "358.911 -161.579 233.84";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
shapeName = "~/data/shapes/trees/shrub.dts";
|
||||
};
|
||||
new TSStatic() {
|
||||
position = "408.557 -86.5218 225.18";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
shapeName = "~/data/shapes/trees/shrub.dts";
|
||||
};
|
||||
new TSStatic() {
|
||||
position = "448.46 196.796 205.404";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
shapeName = "~/data/shapes/trees/shrub.dts";
|
||||
};
|
||||
new TSStatic() {
|
||||
position = "231.302 364.21 226.289";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
shapeName = "~/data/shapes/trees/shrub.dts";
|
||||
};
|
||||
new TSStatic() {
|
||||
position = "203.637 -97.6677 176.662";
|
||||
rotation = "0 0 -1 47.5555";
|
||||
scale = "1 1 1";
|
||||
shapeName = "~/data/shapes/trees/shrub.dts";
|
||||
};
|
||||
new TSStatic() {
|
||||
position = "260.185 -108.736 168.674";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
shapeName = "~/data/shapes/trees/shrub.dts";
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
302
example/demo/data/missions/gui.mis
Executable file
302
example/demo/data/missions/gui.mis
Executable file
@ -0,0 +1,302 @@
|
||||
//--- OBJECT WRITE BEGIN ---
|
||||
new SimGroup(MissionGroup) {
|
||||
|
||||
new ScriptObject(MissionInfo) {
|
||||
type = "DemoScene";
|
||||
desc0 = "This mission is organized into scenes and features some of the Torque Game Engine\'s capabilities. Mission lighting only occurs the first time the mission is loaded.";
|
||||
name = "Engine Features Mission";
|
||||
};
|
||||
new MissionArea(MissionArea) {
|
||||
Area = "-1024 -1024 2048 2048";
|
||||
flightCeiling = "300";
|
||||
flightCeilingRange = "20";
|
||||
locked = "true";
|
||||
};
|
||||
new SimGroup(environment) {
|
||||
|
||||
new Sky(Sky) {
|
||||
position = "336 136 0";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
materialList = "~/data/skies/sky_storm.dml";
|
||||
cloudHeightPer[0] = "7";
|
||||
cloudHeightPer[1] = "0.3";
|
||||
cloudHeightPer[2] = "0.199973";
|
||||
cloudSpeed1 = "0.002";
|
||||
cloudSpeed2 = "0.001";
|
||||
cloudSpeed3 = "0.003";
|
||||
visibleDistance = "800";
|
||||
fogDistance = "500";
|
||||
fogColor = "0.400000 0.400000 0.400000 1.000000";
|
||||
fogStorm1 = "0";
|
||||
fogStorm2 = "1";
|
||||
fogStorm3 = "0";
|
||||
fogVolume1 = "100 0 169.5";
|
||||
fogVolume2 = "150 170 250";
|
||||
fogVolume3 = "0 0 0";
|
||||
fogVolumeColor1 = "0.900000 0.900000 0.900000 1.000000";
|
||||
fogVolumeColor2 = "0.900000 0.900000 0.900000 1.000000";
|
||||
fogVolumeColor3 = "0.000000 0.000000 0.000000 1.000000";
|
||||
windVelocity = "0.2 0.2 0";
|
||||
windEffectPrecipitation = "1";
|
||||
SkySolidColor = "0.640000 0.148000 0.215000 0.000000";
|
||||
useSkyTextures = "1";
|
||||
renderBottomTexture = "0";
|
||||
noRenderBans = "0";
|
||||
locked = "true";
|
||||
};
|
||||
new Sun() {
|
||||
azimuth = "225";
|
||||
elevation = "20";
|
||||
color = "1.000000 1.000000 0.700000 1.000000";
|
||||
ambient = "0.300000 0.300000 0.400000 1.000000";
|
||||
position = "0 0 0";
|
||||
locked = "true";
|
||||
rotation = "1 0 0 0";
|
||||
direction = "0.635001 0.635001 -0.439941";
|
||||
scale = "1 1 1";
|
||||
};
|
||||
new fxSunLight(sunflare1) {
|
||||
position = "98.5277 -289.053 188.13";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
Enable = "1";
|
||||
LocalFlareBitmap = "common/lighting/corona";
|
||||
RemoteFlareBitmap = "common/lighting/corona";
|
||||
SunAzimuth = "224";
|
||||
SunElevation = "10";
|
||||
LockToRealSun = "1";
|
||||
FlareTP = "1";
|
||||
Colour = "1.000000 0.000000 0.000000 1.000000";
|
||||
Brightness = "1";
|
||||
FlareSize = "1.5";
|
||||
FadeTime = "0.1";
|
||||
BlendMode = "0";
|
||||
AnimColour = "0";
|
||||
AnimBrightness = "1";
|
||||
AnimRotation = "1";
|
||||
AnimSize = "1";
|
||||
AnimAzimuth = "0";
|
||||
AnimElevation = "0";
|
||||
LerpColour = "1";
|
||||
LerpBrightness = "1";
|
||||
LerpRotation = "1";
|
||||
LerpSize = "1";
|
||||
LerpAzimuth = "1";
|
||||
LerpElevation = "1";
|
||||
LinkFlareSize = "0";
|
||||
SingleColourKeys = "1";
|
||||
MinColour = "0.000000 0.000000 0.000000 1.000000";
|
||||
MaxColour = "1.000000 1.000000 1.000000 1.000000";
|
||||
MinBrightness = "0.4";
|
||||
MaxBrightness = "1";
|
||||
MinRotation = "0";
|
||||
MaxRotation = "359";
|
||||
minSize = "0.5";
|
||||
MaxSize = "1";
|
||||
MinAzimuth = "0";
|
||||
MaxAzimuth = "359";
|
||||
MinElevation = "-30";
|
||||
MaxElevation = "210";
|
||||
RedKeys = "AZA";
|
||||
GreenKeys = "AZA";
|
||||
BlueKeys = "AZA";
|
||||
BrightnessKeys = "JAZJTAJ";
|
||||
RotationKeys = "ZA";
|
||||
SizeKeys = "ATAZA";
|
||||
AzimuthKeys = "AZ";
|
||||
ElevationKeys = "AZ";
|
||||
ColourTime = "5";
|
||||
BrightnessTime = "10";
|
||||
RotationTime = "40";
|
||||
SizeTime = "30";
|
||||
AzimuthTime = "5";
|
||||
ElevationTime = "5";
|
||||
};
|
||||
new fxSunLight(sunflare2) {
|
||||
position = "72.9234 -289.051 187.692";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
Enable = "1";
|
||||
LocalFlareBitmap = "common/lighting/corona";
|
||||
RemoteFlareBitmap = "common/lighting/corona";
|
||||
SunAzimuth = "224";
|
||||
SunElevation = "10";
|
||||
LockToRealSun = "1";
|
||||
FlareTP = "1";
|
||||
Colour = "1.000000 1.000000 0.000000 1.000000";
|
||||
Brightness = "1";
|
||||
FlareSize = "1.5";
|
||||
FadeTime = "0.1";
|
||||
BlendMode = "0";
|
||||
AnimColour = "0";
|
||||
AnimBrightness = "1";
|
||||
AnimRotation = "1";
|
||||
AnimSize = "0";
|
||||
AnimAzimuth = "0";
|
||||
AnimElevation = "0";
|
||||
LerpColour = "1";
|
||||
LerpBrightness = "1";
|
||||
LerpRotation = "1";
|
||||
LerpSize = "1";
|
||||
LerpAzimuth = "1";
|
||||
LerpElevation = "1";
|
||||
LinkFlareSize = "0";
|
||||
SingleColourKeys = "1";
|
||||
MinColour = "0.000000 0.000000 0.000000 1.000000";
|
||||
MaxColour = "1.000000 1.000000 1.000000 1.000000";
|
||||
MinBrightness = "0.25";
|
||||
MaxBrightness = "0.5";
|
||||
MinRotation = "0";
|
||||
MaxRotation = "359";
|
||||
minSize = "0.5";
|
||||
MaxSize = "1";
|
||||
MinAzimuth = "0";
|
||||
MaxAzimuth = "359";
|
||||
MinElevation = "-30";
|
||||
MaxElevation = "210";
|
||||
RedKeys = "AZA";
|
||||
GreenKeys = "AZA";
|
||||
BlueKeys = "AZA";
|
||||
BrightnessKeys = "AZJTA";
|
||||
RotationKeys = "AZ";
|
||||
SizeKeys = "ATAZA";
|
||||
AzimuthKeys = "AZ";
|
||||
ElevationKeys = "AZ";
|
||||
ColourTime = "5";
|
||||
BrightnessTime = "6";
|
||||
RotationTime = "80";
|
||||
SizeTime = "5";
|
||||
AzimuthTime = "5";
|
||||
ElevationTime = "5";
|
||||
};
|
||||
new TerrainBlock(Terrain) {
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
detailTexture = "~/data/terrains/details/detail1";
|
||||
terrainFile = "./features.ter";
|
||||
squareSize = "8";
|
||||
bumpScale = "1";
|
||||
bumpOffset = "0.01";
|
||||
zeroBumpScale = "8";
|
||||
position = "-1024 -1024 0";
|
||||
locked = "true";
|
||||
};
|
||||
new WaterBlock() {
|
||||
position = "-32 -752 159.5";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "512 768 10";
|
||||
UseDepthMask = "1";
|
||||
surfaceTexture = "~/data/water/water_center";
|
||||
ShoreTexture = "~/data/water/water_edge";
|
||||
envMapOverTexture = "~/data/skies/storm_env";
|
||||
specularMaskTex = "~/data/water/water_spec";
|
||||
liquidType = "OceanWater";
|
||||
density = "1";
|
||||
viscosity = "15";
|
||||
waveMagnitude = "3";
|
||||
surfaceOpacity = "0.2";
|
||||
envMapIntensity = "1";
|
||||
TessSurface = "50";
|
||||
TessShore = "60";
|
||||
SurfaceParallax = "1";
|
||||
FlowAngle = "220";
|
||||
FlowRate = "0.1";
|
||||
DistortGridScale = "0.1";
|
||||
DistortMag = "0.1";
|
||||
DistortTime = "2";
|
||||
ShoreDepth = "14";
|
||||
DepthGradient = "1";
|
||||
MinAlpha = "0.01";
|
||||
MaxAlpha = "0.4";
|
||||
removeWetEdges = "0";
|
||||
specularColor = "1.000000 0.800000 0.460000 1.000000";
|
||||
specularPower = "10";
|
||||
locked = "true";
|
||||
extent = "100 100 10";
|
||||
params1 = "0.63 -2.41 0.33 0.21";
|
||||
floodFill = "1";
|
||||
params0 = "0.32 -0.67 0.066 0.5";
|
||||
textureSize = "32 32";
|
||||
seedPoints = "0 0 1 0 1 1 0 1";
|
||||
params3 = "1.21 -0.61 0.13 -0.33";
|
||||
params2 = "0.39 0.39 0.2 0.133";
|
||||
};
|
||||
|
||||
new fxFoliageReplicator(Grass1) {
|
||||
position = "88.1917 -229.759 101.6";
|
||||
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/grass1";
|
||||
FoliageCount = "2500";
|
||||
FoliageRetries = "100";
|
||||
InnerRadiusX = "0";
|
||||
InnerRadiusY = "0";
|
||||
OuterRadiusX = "128";
|
||||
OuterRadiusY = "128";
|
||||
MinWidth = "1";
|
||||
MaxWidth = "2";
|
||||
MinHeight = "1";
|
||||
MaxHeight = "2";
|
||||
FixAspectRatio = "1";
|
||||
FixSizeToMax = "1";
|
||||
OffsetZ = "0";
|
||||
RandomFlip = "1";
|
||||
UseCulling = "1";
|
||||
CullResolution = "64";
|
||||
ViewDistance = "50";
|
||||
ViewClosest = "1";
|
||||
FadeInRegion = "10";
|
||||
FadeOutRegion = "1";
|
||||
AlphaCutoff = "0.2";
|
||||
GroundAlpha = "1";
|
||||
SwayOn = "1";
|
||||
SwaySync = "0";
|
||||
SwayMagSide = "0.5";
|
||||
SwayMagFront = "0";
|
||||
MinSwayTime = "5";
|
||||
MaxSwayTime = "50";
|
||||
LightOn = "1";
|
||||
LightSync = "0";
|
||||
MinLuminance = "0.4";
|
||||
MaxLuminance = "0.5";
|
||||
LightTime = "2";
|
||||
AllowOnTerrain = "1";
|
||||
AllowOnInteriors = "0";
|
||||
AllowOnStatics = "0";
|
||||
AllowOnWater = "0";
|
||||
AllowWaterSurface = "0";
|
||||
AllowedTerrainSlope = "90";
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
new SimGroup(Scenes) {
|
||||
|
||||
new ScriptGroup(WelcomeScene) {
|
||||
class = "Scene";
|
||||
pathTime = "0";
|
||||
title = "Welcome to Orc Town";
|
||||
description = "A small orc village set in the Hardesty mountains. This town and its surroundings will be used to illustrate some the Torque Game Engine\'s features.";
|
||||
pathName = "Pathx";
|
||||
|
||||
new WayPoint(start) {
|
||||
position = "86.2138 -130.635 186.593";
|
||||
rotation = "0.0116364 0.0402054 0.999124 212.256";
|
||||
scale = "1 1 1";
|
||||
dataBlock = "WayPointMarker";
|
||||
team = "0";
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
527
example/demo/data/missions/racing.mis
Normal file
527
example/demo/data/missions/racing.mis
Normal file
@ -0,0 +1,527 @@
|
||||
//--- OBJECT WRITE BEGIN ---
|
||||
new SimGroup(MissionGroup) {
|
||||
|
||||
new ScriptObject(MissionInfo) {
|
||||
type = "racing";
|
||||
name = "Racing Example";
|
||||
desc0 = "This is a very simple racing example mission which illustrates the wheeled vehicle physics included in the engine. Mission lighting only occurs the first time the mission is loaded.";
|
||||
};
|
||||
new MissionArea(MissionArea) {
|
||||
Area = "-1024 -1024 2048 2048";
|
||||
flightCeiling = "300";
|
||||
flightCeilingRange = "20";
|
||||
locked = "true";
|
||||
};
|
||||
new SimGroup(environment) {
|
||||
|
||||
new Sky(Sky) {
|
||||
position = "336 136 0";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
materialList = "~/data/skies/sky_storm.dml";
|
||||
cloudHeightPer[0] = "7";
|
||||
cloudHeightPer[1] = "0.3";
|
||||
cloudHeightPer[2] = "0.199973";
|
||||
cloudSpeed1 = "0.0005";
|
||||
cloudSpeed2 = "0.0002";
|
||||
cloudSpeed3 = "0.001";
|
||||
visibleDistance = "800";
|
||||
fogDistance = "500";
|
||||
fogColor = "0.4 0.4 0.4 1";
|
||||
fogStorm1 = "0";
|
||||
fogStorm2 = "1";
|
||||
fogStorm3 = "0";
|
||||
fogVolume1 = "0 0 0";
|
||||
fogVolume2 = "0 0 0";
|
||||
fogVolume3 = "0 0 0";
|
||||
fogVolumeColor1 = "0.9 0.9 0.9 1";
|
||||
fogVolumeColor2 = "0.9 0.9 0.9 1";
|
||||
fogVolumeColor3 = "0 0 0 1";
|
||||
windVelocity = "1 1 0";
|
||||
windEffectPrecipitation = "0";
|
||||
SkySolidColor = "0.64 0.148 0.215 0";
|
||||
useSkyTextures = "1";
|
||||
renderBottomTexture = "0";
|
||||
noRenderBans = "0";
|
||||
locked = "true";
|
||||
};
|
||||
new Sun() {
|
||||
azimuth = "245";
|
||||
elevation = "45";
|
||||
color = "1 1 0.7 1";
|
||||
ambient = "0.3 0.3 0.4 1";
|
||||
direction = "0.56146 0.56146 -0.607886";
|
||||
locked = "true";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
position = "0 0 0";
|
||||
};
|
||||
new fxSunLight(sunflare1) {
|
||||
position = "98.5277 -289.053 188.13";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
Enable = "1";
|
||||
LocalFlareBitmap = "common/lighting/corona";
|
||||
RemoteFlareBitmap = "common/lighting/corona";
|
||||
SunAzimuth = "224";
|
||||
SunElevation = "10";
|
||||
LockToRealSun = "1";
|
||||
FlareTP = "1";
|
||||
Colour = "1 0 0 1";
|
||||
Brightness = "1";
|
||||
FlareSize = "1.5";
|
||||
FadeTime = "0.1";
|
||||
BlendMode = "0";
|
||||
AnimColour = "0";
|
||||
AnimBrightness = "1";
|
||||
AnimRotation = "1";
|
||||
AnimSize = "1";
|
||||
AnimAzimuth = "0";
|
||||
AnimElevation = "0";
|
||||
LerpColour = "1";
|
||||
LerpBrightness = "1";
|
||||
LerpRotation = "1";
|
||||
LerpSize = "1";
|
||||
LerpAzimuth = "1";
|
||||
LerpElevation = "1";
|
||||
LinkFlareSize = "0";
|
||||
SingleColourKeys = "1";
|
||||
MinColour = "0 0 0 1";
|
||||
MaxColour = "1 1 1 1";
|
||||
MinBrightness = "0.4";
|
||||
MaxBrightness = "1";
|
||||
MinRotation = "0";
|
||||
MaxRotation = "359";
|
||||
MinSize = "0.5";
|
||||
MaxSize = "1";
|
||||
MinAzimuth = "0";
|
||||
MaxAzimuth = "359";
|
||||
MinElevation = "-30";
|
||||
MaxElevation = "210";
|
||||
RedKeys = "AZA";
|
||||
GreenKeys = "AZA";
|
||||
BlueKeys = "AZA";
|
||||
BrightnessKeys = "JAZJTAJ";
|
||||
RotationKeys = "ZA";
|
||||
SizeKeys = "ATAZA";
|
||||
AzimuthKeys = "AZ";
|
||||
ElevationKeys = "AZ";
|
||||
ColourTime = "5";
|
||||
BrightnessTime = "10";
|
||||
RotationTime = "40";
|
||||
SizeTime = "30";
|
||||
AzimuthTime = "5";
|
||||
ElevationTime = "5";
|
||||
};
|
||||
new fxSunLight(sunflare2) {
|
||||
position = "72.9234 -289.051 187.692";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
Enable = "1";
|
||||
LocalFlareBitmap = "common/lighting/corona";
|
||||
RemoteFlareBitmap = "common/lighting/corona";
|
||||
SunAzimuth = "224";
|
||||
SunElevation = "10";
|
||||
LockToRealSun = "1";
|
||||
FlareTP = "1";
|
||||
Colour = "1 1 0 1";
|
||||
Brightness = "1";
|
||||
FlareSize = "1.5";
|
||||
FadeTime = "0.1";
|
||||
BlendMode = "0";
|
||||
AnimColour = "0";
|
||||
AnimBrightness = "1";
|
||||
AnimRotation = "1";
|
||||
AnimSize = "0";
|
||||
AnimAzimuth = "0";
|
||||
AnimElevation = "0";
|
||||
LerpColour = "1";
|
||||
LerpBrightness = "1";
|
||||
LerpRotation = "1";
|
||||
LerpSize = "1";
|
||||
LerpAzimuth = "1";
|
||||
LerpElevation = "1";
|
||||
LinkFlareSize = "0";
|
||||
SingleColourKeys = "1";
|
||||
MinColour = "0 0 0 1";
|
||||
MaxColour = "1 1 1 1";
|
||||
MinBrightness = "0.25";
|
||||
MaxBrightness = "0.5";
|
||||
MinRotation = "0";
|
||||
MaxRotation = "359";
|
||||
MinSize = "0.5";
|
||||
MaxSize = "1";
|
||||
MinAzimuth = "0";
|
||||
MaxAzimuth = "359";
|
||||
MinElevation = "-30";
|
||||
MaxElevation = "210";
|
||||
RedKeys = "AZA";
|
||||
GreenKeys = "AZA";
|
||||
BlueKeys = "AZA";
|
||||
BrightnessKeys = "AZJTA";
|
||||
RotationKeys = "AZ";
|
||||
SizeKeys = "ATAZA";
|
||||
AzimuthKeys = "AZ";
|
||||
ElevationKeys = "AZ";
|
||||
ColourTime = "5";
|
||||
BrightnessTime = "6";
|
||||
RotationTime = "80";
|
||||
SizeTime = "5";
|
||||
AzimuthTime = "5";
|
||||
ElevationTime = "5";
|
||||
};
|
||||
new TerrainBlock(terrain) {
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
detailTexture = "~/data/terrains/details/detail1";
|
||||
terrainFile = "./features.ter";
|
||||
squareSize = "8";
|
||||
bumpScale = "1";
|
||||
bumpOffset = "0.01";
|
||||
zeroBumpScale = "8";
|
||||
tile = "1";
|
||||
locked = "true";
|
||||
position = "-1024 -1024 0";
|
||||
};
|
||||
new fxFoliageReplicator(ShortGrass) {
|
||||
position = "-386.947 796.221 154.184";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
UseDebugInfo = "0";
|
||||
DebugBoxHeight = "1";
|
||||
HideFoliage = "0";
|
||||
ShowPlacementArea = "0";
|
||||
PlacementAreaHeight = "25";
|
||||
PlacementColour = "0.4 0 0.8 1";
|
||||
Seed = "1376312589";
|
||||
FoliageFile = "~/data/shapes/plants/plant2";
|
||||
FoliageCount = "1000";
|
||||
FoliageRetries = "100";
|
||||
InnerRadiusX = "0";
|
||||
InnerRadiusY = "0";
|
||||
OuterRadiusX = "30";
|
||||
OuterRadiusY = "40";
|
||||
MinWidth = "1";
|
||||
MaxWidth = "3";
|
||||
MinHeight = "1";
|
||||
MaxHeight = "1";
|
||||
FixAspectRatio = "1";
|
||||
FixSizeToMax = "0";
|
||||
OffsetZ = "0";
|
||||
RandomFlip = "1";
|
||||
UseCulling = "1";
|
||||
CullResolution = "10";
|
||||
ViewDistance = "60";
|
||||
ViewClosest = "1";
|
||||
FadeInRegion = "20";
|
||||
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";
|
||||
};
|
||||
new TSStatic() {
|
||||
position = "315.775 40.0082 183.645";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
shapeName = "~/data/shapes/trees/tree3.dts";
|
||||
};
|
||||
};
|
||||
new SimGroup(PlayerDropPoints) {
|
||||
|
||||
new SpawnSphere() {
|
||||
position = "-148.082 884.711 196.718";
|
||||
rotation = "0 0 -1 2.47371";
|
||||
scale = "1 1 1";
|
||||
dataBlock = "SpawnSphereMarker";
|
||||
radius = "1";
|
||||
sphereWeight = "100";
|
||||
indoorWeight = "100";
|
||||
outdoorWeight = "100";
|
||||
locked = "false";
|
||||
lockCount = "0";
|
||||
homingCount = "0";
|
||||
};
|
||||
new SpawnSphere() {
|
||||
position = "-141.334 876.925 196.262";
|
||||
rotation = "0 0 -1 2.47371";
|
||||
scale = "1 1 1";
|
||||
dataBlock = "SpawnSphereMarker";
|
||||
radius = "1";
|
||||
sphereWeight = "100";
|
||||
indoorWeight = "100";
|
||||
outdoorWeight = "100";
|
||||
locked = "false";
|
||||
lockCount = "0";
|
||||
homingCount = "0";
|
||||
};
|
||||
new SpawnSphere() {
|
||||
position = "-231.17 1107.12 161.065";
|
||||
rotation = "0 0 1 199.39";
|
||||
scale = "1 1 1";
|
||||
dataBlock = "SpawnSphereMarker";
|
||||
radius = "1";
|
||||
sphereWeight = "100";
|
||||
indoorWeight = "100";
|
||||
outdoorWeight = "100";
|
||||
locked = "false";
|
||||
lockCount = "0";
|
||||
homingCount = "0";
|
||||
};
|
||||
new SpawnSphere() {
|
||||
position = "-140.892 912.484 194.677";
|
||||
rotation = "0 0 -1 10.4951";
|
||||
scale = "1 1 1";
|
||||
dataBlock = "SpawnSphereMarker";
|
||||
radius = "1";
|
||||
sphereWeight = "100";
|
||||
indoorWeight = "100";
|
||||
outdoorWeight = "100";
|
||||
locked = "false";
|
||||
lockCount = "0";
|
||||
homingCount = "0";
|
||||
};
|
||||
};
|
||||
new SimGroup(Buildings) {
|
||||
};
|
||||
new InteriorInstance() {
|
||||
position = "-131.795 917.09 192.98";
|
||||
rotation = "0 0 -1 8.02137";
|
||||
scale = "1 1 1";
|
||||
interiorFile = "~/data/interiors/racing/barrier1.dif";
|
||||
useGLLighting = "0";
|
||||
showTerrainInside = "0";
|
||||
};
|
||||
new InteriorInstance() {
|
||||
position = "-132.712 882.821 193.112";
|
||||
rotation = "0 0 1 9.74035";
|
||||
scale = "1 1 1";
|
||||
interiorFile = "~/data/interiors/racing/barrier1.dif";
|
||||
useGLLighting = "0";
|
||||
showTerrainInside = "0";
|
||||
};
|
||||
new InteriorInstance() {
|
||||
position = "-210.068 1114.36 158.395";
|
||||
rotation = "0 0 -1 112.873";
|
||||
scale = "1 1 1";
|
||||
interiorFile = "~/data/interiors/racing/barrier1.dif";
|
||||
useGLLighting = "0";
|
||||
showTerrainInside = "0";
|
||||
};
|
||||
new InteriorInstance() {
|
||||
position = "-333.846 848.488 154.841";
|
||||
rotation = "-0.152803 -0.142578 0.977918 95.2405";
|
||||
scale = "1 1 1";
|
||||
interiorFile = "~/data/interiors/racing/wedge.dif";
|
||||
useGLLighting = "0";
|
||||
showTerrainInside = "0";
|
||||
};
|
||||
new InteriorInstance() {
|
||||
position = "-213.138 568.133 147.487";
|
||||
rotation = "0.116233 -0.109843 -0.987129 86.6763";
|
||||
scale = "1 1 1";
|
||||
interiorFile = "~/data/interiors/racing/wedge.dif";
|
||||
useGLLighting = "0";
|
||||
showTerrainInside = "0";
|
||||
};
|
||||
new InteriorInstance() {
|
||||
position = "-357.272 497.436 164.997";
|
||||
rotation = "0 0 1 112.873";
|
||||
scale = "1 1 1";
|
||||
interiorFile = "~/data/interiors/racing/arrowsign.dif";
|
||||
useGLLighting = "0";
|
||||
showTerrainInside = "0";
|
||||
};
|
||||
new InteriorInstance() {
|
||||
position = "-220.044 476.387 155.583";
|
||||
rotation = "0 0 1 20.0538";
|
||||
scale = "1 1 1";
|
||||
interiorFile = "~/data/interiors/racing/arrowsign.dif";
|
||||
useGLLighting = "0";
|
||||
showTerrainInside = "0";
|
||||
};
|
||||
new InteriorInstance() {
|
||||
position = "-156.644 1104.9 170.703";
|
||||
rotation = "0 0 -1 90.527";
|
||||
scale = "1 1 1";
|
||||
interiorFile = "~/data/interiors/racing/arrowsign.dif";
|
||||
useGLLighting = "0";
|
||||
showTerrainInside = "0";
|
||||
};
|
||||
new InteriorInstance() {
|
||||
position = "-246.636 1089.27 162.629";
|
||||
rotation = "0 0 1 204.156";
|
||||
scale = "1 1 1";
|
||||
interiorFile = "~/data/interiors/racing/arrowsign.dif";
|
||||
useGLLighting = "0";
|
||||
showTerrainInside = "0";
|
||||
};
|
||||
new InteriorInstance() {
|
||||
position = "-221.443 830.139 202.262";
|
||||
rotation = "0 0 1 20.0538";
|
||||
scale = "1 1 1";
|
||||
interiorFile = "~/data/interiors/racing/arrowsign.dif";
|
||||
useGLLighting = "0";
|
||||
showTerrainInside = "0";
|
||||
};
|
||||
new InteriorInstance() {
|
||||
position = "-347.691 751.557 149.026";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
interiorFile = "~/data/interiors/racing/block1.dif";
|
||||
useGLLighting = "0";
|
||||
showTerrainInside = "0";
|
||||
};
|
||||
new InteriorInstance() {
|
||||
position = "-325.396 710.21 151.1";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
interiorFile = "~/data/interiors/racing/block1.dif";
|
||||
useGLLighting = "0";
|
||||
showTerrainInside = "0";
|
||||
};
|
||||
new InteriorInstance() {
|
||||
position = "-182.116 836.796 193.984";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
interiorFile = "~/data/interiors/racing/block1.dif";
|
||||
useGLLighting = "0";
|
||||
showTerrainInside = "0";
|
||||
};
|
||||
new InteriorInstance() {
|
||||
position = "-204.327 811.909 189.803";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
interiorFile = "~/data/interiors/racing/block1.dif";
|
||||
useGLLighting = "0";
|
||||
showTerrainInside = "0";
|
||||
};
|
||||
new InteriorInstance() {
|
||||
position = "-197.236 503.298 149.057";
|
||||
rotation = "0 0 1 6.87505";
|
||||
scale = "1 1 1";
|
||||
interiorFile = "~/data/interiors/racing/barrier1.dif";
|
||||
useGLLighting = "0";
|
||||
showTerrainInside = "0";
|
||||
};
|
||||
new InteriorInstance() {
|
||||
position = "-264.683 628.919 174.106";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
interiorFile = "~/data/interiors/racing/tower1.dif";
|
||||
useGLLighting = "0";
|
||||
showTerrainInside = "0";
|
||||
};
|
||||
new InteriorInstance() {
|
||||
position = "-118.769 1134.51 186.72";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
interiorFile = "~/data/interiors/racing/tower1.dif";
|
||||
useGLLighting = "0";
|
||||
showTerrainInside = "0";
|
||||
};
|
||||
new InteriorInstance() {
|
||||
position = "-176.757 788.581 192.967";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
interiorFile = "~/data/interiors/racing/block1.dif";
|
||||
useGLLighting = "0";
|
||||
showTerrainInside = "0";
|
||||
};
|
||||
new InteriorInstance() {
|
||||
position = "-342.687 926.283 158.366";
|
||||
rotation = "0 0 1 189.832";
|
||||
scale = "1 1 1";
|
||||
interiorFile = "~/data/interiors/racing/arrowsign.dif";
|
||||
useGLLighting = "0";
|
||||
showTerrainInside = "0";
|
||||
};
|
||||
new TSStatic() {
|
||||
position = "-230.723 1111.64 156.531";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
shapeName = "~/data/shapes/trees/shrub.dts";
|
||||
};
|
||||
new TSStatic() {
|
||||
position = "-241.046 1105.3 160.211";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
shapeName = "~/data/shapes/trees/shrub.dts";
|
||||
};
|
||||
new TSStatic() {
|
||||
position = "-207.744 962.747 202.315";
|
||||
rotation = "-0.134466 -0.574288 0.807535 32.3388";
|
||||
scale = "1 1 1";
|
||||
shapeName = "~/data/shapes/trees/shrub.dts";
|
||||
};
|
||||
new TSStatic() {
|
||||
position = "-206.526 984.166 195.35";
|
||||
rotation = "0 0 1 44.1177";
|
||||
scale = "1 1 1";
|
||||
shapeName = "~/data/shapes/trees/shrub.dts";
|
||||
};
|
||||
new TSStatic() {
|
||||
position = "-145.362 974.734 192.734";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
shapeName = "~/data/shapes/trees/shrub.dts";
|
||||
};
|
||||
new TSStatic() {
|
||||
position = "-391.209 807.494 150.637";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
shapeName = "~/data/shapes/trees/shrub.dts";
|
||||
};
|
||||
new TSStatic() {
|
||||
position = "-133.083 418.965 176.172";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
shapeName = "~/data/shapes/trees/shrub.dts";
|
||||
};
|
||||
new TSStatic() {
|
||||
position = "-113.483 467.965 176.172";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
shapeName = "~/data/shapes/trees/shrub.dts";
|
||||
};
|
||||
new TSStatic() {
|
||||
position = "-149.083 448.565 166.772";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
shapeName = "~/data/shapes/trees/shrub.dts";
|
||||
};
|
||||
new TSStatic() {
|
||||
position = "-223.111 701.509 190.555";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
shapeName = "~/data/shapes/trees/shrub.dts";
|
||||
};
|
||||
new TSStatic() {
|
||||
position = "-376.677 530.311 172.329";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
shapeName = "~/data/shapes/trees/shrub.dts";
|
||||
};
|
||||
new TSStatic() {
|
||||
position = "-371.877 575.311 164.329";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
shapeName = "~/data/shapes/trees/shrub.dts";
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
Reference in New Issue
Block a user