Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define _ARMA_
- //Class animals_f : Fishes\config.bin{
- class CfgMovesAnimal_Base_F
- {
- access = 1;
- collisionVertexPattern[] = {};
- collisionGeomCompPattern[] = {1};
- class Default
- {
- access = 3;
- file = "";
- looped = 1;
- speed = 0.5;
- disableWeapons = 1;
- enableOptics = 1;
- disableWeaponsLong = 0;
- canreload = 1;
- showWeaponAim = 1;
- enableMissile = 0;
- enableBinocular = 0;
- showItemInHand = 0;
- showItemInRightHand = 0;
- showHandGun = 0;
- onLandBeg = 0;
- onLandEnd = 0;
- onLadder = 0;
- canPullTrigger = 1;
- duty = -0.51;
- predictSpeedCoef = 1;
- visibleSize = 1;
- aimPrecision = 1;
- relSpeedMin = 1.0;
- relSpeedMax = 1.0;
- soundEnabled = 1;
- soundOverride = "";
- soundEdge[] = {0.5,1};
- soundEdge1 = 0.5;
- soundEdge2 = 1;
- terminal = 0;
- limitGunMovement = 1;
- variantsPlayer[] = {};
- variantsAI[] = {};
- equivalentTo = "";
- connectAs = "";
- variantAfter[] = {5,10,20};
- connectFrom[] = {};
- connectTo[] = {};
- interpolateWith[] = {};
- interpolateTo[] = {};
- interpolateFrom[] = {};
- aiming = "aimingNo";
- leaning = "aimingNo";
- untiltWeapon = "aimingNo";
- aimingBody = "aimingUpDefault";
- legs = "legsNo";
- head = "headDefault";
- leaningFactorBeg = 0;
- leaningFactorEnd = 0;
- leaningFactorZeroPoint = -1;
- leaningCorrectionAngleBeg = 0;
- leaningCorrectionAngleEnd = 0;
- interpolationSpeed = 6;
- interpolationRestart = 0;
- hasCollShapeSafe = 0;
- collisionShapeSafe = "";
- boundingSphere = 1;
- enableDirectControl = 1;
- enableAutoActions = 0;
- leftHandIKBeg = 0;
- leftHandIKEnd = 0;
- leftHandIKCurve = 0;
- rightHandIKCurve = 0;
- rightHandIKBeg = 0;
- rightHandIKEnd = 0;
- weaponIK = 0;
- preload = 0;
- walkcycles = 1;
- forceAim = 0;
- showDisposableGun = 0;
- headBobStrength = 0.5;
- headBobMode = 1;
- };
- class StandBase: Default
- {
- duty = -1;
- head = "headDefault";
- speed = 1e+010;
- relSpeedMin = 0.7;
- relSpeedMax = 1.1;
- looped = 1;
- soundEnabled = 1;
- enableDirectControl = 0;
- disableWeapons = 1;
- disableWeaponsLong = 1;
- };
- class DefaultDie: Default
- {
- aiming = "aimingNo";
- legs = "legsNo";
- head = "headNo";
- };
- class ManActions
- {
- Stop = "";
- StopRelaxed = "";
- TurnL = "";
- TurnR = "";
- TurnLRelaxed = "";
- TurnRRelaxed = "";
- Default = "";
- JumpOff = "";
- ReloadMagazine = "";
- ReloadMGun = "";
- ReloadAT = "";
- ReloadMortar = "";
- ThrowGrenade = "";
- WalkF = "";
- WalkLF = "";
- WalkRF = "";
- WalkL = "";
- WalkR = "";
- WalkLB = "";
- WalkRB = "";
- WalkB = "";
- SlowF = "";
- SlowLF = "";
- SlowRF = "";
- SlowL = "";
- SlowR = "";
- SlowLB = "";
- SlowRB = "";
- SlowB = "";
- FastF = "";
- FastLF = "";
- FastRF = "";
- FastL = "";
- FastR = "";
- FastLB = "";
- FastRB = "";
- FastB = "";
- EvasiveForward = "";
- EvasiveLeft = "";
- EvasiveRight = "";
- EvasiveBack = "";
- StartSwim = "";
- StopSwim = "";
- Down = "";
- Up = "";
- PlayerStand = "";
- PlayerCrouch = "";
- PlayerProne = "";
- Lying = "";
- Stand = "";
- Combat = "";
- Crouch = "";
- CanNotMove = "";
- Civil = "";
- CivilLying = "";
- FireNotPossible = "";
- Die = "";
- WeaponOn = "";
- WeaponOff = "";
- StrokeFist = "";
- StrokeGun = "";
- SitDown = "";
- Salute = "";
- BinocOn = "";
- BinocOff = "";
- PutDown = "";
- PutDownEnd = "";
- Medic = "";
- Treated = "";
- LadderOnDown = "";
- LadderOnUp = "";
- LadderOff = "";
- LadderOffTop = "";
- LadderOffBottom = "";
- GetInLow = "";
- GetInMedium = "";
- GetInHigh = "";
- GetOutLow = "";
- GetOutMedium = "";
- GetOutHigh = "";
- TakeFlag = "";
- HandGunOn = "";
- LookAround = "";
- Eat = "";
- StopEat = "";
- Rest = "";
- StopRest = "";
- };
- class Actions
- {
- class NoActions: ManActions
- {
- turnSpeed = 8;
- limitFast = 5.5;
- useFastMove = 0;
- stance = "ManStanceUndefined";
- upDegree = 0;
- };
- };
- class Interpolations{};
- transitionsInterpolated[] = {};
- transitionsSimple[] = {};
- transitionsDisabled[] = {};
- class BlendAnims
- {
- aimingDefault[] = {"head",1};
- untiltWeaponDefault[] = {};
- legsDefault[] = {};
- headDefault[] = {"Head",1};
- aimingNo[] = {};
- legsNo[] = {};
- headNo[] = {};
- aimingUpDefault[] = {};
- };
- };
- class CfgMovesFishes_F: CfgMovesAnimal_Base_F
- {
- skeletonName = "Fish_F";
- class Default: Default
- {
- actions = "FishesActions";
- collisionShape = "A3\Animals_F\empty_CollShape.p3d";
- };
- class DefaultDie: Default{};
- class StandBase: Default
- {
- file = "\A3\animals_f\fishes\data\anim\fish_swimcycle.rtm";
- };
- class States
- {
- class Fishes_Swim: StandBase
- {
- file = "\A3\animals_f\fishes\data\anim\fish_swimcycle.rtm";
- looped = 1;
- speed = -0.4;
- connectTo[] = {"Fishes_Stop",1,"Fishes_Swim",1,"Fishes_Swim_S1",1,"Fishes_Swim_S2",1,"Fishes_Swim_S3",1};
- equivalentTo = "Fishes_Swim";
- variantsAI[] = {"Fishes_Swim",0.01,"Fishes_Swim_S1",0.33,"Fishes_Swim_S2",0.33,"Fishes_Swim_S3",0.33};
- variantAfter[] = {0.33,0.33,0.33};
- };
- class Fishes_Swim_S1: StandBase
- {
- file = "\A3\animals_f\fishes\data\anim\fish_swimcycle_long.rtm";
- connectTo[] = {"Fishes_Swim",0.1};
- speed = -0.6;
- variantAfter[] = {0.33,0.33,0.33};
- };
- class Fishes_Swim_S2: StandBase
- {
- file = "\A3\animals_f\fishes\data\anim\fish_swimcycle.rtm";
- connectTo[] = {"Fishes_Swim",0.1};
- speed = -0.5;
- variantAfter[] = {0.33,0.33,0.33};
- };
- class Fishes_Swim_S3: StandBase
- {
- file = "\A3\animals_f\fishes\data\anim\fish_swimcycle_long.rtm";
- connectTo[] = {"Fishes_Swim",0.1};
- speed = -0.8;
- variantAfter[] = {0.33,0.33,0.33};
- };
- class Fishes_Stop: StandBase
- {
- file = "\A3\animals_f\fishes\data\anim\fish_stop.rtm";
- looped = 1;
- speed = 1e+010;
- connectFrom[] = {"Fishes_Swim",1};
- connectTo[] = {"Fishes_Swim",1};
- };
- class Fishes_Die: DefaultDie
- {
- file = "\A3\animals_f\fishes\data\anim\fish_death.rtm";
- speed = -0.7;
- actions = "NoActions";
- looped = "False";
- variantsPlayer[] = {"Fishes_Die",0.5,"Fishes_Die2",0.5};
- variantsAI[] = {};
- variantAfter[] = {0,0,0};
- interpolateFrom[] = {"Fishes_Swim",0.02,"Fishes_Stop",0.2};
- terminal = 1;
- };
- class Fishes_Die2: Fishes_Die
- {
- file = "\A3\animals_f\fishes\data\anim\fish_death_bellyup.rtm";
- speed = -2;
- looped = 0;
- variantAfter[] = {0,0,0};
- };
- };
- class Actions: Actions
- {
- class NoActions: NoActions
- {
- Stop = "Fishes_Stop";
- StopRelaxed = "Fishes_Stop";
- TurnL = "Fishes_Stop";
- TurnR = "Fishes_Stop";
- TurnLRelaxed = "Fishes_Stop";
- TurnRRelaxed = "Fishes_Stop";
- Default = "Fishes_Swim";
- JumpOff = "Fishes_Swim";
- StartSwim = "Fishes_swim";
- StopSwim = "Fishes_Swim";
- WalkF = "Fishes_swim";
- SlowF = "Fishes_swim";
- FastF = "Fishes_swim";
- EvasiveForward = "Fishes_swim";
- Down = "Fishes_Swim";
- Up = "Fishes_Swim";
- PlayerStand = "Fishes_Swim";
- PlayerCrouch = "Fishes_Swim";
- PlayerProne = "Fishes_Swim";
- Lying = "Fishes_Swim";
- Stand = "Fishes_Swim";
- Combat = "Fishes_Swim";
- Crouch = "Fishes_Swim";
- CanNotMove = "Fishes_Stop";
- Civil = "Fishes_Swim";
- CivilLying = "Fishes_Swim";
- FireNotPossible = "Fishes_Swim";
- Die = "Fishes_Swim";
- Eat = "Fishes_Die";
- Rest = "Fishes_Swim";
- };
- class FishesActions: NoActions
- {
- Stop = "Fishes_Stop";
- StopRelaxed = "Fishes_Stop";
- TurnL = "Fishes_Stop";
- TurnR = "Fishes_Stop";
- TurnLRelaxed = "Fishes_Stop";
- TurnRRelaxed = "Fishes_Stop";
- Default = "Fishes_Swim";
- JumpOff = "Fishes_Swim";
- StartSwim = "Fishes_swim";
- StopSwim = "Fishes_Swim";
- WalkF = "Fishes_swim";
- SlowF = "Fishes_swim";
- FastF = "Fishes_swim";
- EvasiveForward = "Fishes_swim";
- Down = "Fishes_Swim";
- Up = "Fishes_Swim";
- PlayerStand = "Fishes_Swim";
- PlayerCrouch = "Fishes_Swim";
- PlayerProne = "Fishes_Swim";
- Lying = "Fishes_Swim";
- Stand = "Fishes_Swim";
- Combat = "Fishes_Swim";
- Crouch = "Fishes_Swim";
- CanNotMove = "Fishes_Stop";
- Civil = "Fishes_Swim";
- CivilLying = "Fishes_Swim";
- FireNotPossible = "Fishes_Swim";
- Die = "Fishes_Die";
- Eat = "Fishes_Swim";
- Rest = "Fishes_Stop";
- turnSpeed = 1;
- limitFast = 5.5;
- useFastMove = 0;
- upDegree = "ManPosNoWeapon";
- };
- };
- class BlendAnims: BlendAnims
- {
- aimingDefault[] = {"fish_head",1};
- headDefault[] = {"fish_head",1};
- };
- };
- class CfgMovesSharks_F: CfgMovesAnimal_Base_F
- {
- skeletonName = "Shark_F";
- class Default: Default
- {
- actions = "SharksActions";
- collisionShape = "A3\Animals_F\empty_CollShape.p3d";
- };
- class DefaultDie: Default{};
- class StandBase: Default
- {
- file = "\A3\animals_f\Fishes\data\anim\catshark_swimcycle.rtm";
- };
- class States
- {
- class Sharks_Swim: StandBase
- {
- file = "\A3\animals_f\Fishes\data\anim\catshark_swimcycle.rtm";
- looped = 1;
- speed = -0.7;
- interpolateTo[] = {"Sharks_Die",1,"Sharks_Die2",1};
- connectTo[] = {"Sharks_Stop",1,"Sharks_Swim",1,"Sharks_Swim_S1",1,"Sharks_Swim_S2",1,"Sharks_Swim_S3",1};
- equivalentTo = "Sharks_Swim";
- variantsAI[] = {"Sharks_Swim",0.01,"Sharks_Swim_S1",0.33,"Sharks_Swim_S2",0.33,"Sharks_Swim_S3",0.33};
- variantAfter[] = {0.83,0.83,0.83};
- };
- class Sharks_Swim_S1: StandBase
- {
- file = "\A3\animals_f\Fishes\data\anim\catshark_swimcycle_long.rtm";
- connectTo[] = {"Sharks_Swim",0.1};
- speed = -1.5;
- variantAfter[] = {0.83,0.83,0.83};
- };
- class Sharks_Swim_S2: StandBase
- {
- file = "\A3\animals_f\Fishes\data\anim\catshark_swimcycle.rtm";
- connectTo[] = {"Sharks_Swim",0.1};
- speed = -0.8;
- variantAfter[] = {0.83,0.83,0.83};
- };
- class Sharks_Swim_S3: StandBase
- {
- file = "\A3\animals_f\Fishes\data\anim\catshark_swimcycle_long.rtm";
- connectTo[] = {"Sharks_Swim",0.1};
- speed = -1.4;
- variantAfter[] = {0.83,0.83,0.83};
- };
- class Sharks_Stop: StandBase
- {
- file = "\A3\animals_f\Fishes\data\anim\catshark_stop.rtm";
- looped = 1;
- speed = -1.5;
- connectFrom[] = {"Sharks_Swim",1};
- connectTo[] = {"Sharks_Swim",1};
- };
- class Sharks_Die: DefaultDie
- {
- file = "\A3\animals_f\fishes\data\anim\catshark_death.rtm";
- speed = -0.7;
- actions = "NoActions";
- looped = "False";
- variantsPlayer[] = {"Sharks_Die",0.5,"Sharks_Die2",0.5};
- variantsAI[] = {};
- variantAfter[] = {0,0,0};
- interpolateFrom[] = {"Sharks_Swim",0.02,"Sharks_Stop",0.2};
- interpolateTo[] = {"Sharks_Die",1,"Sharks_Die2",1};
- terminal = 1;
- };
- class Sharks_Die2: Sharks_Die
- {
- file = "\A3\animals_f\fishes\data\anim\catshark_death_bellyup.rtm";
- speed = -2;
- looped = 0;
- variantAfter[] = {0,0,0};
- };
- };
- class Actions: Actions
- {
- class NoActions: NoActions
- {
- Stop = "Sharks_Stop";
- StopRelaxed = "Sharks_Stop";
- TurnL = "Sharks_Stop";
- TurnR = "Sharks_Stop";
- TurnLRelaxed = "Sharks_Stop";
- TurnRRelaxed = "Sharks_Stop";
- Default = "Sharks_Swim";
- JumpOff = "Sharks_Swim";
- StartSwim = "Sharks_swim";
- StopSwim = "Sharks_Swim";
- WalkF = "Sharks_swim";
- SlowF = "Sharks_swim";
- FastF = "Sharks_swim";
- EvasiveForward = "Sharks_swim";
- Down = "Sharks_Swim";
- Up = "Sharks_Swim";
- PlayerStand = "Sharks_Swim";
- PlayerCrouch = "Sharks_Swim";
- PlayerProne = "Sharks_Swim";
- Lying = "Sharks_Swim";
- Stand = "Sharks_Swim";
- Combat = "Sharks_Swim";
- Crouch = "Sharks_Swim";
- CanNotMove = "Sharks_Stop";
- Civil = "Sharks_Swim";
- CivilLying = "Sharks_Swim";
- FireNotPossible = "Sharks_Swim";
- Die = "Sharks_Die";
- Eat = "Sharks_Swim";
- Rest = "Sharks_Swim";
- };
- class SharksActions: NoActions
- {
- Stop = "Sharks_Stop";
- StopRelaxed = "Sharks_Stop";
- TurnL = "Sharks_Stop";
- TurnR = "Sharks_Stop";
- TurnLRelaxed = "Sharks_Stop";
- TurnRRelaxed = "Sharks_Stop";
- Default = "Sharks_Swim";
- JumpOff = "Sharks_Swim";
- StartSwim = "Sharks_swim";
- StopSwim = "Sharks_Swim";
- WalkF = "Sharks_swim";
- SlowF = "Sharks_swim";
- FastF = "Sharks_swim";
- EvasiveForward = "Sharks_swim";
- Down = "Sharks_Swim";
- Up = "Sharks_Swim";
- PlayerStand = "Sharks_Swim";
- PlayerCrouch = "Sharks_Swim";
- PlayerProne = "Sharks_Swim";
- Lying = "Sharks_Swim";
- Stand = "Sharks_Swim";
- Combat = "Sharks_Swim";
- Crouch = "Sharks_Swim";
- CanNotMove = "Sharks_Stop";
- Civil = "Sharks_Swim";
- CivilLying = "Sharks_Swim";
- FireNotPossible = "Sharks_Swim";
- Die = "Sharks_Die";
- Eat = "Sharks_Swim";
- Rest = "Sharks_Swim";
- turnSpeed = 1;
- limitFast = 5.5;
- useFastMove = 0;
- upDegree = "ManPosNoWeapon";
- };
- };
- class BlendAnims: BlendAnims
- {
- aimingDefault[] = {"fish_head",1};
- headDefault[] = {"fish_head",1};
- };
- };
- class CfgPatches
- {
- class A3_Animals_F_Fishes
- {
- units[] = {"Salema_F","Ornate_random_F","Mackerel_F","Tuna_F","Mullet_F","CatShark_F"};
- weapons[] = {};
- requiredVersion = 0.1;
- requiredAddons[] = {"A3_Animals_F"};
- };
- };
- class CfgVehicles
- {
- class Animal_Base_F;
- class Fish_Base_F: Animal_Base_F
- {
- moves = "CfgMovesFishes_F";
- memoryPointAim = "pilot";
- memoryPointCameraTarget = "camera";
- minHeight = "(-1 * waterDepth)";
- avgHeight = "(-1 * waterDepth)/4";
- maxHeight = -1.5;
- straightDistance = 2;
- turning = 5;
- class VariablesScalar
- {
- _threatMaxRadius = 5;
- _runDistanceMax = 25;
- _movePrefer = 1;
- _formationPrefer = 0.7;
- _scareLimit = 0.2;
- _dangerLimit = 1.0;
- _walkSpeed = -1;
- };
- class VariablesString
- {
- _expSafe = "waterDepth interpolate [2,3,0,1]";
- _expDanger = "waterDepth interpolate [2,3,0,1]";
- };
- };
- class Salema_F: Fish_Base_F
- {
- scope = 1;
- displayName = "$STR_A3_CfgVehicles_Salema_F0";
- model = "\A3\animals_f\Fishes\Salema_porgy_F.p3d";
- };
- class Ornate_random_F: Fish_Base_F
- {
- scope = 1;
- displayName = "$STR_A3_CfgVehicles_Ornate_random_F0";
- model = "\A3\animals_f\Fishes\ornate_F.p3d";
- };
- class Mackerel_F: Fish_Base_F
- {
- scope = 1;
- displayName = "$STR_A3_CfgVehicles_Mackerel_F0";
- model = "\A3\animals_f\Fishes\mackerel_F.p3d";
- };
- class Tuna_F: Fish_Base_F
- {
- scope = 1;
- displayName = "$STR_A3_CfgVehicles_Tuna_F0";
- model = "\A3\animals_f\Fishes\tuna_F.p3d";
- moves = "CfgMovesSharks_F";
- hasGeometry = 1;
- };
- class Mullet_F: Fish_Base_F
- {
- scope = 1;
- displayName = "$STR_A3_CfgVehicles_Mullet_F0";
- model = "\A3\animals_f\Fishes\Mullet_F.p3d";
- };
- class CatShark_F: Fish_Base_F
- {
- scope = 1;
- displayName = "$STR_A3_CfgVehicles_CatShark_F0";
- model = "\A3\animals_f\Fishes\CatShark_F.p3d";
- moves = "CfgMovesSharks_F";
- };
- };
- //};
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement