Making ice?

Discussion in 'Mapping Questions & Discussion' started by blackhydra866, Apr 27, 2010.

  1. blackhydra866

    blackhydra866 L1: Registered

    Messages:
    9
    Positive Ratings:
    0
    Fairly new to hammer here and I was wondering how do you make ice, or something with a slippery surface? Thanks in advance.
     
  2. Firest0rm

    Firest0rm L4: Comfortable Member

    Messages:
    171
    Positive Ratings:
    33
    I don't think it's possible unless you can determine a players exact coordinates and orientation in hammer (someone tell me if you can, i've always wanted to have ice in a map!)
     
  3. Prestige

    aa Prestige im not gay anymore

    Messages:
    1,769
    Positive Ratings:
    1,517
    this map had ice.

    as him or decompile it.
     
  4. Knight-Errant

    Knight-Errant L3: Member

    Messages:
    131
    Positive Ratings:
    32
    Agent's ice wasn't a fun game factor for the map. It was harder to navigate on. Personally, I'm just fine with it being a regular surface, almost like glass.
     
  5. Ravidge

    aa Ravidge Grand Vizier

    Messages:
    1,544
    Positive Ratings:
    2,492
    Ice is a bad idea, atleast the slippery kind. Don't ever use it in tf2.

    Why?
    The netcode can't handle it and it will freak out on servers (it will look fine on your own hosted games, but not on a real server with other people). Extreme rubberbanding and jumpy, uncontrollable movement is not fun for anyone.
     
  6. Firest0rm

    Firest0rm L4: Comfortable Member

    Messages:
    171
    Positive Ratings:
    33
    so, i just decompiled pl_promotion (just for knowing how to do it) , and checked out the ice area

    there were a few things there: a func_smokevolume covering the ice area (for making it look misty i suppose), and a custom texture called agent_ice2
    pakrat gave me agent_ice2.vmt, and the only odd things there are $dudvmap (which the valve wiki says is for refracting on dx8, so no ice) and "$surfaceprop" "ice" (which isn't strange, but it's the only thing i can find that might explain ice). valve wiki says $surfaceprop can be used for friction, so $surfaceprop ice should give you ice if you want it!

    however, just because you know how to do it doesn't mean you should. as others said, ice probably kills player fps and/or network connections (depending on whether it's calculated by the player or the server), and it would be hard to maneuver on it.
     
  7. AgeNt_

    AgeNt_ L5: Dapper Member

    Messages:
    237
    Positive Ratings:
    63
    I was trying to get a refracting texture but i had no luck.. and yes the surface properties were set to ice. going to remove it soon...