Quake 3 New Suggestions

Plugins - A Sketch

Submitted 980329, revised 980508, summary by Bernd Kreimeier.

Summary

It is already possible to implement a runtime multimod interface with the current DLL. No changes by id Software are required. However, a builtin plugin structure delivered with the shipping product would have a lot of advantages.

Example: Monster Plugin

The following example is a sketch of a monster plugin. It is possible to do the same for weapons and items, however, it would be more efficient to treat monsters, items and waepons as one kind of game object. This plugin approach extends naturally to OOP, in fact, it works best with OOP.

The basic idea is to extend the GetGameAPI approach used the the main engine when loading the Game DLL to a GetPluginAPI used by the GameDLL when spawning entities.