Balance · 11
Added nanoReclaimSpeed for how fast a builder reclaims normal units, defaulting to nanoRepairSpeed*5.1.
builder reclaim speedAdded resourceReclaimMultiplier for builder resource reclaim speed, defaulting to 1.
resource reclaim multipliernearestUnit() now defaults to a range of 500 instead of 0.
nearestunit default rangeAdded nanoUnbuildSpeed for how fast a builder reclaims incomplete buildings, defaulting to 1.
incomplete building unbuild speedMech minigun health is changed from 800 to 600, shoot stat remains 800.
mech minigun health and shoot statAA beam gunship afterburn is changed from 2.10 to 2.3.
aa beam gunship afterburnAA beam gunship base speed is changed from 0.85 to 1.
aa beam gunship base speedAdded onlyWithZoomLevelOrMore so decals hide when zoomed out past a set level, reducing draw calls.
decal zoom visibility thresholdCombat engineer nanoSpeed is increased from 1.5 to 2.
combat engineer nano speedTesla Mech speed is changed from 0.5 to 0.7 so they can chase down the minigun mech.
tesla mech speedautoTriggerOnEventRecursionLimit is added with default 1, and the newMessage event recursion limit is raised from 1 to 4.
autotriggeroneventrecursionlimit default
Content · 105
Added onlyWhenSelectedByOwnPlayer so a decal draws only when the viewing player is the unit's owner.
decal visibility by own player selectionThe substring function now supports dynamic start and end numbers.
substring dynamic indiceAdded basePosition, basePositionFromLeg and basePositionFromTurret to set the origin a decal draws from.
decal base position sourceAdded height to help placement on 3D-style units.
unit height for placementwhenBuilding_temporarilyConvertTo_keepFields is added so listed fields are not changed when temporarily converting.
whenbuilding_temporarilyconvertto_keepfieldAdded an order float to control draw order with other decals, defaulting to 0 and using ini order.
decal order parametergetOffsetAbsolute() and getOffsetRelative() now support dynamic parameters.
offset functions dynamic parameterAdded optional withTag parameter to tookDamage autoTriggerOnEvent, reading projectile tags.
tookdamage tag filterThe modulus operator in template blocks and setHeight, teleportTo, and transportTargetNow are added.
modulus operator and setheight, teleportto, transporttargetnow actionAdded teamColors to enable team coloring on images and image stacks.
decal team coloringAdded support for modulus in dynamic numbers.
modulus in dynamic numberAdded alsoTriggerOrQueueActionWithTarget to change the target of a triggered action.
alsotriggeraction target overrideAdded self.isInMap(), game.mapWidth() and game.mapHeight().
map bounds logicAdded includeParentsSelection so onlyWhenSelected options also check parent selection.
parent selection check for decalAdded self.maxShield, self.maxEnergy and self.isEnergyRecharging.
max shield and energy logictakeResources_includeReference and setCustomTarget1/2 now support dynamic references.
dynamic references for take resources and custom targetActions to set or add resources using logic expressions are added.
setresourceswithlogic and addresourceswithlogic actionAdded sendMessageTo, sendMessageWithData and sendMessageWithTags, readable via autoTriggerOnEvent newMessage and eventData.
unit messaging actionAdded relative and absolute x/y offsets, height offset, direction offset, and pivot offset parameters for decals.
decal position offsetAdded imageStack, a list of images recommended for voxel-style units since they can be batch drawn from one sprite sheet.
decal image stackA memory(name) logic function is added as a shortcut to read the current unit's memory.
memory functionAdded withActionTag to queueItemAdded and queueItemCancelled in autoTriggerOnEvent.
queue event action tag filterA new Heavy AA Ship unit (by uber) is added.
heavy aa ship unitAdded self.isReversing().
reversing logic functionAdded an aggressiveTeam option to unit spawn.
aggressive team unit spawn optionAdded onlyInPreview so a decal shows only in the sidebar and building placement preview.
decal preview visibilityAdded onlyWhileAlive, defaulting to true for beforeUI layer and false otherwise.
decal visibility while aliveAdded allowCaptureWhenNeutralByAI.
ai neutral captureMany new logic functions are added including maxHp, teamId, x/y/z/dir, priceCredits, distance and squared distance, int, select, debug, str, substring, length, squareRoot, min, max, createMarker, globalSearchForFirstUnit, and null unit.
new logic functionAdded withActionTag parameter to self.queueSize.
queue size tag filterAdded onlyWhenSelectedByAnyPlayer so a decal shows when any player selects the unit.
decal visibility by any selectionA new Spy Drone unit is added that cannot attack, sees further through fog, has decent health and speed, self-repairs, and is built in the T2 air factory.
spy drone unitAdded tags for actions, used with queueSize and queueItemAdded withActionTag filters.
action tagAdded stack_drawInReverseOrder to draw the stack in reverse.
image stack draw orderspawnSource and copyWaypointsFrom parameters are added for unit spawning.
spawnsource and copywaypointsfrom spawn parameterAdded a layer enum for decals with values shadow, beforeBody, afterBody, onTop, beforeUI.
decal render layer optionNautilus can be built from the experimental land factory.
nautilus buildable locationAdded refundAllQueuedItems and removeAllQueuedItemsWithoutRefund booleans.
queued item refund optionDynamic text is supported in text, description, and several message and log fields.
dynamic text supportAdded self.teamDefeatedTech, self.teamWipedOut and self.teamVictory booleans.
team defeat and victory flagAdded cos() and sin() logic booleans and direction and directionBetween logic functions.
trig and direction logic functionfireTurretXAtGround_showGuideDecals is added to render decals while picking a target.
fireturretxatground_showguidedecalAdded array types to memory (bool[], number[], unit[]) with define, set, add, read, contains, delete and shrink operations, capped at 10,000 entries and requiring minVersion 1.15p11.
array memory typeNew takeResources options are added including excludeUnitsWithoutCustomTarget1EqualTo, saveFirstUnitToCustomTarget1/2, triggerActionForEach, searchOnly, and includeReference.
takeresources targeting optionNautilus gains a launch scout bot ability and can build anti-nuke missiles with shorter range and higher cost than normal.
nautilus scout bot ability and anti-nuke missile buildA switchPriceWithStreamingCost boolean is added to convert price to streamingCost, also usable in all-units.template.
switchpricewithstreamingcost shortcutAn id property is added to allow actions to be connected more easily when converting units.
id property for actionA resetUnitStats boolean is added.
resetunitstats booleanAdded rnd(min,max) logic boolean giving a synchronised random float.
synchronised random logicAdded self.speed() returning current unit speed.
unit speed logic functionAdded leg/arm lifting height offset, target height, relative target height and middle image team colors.
leg and arm height and image optionMulti-line values are supported on any key using triple quotes.
multi-line value supportNew blink and speed modules are added to the Modular Spider.
blink and speed moduleAdded lowercase and uppercase string logic functions.
string case logic functionAdded trailEffect and trailEffectRate.
trail effectAdded notOwn to team relation types, e.g. in addWaypoint_target_nearestUnit_team.
notown team relation typeActions to set and swap custom target unit references are added.
setcustomtarget1, setcustomtarget2, and swapcustomtarget1and2 actionAdded numberOfUnitsInAllTeams() logic function.
numberofunitsinallteams logicA readUnitMemory logic function is added to read unit memory by name and type with a default fallback.
readunitmemory functionResource shortcuts like self.resource.credits and self.resource('credits') are added.
resource shortcutcopyFrom now supports CORE:.
core copyfrom supportsetBodyRotation now supports dynamic numbers.
body rotation dynamic numberAdded onlyWhenSelectedByEnemyPlayer so a decal draws only when an enemy selects the unit.
decal visibility by enemy selectionAdded color, a dynamic alpha (0-1) stacking with color alpha, and lineWidth, affecting image and line.
decal color and alphaAdded pivotOffset, which rotates relative keys and child effects, and pivotOffsetRandom.
pivot offset rotationAdded isVisible as a dynamic bool.
decal visibility toggleaddWaypoint_target_fromReference and borrowResourcesWhileBuilt are added.
addwaypoint_target_fromreference and borrowresourceswhilebuiltAdded stack_indexStart and stack_indexCount as dynamic ints; a count of 1 allows using the start index as an image picker.
image stack index selectionA chained unit reference system is added with references such as self, attachment, attacking, lastDamagedBy, parent, activeWaypointTarget, customTarget1, customTarget2, nearestUnit, getAsMarker, getOffsetAbsolute, getOffsetRelative, and thisActionTarget.
unit reference systemA setUnitMemory action is added to set per-unit memory values.
setunitmemory actionconvertTo_keepCurrentFields is added so listed fields are not changed when converting units.
convertto_keepcurrentfieldThe custom: prefix is now optional on effect names.
custom effect name prefixAdded enteredTransport and leftTransport events to autoTriggerOnEvent, with eventSource as the transport.
transport enter and leave eventAdded self.builtAmount() (1 when complete) and self.completed() as a shortcut for checking completion.
unit build progress logicdefineUnitMemory is added to create per-unit custom storage variables.
defineunitmemoryAdded imageScale, imageScaleX and imageScaleY as dynamic floats for scaling decal images.
decal image scalingA shootDelayMultiplier property is added with default 1.
shootdelaymultiplier propertyA setUnitStats action is added allowing dynamic changes to listed unit stat fields with =, +=, and -=.
setunitstats actionAdded drawLineTo to draw a line to a unit or marker, affected by color and width.
decal connecting lineAdded onlyOnNonPreview so a decal shows only on the real unit, not sidebar or action UI.
decal non-preview visibilityA streamingCost property is added that is paid over time while a unit or action is queued or built, pausing when resources run out.
streamingcost resource systemAdded stack_frameOffset.
image stack frame offsetAdded image_shadow with shadowOffsetX and shadowOffsetY.
decal shadow imagecustomTarget1 and customTarget2 are added to all units to store unit references, with customTarget1 defaulting to the creating unit.
customtarget1 and customtarget2 propertyAdded trueGravity that affects heightSpeed, giving acceleration unlike the old gravity.
true gravity for height speedAdded attachmentRemoved to autoTriggerOnEvent.
attachment removed eventshootDamageMultiplier and ignoreParentShootDamageMultiplier properties are added.
shootdamagemultiplier and ignoreparentshootdamagemultiplierTurret T2 and mech factory T2 are added to the Combat engineer build list and it can be built from the experimental land factory.
combat engineer build listAdded onlyTeam, a TeamRelation filter (own, notOwn, neutral, allyNotOwn, ally, enemy, any) controlling when a decal draws.
decal visibility by team relationMods can create resource streaming style systems with customizable layout, display, and image icons for new resources.
custom resource streaming systemAdded thisActionIndex / index for use with alsoTriggerActionRepeat.
action index variableOverrides for each player in multiplayer and advanced skirmish are added, including per-player AI difficulty, starting units, and unit color.
per-player overrideAdded a @memory shortcut in defineUnitMemory to create a single memory variable.
memory shortcutAdded alsoTriggerActionRepeat, a dynamic repeat count with an index for loops and arrays.
repeat alsotriggeractionAdded fireTurretXAtGround_withTarget accepting a unit or marker reference.
turret ground fire with targetAdded self.maxMoveSpeed().
max move speed logic functionAdded total_frames, frame_width, frame_height and a dynamic frame int for sprite sheet frames.
sprite frame sizingA switchToTeam action taking a logic number is added.
switchtoteam actionAdded an image parameter for decals.
decal imageAdded onlyWhileActive so a decal draws only once the unit has been completed.
decal visibility while activeAdded onlyWhenSelectedByAllyNotOwnPlayer so a decal draws only when an allied non-owner selects the unit.
decal visibility by ally selectionAdded stack_hOffset for voxel-style units.
image stack horizontal offsetAdded onlyPlayersWithUnitControl so a decal draws only if the viewing player could control the unit.
decal visibility by unit controlComparison operators and arithmetic operators are supported in logic booleans and number maths.
logic comparison and math operatorAdded eventSource for use with autoTriggerOnEvent; the previous 1.15p1 examples using thisActionTarget are incorrect.
eventsource for autotrigger
Economy · 6
Outpost cost is reduced from $2500 to $1500.
outpost costMissile airship cost is reduced from $4200 to $3900.
missile airship costTesla Mech price is reduced from $5500 to $5200.
tesla mech costCombat engineer cost is reduced from $4500 to $3500.
combat engineer costOutpost T2 upgrade cost is reduced from $3000 to $2000.
outpost t2 upgrade costHeavy anti-air mech cost is reduced from $10,000 to $8500.
heavy anti-air mech cost
System · 11
Dynamic logic for modding is overhauled with new dynamic number, unit, string types, dynamic text, arrays, memory, unit references, messages, and events.
dynamic logicAdded a save logs debug option on Android.
android save logs optionThe host can return all players to the battleroom to set up a new game with the same settings without reconnecting.
return all players to battleroomA new decal drawing system is added for selection interfaces, custom health bars, fake 3D effects, voxel units, and animations.
decal drawing systemLarge mod loading speed-ups on all platforms, especially with heavy copyFrom use, and caching of mod-info.txt data.
mod loading speedRendering on PC with many small units on screen is over 100% faster, running smoothly with 10,000+ units on-screen.
rendering performancePlayers kicked by the host are also IP banned for 1 minute by default.
ip ban on kickRandom logic is more random and a shared random seed is created per match for spawns and resource placement.
random number generationautoTriggerCheckRate is added with every4Frames and every8Frames options to reduce trigger checking cost, with a large performance gain possible.
autotriggercheckrate optionAdded updateUnitMemory as a faster alternative to setUnitMemory, with updateUnitMemoryRate defaulting to 1s.
unit memory update performanceAdded Storage Access Framework on Android for API level 30, changing how files are handled and adding a Quick Reload button in sandbox.
android storage access framework
UI · 16
Added showShotDelayBar, defaulting to true, to hide cooldown on slow firing turrets.
slow turret shot delay barAn indicator is shown on the battlefield when the anti-nuke launcher is empty, visible only to the controlling player.
anti-nuke launcher empty indicatorSearch/filtering by unit title or internal name is added to the sandbox.
sandbox search and filteringAdded displayTextAppendResourceWithGap and appendResourceInHUD_whenThisZero, and displayTextAppendResource now wraps lines too wide for the screen.
resource text spacing and wrappingAdded appendResourceInHUD, displayPrefixInHUD and displayPostfixInHUD to stack and format resources in the HUD.
appended resources in hudAdded alwaysStartDirAtZero and alwaysStartHeightAtZero, useful for UI and air or hover units.
decal ui start behaviourGame history is shown with graphs on the post game win/lose screen.
post game graphAdded showSelectionIndicator.
selection indicatorClearer error message when dynamic logic is used on a static function parameter.
dynamic logic static parameter error messageAdded displayDigitGrouping with none, comma and space options.
digit grouping displayA stats/leaderboard button is added in replays.
replay stats buttonAdded displayColorUseInText, defaulting to true, to show resource color in action descriptions.
resource color in action textMod list filtering options are added and newly added workshop mods are detected and shown with download status.
mods screen filtering and workshop detectionFixed empty color fields in mods showing a confusing error message.
empty color field error messageFixed horizontal scrolling of the multiplayer game list on Android.
multiplayer game list scrolling on androidAdded iconImage, iconImageUseInText, displayNameHideWhenIconShownInText and displayNameHideWhenIconShownInHUD for resource icons in HUD and text.
resource icon display
Fix · 45
globalMessage in map scripts now supports globalMessage_LANG.
globalmessage localizationFixed battleroom on PC when using UI scaling.
battleroom ui scaling on pcFixed a desync bug caused by convertToNeutralIfNotTransporting.
converttoneutralifnottransporting desyncStealthed units can be seen by spectators and in replays.
stealthed unit visibility in replayFixed external custom maps not streaming to other players in multiplayer on Android using SAF.
external custom map streaming on androidFlickering between unit types with whenBuilding_temporarilyConvertTo is fixed.
whenbuilding_temporarilyconvertto flickeringModders are shown warnings if a canNotDirectlyBeAttacked starting unit causes instant defeat.
cannotdirectlybeattacked instant defeat warningbuiltFrom_x_isLocked now works on old style units such as the land factory.
builtfrom islocked on old unitString variables can be set and compared to null.
string variable null handlingFixed ships unloaded underwater staying underwater.
ships unloaded underwaterFixed sendMessageData not having the right scope to access memory and similar.
sendmessagedata scopeunloadUpToXUnitsAndGiveAttackOrder now unloads units at turret location, pending testing.
unloaduptoxunitsandgiveattackorder locationAttempted fixes for audio glitches when many sounds play on some Android devices.
android audio glitchFixed teamTagDetect map trigger throwing a missing team error.
teamtagdetect missing team errorTemporary tags no longer reset on sandbox unit reload.
temporary tags reset on sandbox reloadFixed sandbox replay mode not using modded units.
sandbox replay modded unitFixed cooldowns not showing on actions from showAllActionsFrom.
action cooldowns from showallactionsfromteamColoringMode is fixed when the same image is used with different modes.
teamcoloringmode with shared imageFixed Android dropdown map not picking the right map in battleroom or advanced skirmish.
android dropdown map selectionFixed projectiles passing through units when moving down at high speed.
projectiles passing through unitFixed copyWaypointFrom not working for self with unitsSpawnedOnDeath.
copywaypointfrom with unitsspawnedondeathFixed nearestUnit logic boolean not finding neutral units.
nearestunit neutral detectionGuard order ends if the target is an enemy that becomes stealthed.
guard order on stealthed enemyAdded image_floatingPointSize to fix off-by-one pixel sizing for odd-sized images.
odd-sized image sizingFixed a bug with setCustomTarget2.
setcustomtarget2 bugFixed add/setResourcesWithLogic lowercasing all input.
lowercasing of resource inputFixed delay when spawning many building-type units on map load.
building spawn delay on loadfogOfWarSightRange unit stat changes now refresh fog.
fog refresh on sight range changeTrigger Debug no longer shows on all sandbox tabs.
trigger debug display on sandbox tabFixed custom projectile imageShadow not showing on Android.
custom projectile shadow on androidFixed DPI scaling issue on the Windows 64-bit version.
dpi scaling on 64-bit windowStopped the aggressive neutral team from capturing neutral.
aggressive neutral team capturing neutralFixed building placement guide sometimes showing enemy locations through fog.
building placement guide fog leakFixed crash with showActionsWithMixedSelectionIfOtherUnitsHaveTag used with attack ground UI and differing turret counts.
attack ground ui crashFixed addWaypoint_target_randomUnit missing some targets.
addwaypoint_target_randomunit missing targetqueueItemAdded and queueItemCancelled no longer trigger when an item fails to add or remove.
queueitemadded and queueitemcancelled triggering on failureFixed newlines in ${} static blocks.
newlines in static blockFixed DamagingBorder hurting transported units.
damagingborder transported unit damageFixed unloadUpToXUnitsAndGiveAttackOrder not working well with attachments.
unload attack order with attachmentFixed PC experimental teamshaders for some devices.
pc experimental team shaderFixed reclaiming with the new streaming system allowing resources to be gained.
reclaiming resource gain on streamingFixed crash fixes for Android experimental OpenGL mode.
android opengl crashsendMessageWithData now errors if keys contain spaces.
sendmessagewithdata key validationreadUnitMemory and eventData with a type string now auto-convert non-string data.
memory read type conversionFixed sandbox editor map export on Android when using SAF.
sandbox map export on android


