Balance · 6
A shootDelayMultiplier option is added, defaulting to 1.
shootdelaymultiplierA nanoReclaimSpeed option is added for builder reclaim speed, defaulting to nanoRepairSpeed*5.1.
nanoreclaimspeedA shootDamageMultiplier field is added, along with ignoreParentShootDamageMultiplier.
shootdamagemultiplierTurret delay and recoil are clamped when changing shootDelayMultiplier with setUnitStats.
turret delay and recoil clampingA nanoUnbuildSpeed option is added for how fast builders reclaim incomplete buildings, defaulting to 1.
nanounbuildspeedA resourceReclaimMultiplier option is added for builder resource reclaim speed, defaulting to 1.
resourcereclaimmultiplier
Content · 11
Added self.isReversing() function.
self.isreversingAdded displayPrefixInHUD to show text before a resource value, replacing the resource name and removing ': ', useful with appendResourceInHUD.
displayprefixinhudA new unit, the Heavy AA Ship, has been added, created by uber.
heavy aa ship unitAdded selfRegenRate to setUnitStats.
selfregenrateAdded onlyIfEmpty option to the unitDetect map trigger.
onlyifemptyAdded support for modulus in dynamic numbers.
modulus supportAdded appendResourceInHUD, which stacks another resource after this one in the HUD using the target resource's colors and icons.
appendresourceinhudAdded displayPostfixInHUD to show text after a resource value.
displaypostfixinhudgetOffsetAbsolute() and getOffsetRelative() now support dynamic parameters.
getoffsetabsolute and getoffsetrelative dynamic parameterAdded showShotDelayBar (default true) to hide the cooldown bar of slow firing turrets.
showshotdelaybarThe substring function now supports dynamic start and end numbers.
substring dynamic start and end
Controls · 1
A warning popup is shown for overlapping key binds on PC.
overlapping key bind warning
System · 68
Added internal storage option on Android so saves, mods and custom maps work without storage permissions.
internal storage option on androidUnit reference functions can be chained, and references self, attachment, attacking, lastDamagedBy, parent, activeWaypointTarget and customTarget1/2 are added.
unit reference chainingtrueGravity is added to affect heightSpeed, giving real acceleration unlike the old gravity.
truegravityResource shortcuts such as self.resource.credits and self.resource('credits') are added.
resource shortcutautoTriggerCheckRate with everyFrame, every4Frames and every8Frames options is added, with lower rates improving performance substantially.
autotriggercheckrateLarge mod loading is faster on all platforms, especially with heavy copyFrom use.
mod loading speed on all platformOverrides are added per player: AI difficulty can differ per AI player, starting units can differ per player for mod faction selection, and unit color can be overridden per player.
per-player overrides in multiplayer and advanced skirmishcustomTarget1 and customTarget2 are added to all units to store unit references, with customTarget1 defaulting to the creating unit.
customtarget1 and customtarget2 on all unitA switchToTeam: {logicNumber} action is added.
switchtoteam actionA self.teamId() function returns the team id of a unit or market, starting at 0 with -1 for neutral.
teamid logic functionsetUnitStats dynamically changes maxHp, hp, maxShield, shield, shieldRegen, maxEnergy, energy, armour, mass, shootDelayMultiplier, moveSpeed, maxAttackRange, shootDamageMultiplier, maxTurnSpeed, fogOfWarSightRange and nanoRange using =, += and -=.
setunitstats actionMulti-line values are supported on any key using triple quotes to start and end.
multi-line valueImporting a changed rwmod file now refreshes data without restarting the game.
rwmod data refresh on importA readUnitMemory(name, type) logic function reads unit memory, returning a default if the memory is missing or the type is wrong.
readunitmemory functionAdded a 'save logs' debug option on Android.
save logs debug option on androidborrowResourcesWhileBuilt is added, applying resource borrowing only once built, useful for houses adding to a unit cap.
borrowresourceswhilebuiltdefineUnitMemory creates custom per-unit storage variables of boolean, float, unit and string types.
defineunitmemoryglobalSearchForFirstUnit(withTag, relation) returns the first unit matching the filter.
globalsearchforfirstunit functionA streamingCost is added for queued actions, pausing the queue when resources run out, with flags to pause and unpause from triggers.
streamingcost for actionThe desktop-only experimental -teamshaders command-line switch uses shaders for team coloring, reducing memory use and first-application lag for mods with large images.
team coloring via shaderNew Android debug option 'saf force on' tests SAF on older Android versions.
saf force on debug optionA resetUnitStats boolean action is added.
resetunitstats actionA self.maxHp() logic function is added.
maxhp logic functionmod-info.txt data is cached to avoid zip extraction for disabled mods, speeding up load times.
mod-info.txt data cachingLogic booleans and numbers support the arithmetic operators + - * /.
logic boolean/number mathNew Android debug option 'saf force off' tests direct access; not recommended.
saf force off debug optionA self.priceCredits() function returns the credits a unit costs.
pricecredits logic functioneventSource is added for autoTriggerOnEvent, replacing thisActionTarget in those examples.
eventsource for autotriggeroneventnull/nullUnit is added as a missing unit for comparisons.
null unit referenceA switchPriceWithStreamingCost option sets streamingCost to the price value and clears price, and can be added to all-units.template to switch a mod to streaming resources.
switchpricewithstreamingcost shortcutcreateMarker(x,y) returns a temporary marker usable as a move or attack reference, automatically removed when unreferenced.
createmarker functionFile reading speed improved.
file reading speedA @memory shortcut is added to define a single memory variable, working better with templates and copyFrom.
@memory shortcutWarnings are shown to modders when a starting unit with canNotDirectlyBeAttacked causes instant defeat.
cannotdirectlybeattacked warningsetResourcesWithLogic and addResourcesWithLogic actions are added to set or add resources using logic expressions.
setresourceswithlogic and addresourceswithlogictakeResources gains options for excluding units without a matching customTarget1 and for saving the first unit to customTarget1 or customTarget2.
takeresources custom target optionfireTurretXAtGround_withTarget is added, taking a unit or marker reference.
fireturretxatground_withtargetreadUnitMemory and eventData with a string type now auto convert non-string data for easier debugging.
readunitmemory and eventdata auto conversionA memory(name) logic function shortcut reads the current unit's defineUnitMemory variables.
memory shortcut functiondistance(x1,y1,x2,y2), distanceSquared, distanceBetween and distanceBetweenSquared logic functions are added, with the squared variants faster.
distance logic functionself.x(), self.y(), self.z() and self.dir() functions return location and direction for units and markers.
position and direction logic functiontakeResources_includeReference unit reference option is added.
takeresources_includereferenceautoTriggerOnEvent tookDamage supports an optional withTag parameter that reads projectile tags.
tookdamage tag filterLogic booleans support the comparison operators ==, !=, <, >, >= and <=, allowing forms like 'if self.energy > 100'.
comparison operators in logic booleanDynamic logic boolean is overhauled with new dynamic number, unit and string types.
dynamic logic boolean typeRendering on PC with many small units on screen is over 100% faster, running smoothly with 10,000+ units on-screen in tests.
rendering performancespawnSource(unitRef) sets spawn location and team, and copyWaypointsFrom(unitRef) copies waypoints to spawned units.
spawnsource and copywaypointsfrom spawn parameterwhenBuilding_temporarilyConvertTo_keepFields keeps listed fields unchanged during temporary conversion.
whenbuilding_temporarilyconvertto_keepfieldsetUnitMemory assigns values to unit memory variables, including string concatenation and unit lookups.
setunitmemoryconvertTo_keepCurrentFields keeps listed fields unchanged when converting a unit.
convertto_keepcurrentfieldgetAsMarker creates a temporary marker at a unit's position, and getOffsetAbsolute and getOffsetRelative return offset markers.
getasmarker and offset functionthisActionTarget is added to reference the action target or event source inside actions, set as a unit, marker or null depending on trigger.
thisactiontarget referenceAdded Storage Access Framework support on Android to meet the API level 30 requirement for Google Play.
storage access framework support on androidA Quick Reload button in sandbox reloads only active units to work around slower SAF performance on Android.
saf sandbox quick reload buttonaddWaypoint_target_fromReference unit reference option is added.
addwaypoint_target_fromreferencepivotOffset is added like dirOffset but also rotates relative keys and child effects, plus pivotOffsetRandom.
pivotoffset and pivotoffsetrandomRandom logic is more random, with a shared random seed per match, and rnd(min,max) is added as a synchronised random float.
random number generationNew Android debug option 'share logs' saves game logs then shows the share popup.
share logs debug optionsendMessageTo, sendMessageWithData and sendMessageWithTags actions are added, read via autoTriggerOnEvent:newMessage and the eventData function.
message and data sendingself.isInMap(), game.mapWidth() and game.mapHeight() functions are added.
isinmap and map size functionAndroid 9 or less reverts to legacy direct access storage to avoid OS bugs and missing file managers.
android storage on version 9 or lessA streamingCost is added that is paid over time while a unit is queued or built, pausing construction or queue when resources run out.
streamingcost mechanicModdable streaming-style resource systems similar to TA and C&C are added.
moddable resource streamingThe modulus operator % is added to ${} template blocks.
modulus operator in template blockNew logic functions int, select, debug, str, substring, length, squareRoot, min, max, lowercase, uppercase, cos, sin, direction and directionBetween are added.
math and string logic functionnearestUnit(withinRange, withTag, relation) searches for a unit, with a default range of 500, slow and not recommended in autoTriggers.
nearestunit searchsetCustomTarget1, setCustomTarget2 and swapCustomTarget1And2 actions are added, plus dynamic logic access to customTarget1 and customTarget2.
custom target setterrefundAllQueuedItems and removeAllQueuedItemsWithoutRefund boolean actions are added.
queue refund and removal action
UI · 13
displayColorUseInText (default true) shows the resource color in action descriptions.
resource color in action descriptionError message for missing thumbnail on Steam workshop upload is clearer.
workshop thumbnail error messageAdded appendResourceInHUD_whenThisZero (default true); false lets appended resources like max values hide along with the parent resource.
appended resource visibility with parentdisplayTextAppendResource now automatically breaks lines that are too wide for the screen.
automatic line breakingError message shown when dynamic logic is used on a static function parameter is clearer.
error message for dynamic logic on static parameterText can embed dynamic values such as %{ self.teamName } and %{ parent.resource('gold') }, supported in text, description, setUnitMemory, showMessageToPlayer, showMessageToAllPlayers, showMessageToAllEnemyPlayers, showQuickWarLogToPlayer, showQuickWarLogToAllPlayers and debugMessage.
dynamic textUnit flags in sandbox debug mode are now human readable.
sandbox debug unit flagProgress popup shows when importing mods on Android, avoiding UI freeze.
mod import progress popup on androidThe minVersion message shows build numbers and the current version.
minversion message in mod-info.txtAdded displayTextAppendResourceWithGap (default false) to add space between unrelated resources placed on the same line.
resource spacingAndroid menu improvements were made.
android menuiconImage shows an image for a resource in the HUD and text, with iconImageUseInText defaulting true, and displayNameHideWhenIconShownInText and displayNameHideWhenIconShownInHUD options to hide names when icons show.
resource icon displayCurrent attachment is shown in sandbox debug mode.
sandbox debug attachment display
Fix · 87
displayWhenZero now works when the player has no custom resources of any type.
displaywhenzero with no custom resourceFixed crash when an import fails to write to the target file.
crash when import fails to write target fileFixed crash when maps have no tiles defined.
crash on maps with no tileFixed rwmod mods with extra folders not being deletable or shareable.
rwmod mods with extra folders deletion/sharingFixed blank screen with Android OpenGL after context loss.
blank screen after android context lossunloadUpToXUnitsAndGiveAttackOrder now unloads units at the turret location, pending testing.
unloaduptoxunitsandgiveattackorder unload locationFixed building placement guide sometimes revealing enemy locations through fog.
building placement guide revealing fogMany crash fixes were made.
multiple crashFixed race condition threading crashes on iOS.
threading race condition on ioFixed a regression crash with builtFrom_x_isLocked when no message is set.
regression crash with builtfrom_x_islockedselfRegenRate in setUnitStats is no longer rounded.
setunitstats selfregenrate roundinggridAlign in spawnUnits is now applied after offsetRandomX/Y instead of before.
spawnunits gridalign orderFixed a desync bug caused by convertToNeutralIfNotTransporting.
desync from converttoneutralifnottransportingEmpty color fields in mods no longer show a confusing error message.
empty color field error messageFixed crash when creating a directory over SAF fails.
crash creating directory over safFixed a bug with setCustomTarget2.
setcustomtarget2 bugFixed issues restoring game rules such as no nuke and income multiplier from save files; old saves load in advanced skirmish as a workaround.
restoring game rules from save fileFixed flickering between unit types with whenBuilding_temporarilyConvertTo.
whenbuilding_temporarilyconvertto flickeringFixed experimental teamshaders for some PC devices.
experimental teamshaders on pcFixed the changeCredits map trigger showing incorrect add/set warnings.
changecredits warningAggressive neutral team no longer captures neutral.
neutral team capturing neutralString variables can now be set and compared to null.
string variable null handlingGuard order ends if the target is an enemy that becomes stealthed.
guard order ending on stealthed enemyFixed threading crashes when reloading mod data on Android.
threading crashes reloading mod data on androidadd/setResourcesWithLogic no longer lowercases all input.
add/setresourceswithlogic input lowercasingCooldowns now show on actions from showAllActionsFrom.
cooldowns on showallactionsfrom actionFixed crash on game start in some cases when replay file creation fails, normally from SAF.
crash on game start when replay creation failFixed appendResourceInHUD icons showing too small.
appendresourceinhud icon sizeFixed crash when importing files fail to send file data on Android.
crash when file send fails on android importFixed teamTagDetect map trigger throwing a missing team error.
teamtagdetect missing team errorFixed external custom maps not streaming to other players in multiplayer on Android with SAF.
external custom maps multiplayer streaming on androidShips unloaded underwater no longer stay underwater.
ships unloaded underwater staying underwaterThese triggers no longer fire when an item fails to add or remove.
queueitemadded and queueitemcancelled triggering on failurebuiltFrom_x_isLocked now works on old style units like the land factory.
builtfrom_x_islocked on old style unitFixed beta bug where save files could not be deleted or renamed on Android in 1.15.
save file deletion and renaming on androidImproved minVersion mod checks, fixing messages and edge cases.
minversion mod checkFixed crash when importing files still downloading in browser.
crash importing files downloading in browserFixed a rare resume crash on Android.
rare resume crash on androidFixed custom projectile imageShadow not showing on Android.
custom projectile imageshadow on androidFixed crash rendering too many circles on iOS.
circle rendering crash on ioTrigger Debug no longer shows on all sandbox tabs.
trigger debug showing on all sandbox tabglobalMessage in map scripts now supports globalMessage_LANG.
globalmessage localizationdisplayPos now works with global resources, defaulting to 0.
displaypos with global resourceFixed v1.15p6 regression that stopped live reloading of textures with the texture atlas.
live texture reloading with texture atlaAttempted fixes for audio glitches when many sounds play on some Android devices.
audio glitches with many sounds on androidFixed rendering of the unit help screen on PC.
unit help screen renderingChanges to fogOfWarSightRange unit stats now refresh fog.
fog refresh on sight range changeFixed some properties of the modular spider unit.
modular spider unit propertyMac OS __MACOSX temp folders are skipped in mod data.
__macosx temp folders in mod dataFixed dropdown map not selecting the right map in battleroom or advanced skirmish on Android in 1.15.
dropdown map selection on androidFixed sandbox replay mode not using modded units.
sandbox replay mode modded unitFixed crash starting game from a save file that fails to be read.
crash starting from unreadable save fileFixed delay when spawning many building type units on map load.
delay spawning building units on map loadFixed attacking unit reference missing in 1.15p1.
attacking unit reference missingFixed a logic boolean type error on first load.
logic boolean type error on first loadFixed UI scaling regression on PC from the last 1.15 beta.
ui scaling regression on pcFixed horizontal scrolling of the multiplayer game list on Android.
multiplayer game list horizontal scrolling on androidFixed deleting and renaming of saves and replays on Android beta.
deleting and renaming saves and replays on androidFixed UI crash with fireTurretXAtGround limits on converted or reloaded units.
crash with fireturretxatground limits on converted unitFixed reclaiming with the new streaming system allowing resources to be gained.
reclaiming resource gain with streamingFixed v1.15p6 regression where the texture atlas caused rendering artifacts.
texture atlas rendering artifacts regressionFixed crash when used with attack ground UI and different numbers of turrets.
crash with showactionswithmixedselectionifotherunitshavetagFixed projectiles passing through units when moving down at high speed.
projectiles passing through units at high speedStealthed units can now be seen by spectators and in replays.
stealthed unit visibility to spectators and replayAn error is now raised if keys in sendMessageWithData contain spaces.
sendmessagewithdata key spaceDamagingBorder no longer hurts transported units.
damagingborder hurting transported unitFixed sandbox editor map export on Android when using SAF.
sandbox map export on android with safImported changed rwmod files now replace existing mods instead of duplicating them under SAF.
saf rwmod import duplicating modFixed addWaypoint_target_randomUnit missing some targets.
addwaypoint_target_randomunit missing targetFixed DPI scaling issue on the 64 bit Windows version.
dpi scaling on 64 bit window versionFixed newlines in ${} static blocks.
newlines in static blockFixed battleroom on PC when using UI scaling.
battleroom with ui scaling on pcDebug language overrides now affect strings like map triggers.
debug language overrides for map triggerFixed mid-path pause when high speed units take a long path.
mid-path pause for high speed unitFixed crash when invalid map thumbnails or images load in the GUI on PC.
crash on invalid map thumbnails on pcFixed crash in the experimental OpenGL renderer on Android.
experimental opengl renderer crash on androidFixed Android screen rotation in OpenGL mode sometimes cutting off half the screen.
android screen rotation half-screen cutoffFixed crash when loading a save file.
crash loading save fileFixed crash when running out of memory creating some bitmaps.
crash creating bitmaps out of memoryTemporary tags are no longer reset on sandbox unit reload.
temporary tags reset on sandbox unit reloadFixed crash when music fails to list an internal folder.
crash loading music internal folderFixed teamColoringMode when the same image is used with different modes.
teamcoloringmode with same imagenearestUnit logic boolean now finds neutral units.
nearestunit neutral units detectionFixed crash when maps have invalid float properties.
crash on invalid map float propertyCrash fixes for Android experimental OpenGL mode.
crashes in android experimental opengl modesendMessageData now has the right scope to access things like memory.
sendmessagedata scopedisplayWhenZero now shows for resources that haven't been used yet.
displaywhenzero for unused resource


