Garux / netradiant-custom

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

Spawnflags limited to 16 unique flags #82

Closed wongit closed 1 year ago

wongit commented 3 years ago

Currently not possible to use more than 16 spawnflags in an entity file without getting invalid bit error.

Garux commented 3 years ago

Yeah, it's limited to 16 https://github.com/Garux/netradiant-custom/blob/master/include/ieclass.h#L31 I don't think anything practical uses > 16.

wongit commented 3 years ago

Trenchbroom is using 24 I think. Some recent quake mods are preferring to use spawnflags over keys so it can creep over 16. Compiled with 24 and seems to be working. Thanks for the infos