-
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
Current Behavior
The mod I'm working with has keywords which doesn't exist in a normal .mds file in G2. e.g., Alias (...). Which seems to be a WIP issue of the mod in development, but Gothic2's ZenGine parser isn't complaining about it.
Error: level=Error, name=<Native>, message=ZkModelScript_load() failed: failed parsing resource of type ModelScript (source) [context: MDS syntax error at line ... column ...: invalid KEYWORD in "aniEnum" block: Alias]
Reproduction
- Use ZenKit version = 1.0.3.0
- Add these example lines in your .mds file
- load the file in ZenKit
Model ("HuS")
{
aniEnum
{
Alias ("..." 1 "" 0.0 0.2 M. "....ASC" R 1 1)
SomethingElse ()
}
}Expected Behavior
Invalid keywords should be silently ignored like in G2 or should raise a warning in logs.
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