OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: SpecOpWarrior on 17 May 2003, 16:40:40
-
Use this as a sample, and modify it to your own needs.
----------------------------------------------------------------------
// some basic defines
#define TEast 0
#define TWest 1
#define TGuerrila 2
#define TCivilian 3
#define TSideUnknown 4
#define TEnemy 5
#define TFriendly 6
#define TLogic 7
#define true 1
#define false 0
// type scope
#define private 0
#define protected 1
#define public 2
class CfgMovesMC
{
class Default {};
class StandBase: Default {};
class States
{
class JSDFstandatt1: StandBase
{
actions = StandSaluteActions;
file = "\JSDFcustomanim\standatt1.rtm";
speed = -1.0
looped = true;
soundEnabled = false;
connectFrom[]={Stand,1};
interpolationSpeed=2;
interpolateTo[]={StandDying,0.1,StandDyingVer2,0.1};
};
class JSDFstandatt2: StandBase
{
actions = StandSaluteActions;
file = "\JSDFcustomanim\standatt2.rtm";
speed = -1.0;
looped = true;
soundEnabled = false;
connectFrom[] = {Stand,1};
interpolationSpeed=2;
interpolateTo[]={StandDying,0.1,StandDyingVer2,0.1};
};
class JSDFstandattready1: StandBase
{
actions = StandSaluteActions;
file = "\JSDFcustomanim\standattready1.rtm";
speed = -1.0;
looped = true;
soundEnabled = false;
connectFrom[] = {Stand,1};
interpolationSpeed=2;
interpolateTo[]={StandDying,0.1,StandDyingVer2,0.1};
};
class JSDFstandattready2: StandBase
{
actions = StandSaluteActions;
file = "\JSDFcustomanim\standattready2.rtm";
speed = -1.0;
looped = true;
soundEnabled = false;
connectFrom[] = {Stand,1};
interpolationSpeed=2;
interpolateTo[]={StandDying,0.1,StandDyingVer2,0.1};
};
class JSDFstandattrifle: StandBase
{
actions = StandSaluteActions;
file = "\JSDFcustomanim\standattrifle.rtm";
speed = -1.0;
looped = true;
soundEnabled = false;
connectFrom[] = {Stand,1};
interpolationSpeed=2;
interpolateTo[]={StandDying,0.1,StandDyingVer2,0.1};
};
class JSDFstandguard1: StandBase
{
actions = StandSaluteActions;
file = "\JSDFcustomanim\standguard1.rtm";
speed = -1.0;
looped = true;
soundEnabled = false;
connectFrom[] = {Stand,1};
interpolationSpeed=2;
interpolateTo[]={StandDying,0.1,StandDyingVer2,0.1};
};
class JSDFstandguard1radio: StandBase
{
actions = StandSaluteActions;
file = "\JSDFcustomanim\standguard1radio.rtm";
speed = -6.0;
looped = false;
soundEnabled = false;
connectFrom[] = {JSDFstandguard1,1};
connectTo[] = {JSDFstandguard1,1};
interpolationSpeed=2;
interpolateTo[]={StandDying,0.1,StandDyingVer2,0.1};
};
class JSDFstandguard2: StandBase
{
actions = StandSaluteActions;
file = "\JSDFcustomanim\standguard2.rtm";
speed = -1.0;
looped = true;
soundEnabled = false;
connectFrom[] = {Stand,1};
interpolationSpeed=2;
interpolateTo[]={StandDying,0.1,StandDyingVer2,0.1};
};
class JSDFcrouch1: StandBase
{
actions = StandSaluteActions;
file = "\JSDFcustomanim\crouch1.rtm";
speed = -1.0;
looped = true;
soundEnabled = false;
connectFrom[] = {Stand,1};
interpolationSpeed=2;
interpolateTo[]={StandDying,0.1,StandDyingVer2,0.1};
};
class JSDFomake1: StandBase
{
actions = StandSaluteActions;
file="\JSDFcustomanim\tsuhou.rtm";
speed = -1.0;
looped = true;
soundEnabled = false;
connectFrom[] = {Stand,1};
};
class JSDFomake2: StandBase
{
actions = StandSaluteActions;
file="\JSDFcustomanim\2get.rtm";
speed = -2.0;
looped = false;
soundEnabled = false;
connectFrom[] = {Stand,1};
connectTO[] = {Stand,1};
};
class JSDFmarch1: StandBase
{
actions = StandSaluteActions;
file="\JSDFcustomanim\march1.rtm";
speed = -1.0;
looped = true;
soundEnabled = false;
connectFrom[] = {Stand,1};
interpolationSpeed=2;
interpolateTo[]={StandDying,0.1,StandDyingVer2,0.1};
};
class JSDFmarch2: StandBase
{
actions = StandSaluteActions;
file="\JSDFcustomanim\march2.rtm";
speed = -1.0;
looped = true;
soundEnabled = false;
connectFrom[] = {Stand,1};
interpolationSpeed=2;
interpolateTo[]={StandDying,0.1,StandDyingVer2,0.1};
};
class JSDFropedown: StandBase
{
actions = StandSaluteActions;
file = "\JSDFcustomanim\ropedown.rtm";
speed = -1.0
looped = true;
soundEnabled = false;
connectFrom[]={Stand,1};
interpolationSpeed=2;
interpolateTo[]={StandDying,0.1,StandDyingVer2,0.1};
};
};
};
-
thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you ;D ;D ;Dthank you
-
Thats alot of thank yous...