Forum

> > CS2D > Maps/Editor > Moving Bots ?
ForenübersichtCS2D-Übersicht Maps/Editor-ÜbersichtEinloggen, um zu antworten

Englisch Moving Bots ?

9 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Moving Bots ?

CarboN Cs2d
User Off Offline

Zitieren
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

alt Re: Moving Bots ?

DC
Admin Off Offline

Zitieren
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)

alt Re: Moving Bots ?

xsiN
User Off Offline

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

alt Re: Moving Bots ?

Gaios
Reviewer Off Offline

Zitieren
user CarboN Cs2d hat geschrieben
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...
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Maps/Editor-ÜbersichtCS2D-ÜbersichtForenübersicht