I am trying to approximate the Wraithverge in DOOM and need for various reasons to create such a weapon from scratch. This weapon should ideally fire a number of fireballs that select targets at random from any bunch of monsters that are visible to the player or within a certain (but large) radius and home in on them. If the missiles could weave about a bit on their way, like real HeXen spirits, then so much the better, but not essential.
I have reviewed some threads that mention homing missiles and got a few ideas; but before spending ages experimenting by trial-and-error, has anybody recently tried to make a weapon that does this reliably (e.g., using the latest GZDoom functionality), and how far did they get? Any ideas or example code would be much appreciated.
DECORATE: Homing missiles (yet again)
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.
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.
- MartinHowe
- Posts: 2056
- Joined: Mon Aug 11, 2003 1:50 pm
- Preferred Pronouns: He/Him
- Location: East Suffolk (UK)
- wildweasel
- Posts: 21706
- Joined: Tue Jul 15, 2003 7:33 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): A lot of them
- Graphics Processor: Not Listed
- Contact:
- TheSonOfBaphomet
- Posts: 3
- Joined: Tue May 02, 2006 9:37 pm
- Location: Neither here nor there
- MartinHowe
- Posts: 2056
- Joined: Mon Aug 11, 2003 1:50 pm
- Preferred Pronouns: He/Him
- Location: East Suffolk (UK)
Right then, here is something that looks pretty much what I wanted to achieve. The animations and so forth can be fine-tuned as needed, but the real bugbear is getting the spirits to self-destruct when their target is dead or after some random time. I have not tried the MISSILE flag with A_CountDown (or whatever it's called) in case that has side effects, but will probably have a go anyway.
- MartinHowe
- Posts: 2056
- Joined: Mon Aug 11, 2003 1:50 pm
- Preferred Pronouns: He/Him
- Location: East Suffolk (UK)
I have solved the problem of unused spirits, at least to the extent that it looks reasonably "natural" (or should that be unnatural
); here is the latest version. Any comments or suggestions on how to improve it would be welcome.
