[Tutorial] How to set up Territorial Control rules (like Hydro)

Discussion in 'Tutorials & Resources' started by Gearloose, Jan 21, 2008.

  1. Gearloose

    Gearloose Guest

    Positive Ratings:
    0
    Hey guys, I've been silent for a while. I was working on my second map but realized I wanted to use Hydro-style rules, and I couldn't find any tutorials on how to make a TC map type. So I wrote my own, using the decompiled Hydro as a guide (thanks for those!).

    http://www.cuug.ab.ca/~lapierrs/creative/games/tf2/tc_tutorial.html

    It's a long read, I know, and probably a bit confusing - which is why I included a bare-bones example map that duplicates the Hydro rules, and even includes an example overview display showing which round is next.

    Let me know if you spot any errors, or if you have trouble with the zip files - I don't have anyone to test them for me on an SDK-less install, so it's possible I left a file out or something. I only do net stuff in the evenings during the week, so turnaround time on comments will likely be at least 24 hours.
     
  2. lerlerson

    lerlerson L2: Junior Member

    Messages:
    75
    Positive Ratings:
    7
    While somewhat confusing, that tutorial... IS AWESOME. Finally, people can make TC maps that are professional like Valve's. Being able to do the overlay is good, 'specially for style points.

    Nice tut!
     
  3. TheBladeRoden

    TheBladeRoden L7: Fancy Member

    Messages:
    491
    Positive Ratings:
    167
    A little bug in your map, the inputs on cap_trigger_D should have the parameters set to "2 0" and "2 1" instead of "3 0 and 3 1".
     
  4. Gearloose

    Gearloose Guest

    Positive Ratings:
    0
    Are you sure about that? I noticed that's the way it was set up in Hydro, but I thought it was an error - isn't the 3 a bit mask (1 | 2) that represents both teams? Both should be able to cap that point after a defense round.

    Am I misinterpreting the meaning of those values?
     
  5. Gearloose

    Gearloose Guest

    Positive Ratings:
    0

    Ah yes, I see what you mean now. Somehow I missed that in my testing. Thanks!

    Edit: Files now fixed.
     
    Last edited by a moderator: Jan 22, 2008
  6. spaceweasels

    aa spaceweasels

    Messages:
    219
    Positive Ratings:
    336
    It's a good tutorial. Thanks for breaking it down and referring to the TF2Maps.net website.
     
  7. Vilepickle

    Vilepickle L7: Fancy Member

    Messages:
    495
    Positive Ratings:
    148
    Only thing that disappoints me is currently that custom maps will crash currently with about 1850+ entities. With all of them needed for this, we approach that much more rapidly and it gives less room for map details.
     
  8. lerlerson

    lerlerson L2: Junior Member

    Messages:
    75
    Positive Ratings:
    7
    Kinda off-topic, but I just noticed that you were born in the same hospital as me.
     
  9. Gearloose

    Gearloose Guest

    Positive Ratings:
    0

    I didn't know about that limitation - thanks, that will help with my current map design. :)
     
  10. Gearloose

    Gearloose Guest

    Positive Ratings:
    0

    Cool. Where do you live now? After having lived in five other provinces, I'm now back in Burnaby.
     
  11. lerlerson

    lerlerson L2: Junior Member

    Messages:
    75
    Positive Ratings:
    7
    You live fairly close to me, actually. I live in Surrey, or more specifically, Cloverdale.

    Kind of a small world, considering that there's only about 300 users registered here.