Frag Arena: First-Person Shooter Kit with Deathmatch, Bots and Scoreboards
README.md
arenaBots.personalities
How a bot plays, independent of how well it fights (its skill). Plain data like the skills: balanced (the default, the original behaviour), rusher (charges in to point-blank, barely strafes, chases hard), camper (takes the highest spot near it, holds it for long stretches, fights from the far end of its weapon's range, never chases), flanker (circles around its target to the side and back while fighting), sniper (keeps the longest distance, slow and still, relocates now and then) and support (stays close to teammates, mid range). Personalities.define(id, { base = "rusher", ... }) adds one. Read by arenaBots.brain; reached as require("arenaBots.personalities") or Bots.personalities().