1. Trouble with the game?
    Try the troubleshooter!

    Dismiss Notice
  2. Issues with the game?
    Check the Known Issues list before reporting!

    Dismiss Notice
  3. Before reporting issues or bugs, please check the up-to-date Bug Reporting Thread for the current version.
    0.32 Bug Reporting thread
    Solutions and more information may already be available.

Waypoint messages

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by HighDef, Jul 8, 2018.

  1. HighDef

    HighDef
    Expand Collapse
    Game Design, QA and burnouts.
    BeamNG Team

    Joined:
    Aug 4, 2013
    Messages:
    682
    I am trying to get messages to popup when you hit certain checkpoints in a scenario but It only ever shows the last waypoint message that I entered, the others don't display anything. I expect I have to state them in a different way. If anyone knows how this is done, I would love to know. Thanks!

    Code:
    [
    {
        "name": "Farm Aid Part 1",
        "description": "Help out the mayor and the town by recovering all the junk cars.",
        "authors": "HighDef, BeamNG",
        "difficulty": "58",
        "date": 1439167916,
        "levelObjects": {
            "tod" : {
                "time" : 0.822,
                "dayLength" : 14400,
                "play" : true
            },
            "theLevelInfo" : {
                "fogAtmosphereHeight" : 0,
                "fogDensity" : 0.00
            },
            "sunsky" : {
                "fogScale" : "0.99 0.85 0.75 1",
                "shadowSoftness" : 1
            }
        }
        "vehicles":
        {
            "scenario_player0":
            {
                "driver":
                {
                    "player":true,
                    "startFocus": true,
                    "required": true
                },
                "goal":
                {
                    "wayPointAction":
                    {
                        "wayPointNum":[1],
                        "wayPointMsg":["Choose and attach a hitch before you leave."]
                    }
                    "wayPointAction":
                    {
                        "wayPointNum":[3],
                        "wayPointMsg":["First car is near the bridge next to town."]
                    }
                    "wayPointAction":
                    {
                        "wayPointNum":[5],
                        "wayPointMsg":["Fetch the car out of the bushes and bring it back to the farm."]
                    }
                    "wayPointAction":
                    {
                        "wayPointNum":[8],
                        "wayPointMsg":["Dump the car in the middle and continue to the next."]
                    }
                    "wayPointAction":
                    {
                        "wayPointNum":[9],
                        "wayPointMsg":["Next car is near the park."]
                    }
                    "wayPointAction":
                    {
                        "wayPointNum":[13],
                        "wayPointMsg":["Grab the car and bring it back to the farm."]
                    }
                    "wayPointAction":
                    {
                        "wayPointNum":[17],
                        "wayPointMsg":["Dump the car in the middle then park up."]
                    }
                }
            },
            "RC1":
            {
                "driver":
                 {
                    "player":false,
                    "required": false,
                    "frozen" :true
                     "removeIfEmpty":true,
                     "ModeAI":"disabled"
                     "command":"electrics.toggle_ignition()"
                }
            },
            "RC2":
            {
                "driver":
                 {
                    "player":false,
                    "required": false,
                    "frozen" :true
                     "removeIfEmpty":true,
                     "ModeAI":"disabled"
                     "command":"electrics.toggle_ignition()"
                }
            },
            "Hitch1":
            {
                "driver":
                 {
                    "player":false,
                    "required": false,
                    "frozen" :true
                     "removeIfEmpty":true,
                     "ModeAI":"disabled"
                }
            },
            "Hitch2":
            {
                "driver":
                 {
                    "player":false,
                    "required": false,
                    "frozen" :true
                     "removeIfEmpty":true,
                     "ModeAI":"disabled"
                }
            },
        },
        "lapConfig": ["wp_1", "wp_2", "wp_3", "wp_4", "wp_5", "wp_6", "wp_7", "wp_8", "wp_9", "wp_10", "wp_11", "wp_12", "wp_13", "wp_14", "wp_15", "wp_16", "wp_17", "wp_18"],
        "radiusMultiplierAI": 2
    },
    ]
     
    #1 HighDef, Jul 8, 2018
    Last edited: Jul 8, 2018
  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