BOTs for HL1 MOD Contra-Force 1.4b. Based on Jeffrey´s HPB Bots v3.0 .
I´m a Half-Life fan and one of the multiple MODs i loved to play is Contra-Force.
Contra-Force was a mix between Sven Co-op and Counter-Strike, a realistic and dificult MOD where players cooperate to fight monsters in a simulated real gameplay.
It was not a very famous MOD. The last version was 1.4b, as far as i know so it had some bugs to fix and features to add but looked very promising from my point of view.
The weakest point of this MOD was the horrible maps because it had not much support from the community.
When i feel nostalgic and want to revive old times playing this MOD, i found (as expected) that none plays this MOD at this times, so i wanted to try adding Bots to it, but my main problem is that i´m not a programmer.
First i tried to make bots based on RCBot 1.5 beta mm release with no luck, always crashed the MOD when trying to add bots so i look for a more basic version of the bots, like the HBP Bots v3.0 (non metamod).
After some copy & paste and various code modifications, it seems i got the most approaching to a bot i can have, at least no game crash!
I want to share this to those posible interested and those that may help me make a decent bots to this MOD, either this version or a metamod one.
Commands are:
addbot - add a bot to the game
waypoint on - show waypoints (if any)
waypoint add - add a waypoint in current user position
waypoint del - delete current nearest to player waypoint
waypoint menu - show a menu for current nearest to player waypoint for special waypoint flags
pathwaypoint on - show paths from one waypoint to other
pathwaypoint add1 / add2 - manually add a path from waypoint A (add1) to waypoint B (add2)
pathwaypoint del1 / del2 - manually delete a path from waypoint A (del1) to waypoint B (del2)
Waypointing is a very important part for a good bot handling on maps.
It´s a very good idea to bind the commands listed above to simplify the work of waypointing maps.
Ex: bind c "waypoint add"