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
Add zonmaker pre-compile steps #68
Conversation
These always fail because we dont have a srctools.vdf in our mapsrc, making it load the default which points to portal2. To point to momentum by default instead I believe we will have to make our own version of the postcompiler.
Creates zones before vbsp and copies them over to game.
Im regards to the postcompiler, it looks for the |
Yeah i will add it for those that want to use it. Though the issue i was getting at is that a large majority of our mappers are not expecting to have that file in their own mapping folders, as they have never used the postcompiler. It would be nice to have the default point to the respective game so ppl arent expected to do this. I just disabled it by default until we can think of a better solution. |
Also allow it to be specified by -game like other compiler tools. This fixes an issue in StrataSource/FGD#68.
Added a -game/--game argument working like the other compiler tools, so it can be specified there. |
Also allow it to be specified by -game like other compiler tools. This fixes an issue in StrataSource#68. Transferred from TeamSpen210/srctools @ e1e202855d6299c799abd9da7406abd43ed8e053
Also allow it to be specified by -game like other compiler tools. This fixes an issue in StrataSource#68. Transferred from TeamSpen210/srctools @ e1e202855d6299c799abd9da7406abd43ed8e053
Closes #54
Creates the
.zon
file and copies it over to game, using the newly added special cmd so that trying to copy a non-existent.zon
file doesnt fail the compile.I do also have some code changes that allows this to be nicer, so that the zonmaker executable can be run with
$zonmaker_exe
and the zones folder can be found with$zondir
.. though it required a lot ofMOMENTUM
ifdefs so I elected to go this route. Can always go the other route, would be nice to have zonmaker run on normal compiles too.