Vruki Salet Posted June 14, 2006 Share Posted June 14, 2006 Change MinimumAttackDistance for WP_SABER to 60 instead of 30. Change MaximumAttackDistance for WP_SABER to 160 instead of 100. Change IdealAttackDistance for WP_SABER to 90 instead of 40. This makes them attack from a little far sometimes if you're just standing there, but not always and anyway most of the time you're not just standing there. The extra distance gives you some room to advance for a hit and step back to avoid his hit without having to run around the whole #%$! map backwards. Tweak them after testing if you want but I think that all of these should be within 10 of the numbers I give. I used to use 80 for IdealAttackDistance and it wasn't bad. I actually have trouble deciding on that one. I also made it so there are random pauses between there attacks instead of it being constant. You might consider it, it makes them seem a little more natural imho. Link to comment Share on other sites More sharing options...
Ludecan Posted September 28, 2006 Share Posted September 28, 2006 Hi, how do I edit the attack distances? Thanks in advance Ludecan Link to comment Share on other sites More sharing options...
Vruki Salet Posted September 28, 2006 Author Share Posted September 28, 2006 You need to edit those values in ai_tab.c and recompile the game. They are values for the tabbots. Link to comment Share on other sites More sharing options...
ensiform Posted September 28, 2006 Share Posted September 28, 2006 ctf4 needs fixing too the bots like to jump off ledge and then do a roll into the pit and thus never capturing and they *always* take lift and go down bridge instead of trying other routes to capture flag or even trying to get enemy flag. and they like to just stand around in many places. Also, the reason why bots dont work so well in Siege is because many maps have MONSTERCLIP's which block all AI (NPC and BOT) from entering those areas like the playerclip but for ai. Link to comment Share on other sites More sharing options...
razorace Posted September 28, 2006 Share Posted September 28, 2006 Vruki, you got CVS access? Could you just try changing the values yourself? Remember that you'd need to commit any changes to the OJP_BASIC branch to the SPNAVCODEPORT and HEAD branches as well. Link to comment Share on other sites More sharing options...
Vruki Salet Posted September 29, 2006 Author Share Posted September 29, 2006 I'll have CVS access again soon, but I don't know if I have commit permission. I just have a regular old account. Could I do that? Link to comment Share on other sites More sharing options...
razorace Posted September 29, 2006 Share Posted September 29, 2006 I've given you write access. Talk to me on IM and I'll give the details. Link to comment Share on other sites More sharing options...
Vruki Salet Posted September 29, 2006 Author Share Posted September 29, 2006 I committed these changes (except made ideal distance 84) to OJP-E, I think, and that's all. This is my first time committing anything to a CVS source so you might want to check to see what's changed. p.s., POWER!!!! UNNNNLIIIMIIITED POWER!!!!!!!! (j/k! don't worry!) Link to comment Share on other sites More sharing options...
razorace Posted September 29, 2006 Share Posted September 29, 2006 Thanks Vruki. Just two notes for the future: 1. You only need to use code tags when you're changing basejka code. Since the TABBots are my creation, you can just make tweaks/additions to it without tags. 2. It makes it easier for me you'd commit changes that apply to both OJP Basic and Enhanced to both of their source codes. I cover this in the tutorials in ojp_cvs.txt file and in the Accessing the OJP Source threads. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.