Payload speedup?

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

  1. Crash

    aa Crash func_nerd

    Messages:
    3,192
    Positive Ratings:
    5,021
    Is there a way to speed up a cart similar to the way slowdown areas are handled? Looking at it, I see I can target the train watcher with a SetSpeedForwardModifier but that only seems to be a variable to slow it down not speed it up.

    I wanted to set up a somewhat dramatic roll forward zone that almost feels out of control. It might be something obvious I'm missing, I'm not 100% comfortable with payload tracking yet.
     
  2. fubarFX

    aa fubarFX The "raw" in "nodraw"

    Messages:
    1,633
    Positive Ratings:
    1,808
    pretty sure you can edit the speed on each path_track
     
    • Thanks Thanks x 1
  3. Fr0Z3nR

    aa Fr0Z3nR Creator of blackholes & memes. Destroyer of forums

    Messages:
    6,391
    Positive Ratings:
    5,464
    Yea, you can. Ravidge did something similiar to this in plr_panic
     
    • Thanks Thanks x 1
  4. Crash

    aa Crash func_nerd

    Messages:
    3,192
    Positive Ratings:
    5,021
    Oh. Yeah that looks a lot more simple than I was trying to do.

    Although reading this it seems like I can just 1.5 the SetSpeedForwardModifier to make it got 1.5x speed, I assume I can go more than this if I want. That way I don't have to mess with the max speed of the cart itself just for one small area.

    Thanks though, got me thinking about it in the right way at least. Testing the above out right now.
     
  5. Crash

    aa Crash func_nerd

    Messages:
    3,192
    Positive Ratings:
    5,021
    Yeah, oddly that doesn't seem to want to work either. Unless it's not as drastic of a speed increase as I was expecting. Setting it to 2 didn't really seem faster to me. I'll just have to try again later, not a big deal at this point in the map.
     
  6. Loc_n_lol

    Loc_n_lol L10: Glamorous Member

    Messages:
    726
    Positive Ratings:
    304
    You can't set a speedmodifier greater than 1, it'll just cap at 1. what you could do is put a greater max speed on the func_tracktrain and have the train move at reduced speed (modifier <1) under normal circumstances.
     
    • Thanks Thanks x 1
  7. Crash

    aa Crash func_nerd

    Messages:
    3,192
    Positive Ratings:
    5,021
    Ah, gotcha. So basically if I double it, put a .5 at the beginning of the track and go back to it after the speed boosted part?

    Pretty lame the article I linked earlier mentions putting it to 1.5. I had thought I couldn't go over 1 after reading the help text in Hammer but that article made me doubt it.
     
  8. Kill_the_Bug

    aa Kill_the_Bug

    Messages:
    1,503
    Positive Ratings:
    322
    Just in case someone needs to know the rollback/forward thing:

    You can also for hills set both the roll back AND roll forward by using the flags tab. i.e.

    Select Path track 1 & 2 >alt_enter>click flags tab> select roll forward / back >apply
    (you might be able to set the speed here as well from the main panel - not sure about that one though)

    your cart will now roll forward backward

    Note: can be a little buggy when showing it up on the trainwatcher line - if you do it too many times they may not all appear on it.
     
    Last edited: Sep 27, 2011
  9. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,538
    One caveat of operating with a higher max speed with a modifier in place is the recession speed will be faster than normal. (hence the forward in the input name)

    I might suggest performing a manual override on the max speed setting when you reach the zone, and returning it to normal at the end. This can be done by sending AddOutput with a parameter of startspeed 300 where 300 is whatever speed you want it to go. I'm not sure how the train watcher will handle it while in a roll zone, so you may or may not have to force a speed update by sending a SetSpeedDirAccel of 1 immediately after. (this would have to be done under normal circumstances, I have not tried it with a watcher controlled roll zone)
     
    • Thanks Thanks x 1