1.207
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.
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
- Breaking changes:
- Characters mods need updating!
- Their entity container got new components, see game's EntityContainers.sbc at MyObjectBuilder_Character.
- Their entity component got new stats and scripts, see game's EntityComponents.sbc at CharacterStatComponent.
- Collectors got a farm plot harvest raycast that is oriented by the collection box, double-check your custom collector blocks.
- Characters mods need updating!
- New SeedItem item type (PhysicalItems_Food.sbc).
- New definition types:
- Forageable definition (Environment\PhysicalModels_Bushes.sbc, Environment\PhysicalModelCollections.sbc, EntityContainers.sbc).
- HazardExposureComponent definition (Game\SessionComponents.sbc & Game\Game.sbc).
- FoodStat definition, RadiationImmunityStat definition, RadiationStat definition (Stats.sbc)
- New EntityComponents or definitions for them (EntityContainers.sbc & EntityComponents.sbc):
- ConveyorEndpointComponent & definition - this means conveyor network support can now be added to more block types.
- LightingComponent & definition - light and terminal controls.
- FarmPlotLogic, ResourceSourceComponent, ResourceStorageComponent, SubModelComponent and definitions.
- ItemProducerComponent, SolarFoodGeneratorm, NewSolarGameLogicComponent, SolarGameLogicComponent, SolarOccludableComponent and definitions.
- SurvivalBuffsProgression, MaxHealthBuff, WeldingSpeedBuff, GrindingSpeedBuff, MovementSpeedBuff, OxygenConsumptionRateBuff (EntityComponents.sbc & EntityContainers.sbc).
- RandomCargoEntityComponent definition - the component existed before but now it has a definition too.
- DebugScreenSearchCacheDefinition (DebugMenuSearchCache.sbc).
- Character definition got:
- <ReducedOnSpawn> inside each entry for <SuitResourceStorage>.
- <ReducedEnergyOnSpawn>.
- EnvironmentalParticleLogicFireFly was removed entirely from the game code (didn't work to begin with), was used in Environment definition.
- FunctionalBlock type can now be used standalone.
- EntityStat definition got <ReducedOnSpawnValue> (float).
- Configuration definition got 10 tags starting with <Meteor*> (see Configuration.sbc).
- PlanetGenerator definition got <PersistentWeather> (string), <RadiationGain> (float), <RadiationStartHeight> (nullable float), <RadiationEndHeight> (nullable float), <AllowMeteors> (bool), <SolarRadiationProtectionFactor> (float) - all inheritable too.
- Weather definition got <RadiationHazard>, <HealthHazard> and <HazardNotification>, all containing complex data (see WeatherEffects.sbc).
- CubeBlockDefinition (used by all blocks) lost <NavigationDefinition>, <CreateFracturedPieces>, <CompoundEnabled>, <CompoundTemplates>, <MultiBlock>, <SubBlockDefinitions>.
- CubeBlockDefinition's MountPoints got PressurizedWhenClosed attribute.
- Door block definition got <PressurizeCube> (bool).
- PhysicalModel definition (blocks and trees) got <UseInstanceRender> (bool).
- Production blocks (OxygenTank, OxygenGenerator, Assembler, Refinery, SurvivalKit) got <AllowSelfPulling> (bool).
- OxygenGenerator got <CanRefillBottles> (bool).
- Assembler definition got <EnableDisassembly> (bool) and <EnableCooperativeMode> (bool).
- Airvent definition got <LowerLimitLevel> (float).
- ControllerSchemeDefinition got <IsJoystickScheme> (bool), <ControlScheme> (enum: Default, Alternative, GenericJoystick).
- InventoryComponent definition got <CanSend> (bool) and <CanReceive> (bool).
- VoxelMaterial definition's <SpawnsFromMeteorites> no longer does anything.
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 existingList<string> GetTargetingGroups()was marked obsolete. - IMyUpgradableBlock got
FillUpgradesDictionary(Dictionary<string, float>); its existingGetUpgrades(out Dictionary<string, float>)was marked obsolete. - IMyUpgradeModule got
FillUpgradeList(List<MyUpgradeModuleInfo>); its existingGetUpgradeList(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 wheelsAsCylindersparameter.
- 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> ignoredoptional 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.