Catches FPSGameplay module up to new gamemode and module paradigm

Adds additional args for callGamemodeFunction
Adds default Observer camera datablock
This commit is contained in:
Areloch 2019-10-04 21:00:58 -05:00
parent 49f4fddd77
commit 28c4bad74d
47 changed files with 309 additions and 274 deletions

View file

@ -1,41 +1,59 @@
//--- OBJECT WRITE BEGIN ---
new Scene(EmptyTerrainLevel) {
canSave = "1";
canSaveDynamicFields = "1";
enabled = "1";
isSubScene = "0";
isEditing = "0";
isDirty = "0";
Enabled = "1";
gameModeName="DeathMatchGame";
new LevelInfo(theLevelInfo) {
nearClip = "0.1";
visibleDistance = "2000";
visibleGhostDistance = "0";
decalBias = "0.0015";
fogColor = "1 1 0.6 1";
fogDensity = "0.001";
fogDensityOffset = "10";
fogAtmosphereHeight = "100";
canvasClearColor = "233 220 143 255";
advancedLightmapSupport = "0";
class = "DeathMatchGame";
ambientLightBlendPhase = "1";
ambientLightBlendCurve = "0 0 -1 -1";
soundAmbience = "AudioAmbienceDefault";
soundDistanceModel = "Linear";
canSave = "1";
canSaveDynamicFields = "1";
advancedLightmapSupport = "0";
desc0 = "An empty terrain ready to be populated with Torque objects.";
LevelName = "Empty Terrain";
preview = "data/FPSGameplay/levels/Empty Terrain_preview";
};
new ScatterSky() {
skyBrightness = "30";
mieScattering = "0.0015";
sunSize = "1";
colorizeAmount = "0";
colorize = "0 0 0 1";
rayleighScattering = "0.0035";
sunScale = "1 1 0.8 1";
ambientScale = "0.5 0.5 0.4 1";
fogScale = "1 1 1 1";
exposure = "0.85";
zOffset = "0";
azimuth = "84";
elevation = "54";
moonAzimuth = "0";
moonElevation = "45";
castShadows = "1";
staticRefreshFreq = "8";
dynamicRefreshFreq = "8";
brightness = "1";
flareType = "SunFlareExample1";
flareScale = "1";
nightColor = "0.0196078 0.0117647 0.109804 1";
nightFogColor = "0.0196078 0.0117647 0.109804 1";
moonEnabled = "1";
moonTexture = "core/art/skies/night/moon_wglow";
moonScale = "0.3";
moonTint = "0.192157 0.192157 0.192157 1";
moonLightColor = "0.192157 0.192157 0.192157 1";
useNightCubemap = "0";
attenuationRatio = "0 1 1";
shadowType = "PSSM";
@ -53,40 +71,62 @@ new Scene(EmptyTerrainLevel) {
position = "0 0 0";
rotation = "1 0 0 0";
scale = "1 1 1";
canSave = "1";
canSaveDynamicFields = "1";
mieScattering = "0.0015";
moonTexture = "core/art/skies/night/moon_wglow";
moonTint = "0.192157 0.192157 0.192157 1";
sunBrightness = "50";
};
new TerrainBlock(theTerrain) {
terrainFile = "data/FPSGameplay/art/terrains/Empty Terrain_0.ter";
castShadows = "1";
squareSize = "2";
tile = "0";
baseTexSize = "1024";
baseTexFormat = "DDS";
lightMapSize = "256";
screenError = "16";
ignoreZodiacs = "0";
position = "-1024 -1024 179.978";
rotation = "1 0 0 0";
scale = "1 1 1";
canSave = "1";
canSaveDynamicFields = "1";
scale = "1 1 1";
tile = "0";
};
new SimGroup(PlayerDropPoints) {
canSave = "1";
canSaveDynamicFields = "1";
enabled = "1";
Enabled = "1";
new SpawnSphere() {
autoSpawn = "0";
spawnTransform = "0";
radius = "1";
sphereWeight = "1";
indoorWeight = "1";
outdoorWeight = "1";
isAIControlled = "0";
dataBlock = "SpawnSphereMarker";
position = "0 0 241.772";
rotation = "1 0 0 0";
scale = "1 1 1";
canSave = "1";
canSaveDynamicFields = "1";
enabled = "1";
Enabled = "1";
homingCount = "0";
lockCount = "0";
TypeBool locked = "False";
};
};
new Skylight() {
Enabled = "1";
ReflectionMode = "Baked Cubemap";
position = "181.562 73.8898 273.01";
rotation = "1 0 0 0";
canSave = "1";
canSaveDynamicFields = "1";
persistentId = "806d86d9-e70e-11e9-b257-effec2306e84";
reflectionPath = "data/FPSGameplay/levels/Empty Terrain/probes/";
};
};
//--- OBJECT WRITE END ---

View file

@ -3,6 +3,7 @@ new Scene(OutpostLevel) {
canSave = "1";
canSaveDynamicFields = "1";
enabled = "1";
gameModeName="DeathMatchGame";
new LevelInfo(theLevelInfo) {
nearClip = "0.1";
@ -20,7 +21,6 @@ new Scene(OutpostLevel) {
soundDistanceModel = "Linear";
canSave = "1";
canSaveDynamicFields = "1";
class = "DeathMatchGame";
desc = "A \'one of everything\' test level that demonstrates lots of stock classes.";
levelName = "Outpost";
preview = "data/FPSGameplay/levels/Outpost_preview";