![]() |
Re: How to do correct movement
the SDK had an update, perhaps you need to re-build the source from a new SDK as SteveC did ;)
|
Re: How to do correct movement
I'm compiling the SCBot source with the same SDK code as my bot, SCBot compiles fine with the CBasePlayer stuff, mine doesn't even with the GAME_DLL thing and stuff, it;s confusin me ???:(
|
Re: How to do correct movement
Some of the functions within CBasePlayer don't work, they create linking errors. I think it's related to what the function calls, e.g. if it calls stuff from within the base entity class.
|
Re: How to do correct movement
I saw in your post you figured how to do walking to A , aiming at B
got any hints/source on that? :D |
Re: How to do correct movement
I think the latest souce zip in this thread contains the code for moving one way and looking in the other. But I don't think it will be very tidy, so not too readable.
It's quite easy now the math utilities are working because you can do tricky stuff in one line. =) |
Re: How to do correct movement
i got this principle working already as well; thx for the code snippets. I don't think i need more ;)
http://johannes.lampel.net/pics/shit/de_cbble0005.jpg thx for mr joe / asp for his screeny and testing, man i have to reinstall MSVC! :( |
Re: How to do correct movement
I could compile the second zip file he posted fine, but I was unable to find where you defined GAME_DLL, which file did you put that in if you mind me asking?
|
Re: How to do correct movement
you can define stuff in the properties of your project, so you don't need to write that defines directly to some file ( which you might forget to load here and there, and then you'd be fucked up )
|
Re: How to do correct movement
I'm having trouble getting bots to face something, they never turn to look at anything when I set the cmd.viewangles to the angles I want. Is there something I'm missing? I'm using SteveC's CBasePlayer way of issuing a command:
PHP Code:
|
Re: How to do correct movement
Did you include the line of code to set the fixangle type to none?
It's in post 3 of this thread. |
All times are GMT +2. The time now is 19:39. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.