Author Topic: Map/gamemode/server changes  (Read 1390 times)

I know that now the v21 update is out, there have been a lot of changes. Especially now that all the maps are gone, some v20 gamemodes (unlimited mining, for example) won't work anymore without modification to both the script and the package.

But what all has changed in terms of things like the ground's object ID, mission names, and server info variables?

I can't start the game but I can give you a dump.

PlayerDropPoints skipped because it remains unchanged.

Code: [Select]
   4248,"Sky": Sky
   4249,"Sun": Sun
   4250,"groundPlane": fxPlane
   4251,"PlayerDropPoints": SimGroup (g)
   4253,"DayCycle": fxDayCycle
   4254,"SunLight": fxSunLight
Code: (Sky) [Select]
Member Fields:
  cloudHeight[0] = "0"
  cloudHeight[1] = "0"
  cloudHeight[2] = "0"
  cloudSpeed[0] = "0"
  cloudSpeed[1] = "0"
  cloudSpeed[2] = "0"
  fogColor = "0.950000 0.950000 1.000000 1.000000"
  fogDistance = "500"
  fogStorm1 = "0"
  fogStorm2 = "0"
  fogStorm3 = "0"
  fogVolume1 = "0 0 0"
  fogVolume2 = "-1 1.81585e+025 2.07025e-019"
  fogVolume3 = "-1 1.94348e+031 1.60968e+019"
  fogVolumeColor1 = "128.000000 128.000000 128.000000 16531422305914454000.000000"
  fogVolumeColor2 = "128.000000 128.000000 128.000000 0.000000"
  fogVolumeColor3 = "128.000000 128.000000 128.000000 16386755163001455000.000000"
  materialList = "add-ons/sky_blue2/blue2.dml"
  noRenderBans = "0"
  position = "336 136 0"
  renderBottomTexture = "0"
  rotation = "1 0 0 0"
  scale = "1 1 1"
  skyColor = "1.000000 1.000000 1.000000 1.000000"
  visibleDistance = "900"
  windEffectPrecipitation = "0"
  windVelocity = "0 0 0"
Tagged Fields:
  Wind = "0 0 0"
Methods:
  addScheduledEvent() -
  cancelEvents() -
  clearEvents() -
  clearNTObjectName() -
  clearScopeToClient() - clearScopeToClient(%client)Undo the effects of a scopeToClient() call.
  delete() - obj.delete()
  dump() - obj.dump()
  dumpEvents() -
  getClassName() - obj.getClassName()
  getForwardVector() - Returns a vector indicating the direction this object is facing.
  getGhostID() -
  getGroup() - obj.getGroup()
  getId() - obj.getId()
  getName() - obj.getName()
  getObjectBox() - Returns the bounding box relative to the object's origin.
  getPosition() - Get position of object.
  getScale() - Get scaling as a Point3F.
  getTaggedField() - obj.getTaggedFieldCount(int idx)
  getTransform() - Get transform of object.
  getType() - obj.getType()
  getUpVector() - Returns a vector indicating the relative upward direction of this object.
  getWindVelocity() - ()
  getWorldBox() - Returns six fields, two Point3Fs, containing the min and max points of the worldbox.
  getWorldBoxCenter() - Returns the center of the world bounding box.
  ProcessInputEvent() -
  realFog() - ( bool show, float max, float min, float speed )
  save() - obj.save(fileName, <selectedOnly>)
  schedule() - object.schedule(time, command, <arg1...argN>);
  scopeToClient() - (NetConnection %client)Cause the NetObject to be forced as scoped on the specified NetConnection.
  sendUpdate() - () - send network update
  serializeEvent() -
  serializeEventToString() -
  SetEventEnabled() -
  setName() - obj.setName(newName)
  setNTObjectName() -
  setScale() - (Point3F scale)
  setScopeAlways() - Always scope this object on all connections.
  setTransform() - (Transform T)
  setWindVelocity() - (float x, float y, float z)
  stormClouds() - (bool show, float duration)
  stormCloudsShow() - (bool showClouds)
  stormFog() - (float percent, float duration)
  stormFogShow() - (bool show)
  ToggleEventEnabled() -
