First of all, it doesn't deal any damage if I don't include "DamageFunction 0;" in it:
Code: Select all
Class HLPodPoisonCloud : Actor
{
Default
{
Radius 20;
Height 30;
Mass 0;
Scale 0.8;
Reactiontime 35;
Speed 0;
+MISSILE;
-SOLID;
-NOBLOCKMAP;
+FORCEXYBILLBOARD;
+NOGRAVITY;
+NODAMAGETHRUST;
+DONTSPLASH;
+CANBLAST;
+BLOODLESSIMPACT;
+ADDITIVEPOISONDURATION;
RenderStyle "Translucent";
Alpha 0.6;
DeathSound "PoisonShroomDeath";
PoisonDamage 5, 6;
DamageFunction 0; // with it the poison is applied, without it nothing happens
}
States
{
Spawn: // PSBG
TNT1 A 0 A_Scream;
SMOC DEF 3;
Float:
TNT1 A 0 A_Scream;
SMOC DEFGHI 5 A_Countdown;
Loop;
Death:
SMOC HG 5;
SMOC FD 5;
Stop;
}
}
Second, the green filter is not applied on the screen, and while I was spawning the original PoisonCloud, the screen was becoming tinted with green for the duration of the poison.
Third, I don't know if it's possible, but can the duration of the poisoning be added from the same cloud, depending on how long you are standing in it? ADDITIVEPOISONDURATION that I included works with two or more different clouds, but is it possible to add extra duration for every second you keep standing within one cloud?