Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support mods with multiple script packages #2

Open
robojumper opened this issue Apr 25, 2020 · 1 comment
Open

Support mods with multiple script packages #2

robojumper opened this issue Apr 25, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@robojumper
Copy link
Member

The extension requires mods to exist in Src/ and have a Classes folder for the source files. This means that the Classes folder is already where the X2/WotC setup would have copied the files, and:

  • Src/MyOtherPackage/Classes/ sources would not be picked up
  • MyOtherPackage, as it is listed in the mod's XComEngine.ini/XComEditor.ini, would not be even considered by the script compiler as a dependency (X2/WotC would copy the config to XComGame/Mods//Config and have the compiler load them at startup)

#1 may help with this.

@robojumper robojumper added the enhancement New feature or request label Apr 25, 2020
@E3245
Copy link
Contributor

E3245 commented Jun 29, 2022

Added via PR #19. It will read the mod's XComEngine.ini config and attempt to pull the packages from SDK/XComGame/Script into Game/XComGame/<WorkspaceName>/Scripts. RunMod() does not copy all files from the various Src folders yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants