Skip to content

Conversation

@OrsellGit
Copy link
Contributor

The current implementation of the AngelScript (AS) wiki dump parser parses the server and client dump files. However, since there is currently no real difference between the two, all functions, enums, and types are marked as "Server & Client". The only AS implementation difference in Strata Source is with Hammer, which includes various class types and enums that are NOT in the game. Ex. BoundBox, RenderMode

Right now, as of 1/4/26, the parser has an issue if a type or enum exists in BOTH the game and Hammer. An example is Material, where Material exists to a far greater extent than Hammer, with several functions in the class definition. However, for Hammer, it's an empty shell. The "mergeDump" function currently doesn't handle a type already being defined and instead overwrites what's already there with the next dump to be merged. It wasn't an issue with the client & server ones since they were currently the same, but not the Hammer one.

The goal of this PR is to rewrite/update the AS wiki parser to support the Hammer dump file. This PR might evolve into rewriting the entire dump parsing scene, so that all scripting languages can be parsed from one file and formatted into the same format in the wiki itself.

…only functions, types, and enums.

Currently this addition involves some parsing errors with "mergeDump",
where for example, "Material", which exists in both the game and Hammer
editor, will not show that, instead only showing the Hammer
implementation which is empty.
@OrsellGit
Copy link
Contributor Author

CLOSING PR AND MOVING TO A PR WITH A NATIVE BRANCH!

@OrsellGit OrsellGit closed this Jan 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant