How UT Weapons Work
Before we start
It is advisable to have the script code of the classes mentioned opened in an editor of your choice while reading this to compare the descriptions here with the actual code.
Contents
- /Firing a weapon
- /Switching to another weapon
- /Picking up a weapon
- [/How bots choose a weapon]?
- [/Telling bots how to use a weapon]?
- /Double Enforcers (?) – How to make weapons like the UT Enforcer.
Related Topics
Discussion
Luggage: Can someone explain how the return value of the RateSelf() function is... valued? The higher, the more likely is a bot to choose that weapon... but... how often is that function called? And how do bots respond to it? Hm, maybe I could just have a look at what the other guns give back, ahem.