Skip to content
This repository has been archived by the owner on May 28, 2024. It is now read-only.

Commit

Permalink
v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
standardcombo committed Dec 14, 2022
1 parent 67b7382 commit 0302638
Show file tree
Hide file tree
Showing 30 changed files with 76 additions and 90 deletions.
2 changes: 1 addition & 1 deletion Data/Scripts/AmbushExample_README.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--[[
Ambush Example
v0.13.0
v1.0
by: standardcombo
This example of an enemy camp spawns three enemies when the player enters the camp.
Expand Down
2 changes: 1 addition & 1 deletion Data/Scripts/AnimControllerDragon.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--[[
Animation Controller - Dragon
v1.2.0
v1.2
by: standardcombo, blackdheart
Controls the animations for an NPC based on the Dragon Animated Mesh.
Expand Down
2 changes: 1 addition & 1 deletion Data/Scripts/AnimControllerRaptor.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--[[
Animation Controller - Raptor
v1.3.0
v1.3
by: standardcombo, blackdheart
Controls the animations for an NPC based on the Raptor Animated Mesh.
Expand Down
2 changes: 1 addition & 1 deletion Data/Scripts/AnimControllerZombie.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--[[
Animation Controller - Zombie
v1.2.0
v1.2
by: standardcombo
Controls the animations for a humanoid NPC with Animated Mesh.
Expand Down
2 changes: 1 addition & 1 deletion Data/Scripts/CombatWrapAPI.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--[[
Combat Wrap API
v0.14.0
v1.0.0
by: standardcombo, WaveParadigm
Identifies the type of object and wraps it with a common interface for combat-related functions.
Expand Down
2 changes: 1 addition & 1 deletion Data/Scripts/CombatWrapNPC.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--[[
Combat Wrap - NPC
v0.15.0
v1.0.0
by: standardcombo, WaveParadigm
Provides an interface of combat functions that operate on a non-Player object.
Expand Down
2 changes: 1 addition & 1 deletion Data/Scripts/CombatWrapPlayer.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--[[
Combat Wrap - Player
v0.15.0
v1.0.0
by: standardcombo
Provides an interface of combat functions that operate on a Player object.
Expand Down
2 changes: 1 addition & 1 deletion Data/Scripts/DamageFeedbackClient.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--[[
Damage Feedback - Client
v1.1.0
v1.1
by: Wave Paradigm, standardcombo
By default player damaged is server-only.
Expand Down
2 changes: 1 addition & 1 deletion Data/Scripts/DamageFeedbackServer.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--[[
Damage Feedback - Server
v1.2.0
v1.2
by: Wave Paradigm, standardcombo
By default player damaged is server-only.
Expand Down
11 changes: 0 additions & 11 deletions Data/Scripts/DestructibleWeaponClient.asset.pbt

This file was deleted.

46 changes: 0 additions & 46 deletions Data/Scripts/DestructibleWeaponClient.lua

This file was deleted.

2 changes: 1 addition & 1 deletion Data/Scripts/DestructibleWeaponServer.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--[[
Destructible Weapon - Server
v0.13.0
v1.0
by: standardcombo, Chris C.
Script that specializes a weapon's basic attack to work with the NPC AI Kit.
Expand Down
5 changes: 2 additions & 3 deletions Data/Scripts/MOBA_Example_README.lua
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
--[[
TODO
(The MOBA example works, but is still under construction)
The MOBA example does not rely on any special scripts or components, it's formed by
combining the common elements.
See the NPC_KIT_README file for general info about the NPC Kit.
Expand Down
2 changes: 1 addition & 1 deletion Data/Scripts/NPCAIClient.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--[[
NPCAI - Client
v0.14.1
v1.0.0
by: standardcombo
Modified by: Luapi
Expand Down
2 changes: 1 addition & 1 deletion Data/Scripts/NPCAIServer.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--[[
NPCAI - Server
v0.14.1
v1.0.0
by: standardcombo
contributions: DarkDev, WaveParadigm
Expand Down
2 changes: 1 addition & 1 deletion Data/Scripts/NPCAttackClient.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--[[
NPCAttack - Client
v1.0.0
by: standardcombo
v0.13.1
The client counterpart for NPCAttackServer. Listens for damage and destroy networked events
and spawns the appropriate effects for each.
Expand Down
2 changes: 1 addition & 1 deletion Data/Scripts/NPCAttackServer.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--[[
NPCAttack - Server
v0.14.0 - 2022/10/20
v1.0.0
by: standardcombo
Works in conjunction with NPCAIServer. The separation of the two scripts makes it
Expand Down
2 changes: 1 addition & 1 deletion Data/Scripts/NPCCampBehavior_AlwaysSpawn.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--[[
NPCCampBehavior - Always Spawn
v1.0
by: standardcombo
v0.13.0
Works in conjunction with NPCSpawner and expects it as a sibling script.
Expand Down
2 changes: 1 addition & 1 deletion Data/Scripts/NPCCampBehavior_PeriodicSpawn.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--[[
NPCCampBehavior - Periodic Spawn
v1.0
by: standardcombo
v0.13.0
Works in conjunction with NPCSpawner and expects it as a sibling script.
--]]
Expand Down
2 changes: 1 addition & 1 deletion Data/Scripts/NPCCampBehavior_PlayerProximity.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--[[
NPCCampBehavior - Player Proximity
v1.0
by: standardcombo
v0.13.0
Works in conjunction with NPCSpawner and expects it as a sibling script.
Expand Down
2 changes: 1 addition & 1 deletion Data/Scripts/NPCHeadshot.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--[[
NPC Headshot - server component
v0.13.0
v1.0
by: standardcombo
Optional component that allows an NPC to specify a head point, for increased
Expand Down
2 changes: 1 addition & 1 deletion Data/Scripts/NPCHealthBarDataProviderClient.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--[[
NPCHealthBarDataProvider - Client
v1.0
by: standardcombo
v0.14.0
Works in conjunction with NPCHealthBar. Sets itself as the data provider for the UI.
Other objects could use the same health bar UI by implementing their own data
Expand Down
2 changes: 1 addition & 1 deletion Data/Scripts/NPCManager.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--[[
NPC Manager
v0.14.0
v1.0
by: standardcombo
Provides bookkeeping on all NPCs contained in a game.
Expand Down
2 changes: 1 addition & 1 deletion Data/Scripts/NPCSpawner.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--[[
NPCSpawner
v1.0
by: standardcombo
v0.13.0
Spawns and despawns NPCs. Relies on a separate behavior script to tell it when to
spawn and despawn.
Expand Down
6 changes: 3 additions & 3 deletions Data/Scripts/NPCWaypoint.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--[[
NPC Waypoint
by: standardcombo
v1.1.0
NPC Waypoint
v1.1
by: standardcombo
The waypoint detects NPCs entering its trigger and directs them to move to the next objective.
Can be used for patrolling behaviors, random folks in town, traffic lanes, etc.
Expand Down
2 changes: 1 addition & 1 deletion Data/Scripts/NPC_KIT_README.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--[[
NPC AI Kit
v0.13.0 - 2022/04/17
v1.0.0 - 2022/12/13
by: standardcombo
NPC tutorials at: https://youtu.be/fz5y8MRXM7w
Expand Down
2 changes: 1 addition & 1 deletion Data/Scripts/NavMeshZones.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--[[
NavMesh Zones
v0.12.0
v1.0
by: standardcombo
Defines trigger regions where NPCs look for navigational mesh paths.
Expand Down
2 changes: 1 addition & 1 deletion Data/Scripts/StateBasedAnimController.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--[[
State-Based Animation Controller
v0.13.0
v1.0
by: standardcombo
Instead of playing animations and stances on an animated mesh, this controller
Expand Down
2 changes: 1 addition & 1 deletion Data/Scripts/WaypointExample_README.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--[[
Waypoint Example
v0.13.0
v1.0
by: standardcombo
This example of an enemy camp combines a few components to create an encounter where a
Expand Down
48 changes: 46 additions & 2 deletions Release Notes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,55 @@
NPC AI Kit
Release Notes

v0.14.??? - 2022/12/13
Version 0.14 was developed in conjunction with the Loot MMO framework.

v1.0.0 - 2022/12/13
This version 1.0 is inteded to be forwards-compatible. It also is mostly compatible with v0.11 and later.

Additions
- Added the release notes file you are reading now.
- New Bandit NPC with four rarity levels.
- EnemyHealthBarTopUI: Shows the current enemy you are fighting in the top HUD.
- Enemy data table: Provides additional metadata about NPCs, such as display name.
- Targeting system: Press Tab (or PageUp) to focus on a nearby enemy.
- Added the optional TargetRegister script to NPC templates.
- NPCs can now be stunned by calling NPCAIServer::GoToStunState(). Call GoToSleepState() to un-stun them. Note: Kit does not include any ability or item that applies stuns.
- Added support for Loot Drop Factory 3.0.
- The NPCManager has two new functions: GetNpcs() and GetDamageables().
- Added support for an optional "Level" property on NPCs, with rudimentary hitpoint and damage scaling.
- NPCs now broadcast a server event "NPC.TargetChanged" when they acquire a target.
- Health bars now support additional properties: Name, Rarity and Level.
- Added a healing color to the feedback fly-up numbers.

Changes
- In NPC templates, the engage SFX and damage properties have moved from scripts to the template root.
- Health bars changed to the minimalist version for the dragons, raptor and spider.
- Changed dragon attacks to not be homing projectiles.
- Improved the VFX on dragon attacks.
- The Leash script is now configured to heal by default.
- Waypoints are now much easier to edit due to a new hierarchy structure.
- Optimized rendering and networking across all objects.

Bugs
- Fixed an error in CombatWrapNPC when melee weapons hit NPC projectiles.
- Fixed a bug where some of the animation controllers would replay the death animation in case a disabled NPC kept taking damage.
- Fixed deprecation warnings.

Combat Dependencies v1.3
- New: Combat Events script. Builds upon the events from CombatWrapAPI, with the addition of priority order for listeners.
- New: Combat Accountant. Keeps track of who damaged what, for rewards and assists.

CombatWrapAPI v1.0
- Added GetAll()
- Added GetMaxWalkSpeed() and SetMaxWalkSpeed()

Tags v1.2
- Now more flexible. Tags can be added to a variety of object types.

Known issue: While this version is compatible with Loot Drop Factory 2.0, expect non-critical errors due to new LootID on some NPCs. Those can be fixed by either A) Change the LootID on NPCs, B) Add the required IDs to the Factory, or C) Use Loot Drop Factory 3.0.



v0.14 was developed in conjunction with the Loot MMO framework, circa 2022/10/20.



Expand Down

0 comments on commit 0302638

Please sign in to comment.