Commit Graph
596 Commits
Author SHA1 Message Date
c0508383 d1762654ba ISound:
-Allows for the changing of several sound attributes, including volume, pitch, repeating, etc.

NpcAPI, IPlayer, IWorld:
-Added more sound functions, with sounds that can be stopped and started based on an ID.
2022-07-13 19:27:27 -05:00
c0508383 e6e266f3b6 NPCs with entity models can now also use overlays. 2022-07-13 02:12:59 -05:00
c0508383 f440912854 Fixed text area typing 2022-07-12 13:05:21 -05:00
c0508383 eba8d96bf3 Fixed crouching with DBC models, and female DBC model rendering 2022-07-12 12:57:45 -05:00
c0508383 9fc408e598 Added a configurable expansion to scripts' length, adding 65535 more characters with every additional increase. 2022-07-12 11:58:54 -05:00
c0508383 b4f112ee89 IWorld:
-Fixed offset not working right on rayCastEntities()
2022-07-11 21:16:32 -05:00
c0508383 80916de553 IWorld:
-Added rayTraceEntities() functions, and added an offset parameter.

IEntityLivingBase:
-Made getLookingAtEntities() function use IWorld's rayTraceEntities() function, and added an offset parameter.
2022-07-10 23:17:17 -05:00
c0508383 e048496e4d IParticle:
-Replaced spawnOnEntity and spawnInWorld with a single function name "spawn". Deprecated the others.
2022-07-08 12:03:15 -05:00
c0508383 1110748504 IBlock:
-Fixed canCollide function, added maxVolume parameter.
2022-07-07 21:17:44 -05:00
c0508383 d54035687c IEntityLivingBase:
-Added stopOnBlock, stopOnLiquid, and stopOnCollision options for getLookingAtEntities()

IWorld:
-Added stopOnBlock, stopOnLiquid, and stopOnCollision options for rayCastBlock & rayCastPos
2022-07-07 20:49:03 -05:00
c0508383 4e5ed2d758 IEntityLivingBase:
-Fixed duplicate entity entries when using getLookingAtEntities()
2022-07-07 19:37:43 -05:00
c0508383 83b7e4f73d CustomNpcs:
-Fixed some spelling errors
2022-07-07 16:26:37 -05:00
c0508383 22e01bba1f CustomNpcs:
-Added ScriptOpsOnly config, which controls if only ops can see and edit scripts.
-Added ScriptDevs config, a list of the UUIDs of players who should be able to see and edit scripts. If left empty and ScriptOpsOnly is false, everyone can see and edit scripts with a scripter.

IPlayer:
-Added isScriptDev() function to check if the player can see and edit scripts.
2022-07-07 16:22:50 -05:00
c0508383 5fdef1cd0c IPlayer:
-Removed vector functions, moved to IEntityLivingBase

IEntityLivingBase:
-Added vector functions from IPlayer
2022-07-07 13:58:08 -05:00
c0508383 c554251165 IPlayer:
-Added getLookingAtEntities
2022-07-07 13:05:56 -05:00
c0508383 12a3fffeab PlayerEvent:
-Added PlayerEvent.AttackEvent & PlayerEvent.AttackedEvent, preventing any knockback from happening from attacks.
2022-07-07 12:49:30 -05:00
c0508383 5e0b1282f7 Faction:
-Removed unnecessary CustomNPCsException throw in addEnemyFaction.
2022-07-07 01:15:22 -05:00
c0508383 9bd644f84a PlayerEvent.MouseClickedEvent:
-Added isCtrlPressed, isAltPressed, isShiftPressed, isMetaPressed, and keysDown fields for button combinations.
2022-07-06 18:41:39 -05:00
c0508383 1c10f2ebf1 IWorld:
-getEntitiesNear sorts by which one is nearest to the position.
2022-07-06 18:12:32 -05:00
c0508383 6a852d9578 IPlayer:
-Added getLookPos, which uses the rayCastPos function in IWorld.

IWorld:
-Added getEntitiesNear function with 3 double or one IPos parameter, and a range parameter for checking what entities are near a position.
-Added rayCastPos, for cases where rayCastBlock returns null.
2022-07-06 17:51:26 -05:00
c0508383 84958cfd02 DataTimers:
-Prevented concurrent modification error when removing a ticking timer.
2022-07-06 15:28:25 -05:00
c0508383 a3b5f5993e IWorld:
-Implemented spawnClone() with a boolean parameter to check entity protection from mods & plugins correctly (for real this time).

ICloneHandler:
-Implemented ignoreProtection boolean value for the spawn() function.
2022-07-06 01:29:43 -07:00
c0508383 a4585fdf4d IWorld:
-Undid previous commit, not implemented correctly.
2022-07-06 00:24:14 -07:00
c0508383 43e41a0e95 IWorld:
-Added new spawnClone function with an extra boolean parameter to check for spawn protection or not.
2022-07-05 22:55:38 -07:00
c0508383 5fd3cc37ef Merge remote-tracking branch 'origin/dev' into dev 2022-07-05 16:32:11 -07:00
c0508383 bd0d7cecf9 Fixed misspelling of "setRangedRange" from "setRangedRage". Kept old function name as a deprecated function not visible in the interface. 2022-07-05 16:31:39 -07: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
KAMKEEL c039fa5678 Update Version to 1.6-beta2 2022-07-03 16:51:50 -04: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
KAMKEEL dacecc65f0 Increase Version Compat 2022-07-02 23:38:43 -04:00
KAMKEEL 545db302ad Drowning Compatibility 2022-07-02 23:38:20 -04: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