[TF2] Force start round in mp_tournament
Posted: Thu Mar 21, 2019 6:33 pm
Hello!
I'm trying to work on some plugins for competitive TF2, one thing that would be really nice is having a bit more control over the mp_tournament stuff. Basically TF2 has a mode than can be enabled called "mp tournament" which allows community organized competitive matches to occur. It has a butt load of options, but does feel like it's only half finished.
I would like to be able to force start the round with an admin command. There is no built-in command to allow this. My working hypothesis is that I need to find a specific server entity and send inputs to it. Unfortuneatly Valve doesn't have thorough documentation on their server entities, so I'm guessing I would need to do a lot of digging / trial and error. Heres all the TF entities: https://developer.valvesoftware.com/wik ... 2_Entities
There is a SourceMod plugin I know does simliar things: https://github.com/fwdcp/CompCtrl/blob/ ... matches.sp
But I'm unsure how it actually accomplishes it (i don't know a lot about the internals of the engine, and this code is a bit spaghetti-esque)
I have little to no idea how to actually go about doing this, so anything someone can send me to point me in the right direction would be helpful!
Thanks!
Zeus
I'm trying to work on some plugins for competitive TF2, one thing that would be really nice is having a bit more control over the mp_tournament stuff. Basically TF2 has a mode than can be enabled called "mp tournament" which allows community organized competitive matches to occur. It has a butt load of options, but does feel like it's only half finished.
I would like to be able to force start the round with an admin command. There is no built-in command to allow this. My working hypothesis is that I need to find a specific server entity and send inputs to it. Unfortuneatly Valve doesn't have thorough documentation on their server entities, so I'm guessing I would need to do a lot of digging / trial and error. Heres all the TF entities: https://developer.valvesoftware.com/wik ... 2_Entities
There is a SourceMod plugin I know does simliar things: https://github.com/fwdcp/CompCtrl/blob/ ... matches.sp
But I'm unsure how it actually accomplishes it (i don't know a lot about the internals of the engine, and this code is a bit spaghetti-esque)
I have little to no idea how to actually go about doing this, so anything someone can send me to point me in the right direction would be helpful!
Thanks!
Zeus