Random Stages

Discussion in 'Mapping Questions & Discussion' started by xylophone, Oct 16, 2015.

  1. xylophone

    xylophone L1: Registered

    Messages:
    12
    Positive Ratings:
    0
    I want to create a 3 stage attack/defend map like Dustbowl, with an upward-ish art theme. The thing is, I would like to make it so that each stage is picked at random from 4 possible stages ( 64 possible layouts).
    Would I be able to do that by setting all the team_control_point_round's priorities to the same number, or would that mess up other things?
     
  2. MoonFox

    MoonFox L10: Glamorous Member

    Messages:
    735
    Positive Ratings:
    72
    you... may not want to pursue this... a lot of problems with this idea. The reason for this: AD and TC are back and forth kind of maps. when you add random elements like stage section; you will confuse the player, and cause a lot of compile issues
     
    • Thanks Thanks x 1
  3. radarhead

    aa radarhead Hands out ratings like cheap cigars

    Messages:
    1,002
    Positive Ratings:
    533
    This doesn't make sense.

    Sure you could persue this idea, but keep in mind that randomness TF2 has a limit of 8 control points in a map. However it should be possible, with some sort of use of logic_random or something.
     
  4. SC PL

    aa SC PL local shitposter

    Messages:
    380
    Positive Ratings:
    399
    Well, if you click "Open" it will shows some maps. Click "ABS_GametypeLibrary_14-08-11". Here you got all TF2 gametypes.

    Alternatively, here you have where it's located

    C:>Program FIles>Steam>SteamApps>common>sourcesdk_content>tf>mapsrc

    If there's no map like you found, I'll say it, how to do it
     
  5. xylophone

    xylophone L1: Registered

    Messages:
    12
    Positive Ratings:
    0
    It would be 8 control points. BTW, tc_hydro has 10 control points.
    The problem with ABS_GametypeLibrary_14-08-11 is that is a linear system. I'm just wondering whether changing the priorities on the team_control_point_round entities would keep the map at 3 stages, while picking the actual stages at random. Basically, if I set the priorities all to 0, would it keep going until all rounds are played, or would it just pick a random stage each time?
    :entitytool:
     
  6. Kraken

    Kraken Few more zeros and ones for the site to proccess

    Messages:
    434
    Positive Ratings:
    115
    Hydro doesn't have all the control points active at the same time.
     
  7. xylophone

    xylophone L1: Registered

    Messages:
    12
    Positive Ratings:
    0
    True, but neither do attack/defend maps
     
  8. xylophone

    xylophone L1: Registered

    Messages:
    12
    Positive Ratings:
    0
    And that doesn't answer my question.
     
  9. worMatty

    aa worMatty Repacking Evangelist

    Messages:
    1,071
    Positive Ratings:
    832
    I don't think you're gonna get an answer, xylo. You should create a test map and find out for yourself.
     
    • Thanks Thanks x 1
  10. Hyperion

    aa Hyperion L16: Grid Member

    Messages:
    810
    Positive Ratings:
    617
    Actually that should not be too hard. Hydro (tc) already has gamelogic for selecting one random combination from 4 points. Just remove finals and that's it
     
  11. tyler

    aa tyler snail prince, master of a ruined tower

    Messages:
    5,031
    Positive Ratings:
    3,975
    Hyperion's right. That was my first map idea, way back in 2007, actually. I'm still thinking about doing it for a certain... project.
     
  12. MoonFox

    MoonFox L10: Glamorous Member

    Messages:
    735
    Positive Ratings:
    72
    I want to make clear quickly. I said the thing about the compile issues prior to actually researching it; yes you can set disabled points and logic_random. But without that; your going to gather a lot of bugs
     
  13. xylophone

    xylophone L1: Registered

    Messages:
    12
    Positive Ratings:
    0
    If I used a logic_random, would I still need to set the priority on the team_control_point_round's to the same #?
     
  14. xylophone

    xylophone L1: Registered

    Messages:
    12
    Positive Ratings:
    0
    Maybe I'll upload the actual map, without logic, when I finish it.
     
  15. xylophone

    xylophone L1: Registered

    Messages:
    12
    Positive Ratings:
    0
    should I use logic_random or logic_case?
     
  16. MoonFox

    MoonFox L10: Glamorous Member

    Messages:
    735
    Positive Ratings:
    72
    *shrug*
    how is the map coming?
     
  17. Tumbolisu

    aa Tumbolisu  I ⌄ I 

    Messages:
    931
    Positive Ratings:
    893
    logic_random does not exist.
     
  18. YM

    aa YM LVL100 YM

    Messages:
    7,099
    Positive Ratings:
    5,739
    Who taught you to count? Hydro has 6. There are four centre arenas, each with a control point, then two bases for a total of 6 control points. The hard limit of the engine is 8.

    @coltnweston If you don't know what you're saying, it's best not to say it because you're not helping anyone, in fact you're making people's lives harder by feeding them wrong information.

    ---

    I always felt like the stages in TC were picked at random, but using some seed that doesn't change. So same round is always played first. This is just my feeling though and not a fact I can back up.

    You have two avenues open to you:
    • Use the round priority in t_c_p_r
    • Use logic_case with pickrandom to enable/disable elements in each stage.
    The advantage using t_c_p_r to do it is that it'll hide the inactive cps from the HUD, which wouldn't be possible with the logic_case method.

    If you're new to this though I'd recommend starting simple and building up to a mammoth project like this. This is a project on scale with hydro, the largest and most complex of TF2's maps.
    Since each stage is independent you could always start with just one stage (like gorge) and then build a second, and then a third, finally a fourth and then add them all into the same bsp
     
    • Thanks Thanks x 2
  19. MoonFox

    MoonFox L10: Glamorous Member

    Messages:
    735
    Positive Ratings:
    72
    I know its an excuse... but avatar is exactly what I know... but the thing I do know is roughly built to my few non-consecutive years of map editing in different engines. And for what it is, I work hard at what I do, but I also have other commitments that drain creativity and time... specifically the military.
     
  20. xylophone

    xylophone L1: Registered

    Messages:
    12
    Positive Ratings:
    0
    https://developer.valvesoftware.com/wiki/Logic_random_outputs
    Hydro has 5 possible control point layouts, where BLU or RED team owns 1, 2, 3, 4, or 5 territories. Hydro isn't random, as far as I know. BLU or RED's control points change locations based on which control points are captured. Look in ABS gametype library.The tc prefab has 10 points. They aren't active at the same time, though.
    Also, this project is similar to a normal attack/defend map, just it has 4 stages and they are picked at random.
    slowly