Rusted Warfare - RTS

Strategy

Rusted Warfare - RTS patch notes · Nov 12, 2022

Experiment

Rusted Warfare Major Update 1.15

What's new in Rusted Warfare Major Update 1.15: 194 changes to Rusted Warfare - RTS, released Nov 12, 2022.

Balance · 11

  • Added nanoReclaimSpeed for how fast a builder reclaims normal units, defaulting to nanoRepairSpeed*5.1.

    builder reclaim speed
  • Added resourceReclaimMultiplier for builder resource reclaim speed, defaulting to 1.

    resource reclaim multiplier
  • nearestUnit() now defaults to a range of 500 instead of 0.

    nearestunit default range
  • Added nanoUnbuildSpeed for how fast a builder reclaims incomplete buildings, defaulting to 1.

    incomplete building unbuild speed
  • Mech minigun health is changed from 800 to 600, shoot stat remains 800.

    mech minigun health and shoot stat
  • AA beam gunship afterburn is changed from 2.10 to 2.3.

    aa beam gunship afterburn
  • AA beam gunship base speed is changed from 0.85 to 1.

    aa beam gunship base speed
  • Added onlyWithZoomLevelOrMore so decals hide when zoomed out past a set level, reducing draw calls.

    decal zoom visibility threshold
  • Combat engineer nanoSpeed is increased from 1.5 to 2.

    combat engineer nano speed
  • Tesla Mech speed is changed from 0.5 to 0.7 so they can chase down the minigun mech.

    tesla mech speed
  • autoTriggerOnEventRecursionLimit 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 selection
  • The substring function now supports dynamic start and end numbers.

    substring dynamic indice
  • Added basePosition, basePositionFromLeg and basePositionFromTurret to set the origin a decal draws from.

    decal base position source
  • Added height to help placement on 3D-style units.

    unit height for placement
  • whenBuilding_temporarilyConvertTo_keepFields is added so listed fields are not changed when temporarily converting.

    whenbuilding_temporarilyconvertto_keepfield
  • Added an order float to control draw order with other decals, defaulting to 0 and using ini order.

    decal order parameter
  • getOffsetAbsolute() and getOffsetRelative() now support dynamic parameters.

    offset functions dynamic parameter
  • Added optional withTag parameter to tookDamage autoTriggerOnEvent, reading projectile tags.

    tookdamage tag filter
  • The modulus operator in template blocks and setHeight, teleportTo, and transportTargetNow are added.

    modulus operator and setheight, teleportto, transporttargetnow action
  • Added teamColors to enable team coloring on images and image stacks.

    decal team coloring
  • Added support for modulus in dynamic numbers.

    modulus in dynamic number
  • Added alsoTriggerOrQueueActionWithTarget to change the target of a triggered action.

    alsotriggeraction target override
  • Added self.isInMap(), game.mapWidth() and game.mapHeight().

    map bounds logic
  • Added includeParentsSelection so onlyWhenSelected options also check parent selection.

    parent selection check for decal
  • Added self.maxShield, self.maxEnergy and self.isEnergyRecharging.

    max shield and energy logic
  • takeResources_includeReference and setCustomTarget1/2 now support dynamic references.

    dynamic references for take resources and custom target
  • Actions to set or add resources using logic expressions are added.

    setresourceswithlogic and addresourceswithlogic action
  • Added sendMessageTo, sendMessageWithData and sendMessageWithTags, readable via autoTriggerOnEvent newMessage and eventData.

    unit messaging action
  • Added relative and absolute x/y offsets, height offset, direction offset, and pivot offset parameters for decals.

    decal position offset
  • Added imageStack, a list of images recommended for voxel-style units since they can be batch drawn from one sprite sheet.

    decal image stack
  • A memory(name) logic function is added as a shortcut to read the current unit's memory.

    memory function
  • Added withActionTag to queueItemAdded and queueItemCancelled in autoTriggerOnEvent.

    queue event action tag filter
  • A new Heavy AA Ship unit (by uber) is added.

    heavy aa ship unit
  • Added self.isReversing().

    reversing logic function
  • Added an aggressiveTeam option to unit spawn.

    aggressive team unit spawn option
  • Added onlyInPreview so a decal shows only in the sidebar and building placement preview.

    decal preview visibility
  • Added onlyWhileAlive, defaulting to true for beforeUI layer and false otherwise.

    decal visibility while alive
  • Added allowCaptureWhenNeutralByAI.

    ai neutral capture
  • Many 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 function
  • Added withActionTag parameter to self.queueSize.

    queue size tag filter
  • Added onlyWhenSelectedByAnyPlayer so a decal shows when any player selects the unit.

    decal visibility by any selection
  • A 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 unit
  • Added tags for actions, used with queueSize and queueItemAdded withActionTag filters.

    action tag
  • Added stack_drawInReverseOrder to draw the stack in reverse.

    image stack draw order
  • spawnSource and copyWaypointsFrom parameters are added for unit spawning.

    spawnsource and copywaypointsfrom spawn parameter
  • Added a layer enum for decals with values shadow, beforeBody, afterBody, onTop, beforeUI.

    decal render layer option
  • Nautilus can be built from the experimental land factory.

    nautilus buildable location
  • Added refundAllQueuedItems and removeAllQueuedItemsWithoutRefund booleans.

    queued item refund option
  • Dynamic text is supported in text, description, and several message and log fields.

    dynamic text support
  • Added self.teamDefeatedTech, self.teamWipedOut and self.teamVictory booleans.

    team defeat and victory flag
  • Added cos() and sin() logic booleans and direction and directionBetween logic functions.

    trig and direction logic function
  • fireTurretXAtGround_showGuideDecals is added to render decals while picking a target.

    fireturretxatground_showguidedecal
  • Added 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 type
  • New takeResources options are added including excludeUnitsWithoutCustomTarget1EqualTo, saveFirstUnitToCustomTarget1/2, triggerActionForEach, searchOnly, and includeReference.

    takeresources targeting option
  • Nautilus 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 build
  • A switchPriceWithStreamingCost boolean is added to convert price to streamingCost, also usable in all-units.template.

    switchpricewithstreamingcost shortcut
  • An id property is added to allow actions to be connected more easily when converting units.

    id property for action
  • A resetUnitStats boolean is added.

    resetunitstats boolean
  • Added rnd(min,max) logic boolean giving a synchronised random float.

    synchronised random logic
  • Added self.speed() returning current unit speed.

    unit speed logic function
  • Added leg/arm lifting height offset, target height, relative target height and middle image team colors.

    leg and arm height and image option
  • Multi-line values are supported on any key using triple quotes.

    multi-line value support
  • New blink and speed modules are added to the Modular Spider.

    blink and speed module
  • Added lowercase and uppercase string logic functions.

    string case logic function
  • Added trailEffect and trailEffectRate.

    trail effect
  • Added notOwn to team relation types, e.g. in addWaypoint_target_nearestUnit_team.

    notown team relation type
  • Actions to set and swap custom target unit references are added.

    setcustomtarget1, setcustomtarget2, and swapcustomtarget1and2 action
  • Added numberOfUnitsInAllTeams() logic function.

    numberofunitsinallteams logic
  • A readUnitMemory logic function is added to read unit memory by name and type with a default fallback.

    readunitmemory function
  • Resource shortcuts like self.resource.credits and self.resource('credits') are added.

    resource shortcut
  • copyFrom now supports CORE:.

    core copyfrom support
  • setBodyRotation now supports dynamic numbers.

    body rotation dynamic number
  • Added onlyWhenSelectedByEnemyPlayer so a decal draws only when an enemy selects the unit.

    decal visibility by enemy selection
  • Added color, a dynamic alpha (0-1) stacking with color alpha, and lineWidth, affecting image and line.

    decal color and alpha
  • Added pivotOffset, which rotates relative keys and child effects, and pivotOffsetRandom.

    pivot offset rotation
  • Added isVisible as a dynamic bool.

    decal visibility toggle
  • addWaypoint_target_fromReference and borrowResourcesWhileBuilt are added.

    addwaypoint_target_fromreference and borrowresourceswhilebuilt
  • Added stack_indexStart and stack_indexCount as dynamic ints; a count of 1 allows using the start index as an image picker.

    image stack index selection
  • A 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 system
  • A setUnitMemory action is added to set per-unit memory values.

    setunitmemory action
  • convertTo_keepCurrentFields is added so listed fields are not changed when converting units.

    convertto_keepcurrentfield
  • The custom: prefix is now optional on effect names.

    custom effect name prefix
  • Added enteredTransport and leftTransport events to autoTriggerOnEvent, with eventSource as the transport.

    transport enter and leave event
  • Added self.builtAmount() (1 when complete) and self.completed() as a shortcut for checking completion.

    unit build progress logic
  • defineUnitMemory is added to create per-unit custom storage variables.

    defineunitmemory
  • Added imageScale, imageScaleX and imageScaleY as dynamic floats for scaling decal images.

    decal image scaling
  • A shootDelayMultiplier property is added with default 1.

    shootdelaymultiplier property
  • A setUnitStats action is added allowing dynamic changes to listed unit stat fields with =, +=, and -=.

    setunitstats action
  • Added drawLineTo to draw a line to a unit or marker, affected by color and width.

    decal connecting line
  • Added onlyOnNonPreview so a decal shows only on the real unit, not sidebar or action UI.

    decal non-preview visibility
  • A 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 system
  • Added stack_frameOffset.

    image stack frame offset
  • Added image_shadow with shadowOffsetX and shadowOffsetY.

    decal shadow image
  • customTarget1 and customTarget2 are added to all units to store unit references, with customTarget1 defaulting to the creating unit.

    customtarget1 and customtarget2 property
  • Added trueGravity that affects heightSpeed, giving acceleration unlike the old gravity.

    true gravity for height speed
  • Added attachmentRemoved to autoTriggerOnEvent.

    attachment removed event
  • shootDamageMultiplier and ignoreParentShootDamageMultiplier properties are added.

    shootdamagemultiplier and ignoreparentshootdamagemultiplier
  • Turret 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 list
  • Added onlyTeam, a TeamRelation filter (own, notOwn, neutral, allyNotOwn, ally, enemy, any) controlling when a decal draws.

    decal visibility by team relation
  • Mods can create resource streaming style systems with customizable layout, display, and image icons for new resources.

    custom resource streaming system
  • Added thisActionIndex / index for use with alsoTriggerActionRepeat.

    action index variable
  • Overrides for each player in multiplayer and advanced skirmish are added, including per-player AI difficulty, starting units, and unit color.

    per-player override
  • Added a @memory shortcut in defineUnitMemory to create a single memory variable.

    memory shortcut
  • Added alsoTriggerActionRepeat, a dynamic repeat count with an index for loops and arrays.

    repeat alsotriggeraction
  • Added fireTurretXAtGround_withTarget accepting a unit or marker reference.

    turret ground fire with target
  • Added self.maxMoveSpeed().

    max move speed logic function
  • Added total_frames, frame_width, frame_height and a dynamic frame int for sprite sheet frames.

    sprite frame sizing
  • A switchToTeam action taking a logic number is added.

    switchtoteam action
  • Added an image parameter for decals.

    decal image
  • Added onlyWhileActive so a decal draws only once the unit has been completed.

    decal visibility while active
  • Added onlyWhenSelectedByAllyNotOwnPlayer so a decal draws only when an allied non-owner selects the unit.

    decal visibility by ally selection
  • Added stack_hOffset for voxel-style units.

    image stack horizontal offset
  • Added onlyPlayersWithUnitControl so a decal draws only if the viewing player could control the unit.

    decal visibility by unit control
  • Comparison operators and arithmetic operators are supported in logic booleans and number maths.

    logic comparison and math operator
  • Added 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 cost
  • Missile airship cost is reduced from $4200 to $3900.

    missile airship cost
  • Tesla Mech price is reduced from $5500 to $5200.

    tesla mech cost
  • Combat engineer cost is reduced from $4500 to $3500.

    combat engineer cost
  • Outpost T2 upgrade cost is reduced from $3000 to $2000.

    outpost t2 upgrade cost
  • Heavy 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 logic
  • Added a save logs debug option on Android.

    android save logs option
  • The host can return all players to the battleroom to set up a new game with the same settings without reconnecting.

    return all players to battleroom
  • A new decal drawing system is added for selection interfaces, custom health bars, fake 3D effects, voxel units, and animations.

    decal drawing system
  • Large mod loading speed-ups on all platforms, especially with heavy copyFrom use, and caching of mod-info.txt data.

    mod loading speed
  • Rendering on PC with many small units on screen is over 100% faster, running smoothly with 10,000+ units on-screen.

    rendering performance
  • Players kicked by the host are also IP banned for 1 minute by default.

    ip ban on kick
  • Random logic is more random and a shared random seed is created per match for spawns and resource placement.

    random number generation
  • autoTriggerCheckRate is added with every4Frames and every8Frames options to reduce trigger checking cost, with a large performance gain possible.

    autotriggercheckrate option
  • Added updateUnitMemory as a faster alternative to setUnitMemory, with updateUnitMemoryRate defaulting to 1s.

    unit memory update performance
  • Added 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 bar
  • An indicator is shown on the battlefield when the anti-nuke launcher is empty, visible only to the controlling player.

    anti-nuke launcher empty indicator
  • Search/filtering by unit title or internal name is added to the sandbox.

    sandbox search and filtering
  • Added displayTextAppendResourceWithGap and appendResourceInHUD_whenThisZero, and displayTextAppendResource now wraps lines too wide for the screen.

    resource text spacing and wrapping
  • Added appendResourceInHUD, displayPrefixInHUD and displayPostfixInHUD to stack and format resources in the HUD.

    appended resources in hud
  • Added alwaysStartDirAtZero and alwaysStartHeightAtZero, useful for UI and air or hover units.

    decal ui start behaviour
  • Game history is shown with graphs on the post game win/lose screen.

    post game graph
  • Added showSelectionIndicator.

    selection indicator
  • Clearer error message when dynamic logic is used on a static function parameter.

    dynamic logic static parameter error message
  • Added displayDigitGrouping with none, comma and space options.

    digit grouping display
  • A stats/leaderboard button is added in replays.

    replay stats button
  • Added displayColorUseInText, defaulting to true, to show resource color in action descriptions.

    resource color in action text
  • Mod list filtering options are added and newly added workshop mods are detected and shown with download status.

    mods screen filtering and workshop detection
  • Fixed empty color fields in mods showing a confusing error message.

    empty color field error message
  • Fixed horizontal scrolling of the multiplayer game list on Android.

    multiplayer game list scrolling on android
  • Added 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 localization
  • Fixed battleroom on PC when using UI scaling.

    battleroom ui scaling on pc
  • Fixed a desync bug caused by convertToNeutralIfNotTransporting.

    converttoneutralifnottransporting desync
  • Stealthed units can be seen by spectators and in replays.

    stealthed unit visibility in replay
  • Fixed external custom maps not streaming to other players in multiplayer on Android using SAF.

    external custom map streaming on android
  • Flickering between unit types with whenBuilding_temporarilyConvertTo is fixed.

    whenbuilding_temporarilyconvertto flickering
  • Modders are shown warnings if a canNotDirectlyBeAttacked starting unit causes instant defeat.

    cannotdirectlybeattacked instant defeat warning
  • builtFrom_x_isLocked now works on old style units such as the land factory.

    builtfrom islocked on old unit
  • String variables can be set and compared to null.

    string variable null handling
  • Fixed ships unloaded underwater staying underwater.

    ships unloaded underwater
  • Fixed sendMessageData not having the right scope to access memory and similar.

    sendmessagedata scope
  • unloadUpToXUnitsAndGiveAttackOrder now unloads units at turret location, pending testing.

    unloaduptoxunitsandgiveattackorder location
  • Attempted fixes for audio glitches when many sounds play on some Android devices.

    android audio glitch
  • Fixed teamTagDetect map trigger throwing a missing team error.

    teamtagdetect missing team error
  • Temporary tags no longer reset on sandbox unit reload.

    temporary tags reset on sandbox reload
  • Fixed sandbox replay mode not using modded units.

    sandbox replay modded unit
  • Fixed cooldowns not showing on actions from showAllActionsFrom.

    action cooldowns from showallactionsfrom
  • teamColoringMode is fixed when the same image is used with different modes.

    teamcoloringmode with shared image
  • Fixed Android dropdown map not picking the right map in battleroom or advanced skirmish.

    android dropdown map selection
  • Fixed projectiles passing through units when moving down at high speed.

    projectiles passing through unit
  • Fixed copyWaypointFrom not working for self with unitsSpawnedOnDeath.

    copywaypointfrom with unitsspawnedondeath
  • Fixed nearestUnit logic boolean not finding neutral units.

    nearestunit neutral detection
  • Guard order ends if the target is an enemy that becomes stealthed.

    guard order on stealthed enemy
  • Added image_floatingPointSize to fix off-by-one pixel sizing for odd-sized images.

    odd-sized image sizing
  • Fixed a bug with setCustomTarget2.

    setcustomtarget2 bug
  • Fixed add/setResourcesWithLogic lowercasing all input.

    lowercasing of resource input
  • Fixed delay when spawning many building-type units on map load.

    building spawn delay on load
  • fogOfWarSightRange unit stat changes now refresh fog.

    fog refresh on sight range change
  • Trigger Debug no longer shows on all sandbox tabs.

    trigger debug display on sandbox tab
  • Fixed custom projectile imageShadow not showing on Android.

    custom projectile shadow on android
  • Fixed DPI scaling issue on the Windows 64-bit version.

    dpi scaling on 64-bit window
  • Stopped the aggressive neutral team from capturing neutral.

    aggressive neutral team capturing neutral
  • Fixed building placement guide sometimes showing enemy locations through fog.

    building placement guide fog leak
  • Fixed crash with showActionsWithMixedSelectionIfOtherUnitsHaveTag used with attack ground UI and differing turret counts.

    attack ground ui crash
  • Fixed addWaypoint_target_randomUnit missing some targets.

    addwaypoint_target_randomunit missing target
  • queueItemAdded and queueItemCancelled no longer trigger when an item fails to add or remove.

    queueitemadded and queueitemcancelled triggering on failure
  • Fixed newlines in ${} static blocks.

    newlines in static block
  • Fixed DamagingBorder hurting transported units.

    damagingborder transported unit damage
  • Fixed unloadUpToXUnitsAndGiveAttackOrder not working well with attachments.

    unload attack order with attachment
  • Fixed PC experimental teamshaders for some devices.

    pc experimental team shader
  • Fixed reclaiming with the new streaming system allowing resources to be gained.

    reclaiming resource gain on streaming
  • Fixed crash fixes for Android experimental OpenGL mode.

    android opengl crash
  • sendMessageWithData now errors if keys contain spaces.

    sendmessagewithdata key validation
  • readUnitMemory and eventData with a type string now auto-convert non-string data.

    memory read type conversion
  • Fixed sandbox editor map export on Android when using SAF.

    sandbox map export on android