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

"model" in main tag conflicts with "model" key #9

Open
snake-biscuits opened this issue Mar 11, 2023 · 1 comment
Open

"model" in main tag conflicts with "model" key #9

snake-biscuits opened this issue Mar 11, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@snake-biscuits
Copy link
Member

When bloodhound.py identifies an entity model, it ignores the "model" key in non-prop types (e.g. spawnpoints)
For some reason Respawn write editor models.
If an entity has a model key it blocks loading of the editor model

Also, pilot/*.json cannot remove keys detected by bloodhound.py
This means any keys we decide to generate at compile time will have to be caught by bloodhound
Would probably be easier to add some "RemoveKeys" segment to pilot/*.json spec.

{
	"Entity": "info_example",
	"RemoveKeys": [
		{
			"Key": "model"
			"Reason": "Only editor model is set, has no effect in-game"
		}
	]
}

We also need to detect bsp-side editor models (new ents w/ only 1 model)
Some stage for removing <!-- TODO: models/editor_model.obj --> will also need to be made in future

@snake-biscuits snake-biscuits self-assigned this Mar 11, 2023
@snake-biscuits snake-biscuits added bug Something isn't working enhancement New feature or request and removed bug Something isn't working labels Mar 11, 2023
@snake-biscuits
Copy link
Member Author

This might not be happening by for the reason I think, MRVN-Radiant caches ents wierd when you use multiple files, might need to look into forking

I would like to dig into making r1.fgd at some point anyway (fgd parser seems busted)

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

1 participant