Commit Graph
117 Commits
Author SHA1 Message Date
Luis C.M 0787a71197 Removed animation IDs, added animation controller. 2023-01-26 14:14:13 -06:00
Luis C.M 60f8645c84 Created animation controller 2023-01-25 23:18:27 -06:00
Luis C.M 74b0114555 Added animation looping. 2023-01-25 22:05:11 -06:00
luisc 9c7767312d Fixed empty scripting tabs making all following tabs not run code in player scripts. 2023-01-25 11:01:35 -06:00
Luis C.M 96caf6e033 Simplified player animation code and removed unused fields. 2023-01-23 22:31:04 -06:00
Luis C.M 9f02d118cd Fixed player animations not syncing correctly in multiplayer. 2023-01-19 00:00:03 -06:00
Luis C.M 5e5bf2eb1c Added render ticks option for frames, inherited from its animation parent if not customized. 2023-01-18 21:35:39 -06:00
luisc bab359ea2b Fix to the previous frame part rotation fix. 2023-01-18 11:49:38 -06:00
luisc 0d36c19c22 Small fix to client-sided fields so frame parts don't freak out when an animation first starts. 2023-01-18 11:44:43 -06:00
Luis C.M 4e5a12690e Fixed a frame part NBT issue and DBC player compatibility. 2023-01-17 14:08:19 -06:00
Luis C.M f61001d32a Changed mixin to support players with animations better. Rotations and pivots are now saved as and use floats. 2023-01-17 13:08:10 -06:00
Luis C.M be18e756fc Animation overhaul, along with animation changes to the API. 2023-01-16 13:53:15 -06:00
KAMKEEL bda76bafe6 Optimize Imports 2023-01-12 21:33:06 -05:00
KAMKEEL 569c7790fc Read/Write NBT for Animation/Frame/FramePart 2023-01-12 20:34:07 -05:00
KAMKEEL 3e6e28d857 More Constructors 2023-01-12 19:40:06 -05:00
KAMKEEL 91bcd43942 Animation/Frame Data Classes with a EnumAnimationPart 2023-01-12 19:32:40 -05:00
Luis C.M 54d53041ac Animation Data overhaul 2023-01-12 15:07:45 -06:00
KAMKEEL adb581ea64 Full Animation File Makeup
> Remove JobPuppet
> Remove PlayerModelData
> REWORK IAnimationPart
and IAnimation
2023-01-12 03:13:39 -05:00
KAMKEEL 8f62daba3e Refactor JobPuppet and PartConfig 2023-01-11 22:42:36 -05:00
KAMKEEL 95f559c36b Fix TagController import in Tag File 2023-01-10 16:51:46 -05:00
KAMKEEL 309f912f10 Tag and Tag Controller 2023-01-10 16:47:49 -05:00
Luis C.M d7d43f74b9 Merge branch 'dev' into player-anims 2023-01-09 15:11:04 -06:00
Luis C.M 4d17df936a Fix for player overlay speeds. 2023-01-09 14:13:20 -06:00
Luis C.M d87a37e017 Added PlayerModelData as a parent of its parts when constructing them. 2023-01-09 00:03:09 -06:00
Luis C.M 94127e5fa4 IPlayerModelData:
-Re-implemented some previously removed functions.
2023-01-08 23:49:14 -06:00
Luis C.M bfb262a487 IPlayerModelData:
-Added allEnabled function for setting all parts as enabled.
2023-01-08 23:28:08 -06:00
Luis C.M 0b5ffce55f IPlayerModelData:
-Renamed some functions to better reflect them changing all parts of JobPuppet
2023-01-08 23:04:57 -06:00
Luis C.M c146a973f0 IPlayerModelData:
-Restructured to implement the new IModelPart interface
2023-01-08 22:57:52 -06:00
Luis C.M 3b11ddb4b4 Simplified player animation rendering, similar to the NPC puppet part commit on dev. 2023-01-07 14:10:36 -06:00
Luis C.M 235ddaa1ea Implemented interpolation options for player model animations. 2023-01-07 13:38:44 -06:00
Luis C.M d6ed069862 Merge branch 'dev' into player-anims
# Conflicts:
#	src/api
2023-01-07 13:15:45 -06:00
KAMKEEL 6e92f08851 Config Overhaul 2023-01-07 00:21:08 -05:00
Luis C.M 2e745fbda1 IPlayerModelData:
-Regrouped functions in the interface, a little easier to follow.
-Rotation & Offset setters now use floats as parameters instead of ints.
2023-01-06 14:28:15 -06:00
Luis C.M 27b80037bd Added total model rotation functionality to player model data. 2023-01-06 13:43:49 -06:00
Luis C.M ad689440aa Implemented complete model rotations. 2023-01-05 18:18:28 -06:00
Luis C.M 3bb1b4fcb0 Added general model rotation functions to PlayerModelData. 2023-01-05 17:58:32 -06:00
Luis C.M 51263a9f82 Added player rotations/pivots/animations, similar to NPC's. 2023-01-01 23:50:38 -06:00
Luis C.M 699b24e467 More fixes to global NPC scripts not executing on servers, and added more functions to IEntityLivingBase. 2022-12-24 01:46:43 -06:00
Luis C.M 8d52e9356c Fixed Global NPC script tabs not working on the server-side after being errored. 2022-12-23 20:45:04 -06:00
Luis C.M a895c8bd24 NpcAPI:
-Added millisToTime(long) and ticksToTime(long) functions to return time formatted strings from long values.

IPlayerQuestData:
-Added last completed time functions for repeating quests.

IQuest:
-Added repeat functions for repeating quests.

ServerCloneController:
-Fixed cloned NPCs having identical UUIDs.
2022-12-20 09:21:39 -06:00
Luis C.M 7a715ef308 NpcAPI:
Added functions for adding keywords to global script running
++ addGlobalObject(String,Object)
++ removeGlobalObject(String)
++ getEngineObjects()
2022-12-14 17:53:57 -06:00
Luis C.M 0414817673 Implemented event interfaces, made more events cancellable. 2022-11-24 14:36:09 -06:00
Luis C.M aa02e5dcc3 Fixed API interface errors, added casts for custom item script handlers in EventHooks, and added some event interfaces. 2022-11-23 23:59:01 -06:00
KAMKEEL be9ae94163 Start API Branch 2022-11-15 15:25:53 -05:00
KAMKEEL c264c7c9d0 Merge branch 'master' into dev 2022-11-15 00:10:32 -05:00
Pétrus Pradella 79e20b07db Properly save PlayerData on json only on 'PlayerEvent.SaveToFile' 2022-11-11 15:15:42 -03:00
KAMKEEL 5ff3a3a1ba Player Logging 2022-11-07 01:49:54 -05:00
Luis C.M 8d3cd3fd82 Revert "Merge remote-tracking branch 'origin/dev' into dev"
This reverts commit 66edbcea80, reversing
changes made to 3fd962289c.
2022-11-06 01:25:28 -06:00
KAMKEEL 6ae465c5d0 Revert "Added several more functions to pre-existing classes:"
This reverts commit e9a8f8cebc.
2022-11-06 00:10:04 -04:00
KAMKEEL 7692c1b628 More Readable Logs with CNPC Level 2022-11-05 21:30:06 -04:00