Difference between revisions of "Styctap/Breaking Changes from sty+ct"
From Armagetron
Armanelgtron (talk | contribs) |
Armanelgtron (talk | contribs) |
||
Line 1: | Line 1: | ||
− | [[styctap|<- Back]] | + | <b>[[styctap|<- Back]]</b> |
<h6>Here is an incomplete list of changes that may break some scripts and configurations when coming from sty+ct…</h6> | <h6>Here is an incomplete list of changes that may break some scripts and configurations when coming from sty+ct…</h6> |
Latest revision as of 00:19, 26 April 2023
Here is an incomplete list of changes that may break some scripts and configurations when coming from sty+ct…
- Instead of
PLAYER_ENTERED
, you getPLAYER_ENTERED_GRID
andPLAYER_ENTERED_SPECTATOR
. - PLAYER_GRIDPOS adds additional (rubber and speed) argument(s) before team. Use
STYCT_COMPATIBILITY_LADDERLOG_PLAYER_GRIDPOS 1
to put those arguments after team. - Instead of GRIDPOS_INTERVAL(?) it’s PLAYER_GRIDPOS_INTERVAL. (sidenote: there’s also now a PLAYER_GRIDPOS_ON_TURN if you’d like, though the implementation of it will be improved in the future)
- Depending on how you match events, ONLINE_PLAYER may also match ONLINE_PLAYERS_ALIVE, ONLINE_PLAYERS_COUNT, and ONLINE_PLAYERS_DEAD Workaround:
LADDERLOG_WRITE_ONLINE_PLAYERS_COUNT 0 LADDERLOG_WRITE_ONLINE_PLAYERS_ALIVE 0 LADDERLOG_WRITE_ONLINE_PLAYERS_DEAD 0
- Blast zones kill players
- SPAWN_ZONE uses color arguments out of 15. Use
STYCT_COMPATIBILITY_SPAWN_ZONE 1
to make colors be out of 1 instead of 15. - SET_ZONE_COLOR uses color arguments out of 15. Use
STYCT_COMPATIBILITY_SET_ZONE_COLOR 1
to make colors be out of 1 instead of 15. - ONLINE_PLAYER adds access level and logged in flags before ping, though I don’t think many scripts actually depend on this so it may be moved around in the future…
Also probably worth mentioning, but not necessarily breaking:
- the rate of rubberzones are no longer tied to the current FPS. They’re instead tied to RUBBERZONE_RATE. Something to keep in mind if you changed your DEDICATED_FPS and depend on that for rubber zones, you’ll need to tweak the rate of the rubberzones.
- RESPAWN_PLAYER no longer requires the message flag argument. As of r1134/z2698 It will attempt to auto detect if it is in use, however.