PowerupManager: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
The [[powerupManager]] library was created to ease the use of advanced, more custom pickups (powerups).  
The [[PowerupManager|powerupManager]] library was created to ease the use of advanced, more custom pickups (powerups).  


It exists out of server and client scripts to create, handle and destroy custom powerup items.
It exists out of server and client scripts to create, handle and destroy custom powerup items.
Line 7: Line 7:
=Exported scripting functions=
=Exported scripting functions=
==Server==
==Server==
{{PowerupManager/Exported/Functions/ServerSide}}
{{PowerupManager/ExportedServerFunctions}}
==Client==
==Client==
{{PowerupManager/Exported/Functions/ClientSide}}
{{PowerupManager/ExportedClientFunctions}}

Revision as of 09:06, 17 September 2007

The powerupManager library was created to ease the use of advanced, more custom pickups (powerups).

It exists out of server and client scripts to create, handle and destroy custom powerup items.

Advanced features contain: custom clientside animations (spin, up-down), custom collision element for triggering, server side triggering (to prevent cheating), change powerup object on the fly (for example triggering such a powerup gives a random advantage based on current modelID), ...

Exported scripting functions

Server

Client