Code: (Sky) [Select]
Member Fields:
  ambient = "0.400000 0.400000 0.300000 1.000000"
  azimuth = "250"
  color = "0.700000 0.700000 0.700000 1.000000"
  elevation = "35"
  shadowColor = "0.300000 0.300000 0.400000 1.000000"
Tagged Fields:
Methods:
  addScheduledEvent() -
  cancelEvents() -
  clearEvents() -
  clearNTObjectName() -
  clearScopeToClient() - clearScopeToClient(%client)Undo the effects of a scopeToClient() call.
  delete() - obj.delete()
  dump() - obj.dump()
  dumpEvents() -
  getClassName() - obj.getClassName()
  getGhostID() -
  getGroup() - obj.getGroup()
  getId() - obj.getId()
  getName() - obj.getName()
  getTaggedField() - obj.getTaggedFieldCount(int idx)
  getType() - obj.getType()
  ProcessInputEvent() -
  save() - obj.save(fileName, <selectedOnly>)
  schedule() - object.schedule(time, command, <arg1...argN>);
  scopeToClient() - (NetConnection %client)Cause the NetObject to be forced as scoped on the specified NetConnection.
  sendUpdate() - () - send network update
  serializeEvent() -
  serializeEventToString() -
  SetEventEnabled() -
  setName() - obj.setName(newName)
  setNTObjectName() -
  setScopeAlways() - Always scope this object on all connections.
  ToggleEventEnabled() -
Code: (groundPlane) [Select]
Member Fields:
  additiveBlend = "0"
  blend = "0"
  bottomTexture = "Add-Ons/Ground_TT/cement-pebbled.jpg"
  color = "255 255 255 255"
  colorMultiply = "1"
  isSolid = "1"
  loopsPerUnit = "0.08"
  position = "0 0 -0.5"
  rotation = "1 0 0 0"
  scale = "1 1 1"
  scrollSpeed = "0.000000 0.000000"
  topTexture = "Add-Ons/Ground_TT/cement-pebbled.jpg"
Tagged Fields:
Methods:
  addScheduledEvent() -
  cancelEvents() -
  clearEvents() -
  clearNTObjectName() -
  clearScopeToClient() - clearScopeToClient(%client)Undo the effects of a scopeToClient() call.
  delete() - obj.delete()
  dump() - obj.dump()
  dumpEvents() -
  getClassName() - obj.getClassName()
  getForwardVector() - Returns a vector indicating the direction this object is facing.
  getGhostID() -
  getGroup() - obj.getGroup()
  getId() - obj.getId()
  getName() - obj.getName()
  getObjectBox() - Returns the bounding box relative to the object's origin.
  getPosition() - Get position of object.
  getScale() - Get scaling as a Point3F.
  getTaggedField() - obj.getTaggedFieldCount(int idx)
  getTransform() - Get transform of object.
  getType() - obj.getType()
  getUpVector() - Returns a vector indicating the relative upward direction of this object.
  getWorldBox() - Returns six fields, two Point3Fs, containing the min and max points of the worldbox.
  getWorldBoxCenter() - Returns the center of the world bounding box.
  ProcessInputEvent() -
  save() - obj.save(fileName, <selectedOnly>)
  schedule() - object.schedule(time, command, <arg1...argN>);
  scopeToClient() - (NetConnection %client)Cause the NetObject to be forced as scoped on the specified NetConnection.
  sendUpdate() - () - send network update
  serializeEvent() -
  serializeEventToString() -
  SetEventEnabled() -
  setName() - obj.setName(newName)
  setNTObjectName() -
  setScale() - (Point3F scale)
  setScopeAlways() - Always scope this object on all connections.
  setTransform() - (Transform T)
  ToggleEventEnabled() -
