Jump to content

Cars/Mounts/Helis in RBs

Pending 3.1.3

Ironsoul
Ironsoul

Posted

Hello there -

is it not possible to have a vehicle spawn as part of a RB?

Atm when a player takes a minicopter on my server from a RB (as a reward we give) - after the rb despawns the heli is not longer mountable and it crashes the client. for whoever tries to mount it.

attached the crash error msg.

 

thanks in advance

image.png

nivex

Posted

hi, it does look like its bugged. ill fix it in the next update.

set this to true until the next update so the mount despawns for now. 

"Despawn Spawned Mounts": true,

nivex

Posted

you're welcome

here's the fix. edit RaidableBases.cs

line 7975: AddContainer(container);
change to: if (!container.HasParent()) AddContainer(container);

line 19831: var m = entity as BaseMountable;
change to: var m = entity.HasParent() ? entity.GetParentEntity() as BaseMountable : entity as BaseMountable;

 

2.2m

Downloads

Total number of downloads.

10.4k

Customers

Total customers served.

150.4k

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.