Jump to content

Random Roads

Closed 1.1.1 1.1.3

Swedish Chef
Swedish Chef

Posted

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? 

ThePitereq

Posted

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.

ThePitereq

Posted (edited)

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
Swedish Chef

Posted

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. 

ThePitereq

Posted

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
ThePitereq

Posted

Changed Status from Pending to Closed

Changed Fixed In to 1.1.3

Swedish Chef

Posted

Thanks heaps 🙂 thats awesome thankyou

Ive just put my convoy in so exicited now to put some random brads in . Ta

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.1k

Files Sold

Total number of files sold.

2m

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.