Jump to content

Not working for modular car

Can't Reproduce 0.3.1

Jyrgen

Posted

Hello,

 

The plugin seems not to be working for modular cars.

Modular car fuel settings only works if you remove and reattach the engine module. Once you restart the server or reload the plugin the setting stops working

bsdinis

Posted

I just tried the latest version of this plugin on my test server and everything seems to be working correctly.

I spawned a modular car with 0 consumption and only 1 low grade fuel, and the fuel settings persisted after a server restart.

{
  "Vehicles": {
    "4module_car_spawned.entity": {
      "StartingFuel": 1,
      "LockFuelContainer": false,
      "FuelPerSecond": null,
      "IdleFuelPerSecond": null,
      "MaxFuelPerSecond": null
    },
    "3module_car_spawned.entity": {
      "StartingFuel": 1,
      "LockFuelContainer": false,
      "FuelPerSecond": null,
      "IdleFuelPerSecond": null,
      "MaxFuelPerSecond": null
    },
    "2module_car_spawned.entity": {
      "StartingFuel": 1,
      "LockFuelContainer": false,
      "FuelPerSecond": null,
      "IdleFuelPerSecond": null,
      "MaxFuelPerSecond": null
    }
  },
  "ModularCarsSpawnFullHealth": false,
  "EngineModules": {
    "1module_cockpit_with_engine": {
      "PartsTier": 3,
      "LockContainer": false,
      "IdleFuelPerSecond": 0.0,
      "MaxFuelPerSecond": 0.0
    },
    "1module_engine": {
      "PartsTier": 3,
      "LockContainer": false,
      "IdleFuelPerSecond": 0.0,
      "MaxFuelPerSecond": 0.0
    }
  }
}

 

bsdinis

Posted (edited)

Changed Status from Pending to Can't Reproduce

Edited by bsdinis
Jyrgen

Posted

Hello,

 

Thank you for the response. I reattempted the test with the config provided by you, using all default server convars / settings and no other plugins. Here is the video of my results

https://youtu.be/bHCar1mM5Jw?si=EeGnY9r7AtvbVftb

0:00 – Spawning new car, fuel settings is working.

0:38 – Reloading the plugin, fuel settings stop working.

1:02 – Unloading and reloading the plugin, still not working.

1:40 – Using car lift to reattach the module, fuel settings start working again.

2:48 – Reloading the plugin again, fuel settings stop working.

 

The problem does not persist with other vehicles, only modular cars. What could be causing this in my case?

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.6k

Files Sold

Total number of files sold.

2.1m

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.