mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2025-10-30 08:11:25 +00:00
649 lines
18 KiB
Text
649 lines
18 KiB
Text
//--- OBJECT WRITE BEGIN ---
|
|
new SimGroup(MissionGroup) {
|
|
|
|
new ScriptObject(MissionInfo) {
|
|
type = "advanced";
|
|
desc = "Make your way to the inner keep!";
|
|
startHelpText = "Time your movements carefully to get past the gates.";
|
|
name = "Battlements";
|
|
music = "Classic Vibe.ogg";
|
|
artist = "Alex Swanson";
|
|
level = "41";
|
|
goldTime = "45000";
|
|
};
|
|
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";
|
|
cloudHeightPer[0] = "0";
|
|
cloudHeightPer[1] = "0";
|
|
cloudHeightPer[2] = "0";
|
|
cloudSpeed1 = "0.0001";
|
|
cloudSpeed2 = "0.0002";
|
|
cloudSpeed3 = "0.0003";
|
|
visibleDistance = "500";
|
|
useSkyTextures = "1";
|
|
renderBottomTexture = "1";
|
|
SkySolidColor = "0.600000 0.600000 0.600000 1.000000";
|
|
fogDistance = "300";
|
|
fogColor = "0.600000 0.600000 0.600000 1.000000";
|
|
fogVolume1 = "-1 2.8026e-045 1.91698e-042";
|
|
fogVolume2 = "-1 2.8026e-045 1.89175e-042";
|
|
fogVolume3 = "-1 2.8026e-045 1.85392e-042";
|
|
materialList = "~/data/skies/sky_day.dml";
|
|
windVelocity = "1 0 0";
|
|
windEffectPrecipitation = "0";
|
|
noRenderBans = "1";
|
|
fogVolumeColor1 = "128.000000 128.000000 128.000000 0.000000";
|
|
fogVolumeColor2 = "128.000000 128.000000 128.000000 0.000000";
|
|
fogVolumeColor3 = "128.000000 128.000000 128.000000 0.000000";
|
|
};
|
|
new Sun() {
|
|
direction = "-0.617004 0.173654 -0.767561";
|
|
color = "1.400000 1.200000 0.400000 1.000000";
|
|
ambient = "0.300000 0.300000 0.400000 1.000000";
|
|
};
|
|
new InteriorInstance() {
|
|
position = "0 0 0";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
interiorFile = "~/data/interiors_mbg/addon/battlements.dif";
|
|
showTerrainInside = "0";
|
|
};
|
|
new StaticShape() {
|
|
position = "-15 0 -20";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
dataBlock = "TrapDoor";
|
|
open = "0";
|
|
resetTime = "Default";
|
|
timeout = "200";
|
|
};
|
|
new StaticShape() {
|
|
position = "-13 0 -20";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
dataBlock = "TrapDoor";
|
|
open = "0";
|
|
resetTime = "Default";
|
|
timeout = "200";
|
|
};
|
|
new StaticShape() {
|
|
position = "-17 0 -20";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
dataBlock = "TrapDoor";
|
|
open = "0";
|
|
resetTime = "Default";
|
|
timeout = "200";
|
|
};
|
|
new StaticShape() {
|
|
position = "-15 -2 -20";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
dataBlock = "TrapDoor";
|
|
open = "0";
|
|
resetTime = "Default";
|
|
timeout = "200";
|
|
};
|
|
new StaticShape() {
|
|
position = "-15 -4 -20";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
dataBlock = "TrapDoor";
|
|
open = "0";
|
|
resetTime = "Default";
|
|
timeout = "200";
|
|
};
|
|
new StaticShape() {
|
|
position = "-15 -6 -20";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
dataBlock = "TrapDoor";
|
|
open = "0";
|
|
resetTime = "Default";
|
|
timeout = "200";
|
|
};
|
|
new StaticShape() {
|
|
position = "-13 -6 -20";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
dataBlock = "TrapDoor";
|
|
open = "0";
|
|
resetTime = "Default";
|
|
timeout = "200";
|
|
};
|
|
new StaticShape() {
|
|
position = "-17 -6 -20";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
dataBlock = "TrapDoor";
|
|
open = "0";
|
|
resetTime = "Default";
|
|
timeout = "200";
|
|
};
|
|
new StaticShape() {
|
|
position = "-15 -8 -20";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
dataBlock = "TrapDoor";
|
|
open = "0";
|
|
resetTime = "Default";
|
|
timeout = "200";
|
|
};
|
|
new StaticShape() {
|
|
position = "-13 -8 -20";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
dataBlock = "TrapDoor";
|
|
open = "0";
|
|
resetTime = "Default";
|
|
timeout = "200";
|
|
};
|
|
new StaticShape() {
|
|
position = "-17 -8 -20";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
dataBlock = "TrapDoor";
|
|
open = "0";
|
|
resetTime = "Default";
|
|
timeout = "200";
|
|
};
|
|
new StaticShape() {
|
|
position = "-13 -4 -20";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
dataBlock = "TrapDoor";
|
|
open = "0";
|
|
resetTime = "Default";
|
|
timeout = "200";
|
|
};
|
|
new StaticShape() {
|
|
position = "-17 -4 -20";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
dataBlock = "TrapDoor";
|
|
open = "0";
|
|
resetTime = "Default";
|
|
timeout = "200";
|
|
};
|
|
new StaticShape() {
|
|
position = "-13 -2 -20";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
dataBlock = "TrapDoor";
|
|
open = "0";
|
|
resetTime = "Default";
|
|
timeout = "200";
|
|
};
|
|
new StaticShape() {
|
|
position = "-17 -2 -20";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
dataBlock = "TrapDoor";
|
|
open = "0";
|
|
resetTime = "Default";
|
|
timeout = "200";
|
|
};
|
|
new StaticShape() {
|
|
position = "-15 -10 -20";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
dataBlock = "TrapDoor";
|
|
open = "0";
|
|
resetTime = "Default";
|
|
timeout = "200";
|
|
};
|
|
new StaticShape() {
|
|
position = "-15 -12 -20";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
dataBlock = "TrapDoor";
|
|
open = "0";
|
|
resetTime = "Default";
|
|
timeout = "200";
|
|
};
|
|
new StaticShape() {
|
|
position = "-15 -14 -20";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
dataBlock = "TrapDoor";
|
|
open = "0";
|
|
resetTime = "Default";
|
|
timeout = "200";
|
|
};
|
|
new StaticShape() {
|
|
position = "-13 -14 -20";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
dataBlock = "TrapDoor";
|
|
open = "0";
|
|
resetTime = "Default";
|
|
timeout = "200";
|
|
};
|
|
new StaticShape() {
|
|
position = "-17 -14 -20";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
dataBlock = "TrapDoor";
|
|
open = "0";
|
|
resetTime = "Default";
|
|
timeout = "200";
|
|
};
|
|
new StaticShape() {
|
|
position = "-15 -16 -20";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
dataBlock = "TrapDoor";
|
|
open = "0";
|
|
resetTime = "Default";
|
|
timeout = "200";
|
|
};
|
|
new StaticShape() {
|
|
position = "-13 -16 -20";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
dataBlock = "TrapDoor";
|
|
open = "0";
|
|
resetTime = "Default";
|
|
timeout = "200";
|
|
};
|
|
new StaticShape() {
|
|
position = "-17 -16 -20";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
dataBlock = "TrapDoor";
|
|
open = "0";
|
|
resetTime = "Default";
|
|
timeout = "200";
|
|
};
|
|
new StaticShape() {
|
|
position = "-13 -12 -20";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
dataBlock = "TrapDoor";
|
|
open = "0";
|
|
resetTime = "Default";
|
|
timeout = "200";
|
|
};
|
|
new StaticShape() {
|
|
position = "-17 -12 -20";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
dataBlock = "TrapDoor";
|
|
open = "0";
|
|
resetTime = "Default";
|
|
timeout = "200";
|
|
};
|
|
new StaticShape() {
|
|
position = "-13 -10 -20";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
dataBlock = "TrapDoor";
|
|
open = "0";
|
|
resetTime = "Default";
|
|
timeout = "200";
|
|
};
|
|
new StaticShape() {
|
|
position = "-17 -10 -20";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
dataBlock = "TrapDoor";
|
|
open = "0";
|
|
resetTime = "Default";
|
|
timeout = "200";
|
|
};
|
|
new StaticShape() {
|
|
position = "-7.49492 7.49659 -18.9257";
|
|
rotation = "1 0 0 90";
|
|
scale = "1 1 1";
|
|
dataBlock = "DuctFan";
|
|
};
|
|
new StaticShape() {
|
|
position = "-5.51589 5.50857 -18.9257";
|
|
rotation = "0 -1 0 90";
|
|
scale = "1 1 1";
|
|
dataBlock = "DuctFan";
|
|
};
|
|
new StaticShape() {
|
|
position = "-22.0371 20.0062 6.57429";
|
|
rotation = "-1 0 0 90";
|
|
scale = "1 1 1";
|
|
dataBlock = "DuctFan";
|
|
};
|
|
new StaticShape() {
|
|
position = "-20.0076 21.9869 6.57282";
|
|
rotation = "0 -1 0 90";
|
|
scale = "1 1 1";
|
|
dataBlock = "DuctFan";
|
|
};
|
|
new StaticShape(EndPoint) {
|
|
position = "-16 31.25 8";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
dataBlock = "EndPad";
|
|
};
|
|
new StaticShape(StartPoint) {
|
|
position = "-15 -20 -20";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
dataBlock = "StartPad";
|
|
};
|
|
new SimGroup(MustChange_g) {
|
|
|
|
new Path() {
|
|
|
|
new Marker() {
|
|
position = "-15 0.75 -20";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
seqNum = "0";
|
|
msToNext = "3000";
|
|
smoothingType = "Linear";
|
|
};
|
|
new Marker() {
|
|
position = "-15 0.75 -20";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
seqNum = "1";
|
|
msToNext = "1500";
|
|
smoothingType = "Linear";
|
|
};
|
|
new Marker() {
|
|
position = "-15 0.75 -12.5";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
seqNum = "2";
|
|
msToNext = "1500";
|
|
smoothingType = "Linear";
|
|
};
|
|
new Marker() {
|
|
position = "-15 0.75 -20";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
seqNum = "3";
|
|
msToNext = "0";
|
|
smoothingType = "Linear";
|
|
};
|
|
};
|
|
new PathedInterior(MustChange) {
|
|
position = "0 0 0";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
dataBlock = "PathedDefault";
|
|
interiorResource = $usermods @ "/data/interiors_mbg/addon/battlements.dif";
|
|
interiorIndex = "0";
|
|
basePosition = "0 0 0";
|
|
baseRotation = "1 0 0 0";
|
|
baseScale = "1 1 1";
|
|
initialTargetPosition = "-1";
|
|
};
|
|
};
|
|
new SimGroup(MustChange_g) {
|
|
|
|
new Path() {
|
|
|
|
new Marker() {
|
|
position = "2 2.75 -20";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
seqNum = "0";
|
|
msToNext = "3000";
|
|
smoothingType = "Accelerate";
|
|
};
|
|
new Marker() {
|
|
position = "2 2.75 -1";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
seqNum = "1";
|
|
msToNext = "3000";
|
|
smoothingType = "Accelerate";
|
|
};
|
|
new Marker() {
|
|
position = "2 2.75 -20";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
seqNum = "2";
|
|
msToNext = "0";
|
|
smoothingType = "Accelerate";
|
|
};
|
|
};
|
|
new Trigger(MustChange) {
|
|
position = "2 0.375 -19";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
dataBlock = "TriggerGotoTarget";
|
|
polyhedron = "-1.0000000 1.6250000 2.0000000 0.0000000 -3.2500000 0.0000000 0.0000000 0.0000000 -4.0000000 2.0000000 0.0000000 0.0000000";
|
|
targetTime = "3000";
|
|
};
|
|
new Trigger(MustChange) {
|
|
position = "-1.5 -0.25 0";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
dataBlock = "TriggerGotoTarget";
|
|
polyhedron = "-1.5000000 3.0000000 1.0000000 0.0000000 -6.0000000 0.0000000 0.0000000 0.0000000 -2.0000000 3.0000000 0.0000000 0.0000000";
|
|
targetTime = "0";
|
|
};
|
|
new PathedInterior(MustChange) {
|
|
position = "0 0 0";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
dataBlock = "PathedDefault";
|
|
interiorResource = $usermods @ "/data/interiors_mbg/addon/battlements.dif";
|
|
interiorIndex = "1";
|
|
basePosition = "0 0 0";
|
|
baseRotation = "1 0 0 0";
|
|
baseScale = "1 1 1";
|
|
};
|
|
};
|
|
new SimGroup(MustChange_g) {
|
|
|
|
new Path() {
|
|
|
|
new Marker() {
|
|
position = "-11 -10 -19";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
seqNum = "0";
|
|
msToNext = "1000";
|
|
smoothingType = "Accelerate";
|
|
};
|
|
new Marker() {
|
|
position = "-25 -10 -19";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
seqNum = "1";
|
|
msToNext = "1000";
|
|
smoothingType = "Linear";
|
|
};
|
|
new Marker() {
|
|
position = "-25 -10 -19";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
seqNum = "2";
|
|
msToNext = "1000";
|
|
smoothingType = "Accelerate";
|
|
};
|
|
new Marker() {
|
|
position = "-11 -10 -19";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
seqNum = "3";
|
|
msToNext = "1000";
|
|
smoothingType = "Linear";
|
|
};
|
|
new Marker() {
|
|
position = "-11 -10 -19";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
seqNum = "4";
|
|
msToNext = "0";
|
|
smoothingType = "Linear";
|
|
};
|
|
};
|
|
new PathedInterior(MustChange) {
|
|
position = "0 0 0";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
dataBlock = "PathedDefault";
|
|
interiorResource = $usermods @ "/data/interiors_mbg/addon/battlements.dif";
|
|
interiorIndex = "2";
|
|
basePosition = "0 0 0";
|
|
baseRotation = "1 0 0 0";
|
|
baseScale = "1 1 1";
|
|
initialTargetPosition = "-1";
|
|
initialPosition = "500";
|
|
};
|
|
};
|
|
new SimGroup(MustChange_g) {
|
|
|
|
new Path() {
|
|
|
|
new Marker() {
|
|
position = "-19 -6 -19";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
seqNum = "0";
|
|
msToNext = "1000";
|
|
smoothingType = "Accelerate";
|
|
};
|
|
new Marker() {
|
|
position = "-5 -6 -19";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
seqNum = "1";
|
|
msToNext = "1000";
|
|
smoothingType = "Linear";
|
|
};
|
|
new Marker() {
|
|
position = "-5 -6 -19";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
seqNum = "2";
|
|
msToNext = "1000";
|
|
smoothingType = "Accelerate";
|
|
};
|
|
new Marker() {
|
|
position = "-19 -6 -19";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
seqNum = "3";
|
|
msToNext = "1000";
|
|
smoothingType = "Linear";
|
|
};
|
|
new Marker() {
|
|
position = "-19 -6 -19";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
seqNum = "4";
|
|
msToNext = "0";
|
|
smoothingType = "Linear";
|
|
};
|
|
};
|
|
new PathedInterior(MustChange) {
|
|
position = "0 0 0";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
dataBlock = "PathedDefault";
|
|
interiorResource = $usermods @ "/data/interiors_mbg/addon/battlements.dif";
|
|
interiorIndex = "3";
|
|
basePosition = "0 0 0";
|
|
baseRotation = "1 0 0 0";
|
|
baseScale = "1 1 1";
|
|
initialTargetPosition = "-1";
|
|
initialPosition = "500";
|
|
};
|
|
};
|
|
new SimGroup(MustChange_g) {
|
|
|
|
new Path() {
|
|
|
|
new Marker() {
|
|
position = "-19 -14 -19";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
seqNum = "0";
|
|
msToNext = "1000";
|
|
smoothingType = "Accelerate";
|
|
};
|
|
new Marker() {
|
|
position = "-5 -14 -19";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
seqNum = "1";
|
|
msToNext = "1000";
|
|
smoothingType = "Linear";
|
|
};
|
|
new Marker() {
|
|
position = "-5 -14 -19";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
seqNum = "2";
|
|
msToNext = "1000";
|
|
smoothingType = "Accelerate";
|
|
};
|
|
new Marker() {
|
|
position = "-19 -14 -19";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
seqNum = "3";
|
|
msToNext = "1000";
|
|
smoothingType = "Linear";
|
|
};
|
|
new Marker() {
|
|
position = "-19 -14 -19";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
seqNum = "4";
|
|
msToNext = "0";
|
|
smoothingType = "Linear";
|
|
};
|
|
};
|
|
new PathedInterior(MustChange) {
|
|
position = "0 0 0";
|
|
rotation = "1 0 0 0";
|
|
scale = "1 1 1";
|
|
dataBlock = "PathedDefault";
|
|
interiorResource = $usermods @ "/data/interiors_mbg/addon/battlements.dif";
|
|
interiorIndex = "4";
|
|
basePosition = "0 0 0";
|
|
baseRotation = "1 0 0 0";
|
|
baseScale = "1 1 1";
|
|
initialTargetPosition = "-1";
|
|
initialPosition = "0";
|
|
};
|
|
};
|
|
new Trigger(Bounds) {
|
|
position = "-38 38.25 -49";
|
|
rotation = "1 0 0 0";
|
|
scale = "46 64.25 77";
|
|
dataBlock = "InBoundsTrigger";
|
|
polyhedron = "0.0000000 0.0000000 0.0000000 1.0000000 0.0000000 0.0000000 0.0000000 -1.0000000 0.0000000 0.0000000 0.0000000 1.0000000";
|
|
};
|
|
new StaticShape() {
|
|
position = "-17.9557 30.3783 13.22";
|
|
rotation = "0 0 1 147.433";
|
|
scale = "1 1 1";
|
|
dataBlock = "SignFinish";
|
|
};
|
|
new AudioProfile(MusicProfile) {
|
|
fileName = "~/data/sound/Shell.ogg";
|
|
description = "AudioMusic";
|
|
preload = "0";
|
|
};
|
|
new Trigger() {
|
|
position = "-16.4068 12.0211 -20.1237";
|
|
rotation = "1 0 0 0";
|
|
scale = "5.44697 5.61311 2.82431";
|
|
dataBlock = "HelpTrigger";
|
|
polyhedron = "0.0000000 0.0000000 0.0000000 1.0000000 0.0000000 0.0000000 0.0000000 -1.0000000 0.0000000 0.0000000 0.0000000 1.0000000";
|
|
text = "Beware of the winds!";
|
|
};
|
|
};
|
|
//--- OBJECT WRITE END ---
|