06-2023
Month fact: Spaghettification is the vertical stretching and horizontal compression of objects into long thin shapes in a strong gravitational field, such as the gravitational field near a black hole. Should you find yourself getting spaghettified, your head will get ripped apart from your body.
HUD Groups:
Users can add and modify HUD groups. Each group can have its own HUD elements, position, font, and text color.
Old-style HUD will still be there so everything can still work in the same way.
spt_hud
: When set to 1, displays SPT HUD (old-style HUD). (@evanlin96069)spt_hud_position
: Turns on the position hud. (@evanlin96069)spt_hud_angles
: Turns on the angles hud with more precision. (@evanlin96069)spt_hud_group
: Modifies parameters in a given HUD group. (@evanlin96069)- HUD element:
spt_hud_group <group name|all> add <HUD element> [args]
spt_hud_group <group name|all> remove <index>
spt_hud_group <group name|all> edit <index> <HUD element> [args]
- Display:
spt_hud_group <group name|all> <show|hide|toggle>
- Attributes:
spt_hud_group <group name|all> <x|y|pos|font|textcolor|background> [value]
- HUD element:
spt_hud_group_add
:spt_hud_group_add <group name>
(@evanlin96069)spt_hud_group_remove
:spt_hud_group_remove <group name|all>
(@evanlin96069)
Other additions:
spt_draw_map_overlay
: Draws brushes from other maps, can be used for finding traveling portal wrong warp setups (@evanlin96069)spt_draw_world_collides
&spt_draw_world_collides_mask
(hidden): Draws the piece of the world that the player is looking at, can be used for finding seamshots (@UncraftedName)spt_draw_ent_collides
: Draws (almost) all entity collides, can be used for finding some client/server/vphysics desyncs (@UncraftedName)spt_unload
: Unloads SPT (alternative toplugin_unload <index>
) (@UncraftedName)spt_prevent_snapshot_overflow
: Prevents the snapshot overflow crash in Portal 3420 (@UncraftedName)
Fixes/Improvements:
- Add autocomplete function for
spt_ihud_modify
. (@evanlin96069) - Change HUD callback sort keys to match command names. (@evanlin96069)
spt_hud_flags_filter
now only accept 1 argument. (Sospt_hud_flags_filter onground ducking
will becomespt_hud_flags_filter "onground ducking"
) (@evanlin96069)- Disable
spt_ihud
in BMS (crash). (@evanlin96069) - Datamap fields are now sorted by offset in
spt_datamap_walk
(@UncraftedName ) - Added optional path argument to
spt_reload
(@UncraftedName ) - Fix
spt_saveloads
(@evanlin96069)