Luis C.M
76106b1ea6
Added dialog option to show line above options.
2022-06-09 03:51:27 -05:00
Luis C.M
c99a4f8439
Server-side dialog data fixes.
2022-06-09 02:30:01 -05:00
Luis C.M
799d54a4dc
Fixed a couple of client-side dialog data errors.
2022-06-09 02:16:25 -05:00
Luis C.M
60794592d1
Completely remade visual dialog options, added images and many other attributes to dialogs.
2022-06-09 02:03:14 -05:00
Luis C.M
c0406958a3
The script controller now checks whether a language can have objects loaded into it on startup, catching an exception and skipping that language as available if so.
2022-05-29 16:01:05 -05:00
Luis C.M
f9e92f3172
Added blend attribute to skin overlays.
2022-05-29 05:23:39 -05:00
Luis C.M
e2df33fb5f
Added quest objective and turnin data to the quest tracker.
2022-05-29 04:45:38 -05:00
Luis C.M
301e113be2
Added quest tracking, need to add objectives list and turn in info too.
2022-05-27 14:32:24 -05:00
Luis C.M
95bc4bf42d
Renamed TransformData to DataTransform.
2022-05-24 01:08:23 -05:00
Luis C.M
33bb0307e9
Separated data objects and data controller objects in the noppes.npcs.controllers package.
2022-05-24 01:07:50 -05:00
Luis C.M
b6c62332ed
Fixed SkinOverlay objects not having their parent object initialized correctly.
2022-05-23 20:47:32 -05:00
Luis C.M
6220a8ce14
-Overlays for players and NPCs are now grouped in an "overlay handler" object, similar to how you retrieve timers.
...
-Fixed client NPC overlay updates.
2022-05-23 20:41:32 -05:00
Luis C.M
41401d0521
Removed redundant ScriptSkinOverlay, using SkinOverlayData in place of it, which now implements ISkinOverlay.
2022-05-17 04:46:06 -05:00
Luis C.M
8bc3190295
Implemented multiple overlay layers for CNPCs, replaces powered textures.
2022-05-17 04:34:46 -05:00
Luis C.M
e8a3eb8344
Implemented offsets for player skin overlays
2022-05-17 00:01:31 -05:00
Luis C.M
f9fcd6b9f8
Added alpha, size, scale, and speed attributes to player skin overlays.
2022-05-16 23:27:11 -05:00
Luis C.M
83fbccdf55
Added setAlpha to skin overlays
2022-05-16 22:14:11 -05:00
Luis C.M
6f9358c1ca
Glow can be disabled/enabled on skin overlays
2022-05-16 22:04:54 -05:00
Luis C.M
dbfbab7be2
Players can now have multiple skin overlays, just like GUI overlays.
2022-05-16 18:47:16 -05:00
Luis C.M
cf33b90b26
Used interfaces in implementations instead of the real classes for most scripted classes.
2022-05-11 22:08:31 -05:00
Luis C.M
6896cec417
Every function in API classes that calls the main API class now calls the loaded API wrapper, renamed to NpcAPI, instead of the abstract class, renamed to AbstractNpcAPI.
2022-05-11 17:12:48 -05:00
Luis C.M
6dea5a1cbc
Interfaces have a file strucutre resembling the file structure of their implementing classes.
2022-05-11 16:43:14 -05:00
Luis C.M
11cc46b48f
Fixed some scripted item events, and fixed positioning of scripted items.
2022-05-11 13:30:13 -05:00
Luis C.M
286f6862cb
Small clarifications in the new scripting configs, and removed some unused imports.
2022-03-23 17:48:58 -05:00
Luis C.M
9a244ca2fe
Renamed NPCs button on GUI, added configs for enabling player, forge, NPC, and all scripts.
2022-03-23 17:42:35 -05:00
Luis C.M
18ff2bff78
Implemented Global NPC Events!
...
All NPCs activate these scripts. If a player wants to create a script that's universally used by all NPCs, this allows for that to happen with a lot of ease!
2022-03-23 03:54:06 -05:00
luisc
953f6e0459
Fixed server-side lag caused by player events. THIS IS BIG.
2021-12-18 08:34:30 -06:00
luisc
f03516b00f
Fixed console and console spam with scripted player events.
2021-12-17 08:10:21 -06:00
luisc
23384d1d67
Fixed some server-side lag caused by player events. Player ticks now execute every 10 MC ticks.
2021-12-16 21:54:05 -06:00
luisc
6bdc68337c
Revert "Made player script implementation closer to that of 1.12."
...
This reverts commit 3a9789b3fd .
2021-12-16 04:05:05 -06:00
luisc
3a9789b3fd
Made player script implementation closer to that of 1.12.
2021-12-16 02:53:17 -06:00
luisc
547f5ab82d
Container event spam when no container is open fixed. Fixed scripted player and forge events not launching after merging ScriptContainer and EventScriptContainer.
2021-12-03 18:17:52 -06:00
luisc
72869e6a78
Consolidated EventScriptContainer and ScriptContainer into a single ScriptContainer class. NPCs are now able to fly when ai.movementType == 1.
2021-12-01 15:31:05 -06:00
luisc
d1c4adf371
ScriptEntity instances are now properly retrieved in event scripts
2021-10-21 22:14:12 -05:00
luisc
a993c8feff
Fixed forge scripts on the server side. getIEntity() now correctly returns an IPlayer when given a player as a parameter.
2021-10-20 20:27:42 -05:00
luisc
bb1da8376d
Implemented 1.12 event scripting API.
2021-10-18 22:01:15 -05:00
luisc
72f2c3c60a
Implemented global Forge events. Reorganized NPC API files.
2021-10-18 06:33:39 -05:00
luisc
c5ed7497c8
Added console output and correct script halting to scripted player events. Renamed PlayerScriptContainer to EventScriptContainer.
2021-10-17 16:11:29 -05:00
luisc
a9bce4a3e3
Fixed player script enabled button not working right on servers. Added more player events and a getDimension() method to ScriptPlayer. Set player scripts to be off by default.
2021-10-15 09:17:31 -05:00
luisc
047552d9e5
Made constant BlockPos calculateLogBaseTwo calculation explicit, enabled player events by default.
2021-10-12 04:20:33 -05:00
luisc
6752f8baec
Implemented several more events for players, including a click event, key event, fall event, and the basic entity living hurt, killed, and kills events, among others.
2021-10-12 02:57:32 -05:00
luisc
1ee14920ff
Scripted player tick events are functional, GUI for player events is complete. Global player events run as they should now, just need to start implementing more of them.
2021-10-11 06:49:30 -05:00
luisc
95d2814651
Backported GUI features and necessary classes from 1.12.
2021-09-30 21:44:30 -05:00
luisc
8b6e84a8d4
Removed many unnecessary/redundant backported files. Focused only on classes that make events work.
2021-09-30 01:48:54 -05:00
luisc
5a1c4757cf
Went down huge rabbit hole to attempt adding scripted events for players. Chock full of errors, trying to backport classes from the 1.12 version.
2021-09-30 00:56:49 -05:00