1.207

From Space Engineers Wiki
Jump to navigation Jump to search

Deeper changes relevant to scripters, modders and server admins.

Official patch notes: 1.207

Created by manually analyzing the differences between 1.206.032b1 and 1.207.022.

Page last edited on 2025 December 15 08:18

All sections can affect modAPI too.
For example a new element in a definition noted in SBC section would not also be marked in the ModAPI section.

Servers & Admins

  • All world templates had some changes to their world settings, here's the changes only for StarSystem: enabled wolves, spiders, meteorites (normal), disabled suit respawn, reduced trade factions 15 to 10.
  • Bullet-type flight speeds were doubled (pistols, rifles, gatlings, autocannons and interior turrets).
  • Character oxygen capacity was halved.
  • Meteorites no longer carve craters into voxels.
  • The obsolete NATO_5p56x45mm can no longer be spawned from admin spawn menu.
  • World settings changes:
    • "Environment Hostility" renamed to "Meteor Activity".
    • "Encounter Density" renamed to "Random Encounter Density".
    • EnableStructuralSimulation and MaxActiveFracturePieces were removed.
    • New "Enable Radiation" in Environment (EnableRadiation, default true).
    • New "Solar Radiation Intensity" in Environment (SolarRadiationIntensity, default 0).
    • New "Food Consumption Rate" in Environment (FoodConsumptionRate, default 0.5).
    • New "Enable Survival Buffs" in Players (EnableSurvivalBuffs, default true).
    • New "Enable Reduced Stats" in Players (EnableReducedStatsOnRespawn, default true).
    • New "Reset forageable items" in Trash Removal (ResetForageableItems, default true).
    • New "Reset forageable items time (min)" in Trash Removal (ResetForageableItemsTimeM, default 30).
    • New "Reset forageable items distance (m)" in Trash Removal (ResetForageableItemsDistance, default 3000).

SBC & Art Modding

Programmable Block API

  • No changes to the whitelist (everything that's added is in existing namespaces).
  • New objects:
    • IMyFarmPlotLogic
    • IMyItemProducerComponent
    • IMyLightingComponent
    • IMyResourceStorageComponent
    • IMySolarFoodGenerator
    • IMySolarOccludable
    • IMySurvivalBuffsProgression (character component, cannot be used because PB cannot get character entities)
  • IMyLargeTurretBase and IMyTurretControlBlock got GetTargetingGroups(List<string>); its existing List<string> GetTargetingGroups() was marked obsolete.
  • IMyUpgradableBlock got FillUpgradesDictionary(Dictionary<string, float>); its existing GetUpgrades(out Dictionary<string, float>) was marked obsolete.
  • IMyUpgradeModule got FillUpgradeList(List<MyUpgradeModuleInfo>); its existing GetUpgradeList(out List<MyUpgradeModuleInfo>) was marked obsolete.
  • IMyWindTurbine got WindEffectivity and PlacementEffectivity properties.
  • MyDetectedEntityType got Tree and Forageable values.

Visual Scripting Tool

(Nothing)

Mod API

  • Extra additions in v207.022:
    • MyEntity got virtual IsTransparentForJumpDrive.
  • No changes to the whitelist (everything that's added is in existing namespaces).
  • Official API docs updated (changes).
  • Major changes to character components from Sandbox.Game.Components, MyCharacterComponent is no longer inherited by any of them!
  • New objects:
    • IMyHazardExposureComponent, IMyHazardReceiver, IMyHazardSource, IMyHazardPointSource.
    • IMySurvivalBuff, MyForageableEntity, MyStatLogicFactory, MyUpdatingEntityComponent.
    • MyBlocksPruningStructureComponent (on grids).
  • Various objects regarding compound blocks, multiblocks, havok destruction and prefab throwers were removed, they won't be detailed below.
  • MyDefinitionManager got SetEntityContainerDefinition() (was internal) and GetMeteor*().
  • MyControlsSpace got BUFFS_SHOW_ALL.
  • MyPhysicalMaterialDefinition got static GetPhysicalMaterial().
  • MyPrefabDefinition got Unload().
  • MyExplosions.AddExplosion() now automatically checks global damage permissions and does nothing if disallowed.
  • MyInventory:
    • got TryTransferAll(), TryConsumeItem(), ModifyContentForRifle(), RaiseConsumedEvent().
    • ModifyContent() got bool cloneIsForRestOfStack parameter.
  • MyInventoryBase got AfterModifyFinished event, IsInModifyInventory field and RaiseAfterModifyFinished().
  • MyStatLogic got virtual Update100().
  • MyRenderComponentCharacter and MyRenderComponentSkinnedEntity are now accessible (were internal).
  • MyCharacterStatComponent got LastDamageSoundOverride field.
  • MyCubeBlock:
    • Got events: OnBlockRegisteredToGridSystems, OnBlockModelChange, OnBlockDisableUpdates, OnBlockUpdateVisual, GetIsWorking (with bool return!).
  • MyCubeGrid:
    • Got LastSelectedProductionBlockId field.
    • TestPlacementAreaCubeNoAABBInflate() got bool wheelsAsCylinders parameter.
  • MyEntities.RaiseEntityCreated() now calls MyEntityComponentUpdater.AddEntityComponents() too.
  • MyEntities.FindFreePlace(Vector3D...) got lots of docs and marked obsolete (it calls FindFreePlaceCustom() anyway).
  • MyEntityStat got SetMaxValue() and its existing HasAnyEffect() got IEnumerable<MyEntityStatRegenEffect> ignored optional parameter.
  • MyMeteorShower is now accessible (was internal).
  • MyResourceDistributorComponent got static GetConveyorEndpointBlock() and WaterId field.
  • Various changes that might break things in MyAtmosphereDetectorComponent and MyEntityReverbDetectorComponent.
  • MyLightingLogic got MyLightingLogic(MyFunctionalBlock, IMyLightingComponentDefinition, IMyLightingLogicSync) constructor overload.
  • MySpaceStatEffect got GetAutoHealingEffect().
  • IMyUtilities's world file operations will no longer write to game folder when world is newly created, and IMySession.CurrentPath becomes accurate too.
  • MyDamageType got Hunger and Weather fields.
  • MyParticleEffect got SetElapsedTime().
  • IMyCharacter got CanSprint get&set property, UsingEntity property, SetCharacterSpeedDebuff().
  • IMySession got GetComponentByInterfaceType<T>().
  • IMyControl got GetKeyboardModifier() and GetSecondKeyboardModifier().
  • MyCubeBlockDefinition got IsTurretTargetable() and ClearTargetableCache().
  • MyGridTargeting got PrepareGridGroups(), UpdateGridConnections() and const RaycastGridGroupVisibilityConnection.
  • DictionaryExtensions got List<V> GetWith<V>(this List<List<V>> items, V value).
  • MyConcurrentDictionary got WithExclusiveLock().
  • MemorySafeStringBuilder got a constructor accepting StringBuilder.