how do i make a map mannpower?

Discussion in 'Mapping Questions & Discussion' started by v0nn_toaster, Jun 5, 2017.

  1. v0nn_toaster

    v0nn_toaster L2: Junior Member

    Messages:
    56
    Positive Ratings:
    12
    how do i make my map automatically give players the grappling hook?
     
  2. [Rx.] Christian Troy

    [Rx.] Christian Troy L4: Comfortable Member

    Messages:
    162
    Positive Ratings:
    43
    Has to be enabled server side with the cvar tf_grapplinghook_enabled 1
     
  3. v0nn_toaster

    v0nn_toaster L2: Junior Member

    Messages:
    56
    Positive Ratings:
    12
    then why can i click "ctf_hellfire/gorge" in create server and get the hook?
     
  4. SmallBiscuit

    SmallBiscuit L7: Fancy Member

    Messages:
    463
    Positive Ratings:
    242
    Because tf2 is smart. The game knows to enable cvar tf_grapplinghook_enabled whenever a mannpower map is enabled... however, with a custom map, the game doesn't know what to do, because the prefix is labeled: ctf
     
  5. Da Spud Lord

    aa Da Spud Lord L0: Crappy Member

    Messages:
    665
    Positive Ratings:
    471
    I did a bit of searching around, and I couldn't find a definitive answer as to how to to create a mannpower map. Interestingly, the first place you would think would have info on this- the Valve Developer Wiki- barely even acknowledges that Mannpower exists. The most helpful thing I could find was an entity in the TF2 .fgd file called tf_logic_mannpower with the description "Logic specifically for Mannpower Mode." You could try adding that to your map and see what happens, but I'm nowhere near an expert on this so it could do nothing. This guy over on Reddit made a short list of things that your map needs, but he also stated that there's nothing short of a point_servercommand that you can add to your map to make the power-ups and grappling hooks work. You could also try checking out the decompiled Valve Mannpower maps (such as Hellfire) and see if those contain any special entities or logic that makes the game recognize them as Mannpower maps.
     
    • Agree Agree x 1
  6. [Rx.] Christian Troy

    [Rx.] Christian Troy L4: Comfortable Member

    Messages:
    162
    Positive Ratings:
    43
    Didn't think of that. Should do the trick. (I do it by server.cfg)

    And for some odd reason I thought the op was referring to mvm for...some...weird...reason.
     
  7. ISPuddy

    ISPuddy L2: Junior Member

    Messages:
    91
    Positive Ratings:
    90
    use this prefab
    i made setup for all mannpower things

    and that guy list WRONG