Jump to content

Random Roads

Closed 1.1.1 1.1.3

My bradley picks the same road every time

i have checked the 2 roads exist, 

"Tank Route - Road IDs": [
        1,
        2
      ],
      "Tank Route - Is route looped": false,
      "Tank Route - Use longest path": false,
      "Tank Route - Remove first and last checkpoints": 15,
      "Spawns - Announce Spawn": true,
      "Spawns - Respawn Time (in seconds)": 900,
      "Spawns - Min. Online Players": 0,
      "Spawns - Chance": {
        "Normal": 1
      }
    },

it picks road 1 every time

if i change it to 

"Tank Route - Road IDs": [
        2,
        1
      ],

it chooses road 2 every time.

could they be randomised? 

Share this comment


Link to comment

This option doesnt set the bradley to roll the route. With this option you can make ONE bradley that if it will finish road 1 it doesnt turn around because it goes to road 2. It is useful when there is a bridge in custom map. and bradley can easy go through this bridge.

Share this comment


Link to comment

If it's a problem I can change how it works and replace 

      "Tank Route - Road IDs": [
        0,
        1,
        2
      ],

With 

      "Tank Route - Road IDs": [
        {
            0,
            1
        },
        {
            2,
            3
        },
        {
            10
        }
      ],

And then it will roll random road from these three routes.
But this is a huge edit in code so i will not make it today.

Edited by ThePitereq

Share this comment


Link to comment
7 hours ago, ThePitereq said:

But this is a huge edit

ah ok, i was misunderstanding it. please do make that change as you said.

that randomness will be awesome though, its a huge factor in gameplay, not knowing whether something will be there or not. 

Share this comment


Link to comment

The random road feature has been added!
I've cheched it on my server and it works, but plugin have a lot of functionality and if it prints any error, please create new support request.
Have fun! 🙂

  • Love 1

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

83.6k

Files Sold

Total number of files sold.

1.6m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.