project reality header
Go Back   Project Reality Forums > PR:BF2 Mod Forums > PR:BF2 Bugs
04 Feb 2023, 00:00:00 (PRT)
Register Developer Blogs Project Reality Members List Search Today's Posts Mark Forums Read
PR:BF2 Bugs If you find a bug within PR:BF2 (including PRSP), please report it here.

Reply
 
Thread Tools Display Modes
Old 2020-05-01, 02:04   #1
Akerz
Exclamation Vehicle time to live, time to stay as wreck - Coop

Hi,

I have noticed something odd about the vehicle wrecks when playing coop on local.

Even though the TimeToLive property in spawner settings for each level are often above 1200 and the tweak file of vehicles are set with a timeToStayAsWreck of 1200 as well; most vehicle wrecks on coop will explode way before that time has passed (usually takes around half a minute depending on vehicle, when it should be 20 minutes).

It also seems to be that vehicles that are damaged but have not reached their criticalDamage yet, will start to lose health very quickly if there is no driver on the vehicle.

Now I have been trying to gather information on this for quite a few days in these and other forums but to no avail. At first I thought it was a misconfiguration on the levels I played but that wasn't the case, vehicle wrecks will still be destroyed shortly after no matter the object spawner configuration. Setting the timeToStayAsWreck as -1 in the vehicle tweak files works but then the wreck is indestructible, while setting a higher wreckHitPoints value works if it is set to a ridiculously high value, which then has to be compensated by an equally high damage setting of C4 and other weapons to destroy wreck material objects.

I've been searching for any configuration/script in the coop game settings under mods/pr/python/game and mods/pr/python/game/gamemodes both in the .py and .pyc files, also in the server .con files and in the levels init and gameplayobject files but so far I have found nothing at all that explains this phenomenon.

As an hipothesis, it must be that vehicles in coop that are damaged begin to quickly lose health if there is no driver on the vehicle (~40hp/sec), that includes the sceneario of the vehicle wreck.

I'm getting exhausted searching and this vehicle wrecks dissapearing really kill the vibe sometimes, can anyone help? Devs? Modders? Anyone?



Steps to reproduce: Start a local coop game, destroy any vehicle and count the seconds until the next flames and explosions effect occur followed with the wreck explosion itself.

Video: https://imgur.com/a/Cbq3RkP

Tested on: Bamyan coop std, Operation Archer coop std, Khamisiyah coop std, Jabal Al Burj coop std, Kashan Desert coop lrg, Muttrah City coop inf, Fallujah coop std, Assault on Grozny coop std, Saarema coop std, Silent Eagle coop std, Vadso City coop std, Shijia Valley coop std, Wanda Shan coop std, Xiangshan coop std, Goose green coop std. At this point I'm sure it happens in every other coop level on local.

If not a bug, and that's how the local coop game is intended, any work around or fix to it that is of knowledge?
Akerz is offline Reply With Quote
Old 2020-05-01, 09:13   #2
[R-DEV]​AlonTavor
PR:BF2 Developer
Supporting Member
PR Server License Administrator
Default Re: Vehicle time to live, time to stay as wreck - Coop

Quote:
It also seems to be that vehicles that are damaged but have not reached their criticalDamage yet, will start to lose health very quickly if there is no driver on the vehicle.
I think its a feature so vehicles won't be left in the field, its part of ObjectSpawner but maybe its always on in coop.
Maybe it applies damage to wrecks as well which causes them to disappear faster.
AlonTavor is offline Reply With Quote
Old 2020-05-01, 09:14   #3
[R-DEV]​Outlawz7
PR:BF2 Developer

Outlawz7's Avatar
Default Re: Vehicle time to live, time to stay as wreck - Coop

Quote:
Originally Posted by Akerz View Post
As an hipothesis, it must be that vehicles in coop that are damaged begin to quickly lose health if there is no driver on the vehicle (~40hp/sec), that includes the sceneario of the vehicle wreck.
That's true, same in vBF2. To my knowledge it's not something set in Python. No idea how why or where to change.

Outlawz7 is offline Reply With Quote
Reply


Tags
coop, time to live, time to stay as wreck, vehicle, wreck
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 06:13.