Hello!
I am working on a level editor for my game to be used by players.
I create some MDLs at runtime in that editor and save them to disk. It is necessary to change that MDL, re-save it and ent_create it again. External modifications on the MDL might happen as well.

The problem is that on further ent_create calls only the first version of the MDL will be loaded, most likely as the MDL is in the entity cache still. ent_purge does not seem to remove it from the cache, only level_load does, right? Reloading/ clearing the level is not an option for me though.
add_buffer(name, NULL, 0) does not seem to have an effect on those entity/ engine buffers.

Is there any way to force a reload for a filename?

The only workaround I can think of right now is setting meshes manually.


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends