19 Jan 13, 05:45PM
(19 Jan 13, 03:51PM)Frogulis Wrote:(19 Jan 13, 11:11AM)MykeGregory Wrote: So you edited the source code? naughty naughty.Ain't nuthin' wrong with a bit of source modding.
VonDrakula: can you post a video of this or something?
There's just something a bit suspicious about minimal information followed by an uninformative URL.
I will try and make a video when/if I have time. The zip file is on my SkyDrive, if you have any better idea for where to upload the code please let me know. The changes are all in one new file (ai.cpp, included in the zip, about 2700 lines o'code) and there are instructions at the top of the code for how to integrate it into the project using Visual Studio.
You don't have to execute the binary that I included if you think it's suspicious, it is there just for convenience.
I wrote this for my own amusement but I thought I'd be a good boy and share it with the community, maybe the devs want to borrow ideas / code.
Also: I made the bots crouch so one can play CTF on ac_aqueous ;) Also made a small gameplay change that can be turned off with a variable: the dead drop their primary weapons when killed which another bot or the player can pick up (unless it is of the same kind as the primary they carry in which case only the ammo is picked.)
Code is C++11 so requires Visual Studio 2010 to compile but it can be dumbed down if needed.
More bragging about this project here: http://the-free-meme.blogspot.com/
Best regards!