In short, IAD files can be ignored.
You probably already knows this, but:
can give you some insight in some commands. But yeah, there needs to be documentation about the commands. Since it became a metamod plugin, things got unclear.
As for the grenade types; there are 2 places where the bot checks if a 'grenade type' is the bomb (which is planted).
This is:
1. Where a game loop checks when the bomb is planted
2. Where bot defusing code runs
When looking for a C4 timer it does:
Code:
while ((pent = UTIL_FindEntityByClassname(pent, "grenade")) != NULL) {
if (UTIL_GetGrenadeType(pent) == 4) // It is a C4
...
which basically means, get all entities , and there could be a possibility that the UTIL_GetGrenadeType is not identifying the model correctly. However, the function tells me that whenever it spits out "UTIL_GetGrenadeType unknown grenade model", it should also print the model name in the second line. Can you tell me what model name it gives? If you don't see a thing, then it means somehow there was a model there with no model name..(v.model)
I have seen many things in code there what i'd like to improve. I have been away for like 2, 3 years and gained a lot of experience in programming for real (hence not only for hobby), and seeing RealBot now makes me feel i can A LOT better.
If you like, you can give me some more pointers where you'd like to see improvements. Then i can work on them more efficiently.
Also; when players are spectating, is this also for maps where players are for the first time? Or do bots always act dumb, even when they have played well before? Because realbot needs to learn a map first. But then again, if you run a server, i suppose that you had real players before who spawned a lot of waypoints already.