![]() |
Re: Yay - Bots move to given vector location...
it would not suprise me if it did not work for bots... ;)
|
Re: Yay - Bots move to given vector location...
actually I just tried it with the bots, they got the origin ok, maybe you do need to "GetIServerEntity()" because i was still using that : *changes code on post*
|
Re: Yay - Bots move to given vector location...
I think when the bots spawn, they rotate to face the direction (YAW) of the spawnpoint, then they stay facing that way for the rest of the game.
Try creating your own little CS map with T and CT spawn points that face 0 and 180 degrees and I bet the bots that spawn there will be facing each other (or facing away from each other, whatever). botman |
Re: Yay - Bots move to given vector location...
botman, that would not suprise me, as the spawn points always have had control about the view angles (in Hl1 aswell). Though this was not 'default' in HL1 with fake clients if i remember correctly :)
|
Re: Yay - Bots move to given vector location...
got anymore good news?
|
Re: Yay - Bots move to given vector location...
I'm sure when something changes, someone will post news. No news means nothing has changed.
botman |
Re: Yay - Bots move to given vector location...
something changes
http://johannes.lampel.net/pics/shit/de_cbble0005.jpg SteveC delivered some very helpfull stuff; though its not the neatest way to do it ;) EDIT: BUT there is no neater to way to do it as well! |
Re: Yay - Bots move to given vector location...
** Total Edit ** :P
Alright, well I managed to get SteveC's CBaseEntity trick to work with my bots and got my bots to follow me whilst they look in the same direction (they don't look at me to follow me). I have an example movie of a bot doing this here: http://rcbot.bots-united.com/downloa...er/botmove.zip The movement is actually the same as HL1 but the QAngles were between 0 and 360 instead of -180 and 180, which was confusing me. PHP Code:
PHP Code:
PHP Code:
|
Re: Yay - Bots move to given vector location...
yes, i got this working too, you can see it in the ubframework alpha template.
currently my css bots walk around de_cbble using waypoints! yay. |
Re: Yay - Bots move to given vector location...
crap well when I try it again while changing the viewangles they move all over the place, I think there might be something else to do with the getting the right angle from either world or player forward vector, I'm still a bit unsure
|
All times are GMT +2. The time now is 01:45. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.