
where would one go to formally release anything these days, be it a single monster, a collection of monsters, a single level, a megawad or whatever the case may be?
// Comment for correct icon in Nemo
gameinfo
{
AddEventHandlers = "M426_DOOM2MAP31_EH"
}
// Comment for correct icon in Nemo
version "3.7"
Class M426_DOOM2MAP31_EH : EventHandler
{
private bool destroyMe;
override void OnRegister()
{
destroyMe = false;
}
override void WorldTick()
{
if (destroyMe)
{
if (!bDestroyed)
{
Destroy();
}
}
}
override void CheckReplacement(ReplaceEvent e)
{
string checksum = level.GetChecksum();
if (level.GetChecksum() == "3ff94e27423f91c1585b3396f0c03459") // doom2.wad MAP31
{
if (e.Replacee is "Demon")
{
e.Replacement = "MBFHelperDog";
}
}
}
override void WorldLoaded(WorldEvent e)
{
destroyMe = true;
}
}
// Comment for correct icon in Nemo
version "3.7"
Class M426_Personal_EH : EventHandler
{
override void WorldThingSpawned(WorldEvent e)
{
if (e.Thing.bStealth)
{
actor thing = e.Thing;
thing.bStealth = false;
thing.A_SetRenderStyle(0.5, STYLE_OptFuzzy);
}
}
}
Users browsing this forum: Gez and 2 guests