Forum

> > CS2D > Maps/Editor > Moving Bots ?
Forums overviewCS2D overview Maps/Editor overviewLog in to reply

English Moving Bots ?

9 replies
To the start Previous 1 Next To the start

old Moving Bots ?

CarboN Cs2d
User Off Offline

Quote
Hello Guys.
I need some help for a training map
i need a bot or npc who can move just right and left 3 or 2 tiles with use trigger so we can train aim
and with levels Like
1-Easy The bot or npc move 2 tiles and don't shot
2-Normal the bot or npc move 2 tiles and shot
3-above Normal the bot or npc move 3 tiles and shot
4-high the bot or npc move 4 tiles and shot
Ex :
IMG:https://i.imgur.com/LqwZ9jq.png

old Re: Moving Bots ?

DC
Admin Off Offline

Quote
You can replace the standard ai (bots/Standard AI.lua) with your own one. Basically all you need for such a simple behavior is cs2d lua cmd ai_move - or alternatively cs2d lua cmd ai_goto - called in
ai_update_living(id)

old Re: Moving Bots ?

xsiN
User Off Offline

Quote
You can search in the file archive.
I recall seeing a few bot scripts with improved AI, can't remember which though.
Good luck

old Re: Moving Bots ?

Gaios
Reviewer Off Offline

Quote
user CarboN Cs2d has written
Guys Sorry But I'm Not good in Lua or Maps So Can anyone Help me or do it for me

Wtf dude? I already send you the file...
To the start Previous 1 Next To the start
Log in to reply Maps/Editor overviewCS2D overviewForums overview