Skip to content

Releases: TF2-DMB/CBaseNPC

CBaseNPC 1.7.0.93

25 Jul 20:50
0e3d7b0
Compare
Choose a tag to compare

Rough implementation of NextBotPlayer for events propagation (#29)

  • Added a basic ToolsNextBotPlayer interface, it is intended to mimic the NextBotPlayer object for events propagation.
  • Added the ability to provide a nextbot factory to AttachNextBot native.
    E.g :
CEntityFactory EntityFactory = new CEntityFactory("player");
EntityFactory.DeriveFromClass("player");
EntityFactory.AttachNextBot(ToolsNextBotPlayer_Factory);
EntityFactory.Install();
  • The extension provides two builtin NextBot factories, ToolsNextBot_Factory & ToolsNextBotPlayer_Factory.

CBaseNPC 1.6.2.92

20 Jul 17:58
e364844
Compare
Choose a tag to compare

Add CBaseEntity-based typedefs to typesets (#28)

CBaseNPC 1.6.1.91

07 Jul 15:30
904a492
Compare
Choose a tag to compare

Fix GetDataDescMap not returning a valid ptr on entity deletion (#26)

CBaseNPC 1.6.0.90

06 Jul 22:10
09ea2e4
Compare
Choose a tag to compare

Add Get/SetDataEnt to Actions (#21)

  • Add NextBotAction.GetDataEnt native
  • Add NextBotAction.SetDataEnt native
  • Add NextBotActionFactory.DefineEntityField native

CBaseNPC 1.5.3.89

06 Jul 17:12
6f2e9f6
Compare
Choose a tag to compare

Destroy NextBot interfaces before detaching datamap (#25)

CBaseNPC 1.5.2.88

04 Jul 09:04
9f2925b
Compare
Choose a tag to compare

Fix crash when uninstalling a CEntityFactory (#24)

CBaseNPC 1.5.1.87

03 Jul 00:51
2395568
Compare
Choose a tag to compare

Build against SM 1.11 (#23)

CBaseNPC 1.5.0.86

03 Jul 00:03
bd6ccd6
Compare
Choose a tag to compare

Allow overriding of game factories + blank INextBot interface (#22)

  • The TO-DO(s) will be addressed in later PR's
  • Decouple CBaseNPC_Entity from the behaviour system
  • Remove exclusive CBaseNPCIntention creation for base_npc
  • Allow instantiation of custom INextBot
  • Add CEntityFactory.AttachNextBot native
  • Allows for entities based on CBaseCombatCharacter to take advantage of the NextBot system
  • Event/update forwarding not supported yet, will be addressed in a later PR
  • Setup INextBotEventResponder natives
  • Tie up some loose ends with dictionary hack

CBaseNPC 1.4.0.85

06 Jun 15:17
4cb7a1b
Compare
Choose a tag to compare

Fix error case in CNavMesh.BuildPath + add natives (#20)

Added the following natives :

  • CNavArea.IsOverlappingX
  • CNavArea.IsOverlappingY
  • CNavArea.GetExtent
  • CNavArea.ContainsPoint
  • CNavMesh.GetNavArea
  • CNavMesh.GetNavAreaEntity

Added the following stocks :

  • DirectionLeft
  • DirectionRight
  • DirectionToAngle
  • AngleToDirection

Gamedata update is required.

CBaseNPC 1.3.1.84

07 Feb 19:21
c5c2c4a
Compare
Choose a tag to compare

Update Nav natives (#18)

Fixes:

  • Fixed CNavArea.SetCostSoFar not being registered to natives
  • Fixed CNavArea.GetSizeX/Y not defined in includes

Additions:

  • TheNavMesh.BuildPath
  • CNavArea.Get/SetTotalCost
  • CNavArea.Get/SetPathLengthSoFar
  • CNavArea.ComputePortal
  • CNavArea.ComputeClosestPointInPortal
  • CNavArea.GetClosestPointOnArea
  • CNavArea.ComputeAdjacentConnectionHeightChange
  • CNavArea.IsOverlappingPoint
  • CNavArea.IsOverlappingArea
  • CNavArea.IsOverlappingExtent
  • CNavArea.GetDistanceSquaredToPoint
  • CNavArea.IsEntirelyVisible
  • CNavArea.IsPartiallyVisible
  • CNavArea.IsPotentiallyVisible
  • CNavArea.IsCompletelyVisible