EpochModTeam / Epoch

Epoch Survival Game Mode for ARMA 3
http://epochmod.com/
Other
91 stars 82 forks source link

Dynamic Simulation may be a problem with Epoch vehicle spawns #831

Closed morgoth0 closed 7 years ago

morgoth0 commented 7 years ago

I have seen and players have additionally reported a problem with new vehicle spawns that I think is related to dynamic simulation. Sometimes, when you approach a vehicle that has been spawned at the previous restart it will for no reason, explode. I think that this is happening when the vehicle is placed on the map at that time but allowdamage is not false...?

This has happened many times now on my experimental server... does not affect every vehicle but does affect some.

Cheers, Grahame.

Ignatz-HeMan commented 7 years ago

Do they explode directly on spawn or when player comes near / login?

Ignatz-HeMan commented 7 years ago

Ah okay... Just read "when you approach". I have already tested a lot with "exploding Vehicles". I will try to create a workaround. It will be never 100% safe, but much better, I think.

morgoth0 commented 7 years ago

Yes, it is when ARMA puts them on the map as you get near.

Cheers, Grahame.

Ignatz-HeMan commented 7 years ago

Also Vehicles parked in Bases or only complete new spawned Vehicles?

morgoth0 commented 7 years ago

On experimental server players have few bases due to the incredibly low loot and no traders so not sure on the vehicles parked in bases. So I can only comment on the newly spawned vehicles tbh

Ignatz-HeMan commented 7 years ago

The code has changed, that the damage is overall higher then before the update. Now, the problem is, that "HitHull" is also mostly higher and a "HitHull" > ~0.9 cause the exploding Vehicles on simulation. This should fix it: https://github.com/EpochModTeam/Epoch/pull/845/files

vbawol commented 7 years ago

This should be fixed per #845 by @Ignatz-HeMan