Classes:FastProjectile
Note: Wait! Stop! Before you copy this actor's definition into your mod, remember the following things:
|
| Fast projectile | |||
|---|---|---|---|
| Actor type | Internal | Game | |
| DoomEd Number | None | Class Name | FastProjectile |
Classes: FastProjectile
→BlasterFX1
→CFlameMissile
→MageWandMissile
A base class for all fast projectiles, with special movement code. Standard missile code doesn't manage speeds greater than about 60 very well. To create a fast-moving projectile, inherit from this class or one of its children classes.
The MissileType property has a special use for fast projectiles. When one is specified, several (at least eight) are spawned every tic in the projectile's wake, as a trail. The greater the speed, and the smallest (yet non-null) the radius, the more numerous the steps. See MageWandMissile for an example of use, and MageWandSmoke for how a trail actor might be defined.
The MissileHeight property also has a special use for fast projectiles. Normally, fast projectiles spawn their trails slightly lower than the projectile itself. Using this property, the trail's height can be adjusted to different heights.
Due to the movement code, fast projectiles are destroyed if they are incapable of moving or hit any plane. Hence, bounce properties or other plane related flags don't work.
DECORATE definition
Actor FastProjectile native
{
Projectile
}
- Chex Quest actors
- Chex Quest internal actors
- Chex Quest 3 actors
- Chex Quest 3 internal actors
- Doom actors
- Doom internal actors
- Doom II actors
- Doom II internal actors
- Heretic actors
- Heretic internal actors
- Hexen actors
- Hexen internal actors
- Strife actors
- Strife internal actors
- ZDoom actors
- ZDoom internal actors
- Internal