CS2D

Unreal Software · Shooter

CS2D patch notes · Sep 7, 2019

Experiment

CS2D 1.0.0.9

What's new in CS2D 1.0.0.9: 18 changes to CS2D, released Sep 7, 2019.

Content · 6

  • Added a tilesize parameter to the Lua map command returning the tile size of the current map (32 or 64).

    tilesize map parameter
  • Added a maptimeleft parameter to the Lua game command returning remaining map time in seconds.

    maptimeleft game parameter
  • Added a Lua hook that fires when an item is being faded out.

    itemfadeout lua hook
  • Added a Lua command for constant frame animation of spritesheet images.

    tween_animate lua command
  • Added a Lua command that gets the property value for a tile frame in the tileset.

    tileproperty lua command
  • Added an alpha parameter to imageparam and object Lua commands returning alpha transparency.

    alpha parameter for imageparam and object command

System · 3

  • The hudtxt/hudtxt2 ID limit was raised from 50 to 200 (IDs 0-199).

    hudtxt id limit
  • The string length limit for some commands was raised to 400 characters.

    string length limit
  • The name Lua hook behavior was improved for delayed player name changes.

    name lua hook delayed name change

Fix · 8

  • Steam bans were not saved properly and have been fixed.

    steam ban saving
  • Some commands had issues when exceeding the 255-character string limit; fixed.

    string length limit handling in command
  • The Lua command tween_rotateconstantly did not work properly with very low speed values; fixed.

    tween_rotateconstantly at low speed
  • The killplayer command crashed when given no or a bad player ID parameter; fixed.

    crash with killplayer command
  • USGN bans were also being saved as Steam bans; this has been fixed.

    usgn ban saving
  • English map voting localization incorrectly said 'sever' instead of 'server'; fixed.

    english map voting localization
  • Starting a server via commandline set the map to an empty string when no map was given in arguments; fixed.

    commandline server map setting
  • Using the Lua tween_frame command on dedicated servers caused a crash; fixed.

    crash on dedicated servers with tween_frame

General · 1

  • The cursors.lua example was updated to use the player command instead of the deprecated reqcld approach.

    general