PaintBallAvatar 1.0

Category / Domaine : C3D3 Plugin

SCOL Voy@ger Compatibility :

V 3.5 or above
Update : 2001/09

Function

This plugin is a PaintBall game which allows in a avatar's set to meet each other in a common environment to be in confrontation there with various types of weapons.

- The PaintBallAv module allows every player to possess weapons, and to get various types of objects (weapons, ammunitions, life points, spinachDamage), distributed in the 3D scene. The plugin ItemsDistribution is necessary to manage objects to get.

It also contains a management of scores, points of life and a chat channel too between the users (a user can send a message to all the others directly in the 3D window).

- It is necessary to have the ItemsDistribution plugin if you wish to allow the players to collect "items" during a party. The ChgPhoto module is indispensable too if you wish to allow the players to change avatar's photos when playing. See the documentation of the ItemsDistribution plugin for its integration and configuration.

Configuration

No configuration is needed in this plugin.

In the C3D3 module editor, add the «PaintBallAv 1.0» plugin in the «Plugins» tab.

1- Define in the plugin PaintBallAv parameters the various positions in the 3D scene which will be randomly used each beginning of PaintBall party.
To do it, write «positions» a list of predefined positions. Example : positions pos_entry1 pos_entry2 pos_entry3 …

2- Create following links :

C3d.PaintBallAvAvatar.getPhoto -> ChgPhoto.getPhoto

ChgPhoto.changed -> C3d.PaintBallAvAvatar.update

C3d.ItemsDistribution.indicate -> C3d.PaintBallAvAvatar.indicateItem

C3d.PaintBallAvAvatar.activated -> C3d.ItemsDistribution.showObjects

Implementation

See above
No need to create an instance.

Action Function
module.event à C3D3.instance. indicateItem Receives a signal resulting from the ItemsDistribution plugin : object reference on which the player is. Allows the PaintBallAv plugin to decide if the object must be got or not.
module.event à C3D3.instance. update pdates the PaintBall avatar and its texture.

Event Function
C3D3.instance.getPhoto à module Action Ask for the chosen picture (to the ChgPhoto module)
C3D3.instance.activated à module Action Indicates the user is going to ready to enter in the PaintBall 3D cell
C3D3.instance.updateScore à module Action Gives the score at the given moment
C3D3.instance.finalScore à module Action Allows to indicate the final score

Zone Function Interface Assignment
None