![]() |
Re: How to do correct movement
yes, thats the problem. But since this bot seems to work with CS, there MUST be an enheritance at the CSS side! And since HL2DM will be released soon (its source i believe). It could mean that the bot should work on HL2DM as well..
|
Re: How to do correct movement
hey i do notice your bot walks and looks the same way right? How about looking to direction A and walking to direction B?
|
Re: How to do correct movement
I was planning on doing that in the same way as you do when playing HL, using the sideways speed to simulate the strafe keys. A bot could also do it at any angle not just at 45degrees (like a player) by just using different ratios of forward speed and sidespeed.
|
Re: How to do correct movement
I think the animations should also work correctly when you do it that way.
|
Re: How to do correct movement
this will be pretty complicated when you want to look into several directions and walk just a path. I do know strafing is a way for combat, but i also thought , as with HL1 bot coding you could just pass 2 different angles (one for body, one for head) to get the same result. Its up to the coder to smoothen this out, but this would be most ideal (and easy).
|
Re: How to do correct movement
I could add two vectors to the CBot class which contain the movement direction and the viewing direction, then it would be quite easy to 'say' "look there and walk here". I'll get on it right away infact.
|
Re: How to do correct movement
great ;) i can't work on this right now, but i am quite anxious to see what you got working there! :D
|
Re: How to do correct movement
Whenever I compile your source, I get all the same compile errors I usually get when I try to include cbase.h,
see, whenever I just include cbase.h, I get "syntax error identifier: x... syntax error: identifier y... syntax..." surely you must have linked something differently? Sorry but I'd just like to know how to get CBasePlayer or CBaseEntity in a plugin as I'd like to do it by myself, and then I'll leave you alone :P |
Re: How to do correct movement
same problem here ...
|
Re: How to do correct movement
there is no workspace included in the project, perhaps you need to do that so we can see what you link differently...
|
All times are GMT +2. The time now is 11:43. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.