Example #1
0
CKObjectDeclaration	*FillBehaviorKeyboardCameraOrbitDecl()
{
	CKObjectDeclaration *od = CreateCKObjectDeclaration("Keyboard Camera Orbit");
	od->SetDescription("Makes a Camera orbit round a 3D Entity using keyboard with limited angles.");
	/* rem:
	<SPAN CLASS=in>On: </SPAN>Starts the behavior.<BR>
	<SPAN CLASS=in>Off: </SPAN>Stops the behavior.<BR>
	<SPAN CLASS=out>Exit On: </SPAN>is activated when the behavior has been started.<BR>
	<SPAN CLASS=out>Exit Off: </SPAN>is activated when the behavior has been stop. If in "return" mode, is activated only once the camera is back in place.<BR>
	<BR>
	<SPAN CLASS=pin>Target Position: </SPAN>Position we are turning around.<BR>
	<SPAN CLASS=pin>Target Referential: </SPAN>Referential where the position is defined.<BR>
	<SPAN CLASS=pin>Move Speed: </SPAN>Speed in angle per second used when the user moves the camera.<BR>
	<SPAN CLASS=pin>Return Speed: </SPAN>Speed in angle per second used when the camera returns.<BR>
	<SPAN CLASS=pin>Min Horizontal: </SPAN>Minimal angle allowed on the horizontal rotation. Must have a negative value.<BR>
	<SPAN CLASS=pin>Max Horizontal:</SPAN>Maximal angle allowed on the horizontal rotation. Must have a positive value.<BR>
	<SPAN CLASS=pin>Min Vertical: </SPAN>Minimal angle allowed on the vertical rotation. Must have a negative value.<BR>
	<SPAN CLASS=pin>Max Vertical: </SPAN>Maximal angle allowed on the vertical rotation. Must have a positive value.<BR>
	<SPAN CLASS=pin>Zoom Speed: </SPAN>Speed of the zoom in distance per second.<BR>
	<SPAN CLASS=pin>Zoom Min: </SPAN>Minimum zoom value allowed. Must have a negative value.<BR>
	<SPAN CLASS=pin>Zoom Max: </SPAN>Maximum zoom value allowed. Must have a positive value.<BR>
	<BR>
	The following keys are used by default to move the Camera around its target:<BR>
	<BR>
	<FONT COLOR=#FFFFFF>Page Up: </FONT>Zoom in.<BR>
	<FONT COLOR=#FFFFFF>Page Down: </FONT>Zoom out.<BR>
	<FONT COLOR=#FFFFFF>Up and Down Arrows: </FONT>Rotate vertically.<BR>
	<FONT COLOR=#FFFFFF>Left and Right Arrows: </FONT>Rotate horizontally.<BR>
	The arrow keys are the inverted T arrow keys and not the ones of the numeric keypad.<BR>
  <BR>
	<SPAN CLASS=setting>Returns: </SPAN>Does the camera systematically returns to its original position.<BR> 
	<SPAN CLASS=setting>Key Rotate Left: </SPAN>Key used to rotate left.<BR> 
	<SPAN CLASS=setting>Key Rotate Right: </SPAN>Key used to rotate right.<BR> 
	<SPAN CLASS=setting>Key Rotate Up: </SPAN>Key used to rotate up.<BR> 
	<SPAN CLASS=setting>Key Rotate Down: </SPAN>Key used to rotate down.<BR> 
	<SPAN CLASS=setting>Key Zoom in: </SPAN>Key used to zoom in.<BR> 
	<SPAN CLASS=setting>Key Zoom out: </SPAN>Key used to zoom in.<BR> 
  <BR>
	*/
	od->SetCategory("Cameras/Movement");
	od->SetType(CKDLL_BEHAVIORPROTOTYPE);
	od->SetGuid(CKGUID(0x7610f4d,0x69747b9d));
	od->SetAuthorGuid(VIRTOOLS_GUID);
	od->SetAuthorName("Virtools");
	od->SetVersion(0x00010000);
	od->SetCreationFunction(CreateKeyboardCameraOrbitProto);
	od->SetCompatibleClassId(CKCID_3DENTITY);
	od->NeedManager(INPUT_MANAGER_GUID);
	return od;
}
Example #2
0
//************************************
// Method:    FillBehaviorPClothAddForceAtVertexDecl
// FullName:  FillBehaviorPClothAddForceAtVertexDecl
// Access:    public 
// Returns:   CKObjectDeclaration	*
// Qualifier:
//************************************
CKObjectDeclaration	*FillBehaviorPClothAddForceAtVertexDecl()
{
	CKObjectDeclaration *od = CreateCKObjectDeclaration("PClothAddForceAtVertex");	
	od->SetCategory("Physic/Cloth");
	od->SetDescription("Applies a force (or impulse) defined in the global coordinate frame, to a particular vertex of the cloth");
	od->SetType( CKDLL_BEHAVIORPROTOTYPE);
	od->SetGuid(CKGUID(0x506e7b29,0xd3a2720));
	od->SetAuthorGuid(VTCX_AUTHOR_GUID);
	od->SetAuthorName(VTCX_AUTHOR);
	od->SetVersion(0x00010000);
	od->SetCreationFunction(CreatePClothAddForceAtVertexProto);
	od->SetCompatibleClassId(CKCID_3DENTITY);
	od->NeedManager(GUID_MODULE_MANAGER);
	
	return od;
}
Example #3
0
//************************************
// Method:    FillBehaviorPClothDetachFromShapeDecl
// FullName:  FillBehaviorPClothDetachFromShapeDecl
// Access:    public 
// Returns:   CKObjectDeclaration	*
// Qualifier:
//************************************
CKObjectDeclaration	*FillBehaviorPClothDetachFromShapeDecl()
{
	CKObjectDeclaration *od = CreateCKObjectDeclaration("PClothDetachFromShape");	
	od->SetCategory("Physic/Cloth");
	od->SetDescription("Detaches the cloth from a shape it has been attached to before. ");
	od->SetType( CKDLL_BEHAVIORPROTOTYPE);
	od->SetGuid(CKGUID(0xf4b0609,0x75b453a3));
	od->SetAuthorGuid(VTCX_AUTHOR_GUID);
	od->SetAuthorName(VTCX_AUTHOR);
	od->SetVersion(0x00010000);
	od->SetCreationFunction(CreatePClothDetachFromShapeProto);
	od->SetCompatibleClassId(CKCID_3DENTITY);
	od->NeedManager(GUID_MODULE_MANAGER);
	
	return od;
}
Example #4
0
//************************************
// Method:    FillBehaviorJDestroyDecl
// FullName:  FillBehaviorJDestroyDecl
// Access:    public 
// Returns:   CKObjectDeclaration	*
// Qualifier:
//************************************
CKObjectDeclaration	*FillBehaviorJDestroyDecl()
{
	CKObjectDeclaration *od = CreateCKObjectDeclaration("PJDestroy");	
	od->SetCategory("Physic/Joints");
	od->SetDescription("Destroys a joint given by two bodies and the joint type.");
	od->SetType( CKDLL_BEHAVIORPROTOTYPE);
	od->SetGuid(CKGUID(0x42cd6243,0x5f7b18af));
	od->SetAuthorGuid(VTCX_AUTHOR_GUID);
	od->SetAuthorName(VTCX_AUTHOR);
	od->SetVersion(0x00010000);
	od->SetCreationFunction(CreateJDestroyProto);
	od->SetCompatibleClassId(CKCID_3DENTITY);
	od->NeedManager(GUID_MODULE_MANAGER);

	return od;
}
Example #5
0
//************************************
// Method:    FillBehaviorJD6SetParametersDecl
// FullName:  FillBehaviorJD6SetParametersDecl
// Access:    public 
// Returns:   CKObjectDeclaration	*
// Qualifier:
//************************************
CKObjectDeclaration	*FillBehaviorJD6SetParametersDecl()
{
	CKObjectDeclaration *od = CreateCKObjectDeclaration("PJD6SetParameters");	
	od->SetCategory("Physic/D6");
	od->SetDescription("Sets parameters in a D6 joint.");
	od->SetType( CKDLL_BEHAVIORPROTOTYPE);
	od->SetGuid(CKGUID(0x4b8207b2,0x57964805));
	od->SetAuthorGuid(VTCX_AUTHOR_GUID);
	od->SetAuthorName(VTCX_AUTHOR);
	od->SetVersion(0x00010000);
	od->SetCreationFunction(CreateJD6SetParametersProto);
	od->SetCompatibleClassId(CKCID_3DENTITY);
	od->NeedManager(GUID_MODULE_MANAGER);
	
	return od;
}
Example #6
0
//************************************
// Method:    FillBehaviorPBSetTriggerMaskDecl
// FullName:  FillBehaviorPBSetTriggerMaskDecl
// Access:    public 
// Returns:   CKObjectDeclaration	*
// Qualifier:
//************************************
CKObjectDeclaration	*FillBehaviorPBSetTriggerMaskDecl()
{
	CKObjectDeclaration *od = CreateCKObjectDeclaration("PCSetTriggerMask");	
	od->SetCategory("Physic/Collision");
	od->SetDescription("Modifies trigger mask");
	od->SetType( CKDLL_BEHAVIORPROTOTYPE);
	od->SetGuid(CKGUID(0x27ae51d4,0x45bf2c6c));
	od->SetAuthorGuid(VTCX_AUTHOR_GUID);
	od->SetAuthorName(VTCX_AUTHOR);
	od->SetVersion(0x00010000);
	od->SetCreationFunction(CreatePBSetTriggerMaskProto);
	od->SetCompatibleClassId(CKCID_3DENTITY);
	od->NeedManager(GUID_MODULE_MANAGER);
	
	return od;
}
Example #7
0
//************************************
// Method:    FillBehaviorPBSetHardDecl
// FullName:  FillBehaviorPBSetHardDecl
// Access:    public
// Returns:   CKObjectDeclaration	*
// Qualifier:
//************************************
CKObjectDeclaration	*FillBehaviorPBSetHardDecl()
{
	CKObjectDeclaration *od = CreateCKObjectDeclaration("PBSetHard");
	od->SetCategory("Physic/Body");
	od->SetDescription("Sets momentum,velocities and transformations.");
	od->SetType( CKDLL_BEHAVIORPROTOTYPE);
	od->SetGuid(CKGUID(0x528d58e0,0x2fca203a));
	od->SetAuthorGuid(VTCX_AUTHOR_GUID);
	od->SetAuthorName(VTCX_AUTHOR);
	od->SetVersion(0x00010000);
	od->SetCreationFunction(CreatePBSetHardProto);
	od->SetCompatibleClassId(CKCID_3DENTITY);
	od->NeedManager(GUID_MODULE_MANAGER);

	return od;
}
Example #8
0
CKObjectDeclaration	*FillBehaviorPCIgnorePairDecl()
{
	CKObjectDeclaration *od = CreateCKObjectDeclaration("PCIgnorePair");	
	od->SetCategory("Physic/Collision");
	od->SetDescription("Enables/Disables collision between two bodies.");
	od->SetType( CKDLL_BEHAVIORPROTOTYPE);
	od->SetGuid(CKGUID(0x63f648f7,0x13c7097f));
	od->SetAuthorGuid(VTCX_AUTHOR_GUID);
	od->SetAuthorName(VTCX_AUTHOR);
	od->SetVersion(0x00010000);
	od->SetCreationFunction(CreatePCIgnorePairProto);
	od->SetCompatibleClassId(CKCID_3DENTITY);
	od->NeedManager(GUID_MODULE_MANAGER);
	
	return od;
}
Example #9
0
CKObjectDeclaration	*FillBehaviorPVGetDecl()
{
	CKObjectDeclaration *od = CreateCKObjectDeclaration("PVGet");	
	od->SetCategory("Physic/Vehicle");
	od->SetDescription("Retrieves vehicle related parameters.");
	od->SetType( CKDLL_BEHAVIORPROTOTYPE);
	od->SetGuid(CKGUID(0x70b293c,0x1ef4fa7));
	od->SetAuthorGuid(VTCX_AUTHOR_GUID);
	od->SetAuthorName(VTCX_AUTHOR);
	od->SetVersion(0x00010000);
	od->SetCreationFunction(CreatePVGetProto);
	od->SetCompatibleClassId(CKCID_3DENTITY);
	od->NeedManager(GUID_MODULE_MANAGER);
	
	return od;
}
//************************************
// Method:    FillBehaviorPClothAttachVertexToPositionDecl
// FullName:  FillBehaviorPClothAttachVertexToPositionDecl
// Access:    public 
// Returns:   CKObjectDeclaration	*
// Qualifier:
//************************************
CKObjectDeclaration	*FillBehaviorPClothAttachVertexToPositionDecl()
{
	CKObjectDeclaration *od = CreateCKObjectDeclaration("PClothAttachVertexToPosition");	
	od->SetCategory("Physic/Cloth");
	od->SetDescription("Attaches a cloth vertex to a position in world space");
	od->SetType( CKDLL_BEHAVIORPROTOTYPE);
	od->SetGuid(CKGUID(0x6f502320,0x48065a45));
	od->SetAuthorGuid(VTCX_AUTHOR_GUID);
	od->SetAuthorName(VTCX_AUTHOR);
	od->SetVersion(0x00010000);
	od->SetCreationFunction(CreatePClothAttachVertexToPositionProto);
	od->SetCompatibleClassId(CKCID_3DENTITY);
	od->NeedManager(GUID_MODULE_MANAGER);
	
	return od;
}
Example #11
0
//************************************
// Method:    FillBehaviorPBPhysicalizeDecl
// FullName:  FillBehaviorPBPhysicalizeDecl
// Access:    public 
// Returns:   CKObjectDeclaration	*
// Qualifier:
//************************************
CKObjectDeclaration	*FillBehaviorPBPhysicalizeDecl()
{
	CKObjectDeclaration *od = CreateCKObjectDeclaration("PBPhysicalize");	
	od->SetCategory("Physic/Body");
	od->SetDescription("Adds an entity to the physic engine.");
	od->SetType( CKDLL_BEHAVIORPROTOTYPE);
	od->SetGuid(CKGUID(0x186f7d29,0xe8901dc));
	od->SetAuthorGuid(VTCX_AUTHOR_GUID);
	od->SetAuthorName(VTCX_AUTHOR);
	od->SetVersion(0x00010000);
	od->SetCreationFunction(CreatePBPhysicalizeProto);
	od->SetCompatibleClassId(CKCID_3DENTITY);
	od->NeedManager(GUID_MODULE_MANAGER);
	
	return od;
}
Example #12
0
//************************************
// Method:    FillBehaviorRegisterAttributeTypeDecl
// FullName:  FillBehaviorRegisterAttributeTypeDecl
// Access:    public
// Returns:   CKObjectDeclaration	*
// Qualifier:
//************************************
CKObjectDeclaration	*FillBehaviorRegisterAttributeTypeDecl()
{
	CKObjectDeclaration *od = CreateCKObjectDeclaration("RegisterAttribute");
	od->SetCategory("Physic/Manager");
	od->SetDescription("Registers a new attribute type.");
	od->SetType( CKDLL_BEHAVIORPROTOTYPE);
	od->SetGuid(CKGUID(0x63e567c4,0x65583276));
	od->SetAuthorGuid(VTCX_AUTHOR_GUID);
	od->SetAuthorName(VTCX_AUTHOR);
	od->SetVersion(0x00010000);
	od->SetCreationFunction(CreateRegisterAttributeTypeProto);
	od->SetCompatibleClassId(CKCID_BEOBJECT);
	od->NeedManager(GUID_MODULE_MANAGER);

	return od;
}
Example #13
0
//************************************
// Method:    FillBehaviorPManagerDecl
// FullName:  FillBehaviorPManagerDecl
// Access:    public
// Returns:   CKObjectDeclaration	*
// Qualifier:
//************************************
CKObjectDeclaration	*FillBehaviorPManagerDecl()
{
	CKObjectDeclaration *od = CreateCKObjectDeclaration("PManager");
	od->SetCategory("Physic/Manager");
	od->SetDescription("Calls various functions in the manager.");
	od->SetType( CKDLL_BEHAVIORPROTOTYPE);
	od->SetGuid(CKGUID(0x57295d90,0x11da3970));
	od->SetAuthorGuid(VTCX_AUTHOR_GUID);
	od->SetAuthorName(VTCX_AUTHOR);
	od->SetVersion(0x00010000);
	od->SetCreationFunction(CreatePManagerProto);
	od->SetCompatibleClassId(CKCID_3DENTITY);
	od->NeedManager(GUID_MODULE_MANAGER);

	return od;
}
Example #14
0
//************************************
// Method:    FillBehaviorPClothDestroyDecl
// FullName:  FillBehaviorPClothDestroyDecl
// Access:    public 
// Returns:   CKObjectDeclaration	*
// Qualifier:
//************************************
CKObjectDeclaration	*FillBehaviorPClothDestroyDecl()
{
	CKObjectDeclaration *od = CreateCKObjectDeclaration("PClothDestroy");	
	od->SetCategory("Physic/Cloth");
	od->SetDescription("Destroys a physical cloth.");
	od->SetType( CKDLL_BEHAVIORPROTOTYPE);
	od->SetGuid(CKGUID(0x8d604ec,0x2e926408));
	od->SetAuthorGuid(VTCX_AUTHOR_GUID);
	od->SetAuthorName(VTCX_AUTHOR);
	od->SetVersion(0x00010000);
	od->SetCreationFunction(CreatePClothDestroyProto);
	od->SetCompatibleClassId(CKCID_3DENTITY);
	od->NeedManager(GUID_MODULE_MANAGER);
	
	return od;
}
Example #15
0
//************************************
// Method:    FillBehaviorPBGet2Decl
// FullName:  FillBehaviorPBGet2Decl
// Access:    public 
// Returns:   CKObjectDeclaration	*
// Qualifier:
//************************************
CKObjectDeclaration	*FillBehaviorPBGet2Decl()
{
	CKObjectDeclaration *od = CreateCKObjectDeclaration("PBGetEx-Obsolete");	
	od->SetCategory("Physic/Body");
	od->SetDescription("Retrieves physic related parameters.");
	od->SetType( CKDLL_BEHAVIORPROTOTYPE);
	od->SetGuid(CKGUID(0x234334d3,0x70d06f74));
	od->SetAuthorGuid(VTCX_AUTHOR_GUID);
	od->SetAuthorName(VTCX_AUTHOR);
	od->SetVersion(0x00010000);
	od->SetCreationFunction(CreatePBGet2Proto);
	od->SetCompatibleClassId(CKCID_3DENTITY);
	od->NeedManager(GUID_MODULE_MANAGER);
	
	return od;
}
Example #16
0
//************************************
// Method:    FillBehaviorPJRevoluteDecl
// FullName:  FillBehaviorPJRevoluteDecl
// Access:    public
// Returns:   CKObjectDeclaration	*
// Qualifier:
//************************************
CKObjectDeclaration	*FillBehaviorPJRevoluteDecl()
{
    CKObjectDeclaration *od = CreateCKObjectDeclaration("PJRevolute");
    od->SetCategory("Physic/Joints");
    od->SetDescription("Sets/modifies a revolute joint.");
    od->SetType( CKDLL_BEHAVIORPROTOTYPE);
    od->SetGuid(CKGUID(0x77cb361c,0x670112a9));
    od->SetAuthorGuid(VTCX_AUTHOR_GUID);
    od->SetAuthorName(VTCX_AUTHOR);
    od->SetVersion(0x00010000);
    od->SetCreationFunction(CreatePJRevoluteProto);
    od->SetCompatibleClassId(CKCID_3DENTITY);
    od->NeedManager(GUID_MODULE_MANAGER);

    return od;
}
Example #17
0
//************************************
// Method:    FillBehaviorPVWSetDecl
// FullName:  FillBehaviorPVWSetDecl
// Access:    public
// Returns:   CKObjectDeclaration	*
// Qualifier:
//************************************
CKObjectDeclaration	*FillBehaviorPVWSetDecl()
{
	CKObjectDeclaration *od = CreateCKObjectDeclaration("PVWSet");
	od->SetCategory("Physic/Vehicle");
	od->SetDescription("Sets physical quantities.");
	od->SetType( CKDLL_BEHAVIORPROTOTYPE);
	od->SetGuid(CKGUID(0x7805147,0x322e17e7));
	od->SetAuthorGuid(VTCX_AUTHOR_GUID);
	od->SetAuthorName(VTCX_AUTHOR);
	od->SetVersion(0x00010000);
	od->SetCreationFunction(CreatePVWSetProto);
	od->SetCompatibleClassId(CKCID_3DENTITY);
	od->NeedManager(GUID_MODULE_MANAGER);

	return od;
}
Example #18
0
//************************************
// Method:    FillBehaviorPMaterialIteratorDecl
// FullName:  FillBehaviorPMaterialIteratorDecl
// Access:    public 
// Returns:   CKObjectDeclaration	*
// Qualifier:
//************************************
CKObjectDeclaration*FillBehaviorPMaterialIteratorDecl()
{

	CKObjectDeclaration *od = CreateCKObjectDeclaration("PMaterialIterator");	
	od->SetCategory("Physic/Body");
	od->SetDescription("Attaches and/or modifies the physic material of a rigid body or its sub shape");
	od->SetType( CKDLL_BEHAVIORPROTOTYPE);
	od->SetGuid(CKGUID(0x121d1c0f,0x65a62e73));
	od->SetAuthorGuid(VTCX_AUTHOR_GUID);
	od->SetAuthorName(VTCX_AUTHOR);
	od->SetVersion(0x00010000);
	od->SetCreationFunction(CreatePMaterialIteratorProto);
	od->SetCompatibleClassId(CKCID_3DENTITY);
	od->NeedManager(GUID_MODULE_MANAGER);
	
	return od;
}
Example #19
0
//************************************
// Method:    FillBehaviorPVSetMotorValuesDecl
// FullName:  FillBehaviorPVSetMotorValuesDecl
// Access:    public 
// Returns:   CKObjectDeclaration	*
// Qualifier:
//************************************
CKObjectDeclaration*FillBehaviorPVSetMotorValuesDecl()
{

	CKObjectDeclaration *od = CreateCKObjectDeclaration("PVMotor");	
	od->SetCategory("Physic/Vehicle");
	od->SetDescription("Modifies motor parameters of a vehicle controller");
	od->SetType( CKDLL_BEHAVIORPROTOTYPE);
	od->SetGuid(CKGUID(0x7b044c81,0xde9489a));
	od->SetAuthorGuid(VTCX_AUTHOR_GUID);
	od->SetAuthorName(VTCX_AUTHOR);
	od->SetVersion(0x00010000);
	od->SetCreationFunction(CreatePVSetMotorValuesProto);
	od->SetCompatibleClassId(CKCID_3DENTITY);
	od->NeedManager(GUID_MODULE_MANAGER);
	
	return od;
}
Example #20
0
CKObjectDeclaration	*FillBehaviorPWOverlapSphereDecl()
{

	CKObjectDeclaration *od = CreateCKObjectDeclaration("PWOverlapSphere");
	od->SetCategory("Physic/Collision");
	od->SetDescription("Performs an overlap test against masked shape groups.Outputs an object only!");
	od->SetType( CKDLL_BEHAVIORPROTOTYPE);
	od->SetGuid(CKGUID(0x12254994,0x4e200bf8));
	od->SetAuthorGuid(VTCX_AUTHOR_GUID);
	od->SetAuthorName(VTCX_AUTHOR);
	od->SetVersion(0x00010000);
	od->SetCreationFunction(CreatePWOverlapSphereProto);
	od->SetCompatibleClassId(CKCID_3DENTITY);
	od->NeedManager(GUID_MODULE_MANAGER);
	
	return od;
}
Example #21
0
CKObjectDeclaration	*FillBehaviorPCGroupTriggerEventDecl()
{

	CKObjectDeclaration *od = CreateCKObjectDeclaration("PCGroupTriggerEvent");	
	od->SetCategory("Physic/Collision");
	od->SetDescription("Triggers output if elements of a group stays within, enters or leaves a body .");
	od->SetType( CKDLL_BEHAVIORPROTOTYPE);
	od->SetGuid(CKGUID(0xd8c142a,0x4ce04f7b));
	od->SetAuthorGuid(VTCX_AUTHOR_GUID);
	od->SetAuthorName(VTCX_AUTHOR);
	od->SetVersion(0x00010000);
	od->SetCreationFunction(CreatePCGroupTriggerEventProto);
	od->SetCompatibleClassId(CKCID_GROUP);
	od->NeedManager(GUID_MODULE_MANAGER);
	
	return od;
}