jdolan / quetoo-data

Quetoo ("Q2") game data. Creative Commons Attribution license.
http://quetoo.org
Creative Commons Attribution Share Alike 4.0 International
14 stars 3 forks source link

Add team spawn points on Q2DM maps to improve TDM and CTF #73

Open jdolan opened 7 years ago

jdolan commented 7 years ago

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.

kaadmy commented 7 years ago

What about team spawns?

Paril commented 7 years ago

We can add them too.

jdolan commented 7 years ago

@QuakeRanger is this something you'd have interest in doing? The process here would be:

  1. Clone quetoo-data in Github Desktop or similar
  2. For each map, unzip quetoo-data\target\default\map-foo.pk3 to \My Games\Quetoo\default
  3. Open My Games\Quetoo\default\maps\foo.map in Trenchbroom
  4. Add CTF flags
  5. quemap -bsp -onlyents -zip maps/foo.map
  6. Overwrite quetoo-data\target\default\map-foo.pk3 with the resulting My Games\Quetoo\default\map-foo-12345.pk3
  7. Commit and push.

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.

jdolan commented 7 years ago

@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.

kaadmy commented 7 years ago

I've seen Gym have CTF flags both colors swapped yesterday.

kaadmy commented 7 years ago

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.

jdolan commented 7 years ago

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?

kaadmy commented 7 years ago

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

Paril commented 7 years ago

Only team spawns. It won't mess with deathmatch spawns at all.

jdolan commented 2 years ago

@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?