Garux / netradiant-custom

The open-source, cross-platform level editor for id Tech based games.
https://garux.github.io/NRC/
Other
301 stars 53 forks source link

NetRadiant doesn't load mods? #20

Closed NeonKnightOA closed 5 years ago

NeonKnightOA commented 5 years ago

I have downloaded a mod, this one: https://www.moddb.com/mods/uber-arena/ and I want to create some maps for it, however, the mod won't load the entities.ent or entities.def file, even if both are well formatted, so I cannot use the mod-exclusive entities.

These are the mod's entity files, for testing: https://www.dropbox.com/s/ffrac91xegxx36n/entities.def?dl=0 https://www.dropbox.com/s/s3p5hawn7959sux/entities.ent?dl=0

Garux commented 5 years ago

xml

Garux commented 5 years ago

Your .ent shit is commented out. .def works well.

NeonKnightOA commented 5 years ago

Deleted the comments from the .ent file (the file is also updated). Still does the same.

What I mean is, the editor loads the base game entities, not the mod entities, even when the editor is set to work with the mod. Am I missing some steps?

Garux commented 5 years ago

Can't say which step you are missing, as you don't tell, which ones you do. What i do is: put a file to install/q3.game/uberarena/ and specify mod uberarena in file->project settings. Sharing complete log file would help also, as it exposes paths, where ent defs are read from.

NeonKnightOA commented 5 years ago

Well, it turns out I've found out where the error lies. Apparently the entities.ent files must NOT contain the characters "<" or ">" in the text descriptions. Makes sense, being XML files.

Cleaned up the entity files, it recognized the mod and the mod-specific entities.