-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
enhancementNew feature or requestNew feature or requestmoddedIssues or features related to modifications of GothicIssues or features related to modifications of Gothic
Description
Happy New Year, Luis! Let's rock and roll right from day 1. ;-)
Current behavior
If a registerMesh entry inside a .mds file contains round brackets/parenthesis, the parsing stops with this warning:
level=Warning, name=ModelScript, message=detected invalid use of KEYWORD ".ASC" in "Model" block. Ignoring rest of script.
Causing the whole file to stop being processed further and won't register animations (which are normally stored below).
Example: registerMesh ("Some_File Name(WithBrackets).ASC")
Reproduction
- Use ZenKit version = 1.0.3.0
- Create .mds file with this value
Model ("HuS")
{
meshAndTree ("Hum_Body_Naked0.ASC" DONT_USE_MESH)
registerMesh ("Some_File Name(WithBrackets).ASC")
aniEnum
{
modelTag ("DEF_HIT_LIMB" "zs_RightHand")
ani ("s_Run" 1 "s_Run" 0.1 0.1 MI "Hum_RunAmbient_M01.asc" F 1 50)
}
}
Expected behavior
Parsing should accept brackets >()< as they're put in double quotes and are valid file names on linux and windows.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestmoddedIssues or features related to modifications of GothicIssues or features related to modifications of Gothic