Talk:STRAIN

From DoomWiki.org

Revision as of 08:42, 1 July 2020 by Xymph (talk | contribs) (Custom things mapping)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Vote for merging[edit]

There was already an article for this PWAD (Strain) on this wiki. Both articles should be merged, perhaps under the title "STRAIN" (since it's the name given in the text file,) as this one doesn't provide anything new about the PWAD apart from a link to the STRAIN DM levels. What do you guys think? The Green Herring 17:56, 22 January 2008 (UTC)

  • Merge. The Green Herring 17:56, 22 January 2008 (UTC)
  • Merge. InsanityBringer 18:03, 22 January 2008 (UTC)
  • Merge, yikes.    Ryan W 18:07, 22 January 2008 (UTC)
  • Merge. Zack 18:09, 22 January 2008 (UTC)
  • Merge if there really is anything in this stub that isn't already in Strain, otherwise Delete, and rename Strain to STRAIN. Fraggle 00:01, 23 January 2008 (UTC)
  • Merge. Nuxius 03:49, 24 January 2008 (UTC)

Merge performed. Can't believe I forgot about this... The Green Herring 08:56, 8 March 2008 (UTC)

What, for six weeks?  I wouldn't worry about that too much.   ;>     Ryan W 21:23, 8 March 2008 (UTC)

Modern ports or ZDoom based ports?[edit]

I don't know who changed that. Is it true, that just ZDoom based ports have problems with S.T.R.A.I.N.?--Cybdmn 21:14, 20 January 2009 (UTC)

Supershotgun pellets[edit]

In reference to this edit. Just for comparison's sake, vanilla Doom code:

//
// A_FireShotgun
//
void
A_FireShotgun
( player_t*	player,
  pspdef_t*	psp ) 
{
    int		i;
	
    S_StartSound (player->mo, sfx_shotgn);
    P_SetMobjState (player->mo, S_PLAY_ATK2);

    player->ammo[weaponinfo[player->readyweapon].ammo]--;

    P_SetPsprite (player,
		  ps_flash,
		  weaponinfo[player->readyweapon].flashstate);

    P_BulletSlope (player->mo);
	
    for (i=0 ; i<7 ; i++)
	P_GunShot (player->mo, false);
}



//
// A_FireShotgun2
//
void
A_FireShotgun2
( player_t*	player,
  pspdef_t*	psp ) 
{
    int		i;
    angle_t	angle;
    int		damage;
		
	
    S_StartSound (player->mo, sfx_dshtgn);
    P_SetMobjState (player->mo, S_PLAY_ATK2);

    player->ammo[weaponinfo[player->readyweapon].ammo]-=2;

    P_SetPsprite (player,
		  ps_flash,
		  weaponinfo[player->readyweapon].flashstate);

    P_BulletSlope (player->mo);
	
    for (i=0 ; i<20 ; i++)
    {
	damage = 5*(P_Random ()%3+1);
	angle = player->mo->angle;
	angle += (P_Random()-P_Random())<<19;
	P_LineAttack (player->mo,
		      angle,
		      MISSILERANGE,
		      bulletslope + ((P_Random()-P_Random())<<5), damage);
    }
}

Note how the normal shotgun has this line to control the iterations:

    for (i=0 ; i<7 ; i++)

But the super shotgun has this line:

    for (i=0 ; i<20 ; i++)

Therefore, twenty pellets, not twenty-one. --Gez 18:10, 23 April 2012 (UTC)

Errors in "Monsters" section[edit]

"Strain imps have sligtly more hit points" - not true:

Thing 21 (Imp (Class II)) Hit points = 60 Pain chance = 300 Pain sound = 27 Death sound = 62 Speed = 10 Width = 1310720 Height = 3670016 Mass = 100 Action sound = 76

"Ministers of pain are vulnerable to blast damage" - not true

Custom things mapping[edit]

# class	thing	wikiname	wikilink
0	65	Subverted guard	~
0	58	BFG trooper	STRAIN#Monsters
0	68	Class 2 imp	STRAIN#Monsters
0	3006	Doppleganger	STRAIN#Monsters
0	7	Polydrone	STRAIN#Monsters
0	66	Invisible holobot	STRAIN#Monsters
0	71	Holobot	STRAIN#Monsters
0	3002	Skinless demon	STRAIN#Monsters
0	16	Minister of Hate	STRAIN#Monsters
0	67	Demon lord	STRAIN#Monsters
2	2001	Sawed-off	STRAIN#Weapons
2	2004	NFG	STRAIN#Weapons
2	2006	Psychic blaster	STRAIN#Weapons
3	2047	Mini-battery	STRAIN#Weapons
3	17	Battery	STRAIN#Weapons

I believe this should cover every change listed in the main article. Andromeda (talk) 20:59, 29 June 2020 (CDT)

Thanks, the tables were generated now, with a few tweaks:
# class	thing	wikiname	wikilink	health
0	58	BFG trooper	STRAIN#Monsters	20
0	68	Class 2 imp	STRAIN#Monsters	60
0	65	Subverted guard	Heavy weapon dude	70
0	3006	Doppleganger	STRAIN#Monsters	100
0	71	Holobot	STRAIN#Monsters	200
0	66	Invisible holobot	STRAIN#Monsters	200
0	7	Polydrone	STRAIN#Monsters	200
0	3002	Skinless demon	STRAIN#Monsters	217
0	16	Minister of Hate	STRAIN#Monsters	300
0	67	Demon lord	STRAIN#Monsters	1400
0	84	Decompression daemon	STRAIN#Monsters	8000
2	2001	Sawed-off	STRAIN#Weapons
2	2004	NFG	STRAIN#Weapons
2	2006	Psychic blaster	STRAIN#Weapons
3	2047	Mini-battery	STRAIN#Weapons
3	17	Battery	STRAIN#Weapons
--Xymph (talk) 08:42, 1 July 2020 (CDT)