Luis C.M
1a47b68621
Removed animation IDs, added animation controller.
2023-01-26 14:15:00 -06:00
Luis C.M
0787a71197
Removed animation IDs, added animation controller.
2023-01-26 14:14:13 -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
luisc
7ff568b1be
Fixed full body model rotations
2023-01-18 12:48:27 -06:00
luisc
755dcbab03
Torso rotations no longer affect other parts' pivots in ModelMPM
2023-01-18 11:55:06 -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
luisc
46ea214b64
Fixed animation times not resetting, causing some animations to get stuck if still enabled when in the middle of a frame that lasts a very long time.
2023-01-18 09:26:50 -06:00
luisc
17c6fe9728
Merge branch 'dev' of https://github.com/KAMKEEL/CustomNPC-Plus
2023-01-18 09:17:23 -06:00
Luis C.M
8e0b5d042c
Fixed null error when sending skin overlay data to update players' clients.
2022-07-05 14:18:40 -05:00
Luis C.M
34dd42f0db
Removed redundant loop variables and casts.
2022-07-04 13:13:08 -05:00
Luis C.M
3acad02571
Merge remote-tracking branch 'origin/dev' into dev
2022-07-04 13:06:02 -05:00
Luis C.M
948fc4f497
Some timer functions now throw an exception when the timer they're trying to access does not exist.
2022-07-04 13:05:43 -05:00
Luis C.M
e1248d25c8
Fixed GL underflow errors.
2022-07-03 15:16:12 -05:00
Luis C.M
c132bd2fe2
Skin overlays only render if a player has one now.
2022-07-03 15:06:37 -05:00
Luis C.M
ac93394983
First person adjustments for scripted overlays
2022-07-03 14:23:33 -05:00
Luis C.M
cc61684fb8
Fixed custom item console
2022-07-03 09:46:40 -05:00
Luis C.M
487ea6ea4e
Custom item swinging fix for multiplayer
2022-07-03 08:50:10 -05:00
Luis C.M
a694c3fd5f
Javadoc update
2022-07-03 07:54:17 -05:00
Luis C.M
c8a3b7825d
Particle packets are only sent to players in the particle's world now.
2022-07-02 13:07:23 -05:00
Luis C.M
9ceec111ba
Prevent null pointer exception with world when creating scripted particle on client side.
2022-07-02 12:43:22 -05:00
Luis C.M
79a703429c
ISkinOverlay:
...
-Removed set/getLocation, only supposed to be used during rendering.
2022-07-02 06:22:43 -05:00
Luis C.M
1cdc47864b
ISkinOverlay:
...
-Removed set/getLocation, only supposed to be used during rendering.
2022-07-02 03:23:24 -05:00
Luis C.M
b51c47c2d4
IItemCustom:
...
-Added setArmorType
2022-07-02 03:15:38 -05:00
Luis C.M
4b7d8e744e
ScriptCustomItem:
...
-Increased max stack size to 127.
2022-07-02 03:14:06 -05:00
Luis C.M
f3f209820c
IParticle:
...
-Added glow option.
2022-07-02 03:10:11 -05:00
Luis C.M
256ba5c599
Removed ScriptFaction in place of IFaction.
2022-07-01 23:26:47 -05:00
Luis C.M
496961ccc5
NpcAPI:
...
-Added getObjectSize() function for calculating object sizes.
RenderCNPCPlayer:
-Added gender & age/child compatibility for DBC rendering.
2022-07-01 17:02:40 -05:00
Luis C.M
96b9fc0a45
RenderCNPCPlayer:
...
-Fixed faces rendering on top of overlays when rendering with DBC models.
2022-07-01 13:31:31 -05:00
Luis C.M
aeef7f98d2
Removed unecessary model and reflection objects from renderDBCModel.
2022-07-01 01:54:15 -05:00
Luis C.M
d9b4014cbf
Moved reflection functions outside of the overlay for loop in renderDBCModel().
2022-07-01 01:00:04 -05:00
Luis C.M
51eab97f51
Simplified DBC player overlay rendering.
2022-07-01 00:42:23 -05:00
Luis C.M
35b41d4cf7
Removed several unused lines of code from RenderCNPCPlayer.
2022-06-30 12:35:29 -05:00
Luis C.M
e65088f796
INaturalSpawnsHandler:
...
Added a way to add and remove specific spawn data.
2022-06-29 14:51:09 -05:00
Luis C.M
91ac09d8d9
EntityNPCInterface:
...
-Fixed looping error in setAir() and updateAITasks()
2022-06-29 14:36:17 -05:00
Luis C.M
f2c4f0ccaf
Missed files in the last commit.
2022-06-29 14:22:27 -05:00
Luis C.M
dd700c677b
Natural Spawn Entries:
...
-Added GUI options for new natural spawn attributes.
-Added 4 more entity options
-Fixed natural spawning not working at night
2022-06-29 14:21:55 -05:00
Luis C.M
55b21de050
Added drowning types:
...
In Air,
In Water,
or
Never
to CNPCs.
2022-06-29 12:21:30 -05:00
Luis C.M
44225194ac
Filled soulstones no longer make NPCs shift around a bit when spawned.
2022-06-29 03:56:57 -05:00
Luis C.M
9794ab80d1
Fix for NPC flight on cloned NPCs.
2022-06-29 03:48:00 -05:00
Luis C.M
4094f3e851
Added 4 different spawning options, and spawning height max and mins to natural spawn entries.
2022-06-29 03:36:52 -05:00
Luis C.M
7d0b124422
Npc API:
...
-Added natural spawn controller support
2022-06-29 00:06:38 -05:00
Luis C.M
700fff3faf
Small fix to scripted item rendering, removed unnecessary blend statement.
2022-06-28 14:11:21 -05:00
Luis C.M
58932ffe55
Fixes to scripted item rendering.
...
IItemCustom:
-Removed unnecessary setters.
2022-06-28 04:39:50 -05:00
Luis C.M
bfce45028c
Fixed quest log crash when no quest data is found on a new world.
2022-06-28 02:11:43 -05:00
Luis C.M
0aa9303f61
IPlayer:
...
-Removed 4 sendMessage functions that can already be done with Minecraft formatted codes.
2022-06-28 01:23:42 -05:00
Luis C.M
37e12b81d0
IPlayer:
...
-Implemented removeItem, removeAllItems, and inventoryItemCount functions with "ignoreNBT" and "ignoreDamage" parameters.
2022-06-28 01:10:38 -05:00
Luis C.M
b789c80046
ISkinOverlay:
...
-Scales to JYCAge now.
2022-06-20 02:08:33 -05:00
Luis C.M
1ca5a306fc
IDBCPlayer:
...
-Items can be set in vanity or armor slots, based on a "vanity" boolean value in setItem().
ISkinOverlay:
-Renamed setScale to setTextureScale.
2022-06-19 15:18:13 -05:00
Luis C.M
3f8910f5bd
Added CustomGuiEvent.SlotClickEvent to the scripting GUI.
2022-06-18 12:53:09 -05:00
Luis C.M
b45cad77dd
Added CustomGuiEvent.SlotClickEvent.
2022-06-18 12:52:23 -05:00
Luis C.M
8fc73197b8
Merge remote-tracking branch 'origin/dev' into dev
2022-06-15 14:07:21 -05:00
Luis C.M
76f7db69fe
Added glow button to NPC skin overlays.
2022-06-15 14:07:13 -05:00
Luis C.M
4a32f76b70
Fixed overlays not able to be removed in the GUI
2022-06-15 13:08:54 -05:00
Luis C.M
c95c48a033
A server-side skin overlay data fix.
2022-06-15 05:04:17 -05:00
Luis C.M
3a604112ca
A server-side skin overlay data fix.
2022-06-15 05:03:31 -05:00
Luis C.M
522b5b884a
Scripted Skin Overlay render and packet sending fixes.
2022-06-15 03:48:32 -05:00
Luis C.M
a18c05714c
DEV overlay packet fixes
2022-06-15 01:38:51 -05:00
Luis C.M
a47323575e
Fixed skin overlay crash on multiplayer.
2022-06-15 00:53:59 -05:00
Luis C.M
4cae85e50b
Added configurable dialog image limit to IDialog.addImage(id,image)
2022-06-14 23:28:55 -05:00
Luis C.M
40a210ce8f
Added configurable limits to skin overlays and dialog images.
2022-06-14 23:27:15 -05:00
Luis C.M
7cfc4ccca4
Possible fix for cloak alphas not rendering correctly.
2022-06-14 21:27:21 -05:00
Luis C.M
a195c4035a
GUI fixes for NPC entity selection.
2022-06-14 21:15:30 -05:00
Luis C.M
5292916ef4
IItemCustom:
...
-Hid some internal script execution functions from the player.
2022-06-13 21:50:14 -05:00
Luis C.M
180b798773
IItemCustom:
...
-Hid some internal script execution functions from the player.
2022-06-13 21:42:49 -05:00
Luis C.M
5b3c6d9e3f
NpcAPI:
...
-stopServer() calls initiateShutdown() instead of stopServer(), stops crashes on stop.
2022-06-13 21:31:42 -05:00
Luis C.M
c7085f7acb
IDBCPlayer:
...
-Added getItem(byte slot) to get IItemStack objects from DBC EP slots.
-Renamed setInventoryItem to setItem
2022-06-13 21:24:55 -05:00
Luis C.M
ab5775f8f3
IDBCPlayer:
...
-Added void setInventoryItem(byte slot, IItemStack itemStack) function to set and remove (set null) items from DBC extra inventory.
2022-06-13 21:01:58 -05:00
Luis C.M
dd207757ea
IPlayer:
...
-Added disableMouseInput(long time, int... buttonIds) function.
2022-06-13 17:21:02 -05:00
Luis C.M
dfec85484b
Quests:
...
-Quests with complete text now complete the quest in data before showing the text GUI, instead of being completed when that GUI is closed.
Item Quests:
Some fixes to item quest completion when an item is picked up.
2022-06-13 04:08:36 -05:00
Luis C.M
1293fabca9
RenderCNPCPlayer changes in ClientEventHandler:
...
-Fixed cancelling an uncancellable armor render event.
-Only RenderPlayerEvent.Specials.Pre is cancelled, rather than trying to cancel both Pre & Post.
RenderCNPCPlayer:
-Now always returns -1 as a render pass.
2022-06-13 00:47:39 -05:00
Luis C.M
3c4b680bc1
Another fix to alternate NPC model textures not working the way they're supposed to.
2022-06-12 15:45:04 -05:00
Luis C.M
57d95b9d42
Tracked quests are removed if they are no longer in a player's active quest data.
2022-06-12 05:52:07 -05:00
Luis C.M
8f5df6b661
Merge remote-tracking branch 'origin/master'
2022-06-12 05:40:51 -05:00
Luis C.M
389d8adf98
A quest is now properly untracked if a player completes it.
2022-06-12 05:40:38 -05:00
Luis C.M
31671b0281
Reverted DataDisplay and RenderNPCInterface changes.
2022-06-12 04:50:29 -05:00
Luis C.M
50cb0150aa
Reverted GuiCreationScreen changes.
2022-06-12 04:42:33 -05:00
Luis C.M
95d17f2167
Merge branch 'KAMKEEL-dev' into dev
2022-06-12 04:25:01 -05:00
Luis C.M
fd1ac6dce4
Merge KAMKEEL-dev into dev.
2022-06-12 04:23:05 -05:00
Luis C.M
13ddc19522
Merge branch 'master' into dev
...
# Conflicts:
# src/main/java/noppes/npcs/client/model/ModelMPM.java
# src/main/java/noppes/npcs/client/renderer/RenderNPCHumanMale.java
2022-06-12 03:40:50 -05:00
Luis C.M
8b77597e27
Overlays don't render over special DBC model parts like antennae & tails.
2022-06-12 03:38:20 -05:00
Luis C.M
9a76c9a68d
The glow texture selection GUI now correctly starts the player out at the "customnpcs:textures/overlays/" directory.
2022-06-12 03:20:27 -05:00
Luis C.M
f52721dc8f
Small fix for NPC textures not appearing for different NpcGolem, NpcDragon, NpcSlime, & NpcPony types.
2022-06-12 02:52:11 -05:00
Luis C.M
b70d0ba08f
Fixed NPC textures being adjusted if an NPC has an entity model different from the default CNPC model.
2022-06-12 01:52:57 -05:00
Luis C.M
63a1525ee2
API Changes:
...
-Implemented interfaces for all jobs & roles.
ScriptPlayer:
-Added getData() function, which returns player data objects.
IPlayerData: New class that holds all player data for modification.
-Holds dialog, bank, quest, transport, faction, item giver, and mail data.
-Also holds companion data, with functions has/set/getCompanion, and a getCompanionID function to differentiate companions.
2022-06-12 01:26:23 -05:00
Luis C.M
587f63396f
Dialog Image interface added.
2022-06-10 18:46:24 -05:00
Luis C.M
9c29aabea8
Merged local and global NPC events, deleting old unused event classes.
2022-06-10 18:32:42 -05:00
Luis C.M
8f16e6b20f
Added IDialogImage, a scripted object which is used by IDialog. Used to add dialog images.
...
IDialog:
-Added several new functions for dialogs' new visual attributes, as well as a way to add, get, create, remove, and clear dialog images.
Global NPC events:
-Added fields and variables from the old ScriptEvent events, in preparation to replace the old events with NpcEvent instances on local NPC scripts.
-Fixed issue where some event hooks would run on remote worlds.
Global NPC killed event:
-Added droppedItems and expDropped fields.
IWorld and NpcAPI:
-Now always uses a non-remove WorldServer object to create ScriptWorld objects and add them to the world cache.
2022-06-10 17:25:58 -05:00
Luis C.M
486e37cd7f
Implemented title positions for dialogs.
2022-06-10 04:47:28 -05:00
Luis C.M
ff8fc68e88
Implemented dialog and text colors.
2022-06-10 01:38:01 -05:00
Luis C.M
4fe61a904f
More dialog GUI data fixes and visual tweaks.
2022-06-09 18:07:51 -05:00
Luis C.M
76106b1ea6
Added dialog option to show line above options.
2022-06-09 03:51:27 -05:00
Luis C.M
84b7744023
Dialog GUI fixes.
2022-06-09 03:41: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
deffb78167
Fixed render spam on overlays when checking for armor rendering.
2022-06-08 16:51:28 -05:00
Luis C.M
f3177f6fd9
Fixed ImageDownloadAlt console spam.
2022-06-08 13:46:41 -05:00
Luis C.M
50471dbfac
Added curly bracket pauses to instant dialog text.
2022-06-06 14:17:39 -05:00
Luis C.M
b70b51fab1
Added curly bracket pauses to gradual dialog text.
2022-06-06 03:08:04 -05:00