Posted this to the discord without much response (PST problems), so I figure I'll put it on here.
This is in relation to ctf_mimosa, which uses a custom gamemode where the flags are captured at the center of the map. To balance out the center capture I added timed capture through control points, which is where the problems arise.
Just to be clear, when I talk about contestable I mean that the point capture can be blocked by the enemy team standing on the point. I used bots to check all of the below info.
Current iteration (A5):
Here is the HUD, which will help me better describe what's going on.
I've got 6 control points:
Only index 0 is contestable in this setup.
Test cases:
ctf_mid_test4.vmf (see attached)
I scanned over standin's control point setup (three neutral control points), and they all point to themselves for the "previous point required" keyvalue, so I'm not sure why index 3 isn't contestable when neutral. Otherwise I would have said that it was an issue with the neutral points.
I currently have no idea why indexes 0 & 2 aren't contestable in test4 because that makes no sense.
So,
calling all ent-wizards! What haven't I tried? What am I missing? Any ideas for work arounds?
Indexes, indices? Ibexes, ibices?
This is in relation to ctf_mimosa, which uses a custom gamemode where the flags are captured at the center of the map. To balance out the center capture I added timed capture through control points, which is where the problems arise.
Just to be clear, when I talk about contestable I mean that the point capture can be blocked by the enemy team standing on the point. I used bots to check all of the below info.
Current iteration (A5):
Here is the HUD, which will help me better describe what's going on.
I've got 6 control points:
- Indexed 0-5
- Organized [5 4 3 0 1 2]
- Setup to match the static flag trackers that are created by tf_logic_hybrid_ctf_cp
Only index 0 is contestable in this setup.
Test cases:
ctf_mid_test4.vmf (see attached)
- Changes to entity setup:
- Set ownership to the respective defenders (3-5 are owned by red, 0-2 are owned by blu)
- Indexes 3-5 are contestable
- Index 1 is contestable
- Indexes 0 & 2 are not contestable
- Changes to entity setup:
- Deleted points 3-5 and their associated capture areas and red flag
- Restricted blu from winning in the team_control_point_master
- If I set ownership of the points to blu:
- Indexes 0-2 are contestable
- Similar to a regular adctf setup, it works normally
- Indexes 0-2 are contestable
- If I set ownership of the points to neutral:
- Index 0 is contestable
- Indexes 1 & 2 are not contestable
I scanned over standin's control point setup (three neutral control points), and they all point to themselves for the "previous point required" keyvalue, so I'm not sure why index 3 isn't contestable when neutral. Otherwise I would have said that it was an issue with the neutral points.
I currently have no idea why indexes 0 & 2 aren't contestable in test4 because that makes no sense.
So,
calling all ent-wizards! What haven't I tried? What am I missing? Any ideas for work arounds?
Indexes, indices? Ibexes, ibices?