I did some tests and verified that the file "camera_setting114_1.txt" is created when you change the default skin to the diMka skin only the first time. If another "camera_setting114_1.txt" file already exists, it will not resolve to change the skin used to the default skin and then return to "diMka WA P.1.7.4 - Ulimate xxxxxxxx", because the file "camera_setting114_1.txt" will not be updated and the configuration must be done manually by editing this file.
Also, I verified that the last column of the configuration of each warning, refers to the enabling or not the priority of the alert using the TTS voice.:
"28;1;2;!passcam;1;1;1;0;;0;2;0;0;0;0;1;1;1"
Regards,
CYK
31st August 2020, 12:56 PM
rafael2san
CYK, the "camera_setting114_1.txt" is reloaded/created/renewed when you change a non-32-types skin by another skin with more active types. In other way, this file is renewed when new types are "turned on". The other way is deleting the file.
What defines this values are in sc_wCameraSetting_LoadDefault (see this example):
When you start a new "camera_setting114_1.txt" (by deleting save folder; or changing the skin by a new one with different number of types; or deleting camera_setting114_1.txt), will be created a new one with:
28;1;2;!passcam;1;1;1;0;;0;2;0;1;0;1000;1000;1;1
Regards
31st August 2020, 02:24 PM
CYK
Olá Rafael2San,
Eu percebi isto ao analisar o código com relação à variável "distvalid=". Grato pelo feedback. Parece que está tudo funcionando. Quando der eu vou testar as modificações.
Grato,
CYK
Hi Rafael2San,
I realized this when analyzing the code with respect to the variable "distvalid =". Grateful for the feedback. It seems that everything is working. When it does I will test the changes.
Thankful,
CYK
31st August 2020, 02:45 PM
rafael2san
About the distvalid:
distvalid=0 -- The setup for distance customization through the skin menu are turned off. The alert takes the line (sys.txt category) warn_distances=... (by the speed/distance approach). Better for radars/cameras types.
distvalid=1 -- The setup for distance customization through the skin menu are turned on. If in the sys.txt the line of the respective category is turned off (;warn_distances=...), the alert takes the value established by the user in the skin menu. If not defined, the skin takes de "distvisual/distsound" value. Better for types that you want to record a distance to alert.