HPBBot/Bot#10/ZWC Bot: final fixes NED HELP!
HI again!. Finaly I managed to make the Bot of my mod work almost as I wanted. As some of you remember, it was made using Botmanīs Bot#10īs SDK as the main code for it. SInce it shares many functions and procedures with HPBot I decided to post this thread here and not in Offtopic or General Bot coding.
Well, as I was saying, the bot is behaving fairly well, except for some old issues that I cannot fix, no matter what I did. I must say that my knowledge of C++ is VERY basic, so I must assume that it is not a probem with the Bot#10 code but my entire and absolute lack of skills on coding. Said that, I will expose what happen with the ZWCBot (thatīs how I call it): -Bots cannot "see" where the void is, so they usually fall into it and die (chhese gave me a fix in 2014, but did not work, so Iīm still working on it). -Bots seem to not recognize that there are other weapons in inventory, thus they only use the weapon on slot 2, ignoring the rest (After hundred of test sessions, they used one time the weapon on slot 1). -Botīs aiming is quite weird, they fire upwards and forwards fine, but, suddenly is like if the weapons started to weight too much and point them to the floor even if thereīs not an enemy, then return to aim normally, but this is happening over and over. -Another issue is that, when shooting, they start to shake up and down the weapons very fast, like a Heavy Metal addict headbanging to his death. -Another issue is: when aiming upwards, if the Bot get past the maximum pitch angle, it bends all the body lying on the floor on its back (looks very weird). As you can see, it is not like the bots donīt work at all, but those issues make the gamelay look like shit (IMHO). If you want, I can post the bot_combat.cpp and bot.cpp file of the Bot. ;) |
Re: HPBBot/Bot#10/ZWC Bot: final fixes NED HELP!
Sorry for the spelling mistakes...
|
Re: HPBBot/Bot#10/ZWC Bot: final fixes NED HELP!
Hereīs the full combat.cpp file (no secret is revealed, except the part to make bots shoot sentinels). ;) Use it freely (but give me some credit!!, haha).
Code:
//=========================================================== Hereīs a video of the Bot in action... http://www.moddb.com/mods/zion-warcr...ource#imagebox |
Re: HPBBot/Bot#10/ZWC Bot: final fixes NED HELP!
Wow you have one epic mod there I'm testing it now.
...well until I've tested it...hehe...well I've commented at your moddb page using my other nick...alencore. Yeah those bots needs more work really wish I could help but I don't know shit when it comes to coding LOL! Hope some of the more clever ones here would help you out coz the mods seems very promising. |
Re: HPBBot/Bot#10/ZWC Bot: final fixes NED HELP!
I hope to not be too harsh, but this foruns at botsunited are quite dead-ish, no?:unsure:
|
Re: HPBBot/Bot#10/ZWC Bot: final fixes NED HELP!
Sadly yes. The active times were 2004-2008, after that it is only basic support forum.
|
Re: HPBBot/Bot#10/ZWC Bot: final fixes NED HELP!
crap...:cursing:
This place used to be a superb place to get info for modders... Btw: may I ask for your help? ;) |
Re: HPBBot/Bot#10/ZWC Bot: final fixes NED HELP!
Sorry I cannot help you much, but I can recommend you to base your bot on the official template from the Half-Life SDK. It is much clearer code and I guess that such bugs would not be present there.
https://github.com/ValveSoftware/hal...ame_shared/bot |
Re: HPBBot/Bot#10/ZWC Bot: final fixes NED HELP!
Oh, wow!, thanks!, I have taken a slight look to the code and looks far simpler and clearer than bot#10's code. Also I have a doubt, what should I spect from this bot? seems like it is done for Counter-Strike...
|
Re: HPBBot/Bot#10/ZWC Bot: final fixes NED HELP!
There is some CS leftovers but it is generic code.
|
All times are GMT +2. The time now is 13:39. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.