1 decade ago by Jeremy
I have been developing some special entities so that someone using weltmeister could could completely customize them. One of my recent endeavors is an emitter entity. I would love to be able to have the ability to type in the name of the entity and have it emit form a predefined area (the size of the emitter). All my code is in place and it works well. I was wondering if there was a way to dynamically tell wetlmeister to require whatever entity the emitter is emitting in the map file. Right now inorder for my emitter to work I need to include the entity it's emitting somewhere on the map.
I have been looking around in the weltmeister code and I found some ways to do it, but it seems a bit hacky. I wonder if anyone has ran into a similar issue and how they managed to solve it.
I have been looking around in the weltmeister code and I found some ways to do it, but it seems a bit hacky. I wonder if anyone has ran into a similar issue and how they managed to solve it.