Quake
2 Oop conversion project - Plugin Architecture
Plugin
Architecture ( back to table of
contents ) :
The plugin
/socket pair system is a way to centralize and standardize the
q2 dll information.
-
Weapon Plug
- Generic Weapons plugin contains all of the specs / model information
for that weapon. Shared Library - Dll for each.
-
Creature / Monster
Plug - Defines weapon load points and that
kind of stuff, abilities of the character, and all that jazz. Incorporates
the Weapon Socket code to allow the mod maker to reload the weapons load
for the creature without recompilation of the creature ai.
-
Player Plug
- Defines weapon load points and that kind of stuff, abilities of the character,
and all that jazz. Incorporates the Weapon Socket code to allow the mod
maker to reload the weapons load for the creature without recompilation
of the player dll / Shared Library.
-
Weapon Socket
- A generic loader that loads the dll, used for that players weapon point.
-
Creature / Monster
Socket - A generic loader that is compiled
into the gamex86.dll and is used for loading of creature / monster entities.
-
Player Socket
- A generic loader that is compiled into the gamex86.dll and is used for
loading of creature / monster entities.
****
Please note that when it comes right down to it, creatures / monsters and
players are all the same, the only difference is players have human control.
The same plugin manager may be used for both.