gist:
datablock PlayerData(EmptyHoleBot) {
shapefile = "base/data/shapes/empty.dts";
emap = 1;
};
then later on
%pl.emitterBot = new AiPlayer(EmitterBots) {
datablock = EmptyHoleBot;
};
%pl.mountObject(%pl.emitterBot, %slot);
%pl.emitterBot.mountImage(%img, %slot);
and make sure to package armor::onRemove to delete the bot when the player dies. and of course dont create multiple emitterbots/check if the emitterbot exists.