Repository navigation
TS4Lib v0.3.14
This mod is needed for HotkeyBindings as it contains various math methods to handle rotation and movement of objects/sims in TS4.
Changes:
Fixed a few bugs
Refactoring
Added StdVector4() to have a store for invalid quaternions which are used by TS4.
Moved various CommonEnum classes to 'common_enums' and renamed them.
Support initialization of angels, quaternions and vectors with Tuple, List.
Added enums: Age, Gender
SimpleUINotification().show('title', 'message', UiDialogNotification.UiDialogNotificationUrgency.DEFAULT)
find_files(include_sub_directories=True) new option to include (default) / exclude sub directories
Added ctypes
Added more vector and euler methods
Fix to normalize invalid (0000) quaternions, return 1000 in such cases
Added more euler related methods
Renamed 'ts4lib.classes.math' to 'ts4lib.classes.coordinates'
* All mods (none?) which are using 'ts4lib.classes.math' do no longer work
Renamed 'std_vector' to 'std_3d_vector'
Added 'std_2d_vector'
Added some math functions (+, -, *, cross()) to the vector classes
Added vector conversions (Quaternion <-> 3DVector <-> 2dVector)
TuningHelper / BasicExtras:
* Added get_tunings() to retun the tunings
* Added modify_test_globals() to simplify the modification of test_globals
* Not everything within test_globals is yet supported!
TuningHelper / BasicExtras:
* Allow to remove do_commands
TuningHelper / BasicExtras:
* Add disable_gender_check() support to TuningHelper
Removed support to run debug.eval() or debug.exec() from scripts.