is this right?

Discussion in 'Mapping Questions & Discussion' started by cinemassacres, Apr 7, 2016.

  1. cinemassacres

    cinemassacres L1: Registered

    Messages:
    20
    Positive Ratings:
    2
    i am trying to follow this and i was wondering and i wanted the medium ammo box to be the thing that makes the player grow but would you put the growing in output or input
     
  2. sooshey

    aa sooshey :3c

    Messages:
    522
    Positive Ratings:
    418
    You would put it in the output because you can't directly add inputs. There's an output called OnPlayerTouch in the ammo pack's properties that might be what you're looking for.
     
  3. Skullio

    Skullio L1: Registered

    Messages:
    49
    Positive Ratings:
    50
    Well since you only made your first room yesterday (hopefully you figured out how to spawn now) you might want to hold off on the advanced scripting stuff until youve got more of the basics down and understand how thigns work better. Learning for example how to make a door in a lit room and finishing a simple working map will teach you a lot more a lot faster than diving straight into the kind of insanity laid out in the thread you linked to.

    What you are trying to do might seem simple but I think it is going to be a lot more complicated to get it working how you want it and working out the issues that will come up. But since I just played with this and it is kind of hilarious I will give you a little simple help,

    Put your medium ammo box in the game, go into properties and click Outputs

    Press Add so a new field appears and click the pulldown for My output named, change it to OnPLayerTouch
    In "target entities named..." type in !activator (it will appear in red text but thats ok)
    Via this input type in SetModelScale
    "With a paramater Override..." type in how you want it to scale the player. Enter 2 to make him twice as big

    Compile your map and try it. Remember you will need to fire off some ammo before you can collect the box because you cant pickup a box with full ammo (this is an issue) and you can only scale up once, you will need to work out a system to detect when a player is scaled up by two so you can scale him up again the next time he collects it. I'm not sure what happens when you die or change class, you will need to work out how to scale the player back down like it says in the tutorial, which is a whole new complicated thing to get in to, not to mention what will happen when you are running in small spaces and things like that.

    Basically you are not just trying to learn to run before you can walk, you are trying to learn to pull off a double backwards somersault with a half twist before you can walk.

    Taunt and admire your monstrous player, it is pretty hilarious.
     
    • Thanks Thanks x 1
    • Like Like x 1
    • Funny Funny x 1
    • Useful Useful x 1
  4. ChuckSpurgeon

    ChuckSpurgeon L2: Junior Member

    Messages:
    52
    Positive Ratings:
    8
    I'm not at home to try and play with this--I WILL!!--but, out of curiosity, does a player whose model's been increased in size by double jump higher, as well?
     
  5. Davekillerish

    aa Davekillerish Lvl O: Orange Member

    Messages:
    1,430
    Positive Ratings:
    794
    No, that is gravity. Its the same force, applied to a larger or smaller prop so you SEEM to move higher while smaller or less high when your giant.
     
    • Thanks Thanks x 1
  6. ChuckSpurgeon

    ChuckSpurgeon L2: Junior Member

    Messages:
    52
    Positive Ratings:
    8
    So, a player model that is double in size can still only jump onto a ledge the same height as a normal sized player model. Gotcha. Thanks, Davekillerish!