Code: (DayCycle) [Select]
Member Fields:
  dayLength = "300"
  dayOffset = "0"
  position = "0 0 0"
  rotation = "1 0 0 0"
  scale = "1 1 1"
  targetAmbientColor[0] = "113 28 28 255"
  targetAmbientColor[1] = "85 111 72 255"
  targetAmbientColor[2] = "187 230 224 255"
  targetAmbientColor[3] = "155 170 147 255"
  targetAmbientColor[4] = "160 170 118 255"
  targetAmbientColor[5] = "96 105 62 255"
  targetAmbientColor[6] = "126 28 83 255"
  targetAmbientColor[7] = "101 13 13 255"
  targetAmbientColor[8] = "41 0 0 255"
  targetAmbientColor[9] = "36 9 37 255"
  targetAmbientColor[10] = "30 33 41 255"
  targetAmbientColor[11] = "36 9 37 255"
  targetAmbientColor[12] = "150 0 63 255"
  targetAmbientColor[13] = "0 0 0 0"
  targetAmbientColor[14] = "0 0 0 0"
  targetAmbientColor[15] = "0 0 0 0"
  targetAmbientColor[16] = "0 0 0 0"
  targetAmbientColor[17] = "0 0 0 0"
  targetAmbientColor[18] = "0 0 0 0"
  targetAmbientColor[19] = "0 0 0 0"
  targetDirectColor[0] = "87 88 16 255"
  targetDirectColor[1] = "153 158 116 255"
  targetDirectColor[2] = "234 235 219 255"
  targetDirectColor[3] = "173 152 77 255"
  targetDirectColor[4] = "166 131 81 255"
  targetDirectColor[5] = "120 57 21 255"
  targetDirectColor[6] = "102 39 3 255"
  targetDirectColor[7] = "71 26 0 255"
  targetDirectColor[8] = "48 0 58 255"
  targetDirectColor[9] = "0 0 0 255"
  targetDirectColor[10] = "11 3 124 255"
  targetDirectColor[11] = "0 0 0 255"
  targetDirectColor[12] = "23 0 12 255"
  targetDirectColor[13] = "0 0 0 0"
  targetDirectColor[14] = "0 0 0 0"
  targetDirectColor[15] = "0 0 0 0"
  targetDirectColor[16] = "0 0 0 0"
  targetDirectColor[17] = "0 0 0 0"
  targetDirectColor[18] = "0 0 0 0"
  targetDirectColor[19] = "0 0 0 0"
  targetFogColor[0] = "148 58 0 255"
  targetFogColor[1] = "161 187 150 255"
  targetFogColor[2] = "238 243 198 255"
  targetFogColor[3] = "224 225 200 255"
  targetFogColor[4] = "189 189 171 255"
  targetFogColor[5] = "130 138 132 255"
  targetFogColor[6] = "118 67 125 255"
  targetFogColor[7] = "182 28 136 255"
  targetFogColor[8] = "193 0 0 255"
  targetFogColor[9] = "12 22 48 255"
  targetFogColor[10] = "13 14 51 255"
  targetFogColor[11] = "12 22 48 255"
  targetFogColor[12] = "76 0 17 255"
  targetFogColor[13] = "0 0 0 0"
  targetFogColor[14] = "0 0 0 0"
  targetFogColor[15] = "0 0 0 0"
  targetFogColor[16] = "0 0 0 0"
  targetFogColor[17] = "0 0 0 0"
  targetFogColor[18] = "0 0 0 0"
  targetFogColor[19] = "0 0 0 0"
  targetFraction[0] = "0.00614036"
  targetFraction[1] = "0.0576022"
  targetFraction[2] = "0.201462"
  targetFraction[3] = "0.337133"
  targetFraction[4] = "0.434211"
  targetFraction[5] = "0.475147"
  targetFraction[6] = "0.478656"
  targetFraction[7] = "0.500878"
  targetFraction[8] = "0.505556"
  targetFraction[9] = "0.6"
  targetFraction[10] = "0.75"
  targetFraction[11] = "0.85"
  targetFraction[12] = "0.994444"
  targetFraction[13] = "0"
  targetFraction[14] = "0"
  targetFraction[15] = "0"
  targetFraction[16] = "0"
  targetFraction[17] = "0"
  targetFraction[18] = "0"
  targetFraction[19] = "0"
  targetShadowColor[0] = "52 36 113 255"
  targetShadowColor[1] = "39 74 124 255"
  targetShadowColor[2] = "121 195 199 255"
  targetShadowColor[3] = "59 112 119 255"
  targetShadowColor[4] = "43 83 123 255"
  targetShadowColor[5] = "43 44 122 255"
  targetShadowColor[6] = "47 14 129 255"
  targetShadowColor[7] = "43 0 89 255"
  targetShadowColor[8] = "0 7 56 255"
  targetShadowColor[9] = "36 9 37 255"
  targetShadowColor[10] = "4 10 21 255"
  targetShadowColor[11] = "36 9 37 255"
  targetShadowColor[12] = "22 15 50 255"
  targetShadowColor[13] = "0 0 0 0"
  targetShadowColor[14] = "0 0 0 0"
  targetShadowColor[15] = "0 0 0 0"
  targetShadowColor[16] = "0 0 0 0"
  targetShadowColor[17] = "0 0 0 0"
  targetShadowColor[18] = "0 0 0 0"
  targetShadowColor[19] = "0 0 0 0"
  targetSkyColor[0] = "47 16 79 255"
  targetSkyColor[1] = "92 143 176 255"
  targetSkyColor[2] = "154 209 245 255"
  targetSkyColor[3] = "175 189 247 255"
  targetSkyColor[4] = "144 155 203 255"
  targetSkyColor[5] = "86 90 161 255"
  targetSkyColor[6] = "44 48 124 255"
  targetSkyColor[7] = "37 1 85 255"
  targetSkyColor[8] = "0 1 52 255"
  targetSkyColor[9] = "7 0 29 255"
  targetSkyColor[10] = "17 0 32 255"
  targetSkyColor[11] = "7 0 29 255"
  targetSkyColor[12] = "32 0 37 255"
  targetSkyColor[13] = "0 0 0 0"
  targetSkyColor[14] = "0 0 0 0"
  targetSkyColor[15] = "0 0 0 0"
  targetSkyColor[16] = "0 0 0 0"
  targetSkyColor[17] = "0 0 0 0"
  targetSkyColor[18] = "0 0 0 0"
  targetSkyColor[19] = "0 0 0 0"
  targetSunFlareColor[0] = "164 169 84 255"
  targetSunFlareColor[1] = "164 169 84 255"
  targetSunFlareColor[2] = "234 242 120 255"
  targetSunFlareColor[3] = "143 141 61 255"
  targetSunFlareColor[4] = "111 100 9 255"
  targetSunFlareColor[5] = "242 130 40 255"
  targetSunFlareColor[6] = "255 107 0 255"
  targetSunFlareColor[7] = "255 68 14 255"
  targetSunFlareColor[8] = "139 0 0 255"
  targetSunFlareColor[9] = "0 0 0 255"
  targetSunFlareColor[10] = "0 0 0 255"
  targetSunFlareColor[11] = "0 0 0 255"
  targetSunFlareColor[12] = "138 139 35 255"
  targetSunFlareColor[13] = "0 0 0 0"
  targetSunFlareColor[14] = "0 0 0 0"
  targetSunFlareColor[15] = "0 0 0 0"
  targetSunFlareColor[16] = "0 0 0 0"
  targetSunFlareColor[17] = "0 0 0 0"
  targetSunFlareColor[18] = "0 0 0 0"
  targetSunFlareColor[19] = "0 0 0 0"
  targetUseDefaultVector[0] = "0"
  targetUseDefaultVector[1] = "0"
  targetUseDefaultVector[2] = "0"
  targetUseDefaultVector[3] = "0"
  targetUseDefaultVector[4] = "0"
  targetUseDefaultVector[5] = "0"
  targetUseDefaultVector[6] = "0"
  targetUseDefaultVector[7] = "0"
  targetUseDefaultVector[8] = "0"
  targetUseDefaultVector[9] = "0"
  targetUseDefaultVector[10] = "1"
  targetUseDefaultVector[11] = "1"
  targetUseDefaultVector[12] = "0"
  targetUseDefaultVector[13] = "0"
  targetUseDefaultVector[14] = "0"
  targetUseDefaultVector[15] = "0"
  targetUseDefaultVector[16] = "0"
  targetUseDefaultVector[17] = "0"
  targetUseDefaultVector[18] = "0"
  targetUseDefaultVector[19] = "0"
