Command Line Arguments
Hello, Does PanzerChasm support cmd line arguments? Mostly useful for 3rd party multiplayer launchers. That would help me add support in NukemNet.
Now there are only commands to set add-on path. But it is not so hard to add some. At least, it is possible to add something, like "--exec" command, which executes command line argument string as console command. And there are already console commands for new game start, save, load, server start, server connect, etc.
Assuming there are console commands for setting the listen port, connecting to address:port, setting player name, setting map, etc.. that would probably be enough.
Added "--exec" option: https://github.com/Panzerschrek/Chasm-Reverse/commit/b2932c276ab6337f8cca9550ba4748c9d54a2b35. But some console commands are still incomplete. For example, it is impossible to specify server params, when starting a server.