CS2D

Unreal Software · Shooter

CS2D patch notes · Feb 28, 2019

Experiment

CS2D Update 1.0.0.8

What's new in CS2D Update 1.0.0.8: 53 changes to CS2D, released Feb 28, 2019.

Balance · 1

  • The entity limit in maps was increased from 10k to 100k.

    entity limit in map

Content · 23

  • A micsupport parameter was added to the Lua player command to check microphone support.

    micsupport lua player parameter
  • A widescreen parameter was added to the Lua player command (1 for widescreen, 0 for 4:3).

    widescreen lua player parameter
  • Physics with Lua support was added.

    physics with lua support
  • A windowed parameter was added to the Lua player command to check if the game runs in a window.

    windowed lua player parameter
  • A timeleft parameter was added to the Lua game command giving remaining round time in seconds.

    timeleft lua game parameter
  • A new damagetile command was added.

    damagetile command
  • A new Lua hook oncollisionleave was added.

    oncollisionleave lua hook
  • A new Lua hook oncollisionenter was added.

    oncollisionenter lua hook
  • Chainsaw particles now appear when hitting walls or obstacles.

    chainsaw particle
  • A new Lua command hascloseplayers was added to check if any player is within a radius around a point.

    hascloseplayers lua command
  • A new Lua command raycast was added.

    raycast lua command
  • A ®path text tag was added that draws an image in chat.

    path text tag
  • A ticks parameter was added to the Lua game command giving the server tick/refresh rate.

    ticks lua game parameter
  • A language_iso parameter was added to the Lua player command giving the ISO code of the player's language.

    language_iso lua player parameter
  • A new Lua command closeplayers was added to get all players within a radius around a point.

    closeplayers lua command
  • Server leaderboards were added, showing an in-game top 100 rank list accessible via the ESC-menu.

    server leaderboard
  • A new Lua command inPhysicsObject was added.

    inphysicsobject lua command
  • A new connect hook was introduced, triggered when a player starts to connect.

    connect hook
  • A new Lua hook oncollisionhit was added.

    oncollisionhit lua hook
  • A new Lua hook clientsetting was added, triggered when a player changes settings.

    clientsetting lua hook
  • A new Lua hook oncollision was added.

    oncollision lua hook
  • A language parameter was added to the Lua player command giving the player's language.

    language lua player parameter
  • A new Lua hook onhit was added.

    onhit lua hook

Controls · 3

  • addbind now prints a console error if the key does not exist.

    addbind error reporting
  • New mwheeldown and mwheelup addbind keys were added.

    mouse wheel addbind key
  • addbind now returns true only when the bind was added successfully.

    addbind return value

System · 3

  • Quick Play now excludes servers with non-standard mode maps (anything not as/cs/de).

    quick play map mode exclusion
  • The join hook is now called after map loading instead of before.

    join hook timing
  • Quick Play now prefers servers with at least 3 human players, lowering the chance of joining empty servers.

    quick play server preference

UI · 2

  • When sv_specmode changes, the new mode is displayed in the center of the screen.

    sv_specmode display
  • The Quick Play UI was improved.

    quick play ui

Fix · 20

  • Lighting issues occurred when dynamic objects were updated near light sources and this was fixed.

    lighting when dynamic objects update near light source
  • Mouse spectation disappeared after the killcam transition and this was fixed.

    mouse spectation after killcam transition
  • The quake shake effect lasted too long at a low frame rate and this was fixed.

    quake shake effect duration at low frame rate
  • Some Gen_FX and Gen_Weather particles were no longer visible in the map editor and this was fixed.

    gen_fx and gen_weather particle visibility in map editor
  • Decals on walls and obstacles were invisible and this was fixed.

    invisible decals on walls and obstacle
  • Tile FX did not work for 64px tilesets and this was fixed.

    tile fx for 64px tileset
  • The setbackground command did not work properly in most cases and this was fixed.

    setbackground command
  • Lua HTTP requests stopped working after the first failure and this was fixed.

    lua http request stopping after first failure
  • The Lua shieldhit hook crashed when a shield was hit by a turret not built by a player; this was fixed.

    crash when shield hit by non-player turret
  • Pasting text with line breaks broke maps; line breaks and tabs are now stripped when pasting.

    map breaking when pasting text with line break
  • The map background image was invisible in most cases and this was fixed.

    map background image visibility
  • Clients were sometimes able to use wrong maps; a second checksum validation after map loading was added.

    clients using wrong map
  • U.S.G.N avatars were not being downloaded and this was fixed.

    u.s.g.n avatar download
  • The server mod cache did not load properly for clients and this was fixed.

    server mod cache loading for client
  • Bullet shell fade out took too long at a low frame rate and this was fixed.

    bullet shell fade out duration at low frame rate
  • MVP and Assists were not saved properly in the stats/rank system and this was fixed.

    mvp and assists saving in stats/rank system
  • Some tweens did not work properly with more than 32k dynamic objects and this was fixed.

    tweens with over 32k dynamic object
  • The Overwrite option did not work correctly for clients who disabled downloads completely and this was fixed.

    map transfer overwrite option for clients with downloads disabled
  • Tween duration was capped at 65535 ms for all tweens; the cap was removed.

    tween duration cap
  • Using the last tile in a tileset with the settile command did not work and this was fixed.

    settile command with last tileset tile

General · 1

  • An experimental physics mode was added, which may still have bugs and could potentially crash under certain circumstances.

    general