Fixes the PDA map becoming slower and slower every time you open it due to the anomaly icons being re-adding themselves everytime.
While it was not really noticable on medium/short sessions, if you played rather long sessions it was a pain.
NOTE : this addon allow the PDA to stay fast and smooth to use ONLY if you use this addon with a new character (or one that does not have yet the PDA slow and laggy)
Fixes the PDA map becoming slower and slower every time you open it due to the anomaly icons being re-adding themselves everytime.
While it was not really noticable on medium/short sessions, if you played rather long sessions it was a pain.
NOTE : this addon allow the PDA to stay fast and smooth to use ONLY if you use this addon with a new character (or one that does not have yet the PDA slow and laggy)
It is a problem that was corrected during the 1.5 beta development by the Call of Chernobyl developers :
Bitbucket.org
I just simply ported this bugfix to 1.4.22 as it's the version i'm still using for various reasons, so entire credits only to the Call of Chernobyl developers
For convenience in case some other CoC players are still using 1.4.22 for reason of their own i am uploading it there.
To install, simply put the gamedata folder from the downloaded archive into your Call of Chernobyl directory.
DO NOT USE IT for any beta of Call of Chernobyl 1.5 (as it contain the fix already + many addition)
Of course don't use it in case you have a mod that modify the pda, in such case and if you observe the lag on long session, you'll add to edit the line yourself with the bitbucket reference as a guide
TRX Zone FM compatibility :
If you are using the TRX Zone FM addon it is using its own pda.script file (that has the same problem as the original 1.4.22 pda.script) , so to be able to use this fixed version, you will need (instell the TRRX Zone FM addon FIRST) to go to the "TRX Zone FM Compatibility" folder then simply put the "gamedata" folder that is inside into your Call of Chernobyl directory.
It will overwrite the TRX Zone FM addon pda.script with the modified and fixed version of it.
For other addons that may include a "pda.script" file, to benefit from the fix you must look into the pda.script and replace
for k,v in pairs(primary_objects_tbl) do
local obj_id = get_story_object_id(v.target)
if(obj_id) then
level.map_add_object_spot_ser(obj_id, "primary_object", v.hint)
by
for k,v in pairs(primary_objects_tbl) do
local obj_id = get_story_object_id(v.target)
if (obj_id and level.map_has_object_spot(obj_id,"primary_object") == 0) then
level.map_add_object_spot_ser(obj_id, "primary_object", v.hint)
Ah! Finally. Thank you sir, I haven't tried this out, but I bet this will fix all the lag that I have with the PDA.
Tested this, it doesn't work on old 1.4.22 saves which are already affected by the PDA slowdown. It might work on new game saves, testing it now.
I just tested on an older save i had abandonned long time ago, and it seems you are right : it does not fix the problem, but on the current character i am running since weeks this addon is preventing the bug to appear and keep the pda fast and smooth.
I added this to the addon description
So it seems that way : if you have the pda already laggy sadly this will not fix the problem, but if you don't have the pda laggy, this addon will prevent it to become laggy.
I'm the guy you've replied to.
Been testing the fix on a new game save for 3 days. As far as I can see it works as intended.
Thank you for confirming.
Too bad it can't fix the problem once it has started.
So it's only working on a new game.
Doesn't toggling the tab to show anomalies and whatnot fix this without this?
Tried this with an old save with PDA lag plus the PDA fix. It doesn't fix the problem thoroughly. When the anomalies display is turned off, the lag is gone, but otherwise the lag remains when the anomalies display is on.
Support for the Zone FM addon would be really nice though.
I updated the download with a compatibility file for the TRX Zone FM addon.
This comment is currently awaiting admin approval, join now to view.