LibSWBF2 / SWBF2Phoenix

A re-implementation of the old Star Wars Battlefront II (2005) game, utilizing the Unity game engine
GNU Affero General Public License v3.0
72 stars 12 forks source link

AI Navigation Paths #10

Open Ben1138 opened 2 years ago

Ben1138 commented 2 years ago

In the ZE, you can define planning paths with hubs and connections between them:

grafik

Question is, will we use this information, or use Unity's Navigation Mesh, or a hybrid of both? Note that different planning paths can target different types of AI: Soldier, Hover, Flyer, etc.

Also import AI HintNodes:

grafik

Ben1138 commented 2 years ago

I forgot about Barriers

grafik

Ben1138 commented 2 years ago

You can also enable/disable connections in Lua via: BlockPlanningGraphArcs("ConnectionName") UnblockPlanningGraphArcs("ConnectionName")

Aswell as Barriers: EnableBarriers("BarrierName") DisableBarriers("BarrierName")