Commit Graph
578 Commits
Author SHA1 Message Date
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
Luis C.M 671899f215 Added curly bracket pauses to gradual dialog text. 2022-06-06 03:06:09 -05:00
Luis C.M e51d36e7a1 Dialog text renders on top of options again. 2022-06-05 23:28:33 -05:00
Luis C.M a1f4861d33 Added toggle for text sound 2022-06-03 17:16:58 -05:00
Luis C.M 3552b58e5c You can no longer scroll up until no dialog lines are visible. 2022-06-03 15:38:52 -05:00
Luis C.M c7b34dcf54 More scrolling and dialog alignment fixes. 2022-06-03 15:33:20 -05:00
Luis C.M 2c84a527bf Fixed dialog height 2022-06-03 14:02:48 -05:00
Luis C.M 213d69f146 Function added
NpcAPI:
-Added stopServer() function.
2022-05-31 18:54:11 -05:00
Luis C.M dccdb9636c More tweaks to dialogs, fixed option X spacing. 2022-05-30 23:56:31 -05:00
Luis C.M bb65e79102 Implemented dialog option spacing 2022-05-30 18:31:58 -05:00
Luis C.M e7ceaa6d2a Simplified logic on an if statement 2022-05-30 04:53:17 -05:00
Luis C.M 2370c5e1f4 Added scrolling to dialogs 2022-05-30 04:51:30 -05:00
Luis C.M f0862e8a64 Fixed armor rendering twice when a player is using an overlay. 2022-05-29 19:51:03 -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 e4eb0e9cd8 Removed player completion checker. 2022-05-29 14:49:42 -05:00
Luis C.M f301f8fcbb The player quest tracker now supports dialog and location quests as well. 2022-05-29 05:33:13 -05:00
Luis C.M f9e92f3172 Added blend attribute to skin overlays. 2022-05-29 05:23:39 -05:00
Luis C.M 9928482c53 Fixed null error with the quest tracker. 2022-05-29 05:09:30 -05:00
Luis C.M e71ea4f495 Fixed the quest tracking overlay alignment. 2022-05-29 05:06:18 -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 0ed5887046 Alex armor now renders correctly for NPCs. 2022-05-29 03:06:57 -05:00
Luis C.M 094edb73d5 Merge remote-tracking branch 'origin/dev' into dev 2022-05-28 07:06:48 -05:00
Luis C.M 0028328db4 More fixes to setting NPC model types. 2022-05-28 07:06:38 -05:00
Luis C.M c437cf5274 Merge branch 'KAMKEEL:dev' into dev 2022-05-28 06:53:36 -05:00
Luis C.M 968b43a321 setModelType() only takes 0 for Steve, or 1 for Alex as values. 2022-05-28 06:31:52 -05:00
Luis C.M c083412723 Fixed armor error on alex models. 2022-05-28 06:30:10 -05:00
Luis C.M 379ad69706 Options for modelType are now only Steve and Alex. 2022-05-28 06:22:39 -05:00
Luis C.M 4aa1799ec3 Alex and Steve skins now switch to x64 or x32 models automatically. 2022-05-28 05:53:14 -05:00
Luis C.M 2b15ba9197 Fixed x64 texture bug, breaking textures after switching the model type from x64 to x32
Fixed crash report handler issue with custom overlays.

Removed "textureGlowLocation" field, which is unused now.
2022-05-28 02:12:33 -05:00
Kamron Vaswani cffe931bc9 Merge pull request #50 from c0508383/master
Some CNPC+ v1.6 features
2022-05-27 17:27:26 -04:00