1. Hey there Guest,

    The game servers have moved to semi-dedicated hardware and IPs have changed. Please see front page server widget for up-to-date game server information.

Payload question - changing train speed

Discussion in 'Mapping Questions & Discussion' started by Altaco, Oct 19, 2008.

  1. Altaco

    Altaco L7: Fancy Member

    Messages:
    485
    Positive Ratings:
    121
    I've been wondering how I can do this. I've got a payload, and in a certain section of the track, I want it to go slower than it does in the rest of the track. For example, if it goes .5, .7, and .9 speed normally, I'd like it to go at .25, .4, and .5. Is there a way for me to do this?
     
  2. Uriak

    Uriak L8: Fancy Shmancy Member

    Messages:
    543
    Positive Ratings:
    70
    have a set of several math_remap entities and name them appropriately (remap_normal, remap_slow, etc)
    Then for each one, set their OutValue event call a different logic_case entity, with the corresponding SetSpeedDir events.

    So you'll have
    *remap_normal -> case_normal -> 0.5 0.7 0.9..
    *remap_slow -> case_slow-> 0.35 0.4 0.5..

    Then set your capture zone to call all the remap entites when numcappers is changed.
    And disable/enable the remap entities along the section, with path triggered events for instance, to have only one active at a time.
     
  3. Altaco

    Altaco L7: Fancy Member

    Messages:
    485
    Positive Ratings:
    121
    Cool, thanks. I'll try that. So basically I need to have both of the entities accepting input from the cart, and enable and disable them accordingly?

    EDIT: it worked, thanks dude.
     
    Last edited: Oct 19, 2008