Open jdolan opened 7 years ago
What about team spawns?
We can add them too.
@QuakeRanger is this something you'd have interest in doing? The process here would be:
quetoo-data
in Github Desktop or similarquetoo-data\target\default\map-foo.pk3
to \My Games\Quetoo\default
My Games\Quetoo\default\maps\foo.map
in Trenchbroomquemap -bsp -onlyents -zip maps/foo.map
quetoo-data\target\default\map-foo.pk3
with the resulting My Games\Quetoo\default\map-foo-12345.pk3
I'm going to say that, for maps not specifically designed for CTF, we should not attempt to add team spawns. Instead, we could add some logic in the game module to prioritize deathmatch spawns that are close to your own flag. This way, we don't have redundant team spawns on top of existing deathmatch spawns.
@Paril added code to the default game module that dynamically (but deterministically) adds CTF flags to all maps. This may reduce the amount of work required for this ticket. I think whoever takes it on should first run through the maps as-is, and see if the auto-generated CTF entities are adequate / ideal. If they are, that map can be skipped.
I've seen Gym have CTF flags both colors swapped yesterday.
Are the default maps adequate right now for CTF with the autogenerated flags? If they don't have the flags then they probably won't play very well in CTF anyway. Adding more than 2 teams would also mess stuff up.
They're playable but really sub-optimal. @Paril's code basically "forfeits" a player spawn point as the flag spawn, so for maps that are already somewhat sparse in terms of player spawns, auto-CTF is problematic. Warehouse is a good example of this.
So we could / should either add some more player spawns, or add explicit CTF flag spawns, or add both. Maybe aim for 12 spawn points per map, or something?
Adding player spawns on remakes might wreak havoc to older players' playstyles, and might get a couple people killed if they stand in Pan's way :D
Only team spawns. It won't mess with deathmatch spawns at all.
@Panjoo Not sure if you're aware of this ticket, but.. while you're finalizing the q2dm levels, would you mind adding some proper team spawn points as well?
Some of my most fond Q2 memories are playing VanillaCTF (the mod that added poor man's CTF to SP and DM levels). We should totally add CTF capability to most if not all of our maps. It's just a matter of dropping flags and rebaking them with
-bsp -onlyents
.