Tagged Fields:
Methods:
  addScheduledEvent() -
  cancelEvents() -
  clearEvents() -
  clearNTObjectName() -
  clearScopeToClient() - clearScopeToClient(%client)Undo the effects of a scopeToClient() call.
  delete() - obj.delete()
  dump() - obj.dump()
  dumpEvents() -
  getClassName() - obj.getClassName()
  getForwardVector() - Returns a vector indicating the direction this object is facing.
  getGhostID() -
  getGroup() - obj.getGroup()
  getId() - obj.getId()
  getName() - obj.getName()
  getObjectBox() - Returns the bounding box relative to the object's origin.
  getPosition() - Get position of object.
  getScale() - Get scaling as a Point3F.
  getTaggedField() - obj.getTaggedFieldCount(int idx)
  getTransform() - Get transform of object.
  getType() - obj.getType()
  getUpVector() - Returns a vector indicating the relative upward direction of this object.
  getWorldBox() - Returns six fields, two Point3Fs, containing the min and max points of the worldbox.
  getWorldBoxCenter() - Returns the center of the world bounding box.
  ProcessInputEvent() -
  save() - obj.save(fileName, <selectedOnly>)
  schedule() - object.schedule(time, command, <arg1...argN>);
  scopeToClient() - (NetConnection %client)Cause the NetObject to be forced as scoped on the specified NetConnection.
  sendUpdate() - ()
  serializeEvent() -
  serializeEventToString() -
  setDayLength() - (int dayLength)
  setDayOffset() - (int dayOffset)
  setEnabled() - (bool val)
  SetEventEnabled() -
  setName() - obj.setName(newName)
  setNTObjectName() -
  setScale() - (Point3F scale)
  setScopeAlways() - Always scope this object on all connections.
  setTransform() - (Transform T)
  ToggleEventEnabled() -
