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

Postcompiler breaks info_node_link entities #38

Open
vrad-exe opened this issue Mar 3, 2025 · 2 comments
Open

Postcompiler breaks info_node_link entities #38

vrad-exe opened this issue Mar 3, 2025 · 2 comments
Labels

Comments

@vrad-exe
Copy link

vrad-exe commented Mar 3, 2025

The postcompiler seems to break info_node_link entities. The console complains about not being able to find the specified node IDs, and then the entity doesn't spawn. Decompiling the map shows that all nodes seem to have had their IDs randomized. This doesn't happen with the postcompiler disabled.

@TeamSpen210 TeamSpen210 added the bug label Mar 3, 2025
@TeamSpen210
Copy link
Owner

It shouldn't be randomising, but at some point I did add the logic to ensure these are de-duplicated. Maybe I should set things up so it never does so when parsing?

@TeamSpen210 TeamSpen210 transferred this issue from TeamSpen210/HammerAddons Mar 3, 2025
@vrad-exe
Copy link
Author

vrad-exe commented Mar 3, 2025

I didn't have any duplicated nodes, there were only a few in the map and I checked to make sure they were all unique. Either way, the de-duplication logic needs to be able to understand the entities which refer to node IDs so it can adjust them to point to the correct ones if IDs shift around, or throw an error/warning if it's an ambiguous duplicate node

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

No branches or pull requests

2 participants