A mod for classic Serious Sam: The Second Encounter v1.07 that adds a lot of options for multiplayer games including coop mode support for singleplayer maps.
Will result in two entries in the map:
Hand = &CModelObject (main model)
Colt = &CModelObject::GetAttachmentModel(0)->amo_moModelObject (model under the first attachment)
Useful for animating different parts of the weapon/enemy just by grabbing the CModelObject pointer under the part name.
Add a
map<string, CModelObject *>
argument to the model config parsing that will set pointers to certainCModelObject
under a specified string name.Example:
Will result in two entries in the map:
Hand
=&CModelObject
(main model)Colt
=&CModelObject::GetAttachmentModel(0)->amo_moModelObject
(model under the first attachment)Useful for animating different parts of the weapon/enemy just by grabbing the
CModelObject
pointer under the part name.