Code: (SunLight) [Select]
Member Fields:
  AnimAzimuth = "0"
  AnimBrightness = "0"
  AnimColor = "0"
  AnimElevation = "0"
  AnimRotation = "0"
  AnimSize = "0"
  AzimuthKeys = "AZ"
  AzimuthTime = "5"
  BlendMode = "0"
  BlueKeys = "AZA"
  Brightness = "1"
  BrightnessKeys = "AZA"
  BrightnessTime = "5"
  color = "0.000000 0.000000 0.000000 1.000000"
  ColorTime = "5"
  ElevationKeys = "AZ"
  ElevationTime = "5"
  Enable = "1"
  FadeTime = "0.1"
  FlareSize = "1"
  FlareTP = "1"
  GreenKeys = "AZA"
  LerpAzimuth = "1"
  LerpBrightness = "1"
  LerpColor = "1"
  LerpElevation = "1"
  LerpRotation = "1"
  LerpSize = "1"
  LinkFlareSize = "0"
  LocalFlareBitmap = "base/lighting/corona.png"
  LockToRealSun = "1"
  MaxAzimuth = "359"
  MaxBrightness = "1"
  MaxColor = "1.000000 1.000000 1.000000 1.000000"
  MaxElevation = "210"
  MaxRotation = "359"
  MaxSize = "1"
  Minational socialistmuth = "0"
  MinBrightness = "0"
  MinColor = "0.000000 0.000000 0.000000 1.000000"
  MinElevation = "-30"
  MinRotation = "0"
  minSize = "0.5"
  position = "0 0 0"
  RedKeys = "AZA"
  RemoteFlareBitmap = "base/lighting/corona.png"
  rotation = "1 0 0 0"
  RotationKeys = "AZA"
  RotationTime = "5"
  scale = "1 1 1"
  SingleColorKeys = "1"
  SizeKeys = "AZA"
  SizeTime = "5"
  Sunational socialistmuth = "0"
  SunElevation = "30"
