Releases: MattJeanes/TARDIS
Release 2022.2.1 (HotFix)
Pull Request: #635
Changelog:
- Fixed templates rotation and offset causing errors
- Fixed CustomTips not rotating inside a template
- Fixed tardis2_debug_pointer with no physics entity
Release 2022.2.0
Pull Request: #613
Included Pull Requests:
Fixed issues:
Changelog:
Headline features:
Time distortion generator ("TDG") [#609, fixes #122]
- A separate entity, can be toggled by clicking
- Has a delay before activation, can be permanently broken by any dealt damage
- Floats when active
- Creates lots of trouble according to different condition-dependent scenarios
- a TDG anywhere in the world prevents all TARDISes from landing nearby, causes "failed mat"
- failed mat in the vortex makes the TARDIS to stay in the vortex
- failed mat with disabled vortex flight makes it bounce back to the place it came from
- a TDG outside the TARDIS prevents it from dematerialising
- a force demat (with engine release) is possible, and makes the closest TDGs explode
- a TDG inside the TARDIS makes every attempt to teleport broken
- force demat with all effects happens every time
- each teleport's coordinates are random
- some tips have mistakes in them
- if TDGs are inside and outside at the same time, teleporting is blocked completely
- a TDG anywhere in the world prevents all TARDISes from landing nearby, causes "failed mat"
Enhanced context menu in spawnmenu, interior versions and custom interior settings: [#610 #619]
- Ability to select favorite TARDISes
- After a reload, they will appear at the top of the spawnmenu list
- Allowed to exclude TARDISes from redecoration
- Added a TT Capsule version of "default" interior
- Extension creators will be able to add:
- Separate "classic doors" and "double doors" versions
- the preferred type is configurable in settings
- Additional versions
- the preferred version can be configured for each interior
- versions can be randomised
- Interior-specific settings [#462]
- each interior might have its own settings
- Separate "classic doors" and "double doors" versions
- "default interior" setting has been completely removed
Changes:
HADS improvements:
- HADS is triggered when a player lifts the TARDIS with a physgun [#614 #559]
- HADS rematerialises the TARDIS at random position after a random delay [#369]
- A new use-case for finding the TARDIS according to sonic sounds
Music
- Made music networked (others can hear it!) [#608 #322]
- A setting defines whether music stops when you leave the TARDIS
- If not, music doesn't stop during redecoration [#595]
Tips
- Reduced the size of tip frames [#607]
Third person control
- To open third person while clicking at the console, you now have to press "walk key" ("alt" by default) [#605 #596 #184]
- This only applies to default consoles
- This can be disabled
- This is intended to avoid accidental clicks on non-existent parts
Sounds
- Added multiple damage sounds for the interior [#621]
- Sounds are different for different damage types
- Added a separate death sound
- The teleport sounds stop when the teleport is interrupted (e.g. by handbrake) [#607 #518]
Default interior
- Fixed the gap under the door frame [#606 #508]
- Added sounds for some parts
- Replaced some button parts with levers
- Removed failed demat sound of the exterior (it's the same one inside and outside now)
Other:
- Added support for winter skins [#581]
- Extension creators will be able to configure which skins have snow in them
- Those skins will not spawn randomly
- Can be enabled in the settings (for snowy maps etc.)
Fixes:
- Fixed the collision of classic doors (forcing the player to be teleported to fallback each time)
- Fixed flight speed and spin waiting for interior doors to close
- Fixed part-assigned tips being shown when the parts don't exist
- Guests will not respawn in the TARDIS if they die in it [#580]
- When the TARDIS gets into the vortex, its position changes [#623]
- You can no longer return to the previous location by undoing the TARDIS in the vortex [#533]
- This fixes the bug of parts of the world sometimes being seen in the vortex
- Fixed the broken remat sound played during redecoration [#594]
Internal changes:
- created
ent:Timer()
function for the exterior and interior- should replace laggy/unreliable
timer.Simple()
- usage:
ent:Timer(unique_name_id, delay_in_seconds, function_to_do)
- should replace laggy/unreliable
- (*) Allowed to unite interiors into versions of one [#610]
- (*) Allowed to add custom versions to other people's TARDISes
- (*) Added interior templates [#610]
- (*) Added per-interior settings [#610]
- (*) Added a TT Capsule template
- The models and the exterior can be used in any extensions
- (*) Support for custom interior hooks [#610]
- (*) Allowed to override tip texts for interiors
- (*) Added texture sets condifured for each interior [#610]
- Texture sets can configure materials, submaterials and skins
ApplyTextureSet(set_id)
function- Texture sets can inherit each other with a changed prefix (folder path) of the textures [#626]
tardis2_debug_warning
concommand for extension creators (switches health between 10% and 100%)- New control:
thirdperson_careful
(same asthirdperson
, but requires pressing walk/alt key) - Added developer support for external hum sound
(*): The API documentation adjustments will be added into the GitHub wiki later.
Before that, if you require help with using these features into your extensions, feel free to contact us.
Release 2022.1.1 (HotFix)
Release 2022.1.0 (January 2022 Update)
Pull Request: #592
Includes:
Changelog:
Features and enhancements:
-
Music overhaul
- Ported pre-loaded music list from legacy
- Added new music tracks to the list
- Custom music list (ability to save the URLs of custom music for later use)
- New interface
-
Better redecoration feature
- Self-repair is toggled together with redecoration
- When no interior is selected for redecoration, a random one is picked
- A simultaneous demat/mat animation instead of just "remove+appear"
- The new TARDIS inherits the state of the old one. That includes:
anti-gravs, hads, spin, cloak, handbrake, physlock, isomorphic, vortex flight and fast return coords
- Renamed spawnmenu right-click options to more intuitive names ("Select as default", "Select for redecoration")
- Forbade to redecorate someone else's TARDIS
-
Skin randomization
- When the TARDIS is spawned, a random skin is set
- The feature can be disabled in the settings
- Extension devs will be able to specify, which skins will be excluded from selection
Fixes:
- Tips without texts produce warnings instead of errors
- Missing tips will not break all other tips
- Fixed the infinite re-init of tips with "default" tip style selected
- Fixed the cloaking calculations happening when cloak isn't set
- Fixed the TARDIS not being able to spawn during redecoration while player isn't looking at anything
- That also fixed console error after redecoration (#577)
- Removed warning notification about missing tips in the interior
Internal changes (for developers):
-
PART:SetVisible(bool visible)
- a function for all parts -
ent:Timer(id, delay, action)
- a safe replacement for
timer.Simple()
- works for both interior and exterior entities
- a safe replacement for
-
Allowed to specify the entity category of the TARDIS in metadata (
metadata.Category
parameter) -
Allowed to specify the skins of the exteriors which will not appear at random (
metadata.Exterior.ExcludedSkins
) -
ext:GetPhyslock()
function -
ext:ForceDematState()
function, which makes the TARDIS dematerialised from the beginning -
Enhanced
TARDIS:Debug()
(special output function for devs, works if convartardis2_debug
is 1)- can have multiple arguments
- can print tables
- can recognize and print nil value
- has an alias called
tardisdebug()
- Added an option tardis2_debug_chat which determines whether debugged info is being printed in chat as well as in the console
- "Generating TARDIS font" console messages moved to debug info so that it isn't printed for everyone
Release 2021.4.1 (HotFix)
Pull Request: #583
Changelog:
- Renamed file sh_handbrake.lua to prevent file conflicts with extensions
Release 2021.4.0 (December 2021 Update)
Pull request: #551
Changelog:
Features and enhancements:
- The flight has been made more realistic [#553]
- The TARDIS now tilts towards the flight direction
- Boost key now makes the flight faster when spinning is enabled
- (optional, enabled by default) Spinning stops when the doors are opened in flight
- (optional, disabled by default) Boost key slows down the TARDIS if doors are open
- Changed the spin control behaviour: one click always toggles spin, double click always switches direction
- Made possible to split
toggle rotation
andswitch rotation direction
controls - Added default icons for all known TARDIS extensions [#534]
- The creators can add the icons to their own addons, and the default ones would be overriden
- Added a sound for uncloaking [#549, #214]
- Added an interior lock sound (different from the exterior one) [#549, #467]
- Added console command
tardis2_boost_speed
to control boosted flight speed (default: 2.5, range: 1-4)
Fixes:
Internal changes:
- Added support for classic-style doors [#448 #550]
- support for different portal sizes
intdoor
part for interior doors: opens/closes in sync with normal doors, but isn't clickableintdoor
isn't rendered through the portal from the outside- exterior isn't rendered through the portal from the inside
- if the classic doors are enabled in the interior,
door
part of the interior is only visible from the outside
- added controls:
spin_cycle
,spin_toggle
,spin_switch
[#442 #441] - added placeholders for controls:
shields
,interior_lights
,stabilizers
[#527] - added
PART.SoundPos
parameter, allowing to specify the coords to play the PART.Sound/SoundOff/SoundOn at. [#523] - added
PART.UseBasic()
function support, which is same as PART:Use(), but works together with PART.Control [#528]
Release 2021.3.1 (HotFix)
Pull request: #522
Changelog:
- Temporarily remove some light fixes that were causing potentially heavy performance issues
Release 2021.3.0 (Novermber 2021 update)
Pull Request: #494
Changelog:
Headline features:
- Added cloaking, bound to L by default as the pilot (#49)
- Added a button to the visual GUI (with its own icon)
- Added handbrake and emergency takeoff system (engine release control) (#357)
- Handbrake prevents the TARDIS from taking off
- Failing to take off has its own sounds
- HADS ignores the state of the handbrake ("safety measures")
- TARDIS also fails to teleport with opened doors (can be disabled)
- Closing the doors quickly after a failed take off will resume dematerialisation
- Teleport can be interrupted by the handbrake ("crash landing")
- The TARDIS gets damaged in the process
- Interrupting teleport has its own effects: sounds, sparking, explosions (can be disabled)
- Interrupting teleport results in powering down for 10 seconds
- If handbrake is pressed during dematerialisation or materialisation, it just stops
- If handbrake is pressed in vortex, the TARDIS falls out at a random location in the map
- "Engine release" control allows to dematerialise even with handbrake / doors open ("emergency take-off")
- Has to be pressed quickly after the throttle, or won't work
- Emergency take-off has its own effects: sounds, sparking, explosions (can be disabled)
- Handbrake prevents the TARDIS from taking off
- New damaged flight/teleport sounds when below 20% health (#357)
Other new features:
-
Made possible to move incredibly fast while pressing shift at manual destination select
- TARDIS teleporting is now actually much faster then flying with noclip
-
Added a control (default: H) for entering manual destination select from third person view
-
Random destinations can be selected within destinations screen (#368)
-
Add ability to right click interiors in spawn menu and set as preferred / redecoration interior (#395)
-
Added "sonic screwdriver dispenser" control
-
Added ability to launch TARDIS UI from the C-menu (#444)
-
New notification system (configured by
tardis2_message_type
convar) (#367):- 0: Disabled, no messages at all
- 1: Print to console
- 2: Print to player chat
- 3: Show toast message (default)
-
Landing on top of players will now fade their view while bringing them in (#148)
-
Improvements to smoke control, now stops correctly when teleporting
-
Default interior
-
Improvements to screen system:
- Improve ordering of UI buttons and positioning of text within them
- Renamed "Console" screen to "Virtual Console"
- New HD default theme with better aligned frames
- New "Transparent" theme
- "Text only" GUI theme has centred and readable text
- The buttons on the titlebar no longer intersect
- Destination button now opens the popup instead of 3D screen
- "Destination" screen button has been renamed to "Coordinates"
- Manual destination select and third person view have been moved to main menu from the virtual console
- "TARDIS Status" custom screen now has an icon
Some more changes/improvements:
- Potential performance improvements for dynamic lights
- Control sequence enabled setting now applies instantly, no need to respawn TARDIS
- Warn user when trying to use throttle directly while sequences are enabled
- Disable interior portal tracing and teleporting when the door is closed
- Added killfeed icon for when the TARDIS kills things
- Reorganised options by categories
- Code cleanup: removed a bunch of unused files from the addon
- Added singleplayer warning to isomorphic control
- Forbade the use of control sequences when power is off
Bug fixes:
- Vortex flight is no longer automatically enabled after fast return (#458)
- Fixed interior portals breaking while the scanner is active
- Fix warning when Doors is not installed (#459)
- Fixed dynamic light not taking into account the TARDIS angle (#431)
- Fixed message when failing to toggle screen due to power off (#455)
- Performance improvements for portals when further than the close distance
- Fixed being able to turn off power while teleporting or in the vortex (#403)
- Fix error when setting a destination without selecting one (#377)
- Disable gravity on attached props when dematerialising
- Cloister bells are now disabled when power is off
- Can no longer initiate demat sequence while in the vortex or while teleporting (#416)
- Fixed pressing invisible GUI buttons near screen sides
- Fixed pressing several GUI buttons at the same time (increased offset)
- Fixed arrows appearing on "settings" screen
Internal changes (may be relevant to extension authors / base addon developers):
-
Added control system for common controls e.g. flight for better reusability and extensibility
- It is preffered to use TARDIS:Control() or PART.Control instead of PART.Use and entity-related functions
- Specifying PART.Control automatically creates PART.Use
- GUI buttons for controls are configured in AddControl() function
- Removed button IDs from controls, button IDs will be same as control IDs
- Tip texts for the controls are selected automatically
tip_control_texts{}
structure removed- Split interior and exterior functions in TARDIS:Control()
- Added hooks called in TARDIS:Control() (for example, to block them from control sequences)
- "TardisControlUsed" (both interior and exterior)
- "CanUseTardisControl" (both interior and exterior)
- Added controls: coordinates, isomorphic, all screens
- Renamed controls: doorcontroller -> door, lockcontroller -> doorlock, flightcontrol -> thirdperson, fastremat -> vortex_flight
- Added control.power_independent parameter for each control which defines whether it can be
- Allowed specifying controls for parts in interior metadata, thus allowing to override them
used when the power is off - (!) Replaced "Interior.Tips" with "Interior.TipSettings" (view range, style), "Interior.PartTips" (tips linked to parts for control sequences) and "Interior.CustomTips" (independent tips unrelated to any parts or controls)
-
Added TARDIS:Message / TARDIS:ErrorMessage / TARDIS:StatusMessage helpers for sending messages to players
-
Added TARDIS:Debug() function for testing
- Debug messages are enabled by tardis2_debug variable, off by default (so it's okay to leave them in the code)
- Messages are printed into chat at client, and into the console at the server
-
Refactored teleport module into several files as it was getting too large
-
GUI Themes rewritten
- Themes are now configured by lua files
- Themes can inherit each other
- File structure is up to creator, subfolders and filenames are configurable
- Animated textures are supported
- Frames have been split from icons
- Specified frame types for each button: default & clicked
- Frame types: 0 is normal, 1 is enabled, 2 is disabled
-
Added hook "ShouldRedecorate" to control redecoration
-
Added hooks "ShouldStartSmoke" and "ShouldStopSmoke" for extensible smoke control
-
Added ability to set a condition on a sequence before starting it
Sequence.Condition(interior)
-
Interior explosion on health depletion is now centred on the console if applicable
-
Added "BreakdownEffectPos" to T.Interior for custom interiors to customize explosion and spark effect positions
-
Added "PhaseMaterial" to T.Exterior for custom interiors to customise the phase (cloak) material
-
Added "order" property to hexagonal layout buttons to control ordering manually
-
Added PART.CollisionUse which when used with PART.Collision = false will also disable ability to Use the part
-
Added PART.matrixScale which will scale the part model clientside with a Vector (note this does not affect collisions)
-
Added extensible UI themes system, see lua/tardis/themes/visgui for examples
-
Renamed hl_order on screens to order
-
Fixed nopower option on lights applying to all lights (#453)
-
Added removing parts in interior overrides (Example:
Parts = { part_name = false, ... }
) -
Fixed the rendering of the turned off lights
-
Added part option PART.PowerOffSound (whether PART.Sound is played with no power)
-
Added part option PART.PowerOffUse (whether PART can be used at all with no power)
Release 2021.2.2 (HotFix)
Changelog
- Fix errors when exterior light is on with portals active
Release 2021.2.1 (March 2021 Update 2)
Pull Request: #421
Summary:
This update contains some improvements and fixes to the addon, including the vortex now being visible from the scanner and attached props also being visible in the vortex, and no longer preventing the TARDIS to spin.
Changelog:
- Fixed door locked sound not working when CS:GO was not mounted
- Removed a bunch of unused sounds that were previously imported from the legacy addon
- Fixed vortex not showing in the scanner #420
- Props attached to the TARDIS no longer prevent the TARDIS moving/spinning in the vortex
- Props attached to the TARDIS are now visible in the vortex
- Slightly adjusted default demat animation speed to more closely match the sound effect #414