Detect if player moves?

Discussion in 'Mapping Questions & Discussion' started by h0mer3000, Mar 20, 2016.

  1. h0mer3000

    h0mer3000 L1: Registered

    Messages:
    21
    Positive Ratings:
    20
    Ayy,
    im kinda experimenting with something. I have a map, that'll be supossed to be played in singleplayer and i want to trigger if the player is currently moving, but i haven't found anything, that does so ._.
    Does anyone have a solution?
    ty
     
  2. Pocket

    aa Pocket func_croc

    Messages:
    4,489
    Positive Ratings:
    2,377
    Are you recreating Superhot?
     
    • Like Like x 2
  3. h0mer3000

    h0mer3000 L1: Registered

    Messages:
    21
    Positive Ratings:
    20
    yep, i have lots of stupid ideas ._.
     
    Last edited: Mar 20, 2016
  4. MaccyF

    aa MaccyF Notoriously Unreliable

    Messages:
    915
    Positive Ratings:
    1,479
    I used binds when I tried to do it, a point_clientcommand set to bind console commands (like host_timescale or cl_forwardspeed) to the movement keys iirc

    i'll take a look when i get home (up at 2am working for a deadline tomorrow atm)
     
  5. KubeKing

    Server Staff KubeKing dan's birthday was fun too

    Messages:
    1,262
    Positive Ratings:
    1,570
    It turns out I need to know this exact thing for a different reason. I don't think a map filled to the brim with 1x1HU trigger_multiple's is going to run at all.
     
    • Agree Agree x 1
  6. h0mer3000

    h0mer3000 L1: Registered

    Messages:
    21
    Positive Ratings:
    20
    Ty, for your help, guys!
    But already found an easier way for what i need thanks to this guy in the steam discussions ._.
    Code:
    Alias +t_forward "+forward; host_timescale 1"
    Alias -t_forward "-forward; host_timescale 0.1"
    Bind w +t_forward
    
    Alias +t_back "+back; host_timescale 1"
    Alias -t_back "-back; host_timescale 0.1"
    Bind s +t_back
    
    Alias +t_moveleft "+moveleft; host_timescale 1"
    Alias -t_moveleft "-moveleft; host_timescale 0.1"
    Bind a +t_moveleft
    
    Alias +t_moveright "+moveright; host_timescale 1"
    Alias -t_moveright "-moveright; host_timescale 0.1"
    Bind d +t_moveright
    Superhot is the most innovative shooter I've played in years.
     
  7. MaccyF

    aa MaccyF Notoriously Unreliable

    Messages:
    915
    Positive Ratings:
    1,479
    haha, thats exactly what i used. Be warned it doesn't go pretty as soon as you use weapons
     
  8. Pocket

    aa Pocket func_croc

    Messages:
    4,489
    Positive Ratings:
    2,377
    Oh, yeah, this is going to not work the way you want because all of TF2's conventional guns are hitscan.
     
    • Agree Agree x 1
  9. h0mer3000

    h0mer3000 L1: Registered

    Messages:
    21
    Positive Ratings:
    20
    Well, i'm using the rocket launcher.
    Here's a video if you're interested.
     
    • Like Like x 2