Commit Graph
95 Commits
Author SHA1 Message Date
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 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
KAMKEEL ef5ab224e2 Fix Cloak Rendering 2022-06-17 13:16:54 -04:00
KAMKEEL 50e911bd82 Fix TextureLocation Overwrite for Local Texture case 2022-06-15 14:02:03 -04:00
Luis C.M 522b5b884a Scripted Skin Overlay render and packet sending fixes. 2022-06-15 03:48:32 -05:00
KAMKEEL 16edeabb9a Cape Invisibility | MPM Dependency Fix 2022-06-15 01:58:46 -04:00
Luis C.M 7cfc4ccca4 Possible fix for cloak alphas not rendering correctly. 2022-06-14 21:27:21 -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 31671b0281 Reverted DataDisplay and RenderNPCInterface changes. 2022-06-12 04:50:29 -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 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 f9e92f3172 Added blend attribute to skin overlays. 2022-05-29 05:23:39 -05:00
Luis C.M 0ed5887046 Alex armor now renders correctly for NPCs. 2022-05-29 03:06:57 -05:00
Luis C.M 0028328db4 More fixes to setting NPC model types. 2022-05-28 07:06:38 -05:00
Luis C.M c083412723 Fixed armor error on alex models. 2022-05-28 06:30:10 -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
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 38e960d475 x32 textures now compatible with x64 models. 2022-05-24 19:30:24 -05:00
Luis C.M d040fa3da7 Overlays blend with alpha values whether glowing or not. 2022-05-24 00:58:12 -05:00
Luis C.M 991635f4cc Sped up how fast hotbar items are switched when players have a skin overlay on. 2022-05-24 00:48:33 -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 6fa5d0d8de Improved alpha blending for skin overlays 2022-05-23 00:45:32 -05:00
Luis C.M 40fce63734 Skin overlays render on top of Saiyan tails. 2022-05-22 05:17:01 -05:00
Luis C.M d93ffc859c Skin overlays render on top of Namekian antennae now. 2022-05-22 05:14:13 -05:00
Luis C.M fd9e0d8ead Skin overlays when viewed in first person now correctly apply moving texture updates. 2022-05-22 05:08:43 -05:00
Luis C.M 0a067eceb5 Added DBC support for overlays. 2022-05-21 20:00:45 -05:00
Luis C.M 7bd0155dbf Implemented player skin overlays to be compatible with other mods' custom player renderers (Renders on top using events instead of registering a new renderer). 2022-05-20 05:02:18 -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 9a0aae50e0 Implemented custom player overlays. 2022-05-16 05:45:00 -05:00
Luis C.M d6b1dba9bc Overlays and powered effects now also share visibility with NPCs. 2022-05-16 04:11:31 -05:00
Luis C.M a4a013387e Cloaks are now share visibility with NPCs main model. 2022-05-16 04:08:22 -05:00
Luis C.M 71aff8f78f Fix for updating overlay and powered textures. 2022-05-16 01:22:33 -05:00
Luis C.M aa9a9499aa Implemented custom powered textures for NPC's, overlays that can have their textures move. 2022-05-15 16:47:48 -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 aab550cdca Implemented custom item rotation rate, and start using, using, stop using, finished using events for custom items. 2022-05-11 14:24:12 -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 26f5f86dca Implemented Scripted Custom Items. 2022-05-11 01:10:31 -05:00
Luis C.M d6c46158f5 TexturedRect classes for GUIs & overlays, and Custom GUI buttons now support textures of all sizes when using URLs.
EntityCustomFX:
-Added URL support
2022-05-04 23:08:30 -05:00
KAMKEEL e72672ad71 Revert to Original 😦 2022-04-11 23:01:41 -04:00