Skip to content

TF2Sandbox SaveSystem

Battlefield Duck edited this page Jan 15, 2018 · 3 revisions

How does it work?

Loop all Entity on the map once, get the relevant props and save in a file.


Feature

  • When player dissconnect, server will cache the props until player reconnect.
  • Player can load, save, delete their data slots.
  • Player can load other's projects

ConVar

  • sm_tf2sb_ss_version PLUGIN_VERSION
  • sm_tf2sb_ss_cooldownsec 2 (1 - 50) Set CoolDown seconds to prevent flooding.
  • sm_tf2sb_ss_storeslots 4 (1 - 50) Number of slots for client to save
  • sm_tf2sb_ss_loadmode 1 1 = Load instantly, 2 = Load Props by Timer (Slower but less lag?)
  • sm_tf2sb_ss_loadsec 0.01 (0.01 - 1.00) Load Props/Sec (Work on sm_tf2sb_ss_loadmode 2 only)
  • sm_tf2sb_ss_loadprops 3 (1 - 60) Load Sec/Props (Work on sm_tf2sb_ss_loadmode 2 only)
  • sm_tf2sb_ss_ads 30.0 (10.0 - 60.0) Advertisement loop time
  • sm_tf2sb_ss_mapcheck "" Load map name of the file. (Nothing = Current map)

Commands

  • sm_ss Open SaveSystem menu
  • sm_ssload Usage: sm_ssload <targetname|steamid64> (slot)

Clone this wiki locally