Tagged Fields:
Methods:
  addScheduledEvent() -
  cancelEvents() -
  clearEvents() -
  clearNTObjectName() -
  clearScopeToClient() - clearScopeToClient(%client)Undo the effects of a scopeToClient() call.
  delete() - obj.delete()
  dump() - obj.dump()
  dumpEvents() -
  getClassName() - obj.getClassName()
  getForwardVector() - Returns a vector indicating the direction this object is facing.
  getGhostID() -
  getGroup() - obj.getGroup()
  getId() - obj.getId()
  getName() - obj.getName()
  getObjectBox() - Returns the bounding box relative to the object's origin.
  getPosition() - Get position of object.
  getScale() - Get scaling as a Point3F.
  getTaggedField() - obj.getTaggedFieldCount(int idx)
  getTransform() - Get transform of object.
  getType() - obj.getType()
  getUpVector() - Returns a vector indicating the relative upward direction of this object.
  getWorldBox() - Returns six fields, two Point3Fs, containing the min and max points of the worldbox.
  getWorldBoxCenter() - Returns the center of the world bounding box.
  ProcessInputEvent() -
  reset() - ()
  save() - obj.save(fileName, <selectedOnly>)
  schedule() - object.schedule(time, command, <arg1...argN>);
  scopeToClient() - (NetConnection %client)Cause the NetObject to be forced as scoped on the specified NetConnection.
  sendUpdate() - () - send network update
  serializeEvent() -
  serializeEventToString() -
  setAzimuthKeys() - (keys)
  setAzimuthTime() - (time)
  setBlendMode() - (mode)
  setBlueKeys() - (keys)
  setBrightnessKeys() - (keys)
  setBrightnessTime() - (time)
  setColorTime() - (time)
  setElevationKeys() - (keys)
  setElevationTime() - (time)
  setEnable() - (status)
  SetEventEnabled() -
  setFadeTime() - (time)
  setFlareBitmaps() - (local, remote)
  setFlareBrightness() - (brightness)
  setFlareColor() - (r,g,b)
  setFlareSize() - (size)
  setFlareTP() - (status)
  setGreenKeys() - (keys)
  setLerpAzimuth() - (status)
  setLerpBrightness() - (status)
  setLerpColor() - (status)
  setLerpElevation() - (status)
  setLerpRotation() - (status)
  setLerpSize() - (status)
  setLinkFlareSize() - (status)
  setMaxAzimuth() - (azimuth)
  setMaxBrightness() - (brightness)
  setMaxColor() - (r,g,b)
  setMaxElevation() - (elevation)
  setMaxRotation() - (rotation)
  setMaxSize() - (size)
  setMinational socialistmuth() - (azimuth)
  setMinBrightness() - (brightness)
  setMinColor() - (r,g,b)
  setMinElevation() - (elevation)
  setMinRotation() - (rotation)
  setMinSize() - (size)
  setName() - obj.setName(newName)
  setNTObjectName() -
  setRedKeys() - (keys)
  setRotationKeys() - (keys)
  setRotationTime() - (time)
  setScale() - (Point3F scale)
  setScopeAlways() - Always scope this object on all connections.
  setSingleColorKeys() - (status)
  setSizeKeys() - (keys)
  setSizeTime() - (time)
  setSunational socialistmuth() - (azimuth)
  setSunElevation() - (elevation)
  setTransform() - (Transform T)
  setUseAzimuth() - (status)
  setUseBrightness() - (status)
  setUseColor() - (status)
  setUseElevation() - (status)
  setUseRotation() - (status)
  setUseSize() - (status)
  ToggleEventEnabled() -

