Acts_RU_Briefing_Turn: CutSceneAnimationBaseZoZo in Enoch\Addons\anims_f_enoch has a speed value of "0.3093 ", which is a typo for a float value of 0.3093
Description
Details
- Severity
- Trivial
- Resolution
- Open
- Reproducibility
- Always
- Operating System
- Windows 10 x64
- Category
- Config
Event Timeline
It's not a typo. getNumber can parse strings:
getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> "Acts_RU_Briefing_Turn" >> "speed") //will return 0.3093
It is a typo, it is just one that doesn't cause an issue, hence the trival severity. Every other speed value in that pbo is correctly stored as a float.
In config everything is a string even if it doesn’t have quotes, what matters is what engine turns it into afterwards. I think we can leave this one unless there is something in that pbo that does cause issues. Don’t fix it if it ain’t broken
In config everything is a string even if it doesn’t have quotes
No its not. Which is why every other speed value is a proper float, and this one is not.
The binarizer fails here, it should still be able to find the number and trim away whitespace.
No its not
oh yes it is, config parser is a text parser
The binarizer fails here, it should still be able to find the number and trim away whitespace.
what are you saying that
name = "123.096 + 677.567";
is invalid config entry?