Phew... no I'm confused ???
I appreciate your enthusiasm and your determination to continue this project, but it seems like you're off to quite a chaotic start. Before anybody starts "fixing" or changing anything, maybe we should FIRST determine the most apparent shortcomings, THEN discuss how to fix them and FINALLY touch the code.
I'm totally lost now concerning this team definition thing. I'm using an older release because I need a dll that works reliably for my waypointing stuff. Have I missed some disastrous giant monster bug concerning team definitions, a bug that seriously affects gameplay? Has anybody complained that something's terribly wrong about using 1 and 2 instead of 0 and 1 ? I really cannot tell any more...
I'm too stupid to even read that code, and I guess I wouldn't know a compiler if I had one on my HD, but I do believe that I know something about playing with bots and about what causes difficulties and stuff. So I might dropy by once and again and add my 20 cents to the discussion, if you can bear with me. 9_9
Right now, my 20 cents consist of a little list of things that might be changed, sorted by priority.
1. bots and buttons.
2. bots and buttons.
3. bots and buttons.
.
.
.
487. bots switching to unwaypointed navigation when they'd better not do that...
Ok, and I'm not even talking about code changes right now, but about some general questions: How do we want bots to behave? What part of the code is responsible for their current behaviour? Could it be modified to suit our needs? If so, how?
Yes, I feel myself that this is liking taking 3 steps back, but when you start getting lost, going back to where you came from and getting a map is not the worst thing to do - so I suggest focusing first on what stefanhendriks said about his button code, and PMB's suggestion about that (currently sort of useless) button flag. Does that sound ok, or am I just talking nonsense again?