Poisoned projectiles

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.

Poisoned projectiles

Postby vAethor » Sat Sep 02, 2017 4:49 pm

I have an idea for a projectile weapon that is a poison dart that deals some damage to the target and then poisons it, also triggering a small explosion of poison gas that poisons other enemies caught in the radius.

I am guessing you call A_SpawnProjectile on the projectile's death state, making so in addition to dealing damage to the target it spawns a cloud of poison gas that deal poison-type damage to surrounding enemies before quickly dissipating. I tried to read up on poison-type damage on the Zdoom wiki but was hopelessly confused by it.

I have all the graphics and sounds made for my poison dart gun, I just need to figure out what to do next.

Another thing I want to do is cause the gun itself to release a puff of the same gas as another projectile in the fire state, in addition to the main one, causing small area-of-effect damage up close even not with a direct hit.
vAethor
 
Joined: 10 May 2017

Return to Editing (Archive)

Who is online

Users browsing this forum: No registered users and 2 guests