Help with making an Attack-Defend map.

Discussion in 'Mapping Questions & Discussion' started by RevolutionTeam, May 19, 2019.

  1. RevolutionTeam

    RevolutionTeam L1: Registered

    Messages:
    43
    Positive Ratings:
    6
    I recently got into mapping, and had an awesome idea. However, I had a problem with making the map. My problem was as follows:

    Both of my Control Points would start locked, and the game would end the moment it started.

    Does anyone have a fix for this? (Or any resources I can use?)
     
  2. Yakibomb

    Yakibomb L2: Junior Member

    Messages:
    83
    Positive Ratings:
    34
    Do you have Boojum Snark's gametype library? Download it here: https://tf2maps.net/threads/ultimate-mapping-resource-pack.4674/

    The fix to your problem actually lies with the two things: the entity "team_control_point_master" and your two CPs.
    1. If you don't have the entity "team_control_point_master", make one. By default, the game is won by the team that owns all the capture points. "team_control_point_master" has a parameter to prevent one or both teams from winning by default.
    2. To make a team win, there is another entity called "game_round_win", which has a parameter to make a team automatically win if triggered. Create one for each team to be called by other entities.
    3. The second problem lies in your CP's "team_control_point". To make them unlocked by default, set the "Previous Required Point 1" of the CP to point to itself. For example, if the CP is owned by RED and is called "capture_zone_A", the "RED Previous Required Point 1" keyvalue would need to be "capture_zone_A". This will automatically unlock the point when the round starts.
    A Boojum Snark's gametype library is a handy resource for creating any type of game mode all across TF2. Use it to your advantage, and have fun!
     
    Last edited: May 19, 2019
  3. RevolutionTeam

    RevolutionTeam L1: Registered

    Messages:
    43
    Positive Ratings:
    6
    So, I have the library installed (installed it the moment I installed the Source SDK).

    I think an image would help.
    20190520162236_1.jpg
    Note the control points are locked (I haven't added Setup time yet...)
    20190520162246_1.jpg
    ...and as such, the game ends immediately. (Using blue walls until I add a Skybox)

    I also added a "game_round_win" right before these screenshots.
     
  4. The Asylum

    aa The Asylum

    Messages:
    1,668
    Positive Ratings:
    589
    What does your tf_control_point_master look like? Posting a screenshot of its properties might help, as that's the only thing I can think of that's going wrong.
     
  5. Narpas

    aa Narpas Failing at Scaling

    Messages:
    320
    Positive Ratings:
    303
    This page might help you figure things out
     
  6. RevolutionTeam

    RevolutionTeam L1: Registered

    Messages:
    43
    Positive Ratings:
    6
    Thank you!