added everything
This commit is contained in:
192
example/starter.fps/data/missions/barebones.mis
Executable file
192
example/starter.fps/data/missions/barebones.mis
Executable file
@ -0,0 +1,192 @@
|
||||
//--- OBJECT WRITE BEGIN ---
|
||||
new SimGroup(MissionGroup) {
|
||||
canSaveDynamicFields = "1";
|
||||
|
||||
new ScriptObject(MissionInfo) {
|
||||
name = "Barebones";
|
||||
desc0 = "Nice empty mission for testing purposes";
|
||||
};
|
||||
new MissionArea(MissionArea) {
|
||||
canSaveDynamicFields = "1";
|
||||
Area = "-152 -352 1040 1056";
|
||||
flightCeiling = "300";
|
||||
flightCeilingRange = "20";
|
||||
locked = "true";
|
||||
};
|
||||
new Sky(Sky) {
|
||||
canSaveDynamicFields = "1";
|
||||
position = "336 136 0";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
materialList = "~/data/skies/sky_overcast.dml";
|
||||
cloudHeightPer[0] = "0.1";
|
||||
cloudHeightPer[1] = "0.2";
|
||||
cloudHeightPer[2] = "0";
|
||||
cloudSpeed1 = "0.001";
|
||||
cloudSpeed2 = "0.001";
|
||||
cloudSpeed3 = "0.001";
|
||||
visibleDistance = "900";
|
||||
fogDistance = "50";
|
||||
fogColor = "0.8 0.8 0.9 1";
|
||||
fogStorm1 = "0";
|
||||
fogStorm2 = "0";
|
||||
fogStorm3 = "0";
|
||||
fogVolume1 = "0 0 0";
|
||||
fogVolume2 = "0 0 0";
|
||||
fogVolume3 = "0 0 0";
|
||||
fogVolumeColor1 = "128 128 128 -2.22768e+038";
|
||||
fogVolumeColor2 = "128 128 128 0";
|
||||
fogVolumeColor3 = "128 128 128 -1.70699e+038";
|
||||
windVelocity = "5 1 0";
|
||||
windEffectPrecipitation = "1";
|
||||
SkySolidColor = "0.6 0.6 0.6 1";
|
||||
useSkyTextures = "1";
|
||||
renderBottomTexture = "0";
|
||||
noRenderBans = "0";
|
||||
};
|
||||
new Sun() {
|
||||
canSaveDynamicFields = "1";
|
||||
azimuth = "45";
|
||||
elevation = "45";
|
||||
color = "0.35 0.35 0.35 1";
|
||||
ambient = "0.15 0.15 0.27 1";
|
||||
CastsShadows = "1";
|
||||
position = "0 0 0";
|
||||
direction = "0.57735 0.57735 -0.57735";
|
||||
scale = "1 1 1";
|
||||
rotation = "1 0 0 0";
|
||||
};
|
||||
new TerrainBlock(Terrain) {
|
||||
canSaveDynamicFields = "1";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
detailTexture = "~/data/terrains/details/snowdetail04.png";
|
||||
terrainFile = "./barebones.ter";
|
||||
squareSize = "8";
|
||||
bumpScale = "8";
|
||||
bumpOffset = "0.01";
|
||||
zeroBumpScale = "8";
|
||||
tile = "1";
|
||||
locked = "true";
|
||||
position = "-1024 -1024 0";
|
||||
};
|
||||
new WaterBlock(Water) {
|
||||
canSaveDynamicFields = "1";
|
||||
position = "-1024 -1024 0";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "2048 2048 200";
|
||||
UseDepthMask = "1";
|
||||
surfaceTexture = "~/data/water/water.png";
|
||||
ShoreTexture = "~/data/water/wateredge.jpg";
|
||||
envMapOverTexture = "~/data/skies/day_0007";
|
||||
envMapUnderTexture = "~/data/terrains/grassland/sand";
|
||||
specularMaskTex = "~/data/water/specmask.png";
|
||||
liquidType = "OceanWater";
|
||||
density = "1";
|
||||
viscosity = "15";
|
||||
waveMagnitude = "1";
|
||||
surfaceOpacity = "0.75";
|
||||
envMapIntensity = "0.2";
|
||||
TessSurface = "20";
|
||||
TessShore = "30";
|
||||
SurfaceParallax = "0.2";
|
||||
FlowAngle = "240";
|
||||
FlowRate = "0.05";
|
||||
DistortGridScale = "0.1";
|
||||
DistortMag = "0.02";
|
||||
DistortTime = "0.8";
|
||||
ShoreDepth = "6";
|
||||
DepthGradient = "1";
|
||||
MinAlpha = "0.1";
|
||||
MaxAlpha = "1";
|
||||
tile = "1";
|
||||
removeWetEdges = "0";
|
||||
specularColor = "0 0.1 0.2 1";
|
||||
specularPower = "20";
|
||||
envMapTexture = "~/data/skies/day_0007";
|
||||
};
|
||||
new SimGroup(PlayerDropPoints) {
|
||||
canSaveDynamicFields = "1";
|
||||
|
||||
new SpawnSphere() {
|
||||
canSaveDynamicFields = "1";
|
||||
position = "450.044 277.737 222.17";
|
||||
rotation = "0 0 1 5.15676";
|
||||
scale = "1 1 1";
|
||||
dataBlock = "SpawnSphereMarker";
|
||||
Radius = "1";
|
||||
sphereWeight = "100";
|
||||
indoorWeight = "100";
|
||||
outdoorWeight = "100";
|
||||
};
|
||||
};
|
||||
new SimGroup(Paths) {
|
||||
canSaveDynamicFields = "1";
|
||||
|
||||
new Path(Path1) {
|
||||
canSaveDynamicFields = "1";
|
||||
isLooping = "1";
|
||||
|
||||
new Marker() {
|
||||
canSaveDynamicFields = "1";
|
||||
position = "461.26 292.371 221.011";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
seqNum = "1";
|
||||
type = "Normal";
|
||||
msToNext = "1000";
|
||||
smoothingType = "Spline";
|
||||
};
|
||||
new Marker() {
|
||||
canSaveDynamicFields = "1";
|
||||
position = "447.831 215.049 212.617";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
seqNum = "2";
|
||||
type = "Normal";
|
||||
msToNext = "1000";
|
||||
smoothingType = "Spline";
|
||||
};
|
||||
new Marker() {
|
||||
canSaveDynamicFields = "1";
|
||||
position = "318.054 333.549 218.804";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
seqNum = "3";
|
||||
type = "Normal";
|
||||
msToNext = "1000";
|
||||
smoothingType = "Spline";
|
||||
};
|
||||
new Marker() {
|
||||
canSaveDynamicFields = "1";
|
||||
position = "326.058 411.942 220.816";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
seqNum = "4";
|
||||
type = "Normal";
|
||||
msToNext = "1000";
|
||||
smoothingType = "Spline";
|
||||
};
|
||||
new Marker() {
|
||||
canSaveDynamicFields = "1";
|
||||
position = "427.95 361.661 223.394";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
seqNum = "5";
|
||||
type = "Normal";
|
||||
msToNext = "1000";
|
||||
smoothingType = "Spline";
|
||||
};
|
||||
};
|
||||
};
|
||||
new InteriorInstance() {
|
||||
canSaveDynamicFields = "1";
|
||||
position = "451.806 303.687 220.637";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
interiorFile = "~/data/interiors/constructor/test.dif";
|
||||
useGLLighting = "0";
|
||||
showTerrainInside = "0";
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
BIN
example/starter.fps/data/missions/barebones.ter
Executable file
BIN
example/starter.fps/data/missions/barebones.ter
Executable file
Binary file not shown.
472
example/starter.fps/data/missions/cpdemo1.mis
Executable file
472
example/starter.fps/data/missions/cpdemo1.mis
Executable file
@ -0,0 +1,472 @@
|
||||
//--- OBJECT WRITE BEGIN ---
|
||||
new SimGroup(MissionGroup) {
|
||||
canSaveDynamicFields = "1";
|
||||
CTF_scoreLimit = "5";
|
||||
musicTrack = "lush";
|
||||
cdTrack = "2";
|
||||
|
||||
new ScriptObject(MissionInfo) {
|
||||
desc0 = "A simple new mission template in a lush, wet, and mild climate with ample ground growth. Rain storm in progress.";
|
||||
descLines = "2";
|
||||
name = "Content Pack Demo 1";
|
||||
};
|
||||
new MissionArea(MissionArea) {
|
||||
canSaveDynamicFields = "1";
|
||||
Area = "-360 -648 720 1296";
|
||||
flightCeiling = "300";
|
||||
flightCeilingRange = "20";
|
||||
locked = "true";
|
||||
};
|
||||
new Sky(Sky) {
|
||||
canSaveDynamicFields = "1";
|
||||
position = "336 136 0";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
materialList = "~/data/skies/sky_overcast.dml";
|
||||
cloudHeightPer[0] = "0.1";
|
||||
cloudHeightPer[1] = "0.2";
|
||||
cloudHeightPer[2] = "0";
|
||||
cloudSpeed1 = "0.001";
|
||||
cloudSpeed2 = "0.001";
|
||||
cloudSpeed3 = "0.001";
|
||||
visibleDistance = "900";
|
||||
fogDistance = "10";
|
||||
fogColor = "0.6 0.6 0.6 1";
|
||||
fogStorm1 = "0";
|
||||
fogStorm2 = "0";
|
||||
fogStorm3 = "0";
|
||||
fogVolume1 = "0 0 0";
|
||||
fogVolume2 = "0 0 0";
|
||||
fogVolume3 = "0 0 0";
|
||||
fogVolumeColor1 = "128 128 128 -2.22768e+038";
|
||||
fogVolumeColor2 = "128 128 128 0";
|
||||
fogVolumeColor3 = "128 128 128 -1.70699e+038";
|
||||
windVelocity = "1 1 0";
|
||||
windEffectPrecipitation = "0";
|
||||
SkySolidColor = "0.6 0.6 0.6 1";
|
||||
useSkyTextures = "1";
|
||||
renderBottomTexture = "0";
|
||||
noRenderBans = "0";
|
||||
};
|
||||
new Sun() {
|
||||
canSaveDynamicFields = "1";
|
||||
azimuth = "105";
|
||||
elevation = "40";
|
||||
color = "0.35 0.35 0.35 1";
|
||||
ambient = "0.1 0.1 0.1 1";
|
||||
CastsShadows = "1";
|
||||
locked = "true";
|
||||
direction = "0.57735 0.57735 -0.57735";
|
||||
position = "0 0 0";
|
||||
scale = "1 1 1";
|
||||
rotation = "1 0 0 0";
|
||||
};
|
||||
new TerrainBlock(Terrain) {
|
||||
canSaveDynamicFields = "1";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
detailTexture = "~/data/terrains/details/brush2";
|
||||
terrainFile = "./cpdemo1.ter";
|
||||
squareSize = "8";
|
||||
bumpScale = "1";
|
||||
bumpOffset = "0.01";
|
||||
zeroBumpScale = "8";
|
||||
tile = "1";
|
||||
locked = "true";
|
||||
position = "-1024 -1024 0";
|
||||
};
|
||||
new SimGroup(PlayerDropPoints) {
|
||||
canSaveDynamicFields = "1";
|
||||
|
||||
new SpawnSphere() {
|
||||
canSaveDynamicFields = "1";
|
||||
position = "9.37999 -187.943 124.415";
|
||||
rotation = "0 0 1 130.062";
|
||||
scale = "0.940827 1.97505 1";
|
||||
dataBlock = "SpawnSphereMarker";
|
||||
Radius = "10";
|
||||
sphereWeight = "1";
|
||||
indoorWeight = "1";
|
||||
outdoorWeight = "1";
|
||||
locked = "false";
|
||||
homingCount = "0";
|
||||
lockCount = "0";
|
||||
};
|
||||
};
|
||||
new Precipitation(rain) {
|
||||
canSaveDynamicFields = "1";
|
||||
position = "23.4559 -203.042 105";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
nameTag = "Rain2";
|
||||
dataBlock = "HeavyRain";
|
||||
minSpeed = "3";
|
||||
maxSpeed = "5";
|
||||
minMass = "0.55";
|
||||
maxMass = "1";
|
||||
maxTurbulence = "0.1";
|
||||
turbulenceSpeed = "0.2";
|
||||
rotateWithCamVel = "1";
|
||||
useTurbulence = "1";
|
||||
numDrops = "3000";
|
||||
boxWidth = "30";
|
||||
boxHeight = "50";
|
||||
doCollision = "1";
|
||||
};
|
||||
new fxFoliageReplicator(Grass1) {
|
||||
canSaveDynamicFields = "1";
|
||||
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.4 0 0.8 1";
|
||||
Seed = "10";
|
||||
FoliageFile = "~/data/environment/grass1";
|
||||
FoliageCount = "15500";
|
||||
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 fxFoliageReplicator(grass2) {
|
||||
canSaveDynamicFields = "1";
|
||||
position = "97.5793 -234.1 107.2";
|
||||
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 = "20";
|
||||
FoliageFile = "~/data/environment/grass2";
|
||||
FoliageCount = "3000";
|
||||
FoliageRetries = "100";
|
||||
InnerRadiusX = "0";
|
||||
InnerRadiusY = "0";
|
||||
OuterRadiusX = "128";
|
||||
OuterRadiusY = "128";
|
||||
MinWidth = "1";
|
||||
MaxWidth = "2";
|
||||
MinHeight = "1";
|
||||
MaxHeight = "2.6";
|
||||
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 fxFoliageReplicator(grass3) {
|
||||
canSaveDynamicFields = "1";
|
||||
position = "98.7785 -232.669 102.4";
|
||||
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 = "30";
|
||||
FoliageFile = "~/data/environment/grass3";
|
||||
FoliageCount = "1550";
|
||||
FoliageRetries = "100";
|
||||
InnerRadiusX = "0";
|
||||
InnerRadiusY = "0";
|
||||
OuterRadiusX = "128";
|
||||
OuterRadiusY = "128";
|
||||
MinWidth = "1";
|
||||
MaxWidth = "2";
|
||||
MinHeight = "1";
|
||||
MaxHeight = "3";
|
||||
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 Precipitation(rain2) {
|
||||
canSaveDynamicFields = "1";
|
||||
position = "19.059 -202.835 105.6";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
nameTag = "Rain2";
|
||||
dataBlock = "HeavyRain";
|
||||
minSpeed = "0.3";
|
||||
maxSpeed = "0.6";
|
||||
minMass = "0.01";
|
||||
maxMass = "1";
|
||||
maxTurbulence = "0.05";
|
||||
turbulenceSpeed = "0.15";
|
||||
rotateWithCamVel = "1";
|
||||
useTurbulence = "1";
|
||||
numDrops = "100";
|
||||
boxWidth = "65";
|
||||
boxHeight = "100";
|
||||
doCollision = "0";
|
||||
};
|
||||
new Precipitation(rain3) {
|
||||
canSaveDynamicFields = "1";
|
||||
position = "13.8194 -192.335 99.9969";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
nameTag = "Rain2";
|
||||
dataBlock = "HeavyRain3";
|
||||
minSpeed = "0.1";
|
||||
maxSpeed = "1.3";
|
||||
minMass = "0.01";
|
||||
maxMass = "0.5";
|
||||
maxTurbulence = "0.1";
|
||||
turbulenceSpeed = "0.2";
|
||||
rotateWithCamVel = "1";
|
||||
useTurbulence = "0";
|
||||
numDrops = "25";
|
||||
boxWidth = "100";
|
||||
boxHeight = "100";
|
||||
doCollision = "0";
|
||||
};
|
||||
new fxShapeReplicator() {
|
||||
canSaveDynamicFields = "1";
|
||||
position = "37.7288 -177.481 100.694";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
HideReplications = "0";
|
||||
ShowPlacementArea = "1";
|
||||
PlacementAreaHeight = "25";
|
||||
PlacementColour = "0.4 0 0.8 1";
|
||||
shapeFile = "~/data/shapes/trees/FTREE02.DTS";
|
||||
Seed = "10";
|
||||
ShapeCount = "10";
|
||||
ShapeRetries = "100";
|
||||
InnerRadiusX = "0";
|
||||
InnerRadiusY = "0";
|
||||
OuterRadiusX = "100";
|
||||
OuterRadiusY = "100";
|
||||
AllowOnTerrain = "1";
|
||||
AllowOnInteriors = "1";
|
||||
AllowOnStatics = "1";
|
||||
AllowOnWater = "0";
|
||||
AllowWaterSurface = "0";
|
||||
AlignToTerrain = "0";
|
||||
Interactions = "1";
|
||||
AllowedTerrainSlope = "90";
|
||||
TerrainAlignment = "1 1 1";
|
||||
FixShapeAspect = "0";
|
||||
ShapeScaleMin = "1 1 1";
|
||||
ShapeScaleMax = "1 1 1";
|
||||
ShapeRotateMin = "0 0 0";
|
||||
ShapeRotateMax = "0 0 0";
|
||||
OffsetZ = "0";
|
||||
receiveSunLight = "1";
|
||||
receiveLMLighting = "1";
|
||||
useAdaptiveSelfIllumination = "0";
|
||||
useCustomAmbientLighting = "0";
|
||||
customAmbientSelfIllumination = "0";
|
||||
customAmbientLighting = "0 0 0 1";
|
||||
};
|
||||
new fxShapeReplicator() {
|
||||
canSaveDynamicFields = "1";
|
||||
position = "39.7288 -177.481 100.694";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
HideReplications = "0";
|
||||
ShowPlacementArea = "1";
|
||||
PlacementAreaHeight = "25";
|
||||
PlacementColour = "0.4 0 0.8 1";
|
||||
shapeFile = "~/data/shapes/trees/FTREE03.DTS";
|
||||
Seed = "20";
|
||||
ShapeCount = "10";
|
||||
ShapeRetries = "100";
|
||||
InnerRadiusX = "0";
|
||||
InnerRadiusY = "0";
|
||||
OuterRadiusX = "100";
|
||||
OuterRadiusY = "100";
|
||||
AllowOnTerrain = "1";
|
||||
AllowOnInteriors = "1";
|
||||
AllowOnStatics = "1";
|
||||
AllowOnWater = "0";
|
||||
AllowWaterSurface = "0";
|
||||
AlignToTerrain = "0";
|
||||
Interactions = "1";
|
||||
AllowedTerrainSlope = "90";
|
||||
TerrainAlignment = "1 1 1";
|
||||
FixShapeAspect = "0";
|
||||
ShapeScaleMin = "1 1 1";
|
||||
ShapeScaleMax = "1 1 1";
|
||||
ShapeRotateMin = "0 0 0";
|
||||
ShapeRotateMax = "0 0 0";
|
||||
OffsetZ = "0";
|
||||
receiveSunLight = "1";
|
||||
receiveLMLighting = "1";
|
||||
useAdaptiveSelfIllumination = "0";
|
||||
useCustomAmbientLighting = "0";
|
||||
customAmbientSelfIllumination = "0";
|
||||
customAmbientLighting = "0 0 0 1";
|
||||
};
|
||||
new fxShapeReplicator() {
|
||||
canSaveDynamicFields = "1";
|
||||
position = "33.7288 -177.481 100.694";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
HideReplications = "0";
|
||||
ShowPlacementArea = "1";
|
||||
PlacementAreaHeight = "25";
|
||||
PlacementColour = "0.4 0 0.8 1";
|
||||
shapeFile = "~/data/shapes/trees/FTREE01.DTS";
|
||||
Seed = "30";
|
||||
ShapeCount = "10";
|
||||
ShapeRetries = "100";
|
||||
InnerRadiusX = "0";
|
||||
InnerRadiusY = "0";
|
||||
OuterRadiusX = "100";
|
||||
OuterRadiusY = "100";
|
||||
AllowOnTerrain = "1";
|
||||
AllowOnInteriors = "1";
|
||||
AllowOnStatics = "1";
|
||||
AllowOnWater = "0";
|
||||
AllowWaterSurface = "0";
|
||||
AlignToTerrain = "0";
|
||||
Interactions = "1";
|
||||
AllowedTerrainSlope = "90";
|
||||
TerrainAlignment = "1 1 1";
|
||||
FixShapeAspect = "0";
|
||||
ShapeScaleMin = "1 1 1";
|
||||
ShapeScaleMax = "1 1 1";
|
||||
ShapeRotateMin = "0 0 0";
|
||||
ShapeRotateMax = "0 0 0";
|
||||
OffsetZ = "0";
|
||||
receiveSunLight = "1";
|
||||
receiveLMLighting = "1";
|
||||
useAdaptiveSelfIllumination = "0";
|
||||
useCustomAmbientLighting = "0";
|
||||
customAmbientSelfIllumination = "0";
|
||||
customAmbientLighting = "0 0 0 1";
|
||||
};
|
||||
new fxShapeReplicator() {
|
||||
canSaveDynamicFields = "1";
|
||||
position = "35.7288 -177.481 100.694";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
HideReplications = "0";
|
||||
ShowPlacementArea = "1";
|
||||
PlacementAreaHeight = "25";
|
||||
PlacementColour = "0.4 0 0.8 1";
|
||||
shapeFile = "~/data/shapes/trees/FTREE04.DTS";
|
||||
Seed = "40";
|
||||
ShapeCount = "10";
|
||||
ShapeRetries = "100";
|
||||
InnerRadiusX = "0";
|
||||
InnerRadiusY = "0";
|
||||
OuterRadiusX = "100";
|
||||
OuterRadiusY = "100";
|
||||
AllowOnTerrain = "1";
|
||||
AllowOnInteriors = "1";
|
||||
AllowOnStatics = "1";
|
||||
AllowOnWater = "0";
|
||||
AllowWaterSurface = "0";
|
||||
AlignToTerrain = "0";
|
||||
Interactions = "1";
|
||||
AllowedTerrainSlope = "90";
|
||||
TerrainAlignment = "1 1 1";
|
||||
FixShapeAspect = "0";
|
||||
ShapeScaleMin = "1 1 1";
|
||||
ShapeScaleMax = "1 1 1";
|
||||
ShapeRotateMin = "0 0 0";
|
||||
ShapeRotateMax = "0 0 0";
|
||||
OffsetZ = "0";
|
||||
receiveSunLight = "1";
|
||||
receiveLMLighting = "1";
|
||||
useAdaptiveSelfIllumination = "0";
|
||||
useCustomAmbientLighting = "0";
|
||||
customAmbientSelfIllumination = "0";
|
||||
customAmbientLighting = "0 0 0 1";
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
BIN
example/starter.fps/data/missions/cpdemo1.ter
Executable file
BIN
example/starter.fps/data/missions/cpdemo1.ter
Executable file
Binary file not shown.
127
example/starter.fps/data/missions/cpdemo2.mis
Executable file
127
example/starter.fps/data/missions/cpdemo2.mis
Executable file
@ -0,0 +1,127 @@
|
||||
//--- OBJECT WRITE BEGIN ---
|
||||
new SimGroup(MissionGroup) {
|
||||
cdTrack = "2";
|
||||
CTF_scoreLimit = "5";
|
||||
musicTrack = "lush";
|
||||
|
||||
new ScriptObject(MissionInfo) {
|
||||
name = "Content Pack Demo 2";
|
||||
desc0 = "A standard new mission template in a dusty desert barren setting, duststorm in progress.";
|
||||
descLines = "2";
|
||||
};
|
||||
new MissionArea(MissionArea) {
|
||||
Area = "-360 -648 720 1296";
|
||||
flightCeiling = "300";
|
||||
flightCeilingRange = "20";
|
||||
locked = "true";
|
||||
};
|
||||
new Sky(Sky) {
|
||||
position = "336 136 0";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
materialList = "~/data/skies/EnvPackSkies/sky_storm.dml";
|
||||
cloudHeightPer[0] = "0.1";
|
||||
cloudHeightPer[1] = "0.25";
|
||||
cloudHeightPer[2] = "0.15";
|
||||
cloudSpeed1 = "0.0115";
|
||||
cloudSpeed2 = "0.011";
|
||||
cloudSpeed3 = "0.01013";
|
||||
visibleDistance = "250";
|
||||
fogDistance = "0";
|
||||
fogColor = "0.750000 0.520000 0.373000 1.000000";
|
||||
fogStorm1 = "1";
|
||||
fogStorm2 = "0";
|
||||
fogStorm3 = "0";
|
||||
fogVolume1 = "100 100 130";
|
||||
fogVolume2 = "0 0 0";
|
||||
fogVolume3 = "0 0 0";
|
||||
fogVolumeColor1 = "128.000000 128.000000 128.000000 -222768174765569860000000000000000000000.000000";
|
||||
fogVolumeColor2 = "128.000000 128.000000 128.000000 0.000000";
|
||||
fogVolumeColor3 = "128.000000 128.000000 128.000000 -170698929442160050000000000000000000000.000000";
|
||||
windVelocity = "3 1 0";
|
||||
windEffectPrecipitation = "1";
|
||||
SkySolidColor = "0.600000 0.600000 0.600000 1.000000";
|
||||
useSkyTextures = "1";
|
||||
renderBottomTexture = "0";
|
||||
noRenderBans = "0";
|
||||
locked = "true";
|
||||
};
|
||||
new Sun() {
|
||||
azimuth = "105";
|
||||
elevation = "40";
|
||||
color = "0.800000 0.700000 0.750000 1.000000";
|
||||
ambient = "0.075000 0.025000 0.025000 1.000000";
|
||||
position = "0 0 0";
|
||||
locked = "true";
|
||||
rotation = "1 0 0 0";
|
||||
direction = "0.57735 0.57735 -0.57735";
|
||||
scale = "1 1 1";
|
||||
};
|
||||
new TerrainBlock(Terrain) {
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
detailTexture = "~/data/terrains/details/detail5";
|
||||
terrainFile = "./cpdemo2.ter";
|
||||
squareSize = "8";
|
||||
bumpScale = "1";
|
||||
bumpOffset = "0.01";
|
||||
zeroBumpScale = "8";
|
||||
position = "-1024 -1024 0";
|
||||
locked = "true";
|
||||
};
|
||||
new SimGroup(PlayerDropPoints) {
|
||||
|
||||
new SpawnSphere() {
|
||||
position = "-22.2859 -225.598 105.615";
|
||||
rotation = "0 0 -1 22.9177";
|
||||
scale = "0.940827 1.97505 1";
|
||||
dataBlock = "SpawnSphereMarker";
|
||||
Radius = "10";
|
||||
sphereWeight = "1";
|
||||
indoorWeight = "1";
|
||||
outdoorWeight = "1";
|
||||
locked = "false";
|
||||
homingCount = "0";
|
||||
lockCount = "0";
|
||||
};
|
||||
};
|
||||
new Precipitation(Sandstorm) {
|
||||
position = "-3.2741 -228.279 99.7809";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
nameTag = "Sandstorm";
|
||||
dataBlock = "Sandstorm";
|
||||
minSpeed = "1";
|
||||
maxSpeed = "1";
|
||||
minMass = "0.5";
|
||||
maxMass = "1";
|
||||
maxTurbulence = "10";
|
||||
turbulenceSpeed = "0.1";
|
||||
rotateWithCamVel = "0";
|
||||
useTurbulence = "1";
|
||||
numDrops = "1700";
|
||||
boxWidth = "150";
|
||||
boxHeight = "100";
|
||||
doCollision = "0";
|
||||
};
|
||||
new Precipitation(dust) {
|
||||
position = "25.7111 -201.737 100.477";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
nameTag = "Dust";
|
||||
dataBlock = "dustspecks";
|
||||
minSpeed = "0.1";
|
||||
maxSpeed = "0.7";
|
||||
minMass = "1";
|
||||
maxMass = "2";
|
||||
maxTurbulence = "5";
|
||||
turbulenceSpeed = "1";
|
||||
rotateWithCamVel = "0";
|
||||
useTurbulence = "1";
|
||||
numDrops = "2600";
|
||||
boxWidth = "200";
|
||||
boxHeight = "100";
|
||||
doCollision = "0";
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
BIN
example/starter.fps/data/missions/cpdemo2.ter
Executable file
BIN
example/starter.fps/data/missions/cpdemo2.ter
Executable file
Binary file not shown.
582
example/starter.fps/data/missions/sgLightingPackDemo.mis
Executable file
582
example/starter.fps/data/missions/sgLightingPackDemo.mis
Executable file
@ -0,0 +1,582 @@
|
||||
//----------------------------------------------
|
||||
// Copyright (C) Synapse Gaming
|
||||
// Written by John Kabus
|
||||
//----------------------------------------------
|
||||
|
||||
//--- OBJECT WRITE BEGIN ---
|
||||
new SimGroup(MissionGroup) {
|
||||
canSaveDynamicFields = "1";
|
||||
|
||||
new ScriptObject(MissionInfo) {
|
||||
name = "Lighting System Feature Demonstration";
|
||||
desc0 = "This level demonstrates how to employ the advanced lighting features.";
|
||||
};
|
||||
new MissionArea(MissionArea) {
|
||||
canSaveDynamicFields = "1";
|
||||
Area = "-152 -352 1040 1056";
|
||||
flightCeiling = "300";
|
||||
flightCeilingRange = "20";
|
||||
locked = "true";
|
||||
};
|
||||
new Sky(Sky) {
|
||||
canSaveDynamicFields = "1";
|
||||
position = "-1088 -928 0";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
materialList = "~/data/interiors/lightingPack/sky.dml";
|
||||
cloudHeightPer[0] = "0.349971";
|
||||
cloudHeightPer[1] = "0.25";
|
||||
cloudHeightPer[2] = "0.199973";
|
||||
cloudSpeed1 = "0.0002";
|
||||
cloudSpeed2 = "0.0004";
|
||||
cloudSpeed3 = "0.0006";
|
||||
visibleDistance = "500";
|
||||
fogDistance = "300";
|
||||
fogColor = "0 0 0 1";
|
||||
fogStorm1 = "0";
|
||||
fogStorm2 = "0";
|
||||
fogStorm3 = "0";
|
||||
fogVolume1 = "100 0 200";
|
||||
fogVolume2 = "0 0 0";
|
||||
fogVolume3 = "0 0 0";
|
||||
fogVolumeColor1 = "128 128 128 -2.22768e+038";
|
||||
fogVolumeColor2 = "128 128 128 0";
|
||||
fogVolumeColor3 = "128 128 128 -1.70699e+038";
|
||||
windVelocity = "0.1 0.1 0";
|
||||
windEffectPrecipitation = "1";
|
||||
SkySolidColor = "0 0 0 0";
|
||||
useSkyTextures = "0";
|
||||
renderBottomTexture = "0";
|
||||
noRenderBans = "0";
|
||||
locked = "true";
|
||||
};
|
||||
new Sun() {
|
||||
canSaveDynamicFields = "1";
|
||||
azimuth = "15";
|
||||
elevation = "35";
|
||||
color = "0 0 0 1";
|
||||
ambient = "0.12 0.12 0.12 1";
|
||||
scale = "1 1 1";
|
||||
locked = "true";
|
||||
position = "0 0 0";
|
||||
direction = "0.635001 0.635001 -0.439941";
|
||||
rotation = "1 0 0 0";
|
||||
};
|
||||
new sgUniversalStaticLight(GooLight) {
|
||||
canSaveDynamicFields = "1";
|
||||
position = "-35.1911 159.096 229.45";
|
||||
rotation = "0 0 -1 0.619286";
|
||||
scale = "1.65 1.65 1.65";
|
||||
dataBlock = "sgGooDataBlock";
|
||||
Enable = "1";
|
||||
IconSize = "1";
|
||||
ParticleColorAttenuation = "1";
|
||||
};
|
||||
new WaterBlock(GooBlock) {
|
||||
canSaveDynamicFields = "1";
|
||||
position = "-56 128 213.073";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "512 512 1";
|
||||
UseDepthMask = "1";
|
||||
surfaceTexture = "~/data/interiors/lightingPack/wateredge";
|
||||
ShoreTexture = "~/data/interiors/lightingPack/wateredge";
|
||||
liquidType = "HotLava";
|
||||
density = "1";
|
||||
viscosity = "15";
|
||||
waveMagnitude = "0.5";
|
||||
surfaceOpacity = "1";
|
||||
envMapIntensity = "0";
|
||||
TessSurface = "50";
|
||||
TessShore = "60";
|
||||
SurfaceParallax = "0.5";
|
||||
FlowAngle = "1";
|
||||
FlowRate = "0";
|
||||
DistortGridScale = "0.5";
|
||||
DistortMag = "0.05";
|
||||
DistortTime = "0.5";
|
||||
ShoreDepth = "1";
|
||||
DepthGradient = "2";
|
||||
MinAlpha = "0.1";
|
||||
MaxAlpha = "1";
|
||||
tile = "1";
|
||||
removeWetEdges = "0";
|
||||
specularColor = "0 0 0 0";
|
||||
specularPower = "20";
|
||||
seedPoints = "0 0 1 0 1 1 0 1";
|
||||
floodFill = "1";
|
||||
params3 = "1.21 -0.61 0.13 -0.33";
|
||||
params1 = "0.63 -2.41 0.33 0.21";
|
||||
textureSize = "32 32";
|
||||
params2 = "0.39 0.39 0.2 0.133";
|
||||
Extent = "100 100 10";
|
||||
envMapTexture = "fps/data/skies/sunset_0007";
|
||||
params0 = "0.32 -0.67 0.066 0.5";
|
||||
};
|
||||
new TerrainBlock(Terrain) {
|
||||
canSaveDynamicFields = "1";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
detailTexture = "~/data/terrains/details/detail1";
|
||||
terrainFile = "./sgLightingPackDemo.ter";
|
||||
squareSize = "8";
|
||||
emptySquares = "102011 102267";
|
||||
bumpScale = "1";
|
||||
bumpOffset = "0.01";
|
||||
zeroBumpScale = "8";
|
||||
tile = "1";
|
||||
locked = "true";
|
||||
position = "-1024 -1024 0";
|
||||
};
|
||||
new SimGroup(PlayerDropPoints) {
|
||||
canSaveDynamicFields = "1";
|
||||
|
||||
new SpawnSphere() {
|
||||
canSaveDynamicFields = "1";
|
||||
position = "-22.2591 134.496 222.525";
|
||||
rotation = "0 0 -1 48.7014";
|
||||
scale = "1 1 1";
|
||||
dataBlock = "SpawnSphereMarker";
|
||||
Radius = "1";
|
||||
sphereWeight = "100";
|
||||
indoorWeight = "100";
|
||||
outdoorWeight = "100";
|
||||
};
|
||||
};
|
||||
new SimGroup(base) {
|
||||
canSaveDynamicFields = "1";
|
||||
|
||||
new SimGroup(Pipes) {
|
||||
canSaveDynamicFields = "1";
|
||||
|
||||
new TSStatic() {
|
||||
canSaveDynamicFields = "1";
|
||||
position = "-44.0004 104.445 217.424";
|
||||
rotation = "0 0 -1 0.619286";
|
||||
scale = "1.65 1.65 1.65";
|
||||
shapeName = "~/data/shapes/lightingPack/pipe.dts";
|
||||
receiveSunLight = "0";
|
||||
receiveLMLighting = "0";
|
||||
useAdaptiveSelfIllumination = "0";
|
||||
useCustomAmbientLighting = "1";
|
||||
customAmbientSelfIllumination = "0";
|
||||
customAmbientLighting = "0.12 0.12 0.12 1";
|
||||
locked = "true";
|
||||
castShadows = "0";
|
||||
};
|
||||
new TSStatic() {
|
||||
canSaveDynamicFields = "1";
|
||||
position = "-44.0004 104.393 216.45";
|
||||
rotation = "0 0 -1 0.619286";
|
||||
scale = "1.65 1.65 1.65";
|
||||
shapeName = "~/data/shapes/lightingPack/pipe.dts";
|
||||
receiveSunLight = "0";
|
||||
receiveLMLighting = "0";
|
||||
useAdaptiveSelfIllumination = "0";
|
||||
useCustomAmbientLighting = "1";
|
||||
customAmbientSelfIllumination = "0";
|
||||
customAmbientLighting = "0.12 0.12 0.12 1";
|
||||
locked = "true";
|
||||
castShadows = "0";
|
||||
};
|
||||
new TSStatic() {
|
||||
canSaveDynamicFields = "1";
|
||||
position = "-16.96 105.7 216.45";
|
||||
rotation = "0 0 1 156.991";
|
||||
scale = "1.75 1.65 1.65";
|
||||
shapeName = "~/data/shapes/lightingPack/pipesmall.dts";
|
||||
receiveSunLight = "0";
|
||||
receiveLMLighting = "0";
|
||||
useAdaptiveSelfIllumination = "0";
|
||||
useCustomAmbientLighting = "1";
|
||||
customAmbientSelfIllumination = "0";
|
||||
customAmbientLighting = "0.12 0.12 0.12 1";
|
||||
locked = "true";
|
||||
castShadows = "0";
|
||||
};
|
||||
new TSStatic() {
|
||||
canSaveDynamicFields = "1";
|
||||
position = "-27.314 104.627 217.424";
|
||||
rotation = "0 0 -1 0.619286";
|
||||
scale = "1.65 1.65 1.65";
|
||||
shapeName = "~/data/shapes/lightingPack/pipe.dts";
|
||||
receiveSunLight = "0";
|
||||
receiveLMLighting = "0";
|
||||
useAdaptiveSelfIllumination = "0";
|
||||
useCustomAmbientLighting = "1";
|
||||
customAmbientSelfIllumination = "0";
|
||||
customAmbientLighting = "0.12 0.12 0.12 1";
|
||||
locked = "true";
|
||||
castShadows = "0";
|
||||
};
|
||||
new TSStatic() {
|
||||
canSaveDynamicFields = "1";
|
||||
position = "-27.314 104.575 216.45";
|
||||
rotation = "0 0 -1 0.619286";
|
||||
scale = "1.65 1.65 1.65";
|
||||
shapeName = "~/data/shapes/lightingPack/pipe.dts";
|
||||
receiveSunLight = "0";
|
||||
receiveLMLighting = "0";
|
||||
useAdaptiveSelfIllumination = "0";
|
||||
useCustomAmbientLighting = "1";
|
||||
customAmbientSelfIllumination = "0";
|
||||
customAmbientLighting = "0.12 0.12 0.12 1";
|
||||
locked = "true";
|
||||
castShadows = "0";
|
||||
};
|
||||
new TSStatic() {
|
||||
canSaveDynamicFields = "1";
|
||||
position = "-7.56262 115.311 215.956";
|
||||
rotation = "-0.287017 0.677357 0.677354 147.971";
|
||||
scale = "1.65 1.65 1.65";
|
||||
shapeName = "~/data/shapes/lightingPack/pipesupport.dts";
|
||||
receiveSunLight = "0";
|
||||
receiveLMLighting = "0";
|
||||
useAdaptiveSelfIllumination = "0";
|
||||
useCustomAmbientLighting = "1";
|
||||
customAmbientSelfIllumination = "0";
|
||||
customAmbientLighting = "0.12 0.12 0.12 1";
|
||||
locked = "true";
|
||||
castShadows = "0";
|
||||
};
|
||||
new TSStatic() {
|
||||
canSaveDynamicFields = "1";
|
||||
position = "-41.9854 105.473 215.956";
|
||||
rotation = "-0.00409847 0.707102 0.7071 179.531";
|
||||
scale = "1.65 1.65 1.65";
|
||||
shapeName = "~/data/shapes/lightingPack/pipesupport.dts";
|
||||
receiveSunLight = "0";
|
||||
receiveLMLighting = "0";
|
||||
useAdaptiveSelfIllumination = "0";
|
||||
useCustomAmbientLighting = "1";
|
||||
customAmbientSelfIllumination = "0";
|
||||
customAmbientLighting = "0.12 0.12 0.12 1";
|
||||
locked = "true";
|
||||
castShadows = "0";
|
||||
};
|
||||
new TSStatic() {
|
||||
canSaveDynamicFields = "1";
|
||||
position = "-14.7269 107.983 215.956";
|
||||
rotation = "-0.287017 0.677357 0.677354 147.971";
|
||||
scale = "1.65 1.65 1.65";
|
||||
shapeName = "~/data/shapes/lightingPack/pipesupport.dts";
|
||||
receiveSunLight = "0";
|
||||
receiveLMLighting = "0";
|
||||
useAdaptiveSelfIllumination = "0";
|
||||
useCustomAmbientLighting = "1";
|
||||
customAmbientSelfIllumination = "0";
|
||||
customAmbientLighting = "0.12 0.12 0.12 1";
|
||||
locked = "true";
|
||||
castShadows = "0";
|
||||
};
|
||||
new TSStatic() {
|
||||
canSaveDynamicFields = "1";
|
||||
position = "-19.9869 105.73 215.956";
|
||||
rotation = "-0.00409847 0.707102 0.7071 179.531";
|
||||
scale = "1.65 1.65 1.65";
|
||||
shapeName = "~/data/shapes/lightingPack/pipesupport.dts";
|
||||
receiveSunLight = "0";
|
||||
receiveLMLighting = "0";
|
||||
useAdaptiveSelfIllumination = "0";
|
||||
useCustomAmbientLighting = "1";
|
||||
customAmbientSelfIllumination = "0";
|
||||
customAmbientLighting = "0.12 0.12 0.12 1";
|
||||
locked = "true";
|
||||
castShadows = "0";
|
||||
};
|
||||
new TSStatic() {
|
||||
canSaveDynamicFields = "1";
|
||||
position = "-31.5861 105.597 215.956";
|
||||
rotation = "-0.00409847 0.707102 0.7071 179.531";
|
||||
scale = "1.65 1.65 1.65";
|
||||
shapeName = "~/data/shapes/lightingPack/pipesupport.dts";
|
||||
receiveSunLight = "0";
|
||||
receiveLMLighting = "0";
|
||||
useAdaptiveSelfIllumination = "0";
|
||||
useCustomAmbientLighting = "1";
|
||||
customAmbientSelfIllumination = "0";
|
||||
customAmbientLighting = "0.12 0.12 0.12 1";
|
||||
locked = "true";
|
||||
castShadows = "0";
|
||||
};
|
||||
new TSStatic() {
|
||||
canSaveDynamicFields = "1";
|
||||
position = "-51.9848 105.359 215.956";
|
||||
rotation = "-0.00409847 0.707102 0.7071 179.531";
|
||||
scale = "1.65 1.65 1.65";
|
||||
shapeName = "~/data/shapes/lightingPack/pipesupport.dts";
|
||||
receiveSunLight = "0";
|
||||
receiveLMLighting = "0";
|
||||
useAdaptiveSelfIllumination = "0";
|
||||
useCustomAmbientLighting = "1";
|
||||
customAmbientSelfIllumination = "0";
|
||||
customAmbientLighting = "0.12 0.12 0.12 1";
|
||||
locked = "true";
|
||||
castShadows = "0";
|
||||
};
|
||||
new TSStatic() {
|
||||
canSaveDynamicFields = "1";
|
||||
position = "-16.9746 105.793 217.45";
|
||||
rotation = "0 0 1 156.991";
|
||||
scale = "1.75 1.65 1.65";
|
||||
shapeName = "~/data/shapes/lightingPack/pipesmall.dts";
|
||||
receiveSunLight = "0";
|
||||
receiveLMLighting = "0";
|
||||
useAdaptiveSelfIllumination = "0";
|
||||
useCustomAmbientLighting = "1";
|
||||
customAmbientSelfIllumination = "0";
|
||||
customAmbientLighting = "0.12 0.12 0.12 1";
|
||||
locked = "false";
|
||||
castShadows = "0";
|
||||
};
|
||||
};
|
||||
new InteriorInstance() {
|
||||
canSaveDynamicFields = "1";
|
||||
position = "-37.5605 109.586 226.656";
|
||||
rotation = "0 0 1 89.3814";
|
||||
scale = "1.65 1.65 1.65";
|
||||
interiorFile = "~/data/interiors/lightingPack/demo4.dif";
|
||||
useGLLighting = "0";
|
||||
showTerrainInside = "0";
|
||||
locked = "true";
|
||||
};
|
||||
new SimGroup(spots) {
|
||||
canSaveDynamicFields = "1";
|
||||
|
||||
new volumeLight(spotlightleft) {
|
||||
canSaveDynamicFields = "1";
|
||||
position = "-30.268 107.999 218.899";
|
||||
rotation = "-0.357694 0.933839 9.9834e-009 180";
|
||||
scale = "1 1 1";
|
||||
dataBlock = "sgSpotDataBlock";
|
||||
Enable = "1";
|
||||
IconSize = "1";
|
||||
ParticleColorAttenuation = "1";
|
||||
Texture = "common/lighting/lightFalloffMono.png";
|
||||
lpDistance = "0.35";
|
||||
ShootDistance = "5";
|
||||
Xextent = "0.6";
|
||||
Yextent = "0.6";
|
||||
SubdivideU = "4";
|
||||
SubdivideV = "4";
|
||||
FootColour = "1 1 1 0.182";
|
||||
TailColour = "0 0 0 0";
|
||||
locked = "true";
|
||||
};
|
||||
new TSStatic() {
|
||||
canSaveDynamicFields = "1";
|
||||
position = "-30.268 107.999 218.899";
|
||||
rotation = "0 0 1 89.3814";
|
||||
scale = "1 1 1";
|
||||
shapeName = "~/data/shapes/lightingPack/spotlight.dts";
|
||||
receiveSunLight = "0";
|
||||
receiveLMLighting = "0";
|
||||
useAdaptiveSelfIllumination = "0";
|
||||
useCustomAmbientLighting = "1";
|
||||
customAmbientSelfIllumination = "0";
|
||||
customAmbientLighting = "0.12 0.12 0.12 1";
|
||||
locked = "true";
|
||||
castShadows = "0";
|
||||
};
|
||||
new volumeLight(spotlightright) {
|
||||
canSaveDynamicFields = "1";
|
||||
position = "-41.7253 107.875 218.899";
|
||||
rotation = "-0.357694 0.933839 9.9834e-009 180";
|
||||
scale = "1 1 1";
|
||||
dataBlock = "sgSpotDataBlock";
|
||||
Enable = "1";
|
||||
IconSize = "1";
|
||||
ParticleColorAttenuation = "1";
|
||||
Texture = "common/lighting/lightFalloffMono.png";
|
||||
lpDistance = "0.35";
|
||||
ShootDistance = "5";
|
||||
Xextent = "0.6";
|
||||
Yextent = "0.6";
|
||||
SubdivideU = "4";
|
||||
SubdivideV = "4";
|
||||
FootColour = "1 1 1 0.182";
|
||||
TailColour = "0 0 0 0";
|
||||
locked = "true";
|
||||
};
|
||||
new TSStatic() {
|
||||
canSaveDynamicFields = "1";
|
||||
position = "-41.7253 107.875 218.899";
|
||||
rotation = "0 0 1 89.3814";
|
||||
scale = "1 1 1";
|
||||
shapeName = "~/data/shapes/lightingPack/spotlight.dts";
|
||||
receiveSunLight = "0";
|
||||
receiveLMLighting = "0";
|
||||
useAdaptiveSelfIllumination = "0";
|
||||
useCustomAmbientLighting = "1";
|
||||
customAmbientSelfIllumination = "0";
|
||||
customAmbientLighting = "0.12 0.12 0.12 1";
|
||||
locked = "true";
|
||||
castShadows = "0";
|
||||
};
|
||||
new volumeLight(spotlightdoor) {
|
||||
canSaveDynamicFields = "1";
|
||||
position = "-50.6358 107.77 218.899";
|
||||
rotation = "-0.357694 0.933839 9.9834e-009 180";
|
||||
scale = "1 1 1";
|
||||
dataBlock = "sgSpotDataBlock";
|
||||
Enable = "1";
|
||||
IconSize = "1";
|
||||
ParticleColorAttenuation = "1";
|
||||
Texture = "common/lighting/lightFalloffMono.png";
|
||||
lpDistance = "0.35";
|
||||
ShootDistance = "5";
|
||||
Xextent = "0.6";
|
||||
Yextent = "0.6";
|
||||
SubdivideU = "4";
|
||||
SubdivideV = "4";
|
||||
FootColour = "1 1 1 0.182";
|
||||
TailColour = "0 0 0 0";
|
||||
locked = "true";
|
||||
};
|
||||
new TSStatic() {
|
||||
canSaveDynamicFields = "1";
|
||||
position = "-50.6358 107.77 218.899";
|
||||
rotation = "0 0 1 89.3814";
|
||||
scale = "1 1 1";
|
||||
shapeName = "~/data/shapes/lightingPack/spotlight.dts";
|
||||
receiveSunLight = "0";
|
||||
receiveLMLighting = "0";
|
||||
useAdaptiveSelfIllumination = "0";
|
||||
useCustomAmbientLighting = "1";
|
||||
customAmbientSelfIllumination = "0";
|
||||
customAmbientLighting = "0.12 0.12 0.12 1";
|
||||
locked = "true";
|
||||
castShadows = "0";
|
||||
};
|
||||
};
|
||||
new ParticleEmitterNode(fire) {
|
||||
canSaveDynamicFields = "1";
|
||||
position = "-10.5669 114.214 215.047";
|
||||
rotation = "0 0 1 89.3814";
|
||||
scale = "1 1 1";
|
||||
dataBlock = "ChimneyFireEmitterNode";
|
||||
emitter = "RealFireEmitter";
|
||||
velocity = "1";
|
||||
locked = "true";
|
||||
};
|
||||
new sgUniversalStaticLight(FireLight) {
|
||||
canSaveDynamicFields = "1";
|
||||
position = "-10.9626 113.81 215.447";
|
||||
rotation = "0 0 1 89.3814";
|
||||
scale = "1 1 1";
|
||||
dataBlock = "sgDynamicFireDataBlock";
|
||||
Enable = "1";
|
||||
IconSize = "1";
|
||||
ParticleColorAttenuation = "0.8";
|
||||
ParticleEmitterName = "fire";
|
||||
locked = "false";
|
||||
};
|
||||
};
|
||||
new ParticleEmitterNode(SteamEmitterObject) {
|
||||
canSaveDynamicFields = "1";
|
||||
position = "-24.0306 104.703 215.484";
|
||||
rotation = "0.912976 0.28199 -0.294884 85.4811";
|
||||
scale = "1 1 1";
|
||||
dataBlock = "SteamEmitterNode";
|
||||
emitter = "SteamEmitter";
|
||||
velocity = "1";
|
||||
};
|
||||
new StaticShape() {
|
||||
canSaveDynamicFields = "1";
|
||||
position = "-19.5923 108.11 214.67";
|
||||
rotation = "0 0 1 180.091";
|
||||
scale = "1 1 1";
|
||||
dataBlock = "SpotSwingStaticShape";
|
||||
receiveSunLight = "1";
|
||||
receiveLMLighting = "1";
|
||||
useAdaptiveSelfIllumination = "0";
|
||||
useCustomAmbientLighting = "0";
|
||||
customAmbientSelfIllumination = "0";
|
||||
customAmbientLighting = "0 0 0 1";
|
||||
};
|
||||
new sgUniversalStaticLight(SpotSwingStatic) {
|
||||
canSaveDynamicFields = "1";
|
||||
position = "-19.4018 107.691 218.963";
|
||||
rotation = "0 1 0 179.518";
|
||||
scale = "1 1 1";
|
||||
dataBlock = "sgSpotSwingStaticDataBlock";
|
||||
Enable = "1";
|
||||
IconSize = "1";
|
||||
ParticleColorAttenuation = "1";
|
||||
};
|
||||
new sgDecalProjector() {
|
||||
canSaveDynamicFields = "1";
|
||||
position = "-30.6698 120.842 219.143";
|
||||
rotation = "0.54084 0.597405 -0.592115 123.613";
|
||||
scale = "1 1 1";
|
||||
dataBlock = "GlowDecal";
|
||||
};
|
||||
new sgDecalProjector() {
|
||||
canSaveDynamicFields = "1";
|
||||
position = "-35.4493 107.422 219.058";
|
||||
rotation = "0.999999 -0.000796486 -0.000796356 180";
|
||||
scale = "1 1 1";
|
||||
dataBlock = "GlowDecal";
|
||||
};
|
||||
new volumeLight() {
|
||||
canSaveDynamicFields = "1";
|
||||
position = "-22.4856 136.033 235.602";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
dataBlock = "sgSpot2DataBlock";
|
||||
Enable = "1";
|
||||
IconSize = "1";
|
||||
ParticleColorAttenuation = "1";
|
||||
lpDistance = "1";
|
||||
ShootDistance = "20";
|
||||
Xextent = "2";
|
||||
Yextent = "2";
|
||||
SubdivideU = "8";
|
||||
SubdivideV = "8";
|
||||
FootColour = "1 1 1 0.2";
|
||||
TailColour = "0 0 0 0";
|
||||
};
|
||||
new ScopeAlwaysShape() {
|
||||
canSaveDynamicFields = "1";
|
||||
position = "-9.15159 112.18 217.45";
|
||||
rotation = "0 0 -1 45.8826";
|
||||
scale = "1.65 1.65 1.65";
|
||||
dataBlock = "PipeScopeAlwaysShape";
|
||||
receiveSunLight = "0";
|
||||
receiveLMLighting = "1";
|
||||
useAdaptiveSelfIllumination = "0";
|
||||
useCustomAmbientLighting = "0";
|
||||
customAmbientSelfIllumination = "0";
|
||||
customAmbientLighting = "0 0 0 1";
|
||||
};
|
||||
new ScopeAlwaysShape() {
|
||||
canSaveDynamicFields = "1";
|
||||
position = "-9.15159 112.18 216.45";
|
||||
rotation = "0 0 -1 45.8826";
|
||||
scale = "1.65 1.65 1.65";
|
||||
dataBlock = "PipeScopeAlwaysShape";
|
||||
receiveSunLight = "0";
|
||||
receiveLMLighting = "1";
|
||||
useAdaptiveSelfIllumination = "0";
|
||||
useCustomAmbientLighting = "0";
|
||||
customAmbientSelfIllumination = "0";
|
||||
customAmbientLighting = "0 0 0 1";
|
||||
};
|
||||
new sgMissionLightingFilter() {
|
||||
canSaveDynamicFields = "1";
|
||||
position = "-20.4856 135.338 221.816";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
dataBlock = "test";
|
||||
};
|
||||
new sgLightObject() {
|
||||
canSaveDynamicFields = "1";
|
||||
position = "-39.0195 83.2004 252.625";
|
||||
rotation = "1 0 0 0";
|
||||
scale = "1 1 1";
|
||||
dataBlock = "sgDefaultLightDataBlock";
|
||||
Enable = "1";
|
||||
IconSize = "1";
|
||||
ParticleColorAttenuation = "1";
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
BIN
example/starter.fps/data/missions/sgLightingPackDemo.ter
Executable file
BIN
example/starter.fps/data/missions/sgLightingPackDemo.ter
Executable file
Binary file not shown.
2214
example/starter.fps/data/missions/stronghold.mis
Executable file
2214
example/starter.fps/data/missions/stronghold.mis
Executable file
File diff suppressed because it is too large
Load Diff
BIN
example/starter.fps/data/missions/stronghold.ter
Executable file
BIN
example/starter.fps/data/missions/stronghold.ter
Executable file
Binary file not shown.
Reference in New Issue
Block a user