Posted: Tue Dec 09, 2014 7:52 pm Post subject: [1.06+] AArtifact in doom
Hello,
At first, don't take this seriously its only my silly GUESSes.
While I was dehacking a little i could not get rid of some errors while i spot something interesting:
If you load doom2.wad map07
You can see numerous Blursphere's there.
Put "developer 1" to console.
Pickup any of sphere's and you can see numerous missing sprites ACLO.
This is because the blursphere's (Invisibility sphere) summons AArtifact (zdoom wiki: PickupFlash)
Note: it affects also "InvulnerabilitySphere" as this sphere also have "APowerup".
For imagination this is how it does look AFTER pickup by player if engine finds ACLO sprites:
So I (only)THINK that this part (from 1.06 source)
Does not have any GAME detection and it simply summons AArtifact on every game. exactly same AArtifact is used in heretic and hexen, but not in doom.
a_artifacts.h
Code:
// A powerup is an artifact that can be made to activate immediately
// on pickup with the appropriate dmflags setting.
class APowerup : public AArtifact
{
DECLARE_CLASS (APowerup, AArtifact)
};
class player_s;
void P_PlayerNextArtifact (player_s *player);
void P_PlayerRemoveArtifact (player_s *player, int slot);
void P_PlayerUseArtifact (player_s *player, artitype_t arti);
Does not happen for me. Did you try this using only DOOM2.wad? (no PWADs). If you encountered this while dehacking, there might be something wrong with your dehacked/dehsupp.
Thanks Kilgore for explaining on irc, this is side-effect gived by design of zdoom 1.23. It doesn't worth to be wondering about it, so lets put this topic into trash.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum