Mod for Quake (Darkplaces port) inspired by locations and features that were teased, but never released, for Duke Nukem Forever and Duke Nukem 3D. A glimpse on what those games could have been.

  • View media
  • View media
  • View media
  • View media
  • View media
  • View media
RSS Articles

It is a common misconception that the Quake engine, and by extension its derivatives like Darkplaces, do not allow destructible architecture or objects, simply because Quake lacks them. That, however, was not an engine limitation, but a deliberate choice made by the level designers, who decided not to implement a feature that the engine is perfectly capable of performing.

Ego Enforcer features breakable architecture and objects, which I implemented in QuakeC (so the original executable is not modified), making use of all the unused bits in the spawnflags variable. All I had to do was recycle the code that generates gibs when an enemy is blown up. I applied it to the function that manages func_buttons, adding a routine that reads the value of spawnflags and uses it to calculate which type, of how many, models representing fragments must be generated and thrown around.

Now that I created the appropriate models (representing fragments of metal, wood, stone, glass, and ceramic) and the routine for the desired behavior, all I have to do whenever I want to create something that can be blown up is to set the correct value of spawnflags to a func_button (and explicitly specify its origin), which will behave as destructible architecture in game.

mymod20220209235322 00

mymod20220209235326 00

Post comment Comments  (0 - 10 of 11)
ANDROIDFERRET
ANDROIDFERRET - - 1,117 comments

That looks insane

Reply Good karma Bad karma+1 vote
wrathofcortex
wrathofcortex - - 1 comments

yes yes cannot wait

Reply Good karma Bad karma+1 vote
Guest
Guest - - 690,357 comments

This comment is currently awaiting admin approval, join now to view.

JPC-96
JPC-96 - - 27 comments

Reminds me of DNF 1998

Reply Good karma Bad karma+1 vote
hondobondo
hondobondo - - 100 comments

looks fantastic

Reply Good karma Bad karma+1 vote
Guest
Guest - - 690,357 comments

This is awesome! Can't wait to try out this mod when its done

Reply Good karma Bad karma+1 vote
BabblingBrookThe1st
BabblingBrookThe1st - - 6 comments

I cannot wait to play this mod...But if only when it's done.

Reply Good karma Bad karma+1 vote
Guest
Guest - - 690,357 comments

This comment is currently awaiting admin approval, join now to view.

BabblingBrookThe1st
BabblingBrookThe1st - - 6 comments

Ngl I would want to play this mod. Straight up beautiful. We haven't even had a newer DNF 2001 based game where there's not only parts from the trailer but a whole new journey! Love it Devil Master! Bravo.

Reply Good karma Bad karma+2 votes
EmoLevelDesigner
EmoLevelDesigner - - 57 comments

Look and feel of The DNF from 2001 are incredible. Happy to know this project exists and eventually will quench the thirst for that game like Serious Duke quenched the thirst for Duke Nukem: Reloaded, look forward to its release.

Reply Good karma Bad karma+4 votes
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account:

X