Ouchface
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Source Ports > headshots etc possible in zdoom?
 
Author
All times are GMT. The time now is 04:08. Post New Thread    Post A Reply
invictius
Forum Regular


Posts: 672
Registered: 03-06


Was wondering this a couple of days ago, in zdoom (picked it because it seems the most advanced) is it possible to assign different amounts of damage to your target, depending on whether it's a headshot, limbs etc? I'm guessing it's not possible.

Old Post 12-21-13 17:11 #
invictius is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Gez
Why don't I have a custom title by now?!


Posts: 11217
Registered: 07-07


It's possible, though not directly supported so you have to use borderline hacky methods.

Keep in mind precision remains limited since enemies are sprites rather than models, so don't expect to be able to shoot an enemy's gun out of their hands to disarm them without hurting them or whatever other silliness you might imagine. But for rather basic blocky shapes, like "headshot" or "legshot", it's possible.

There are two methods: one is based on spawning "hit detection actors" at the monster's position, with a slightly larger radius but a smaller height. Position them accurately and there you go, if you hit the zombieman's "headshot detection actor" you know you can damage the zombieman more than usual. I think this is the method used by Brutal Doom.

The other method consists in detecting the height of the hit in the blood splatter actor itself. IIRC, Nash (I think it was Nash) had a working example of the system somewhere on the ZDoom.org forum.

Old Post 12-21-13 17:24 #
Gez is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
reality 2.0
Junior Member


Posts: 183
Registered: 10-13


Are you good with a scripting language zdoom uses called DECORATE. You can use DECORATE to create hit boxes to make headshots and what not. Its complicated to create, but quite possible if you understand how the scripting language works.

Old Post 12-28-13 02:19 #
reality 2.0 is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 04:08. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Source Ports > headshots etc possible in zdoom?

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.