There was discussion about bots for NS2, therefore I would like to share with you Bot-Gorge.
It's simple right now and pretty stupid bot, but got implemented (somehow) the "follow the path" feature. I uses the drifter's/Arc's/MAC's pathing.
EDIT - TODO: - return from resource node back to (nearest) hive - make gorge do mini cyst chain from hive to res point - place hydras (randomly?) - heal self, when damaged - of course run away from marines :)
Here is code "lua/BotGorge.lua":
//============================================================================= // // lua/Bot_Gorge.lua // // Created by ZycaR // Chunks of code are inspired/reused/copyied from other NS2 parts to speed up implementation // // This class is a gorge bot // //=============================================================================
for usage just add these lines into Bot.lua (similar to test bot):
if className == "gorge" then class = BotGorge end ... Script.Load("lua/BotGorge.lua")