Things Requiring Money.

Discussion in 'Mapping Questions & Discussion' started by Scatterbuns, Dec 14, 2012.

  1. Scatterbuns

    Scatterbuns L1: Registered

    Messages:
    8
    Positive Ratings:
    0
    Me again; I'm making an MvM map where you can power-up with things, and I'd love to use the currency_give command to pay for these power-ups.


    But if you have, let's say, 500, and the machine requires 5000, it will just take what you have and leave you at zero since currency_give doesn't go into negatives.

    Is there anyway I could make it so you could not buy something if you don't have enough?


    And on a seperate note, could you somehow blend the arena logic with MvM and make it so when you die, you die until your team fails/beats the wave?

    ANY help appreciated, thanks!
     
    Last edited: Dec 14, 2012
  2. Fish 2.0

    Fish 2.0 L6: Sharp Member

    Messages:
    324
    Positive Ratings:
    116
    That arena logic would be really harsh on the players.


    FINALLY

    A CHALLENGING MVM MAP THAT RELIES ON SKILL AND NOT STAMINA
     
  3. Scatterbuns

    Scatterbuns L1: Registered

    Messages:
    8
    Positive Ratings:
    0
    I'm not sure if you're being sarcastic.
     
  4. Little Dude

    Little Dude L4: Comfortable Member

    Messages:
    172
    Positive Ratings:
    54
    the 'currency_give' command requires cheats to be on... You could just make custom waves that reward lots of money to counteract this.

    That arena logic for mvm does sound interesting, though to make it that way you would have to change the mvm code, or somehow block respawning.
     
  5. Scatterbuns

    Scatterbuns L1: Registered

    Messages:
    8
    Positive Ratings:
    0
    Yeah, sadly most of the things in the map require sv_cheats 1 :/
    I could probably make it so that after the effects are applied sv_cheats is switched off.
    I also bumped up the respawn time really high for now, but there's still scouts that instant respawn.
    I'm also trying to make this all map only.
     
  6. fubarFX

    aa fubarFX The "raw" in "nodraw"

    Messages:
    1,608
    Positive Ratings:
    1,698
    trying to add arena logic in the mix is probably not a good idea. I don't know what outputs are available on mvm, but you could disable the main spawns once the wave is started and make the players spawn in an area disconnected from the map if they die during the wave.
     
  7. LeSwordfish

    aa LeSwordfish semi-trained quasi-professional

    Messages:
    4,106
    Positive Ratings:
    6,005
    If this is for the contest, check if point_servercommand is allowed under the rules. If that's what you're using.
     
  8. Scatterbuns

    Scatterbuns L1: Registered

    Messages:
    8
    Positive Ratings:
    0
    It's not, I didn't even think about that.
     
  9. Fish 2.0

    Fish 2.0 L6: Sharp Member

    Messages:
    324
    Positive Ratings:
    116
    I'm not. It would be nice to actually have a challenge.
     
  10. Schnedwob

    Schnedwob L1: Registered

    Messages:
    10
    Positive Ratings:
    3
    I know very little about mapping and this is kind of a roundabout way of doing so, but maybe-

    • Set up a map-encompassing trigger_multiple
    • Filter it to BLU-only
    • Set it up to disable the spawn doors until there are no BLUs within the trigger

    Would that work, as far as respawn goes?
     
  11. Scatterbuns

    Scatterbuns L1: Registered

    Messages:
    8
    Positive Ratings:
    0
    That's actually a nice idea