Missions - A to B Distance & Height scoring

Discussion in 'Ideas and Suggestions' started by M3MotoMan, Jul 1, 2025.

  1. M3MotoMan

    M3MotoMan
    Expand Collapse

    Joined:
    Mar 30, 2025
    Messages:
    18
    Unless I've just not found it yet, I'd love to see a scoring system for relevant missions based on:
    Distance From Start (A to B)
    Elevation From Start
    & Distance + Elevation
    To create missions for:
    How far you can get within a time limit (A to B distance - not distance traveled as in the Hypermiling missions)
    How high you can get up a challenging hill climb.
    I'm sure this can be done somehow in Flowgraph but I haven't got there yet and this seems like it could be a popular challenge style.
    If this already exists, I'll remove this suggestion.
     
  2. jamessimo

    jamessimo
    Expand Collapse

    Joined:
    Nov 28, 2018
    Messages:
    107
    Yer so flowgraph has both these features.

    jump height is a self contained node I think, you can actually open the Gavril jump scenario in the flowgraph editor to see how they calculate jump scores.

    The AB distance score would be just a simple linear interpolation between points A and B then you can multiply that by a score.
     
  3. M3MotoMan

    M3MotoMan
    Expand Collapse

    Joined:
    Mar 30, 2025
    Messages:
    18
    @jamessimo
    Thank you. I'll be diving into the Flowgraph editors soon & I do think this should be pretty easy to calculate for scoring.
    I do still think this scoring feature would nice to have in the 'Mission Editor" though.
     
  4. Occam's Razer

    Occam's Razer
    Expand Collapse

    Joined:
    Aug 7, 2013
    Messages:
    1,262
    I think jump height is specifically for jumps (height above ground/static mesh surface), I'm not sure it'll cover overall elevation.

    I would program it by using a vehicle data node, plugging the player vehicle id into the input, and then splitting the vector output to get the Z position (vertical position). Compare that Z position with the Z position of the start point, and you have your scoring for height.
     
  5. M3MotoMan

    M3MotoMan
    Expand Collapse

    Joined:
    Mar 30, 2025
    Messages:
    18
    Thanks. The mission I'm creating is one that has a finish line, but I'd like to have Bronze and Silver medals awarded for distance from start and Gold for reaching the finish (with a one minute time limit).
    It works the way I have it now, (using hypermiling mission presets) but you can cheat the distance by simply driving in a circle. However, you still can't get the gold without crossing the finish line.
    @jamessimo The method you suggest would work for heights, but also for calculating linear distance using the x & y vectors. Thank you for your feedback. :)
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice