Post news RSS Map in progress and AI Pathfinding Testing

A new map in The Long Way is a cutscene, so you can't play on it. Also I uploaded a first AI test, pathfinding.

Posted by on

Firstly, the map

It's named "Syberian Bunker cut-scene" My goal is to make something like that - Camera flyes in syberian forests, suddenly goes down and reaches an underground railroad. Some time later the camera goes into the door, and you can see something like that:

Syberian Bunker - a first look

I'm talking about the green door. Later, the camera flyes into a big lounge where some VIP persons are sitting and discussing their plans about the war.

Syberian Bunker - a first look

About the AI

It was difficult but I integrated pathfinding in my first NPC - ninja! Now it can find a path in thousands of mazes to kill you! :)

Watch it in action:

The ninja's logic is:
1) If the player is not far more than N world units, proceed
2) If there is no obstacles on the path between player and npc, go straght to player
3) If there is an obstacle run a pathfinding algorhythm and find a path, don't find another path until there is a straght path between player and npc. So, GOTO 2

Some new engine features are - Button advanced object. It executes script when you press it.

Some new map editor features - minor bug fixes and rotating objects in scene, not in a text box by quaternions.

Keep tracking and please comment if you have some ideas!

Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.