and does the new ground have a typemask?

and does the new ground have a typemask?
Code: [Select]
$TypeMasks::All = "-1";
$TypeMasks::CameraObjectType = "4096";
$TypeMasks::CorpseObjectType = "1048576";
$TypeMasks::DamagableItemObjectType = "268435456";
$TypeMasks::DebrisObjectType = "4194304";
$TypeMasks::EnvironmentObjectType = "2";
$TypeMasks::ExplosionObjectType = "524288";
$TypeMasks::FxBrickAlwaysObjectType = "67108864";
$TypeMasks::FxBrickObjectType = "33554432";
$TypeMasks::GameBaseObjectType = "1024";
$TypeMasks::ItemObjectType = "32768";
$TypeMasks::MarkerObjectType = "64";
$TypeMasks::PhysicalZoneObjectType = "8388608";
$TypeMasks::PlayerObjectType = "16384";
$TypeMasks::ProjectileObjectType = "262144";
$TypeMasks::ShapeBaseObjectType = "2048";
$TypeMasks::StaticObjectType = "1";
$TypeMasks::StaticRenderedObjectType = "134217728";
$TypeMasks::StaticShapeObjectType = "8192";
$TypeMasks::StaticTSObjectType = "16777216";
$TypeMasks::TerrainObjectType = "4";
$TypeMasks::TriggerObjectType = "32";
$TypeMasks::VehicleBlockerObjectType = "131072";
$TypeMasks::VehicleObjectType = "65536";
$TypeMasks::WaterObjectType = "16";

Thank you kalphiter, can someone give me the details on any notable global variables that were added/changed?

Thank you kalphiter, can someone give me the details on any notable global variables that were added/changed?
Do you take entire variable lists?

Do you take entire variable lists?
Err I guess, it would be a good reference.


Code: [Select]
$TypeMasks::All = "-1";
$TypeMasks::CameraObjectType = "4096";
$TypeMasks::CorpseObjectType = "1048576";
$TypeMasks::DamagableItemObjectType = "268435456";
$TypeMasks::DebrisObjectType = "4194304";
$TypeMasks::EnvironmentObjectType = "2";
$TypeMasks::ExplosionObjectType = "524288";
$TypeMasks::FxBrickAlwaysObjectType = "67108864";
$TypeMasks::FxBrickObjectType = "33554432";
$TypeMasks::GameBaseObjectType = "1024";
$TypeMasks::ItemObjectType = "32768";
$TypeMasks::MarkerObjectType = "64";
$TypeMasks::PhysicalZoneObjectType = "8388608";
$TypeMasks::PlayerObjectType = "16384";
$TypeMasks::ProjectileObjectType = "262144";
$TypeMasks::ShapeBaseObjectType = "2048";
$TypeMasks::StaticObjectType = "1";
$TypeMasks::StaticRenderedObjectType = "134217728";
$TypeMasks::StaticShapeObjectType = "8192";
$TypeMasks::StaticTSObjectType = "16777216";
$TypeMasks::TerrainObjectType = "4";
$TypeMasks::TriggerObjectType = "32";
$TypeMasks::VehicleBlockerObjectType = "131072";
$TypeMasks::VehicleObjectType = "65536";
$TypeMasks::WaterObjectType = "16";
So which one is it (if it is one)?

I have no idea, you tell me.

It looks like Badspot forgot.


$i is probably used in some for loop, like %i, except done wrong or something.

$i is probably used in some for loop, like %i, except done wrong or something.

It's actually necessary to do it like that (global variables instead of local variables) in global-scope code on dedicated servers.

It's actually necessary to do it like that (global variables instead of local variables) in global-scope code on dedicated servers.
Interesting, I diddnt know that.

So, $tallestBrick ?

So I PMed Badspot and he said that the plate's typemask is $TypeMasks::TerrainObjectType.