PF_Sandbox
PF_Sandbox copied to clipboard
computer players
To add computer-controlled players we need:
- A way to setup computer-controlled players on the fighter select screen + Left/Right dpad to add/remove computer players + Directly after adding a computer player the controller who did so must choose the fighter the computer player will use and then choose the AI the computer player will use.
- A few generic AI's to choose from + Do nothing + Just Walk + Just Jump + Basic fighting AI - This will always be terrible because it wont know how to correctly play the fighter) - We could read the hitlag and frame data of the moves to determine which moves are better in the current situation, but theres not much point because a custom AI will always be better.
- Custom AI's implemented via scripting
There is an immediate need for an easy way to get a dummy fighter so we should first implement a minimal version.
It will only allow adding/removing computer players and would be equivalent to running pf_sandbox -- -p2 with one controller.
CPU players can now be added and removed in the CSS.
Still need to implement some generic AI's and allow the AI for a CPU to be chosen in the CSS.