thanks davek, good to hear. You know, i actually play still cs
because i am working on RealBot. I got lucky when i found a good on-line server for myself later. If i never worked on RB, i probably did not even play CS anymore.
The coding experience you need to write stuff for the bot is actually not that much imo. The very basics are:
- understanding of 3d a bit (you can think a bit in 3d)
- you should understand how a program works (line by line), you have to think like a program.
- know the basics of C (C++ not nescesary!)
- get yourself a (free) compiler.
Actually i think the following code is understandable to most people aging from 15 years old.
except for the ;, it looks like a normal math formula. When A is 3, then the sum becomes:
A = 3 + 2
A = 5
And this was actual code, very simple code of course.
When i want to code sollution, like handling buttons. I think in small steps. What do you do as a human to open the door? Lets pretend you are stupid, dumb and you really think doors _only_ open by touching it. What will you do when it does NOT open by touching it? You will probably think WHY, and yo uwill find the SWITCH. Now, thats what RB does too:
- when door is not opening when touching
- find a switch
- go to it
- use/touch it
- go back to door and resume path
when you have come this far, you did 40% of the work. Now you need to know what variables and functions are available (read-> instruments/tools) to make this work.
Anyway, i always comment my code a lot, so i think eventually you will understand and even able to apply patches.