Cafu Engine
Cafu Engine Scripting
The open-source game engine and graphics engine for multiplayer, cross-platform, real-time 3D action
Map Namespace Reference

This "Map / Entity" group contains all script classes for the DeathMatch example game that ships with Cafu. More...

Classes

class  BaseEntityT
 This is the base class that all other entities directly or indirectly inherit from. More...
 
class  EntWeaponT
 
class  EntWeaponTripmineT
 Tripmine Ammo. More...
 
class  EntWeaponShotgunT
 Shotgun. More...
 
class  EntWeaponRPGT
 RPG. More...
 
class  EntWeaponPistolT
 9mm Handgun More...
 
class  EntWeaponHornetGunT
 Hornet Gun. More...
 
class  EntWeaponGrenadeT
 Handgrenade Ammo. More...
 
class  EntWeaponGaussT
 Gauss Gun. More...
 
class  EntWeaponFaceHuggerT
 Face Hugger (Squeak) More...
 
class  EntWeaponEgonT
 Egon Gun. More...
 
class  EntWeaponCrossbowT
 Crossbow. More...
 
class  EntWeaponBattleScytheT
 Battle Scythe. More...
 
class  EntWeapon9mmART
 9mm Assault Rifle More...
 
class  EntWeapon357T
 357 Handgun More...
 
class  EntTriggerT
 An all-round trigger entity for calling script methods when something enters the trigger volume. More...
 
class  EntStaticDetailModelT
 A static detail model. More...
 
class  EntSpeakerT
 An invisible speaker that can playback a sound shader or file. More...
 
class  EntRocketT
 Rocket. More...
 
class  EntRigidBodyT
 A rigid body whose motion is controlled by rigid body dynamics as implemented by the physics engine. More...
 
class  EntPointLightSourceT
 This entity represents a dynamic light source. More...
 
class  EntMonsterMakerT
 This entity creates other entities ("life forms"). More...
 
class  EntItemT
 
class  EntItemAmmoArrowT
 Crossbow Arrows. More...
 
class  EntItemAmmo357T
 357 Pistol Ammo More...
 
class  EntInfoPlayerStartT
 A starting location for the player. More...
 
class  EntInfoGenericT
 A generic entity that provides additional information at any given point in the map. More...
 
class  EntHumanPlayerT
 A human player entity. More...
 
class  EntHandGrenadeT
 Handgrenade. More...
 
class  EntFuncMoverT
 An entity for moving objects like doors, lifts, platforms, etc. More...
 
class  EntFuncLadderT
 Ladder (for climbing) More...
 
class  EntFuncDoorT
 This entity implements fully automatic doors. More...
 
class  EntFaceHuggerT
 Facehugger. More...
 
class  EntEagleT
 Eagle. More...
 
class  EntCorpseT
 A corpse entity. More...
 
class  EntCompanyBotT
 Company Bot (Trinity) More...
 
class  EntButterflyT
 Butterfly. More...
 
class  EntARGrenadeT
 AR Grenade. More...
 

Detailed Description

This "Map / Entity" group contains all script classes for the DeathMatch example game that ships with Cafu.

Entities are the "living" objects in a game map, such as the human players, computer controlled monsters, but also doors, lifts, light sources, and many more. Some of their functionality is implemented in C++, but a good part is also available for use and customization from map scripts. Map scripts are used to program the map-specific logic of the entities that live within it, and the details of the game play.

For example map scripts, see the *.lua files in

Map scripts have access to our Common libraries as well as to (most of) the Lua standard libraries.