1. #1
    auzkahglt's Avatar Member
    Join Date
    Apr 2014
    Location
    Vienna, Austria
    Posts
    146

    Hill Climb CP Reset (please help)

    I´ve built a Forcefield to Reset the Rider to the first Checkpoint once he/she reached the Top(disappears after first hit)! works fine

    My Problem is that my Hill Climb Counter will resets too...but i would like to drive the track again with adding more meters to the Counter

    Is this possible somehow?

    if anyone understands what i´m talking^^ please help thanks

    sry 4 bad english
    Share this post

  2. #2
    Your issue is really that you have "reset in checkpoint restart" turned on in your logic for your hill climb counter. If, you take and turn it off, with all of your logic components, then your issue should disappear. I would look into making your track longer as well, but; if you don't think this would be good, then by all means continue on with what you're doing.

    It is your track, not mine.

    Best of luck and hope this helps

    Cheers, Archon453
    Share this post

  3. #3
    auzkahglt's Avatar Member
    Join Date
    Apr 2014
    Location
    Vienna, Austria
    Posts
    146
    Originally Posted by Archon453 Go to original post
    Your issue is really that you have "reset in checkpoint restart" turned on in your logic for your hill climb counter. If, you take and turn it off, with all of your logic components, then your issue should disappear. I would look into making your track longer as well, but; if you don't think this would be good, then by all means continue on with what you're doing.

    It is your track, not mine.

    Best of luck and hope this helps

    Cheers, Archon453
    thanks for the answer will try this when i´m home again.

    i´m allready planning to make my hil climb as high as possible but the editor won´let me go higher than ~1100m and i want to make maybe a 2 or 3000m hill climb=)

    cheers^^
    Share this post

  4. #4
    Zorsselsson's Avatar Member
    Join Date
    Jan 2013
    Location
    Stockholm
    Posts
    57
    So you basically just have to copy the heights to each laps variables, add them together and you got your total height.

    One way to script it.

    - You have your Distance Operator (height).
    - Make a Set Value Event which copies its value all the time, and connect an Interval Trigger to it.
    - When you complete a "lap", you add 1 to a variable representing the lap count.
    - That lap value is the index of an Object Pointer which guides the Set Value Events target to the current laps Variable Data Source
    - Add the lap height variables together and use that as the Primary Score.

    Tested this and it worked.
    Share this post