Entity that sets friction?

Discussion in 'Mapping Questions & Discussion' started by mixedgamer123, Sep 26, 2011.

  1. mixedgamer123

    mixedgamer123 L1: Registered

    Messages:
    6
    Positive Ratings:
    0
    As the title suggests, I am trying to find an entity that adjusts the players friction when they either step in a certain zone or a ground

    For example, when a player steps on an ice ground, they should not be able to turn easily, they would keep sliding till the player goes the opposite way to stop themselves

    And another example, when a player steps on a "chocolate" ground" they can turn VERY easily, move a bit slower and stop immediately when a movement button is depressed

    Anyone know how to do this?
     
  2. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,527
    Friction is defined by the material in Source. If you want to make a custom material you can see what surfaces are available by looking at source engine.gcf/hl2/scripts/surfaceproperties.txt and team fortress 2 content.gcf/tf/scripts/surfaceproperties_tf.txt and choosing one with the friction level and other aspects you want. You can only use those that exist, however, not make custom surfaces for your map (those are mod-level files).
     
  3. Pocket

    aa Pocket func_croc

    Messages:
    4,489
    Positive Ratings:
    2,217
    ...The heck you up to, man?
     
  4. Shanghai

    Shanghai L6: Sharp Member

    Messages:
    394
    Positive Ratings:
    217
    cp_candymountain
     
  5. Yacan1

    aa Yacan1 D I G I T A L I N F L U E N C E R

    Messages:
    410
    Positive Ratings:
    658
    Guard your Kidney's well.