Jump to content

(question)Allowed Vehicle Prefabs

Pending 1.0.1

hid333
hid333

Posted (edited)

    "Allowed Vehicle Prefabs (If not all vehicles)": [],

It would be helpful if you could provide some examples of default settings.

- Examples of newly added buildable ships
- FP vehicles (what about attack helicopters? Prefab names?)
- Karuza vehicles (config file names? Littlebird, perhaps?)

Edited by hid333
Bad Cop

Posted

Hello hid333

 

This is the type of config it's expecting: 

"Allowed Vehicle Prefabs": [
  "assets/content/vehicles/boats/rowboat/rowboat.prefab",
  "assets/custom/littlebird.prefab",
  "assets/content/vehicles/minicopter/minicopter.entity.prefab"
]

hid333

Posted

I’m not sure which prefabs correspond to the newly implemented “player-built boats” and the two types of “RHIBs with NPCs on board.” I’ve been checking prefab lists available online as well, but I haven’t been able to identify which ones apply.

Bad Cop

Posted

Good question. Not sure about the boat, havent really looked at it yet tbh. 

 

I think this is the scientist boats
assets/content/vehicles/boats/rhib/rhib.deepsea.prefab

assets/content/vehicles/boats/ptboat/ptboat.deepsea.prefab

  • Like 1
hid333

Posted

If you set "Allow Any Vehicle" to false, does that mean you won't be able to enter the deep sea with the ship you've built until you specify one in "Allowed Vehicle Prefabs (If not all vehicles)"?

Bad Cop

Posted

Should be like this, hope it makes sense 

If Allow Any Vehicle = true  plugin allows all vehicles (subject to RequireBoat, passenger checks, extra-vehicle checks, etc.).

If Allow Any Vehicle = false and AllowedVehiclePrefabs has entries,  plugin enforces only those listed. Those not in list should be rejected

If Allow Any Vehicle = false and AllowedVehiclePrefabs is empty,  it falls back to vanilla ( it should respect whatever vanilla allows)

 

For the player boat,  i think its assets/prefabs/boat/playerboat.prefab  

 

 

  • Like 1
2.2m

Downloads

Total number of downloads.

10.3k

Customers

Total customers served.

148.6k

Files Sold

Total number of files sold.

3.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.