Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define _ARMA_
- //(13 Enums)
- enum {
- destructengine = 2,
- destructdefault = 6,
- destructwreck = 7,
- destructtree = 3,
- destructtent = 4,
- stabilizedinaxisx = 1,
- stabilizedinaxesxyz = 4,
- stabilizedinaxisy = 2,
- stabilizedinaxesboth = 3,
- destructno = 0,
- stabilizedinaxesnone = 0,
- destructman = 5,
- destructbuilding = 1
- };
- class CfgPatches
- {
- class wlk_animals
- {
- addonRootClass = "wlk_animals";
- requiredAddons[] = {"wlk_animals"};
- requiredVersion = 0.1;
- units[] = {"wlk_bear"};
- weapons[] = {};
- };
- };
- 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 CfgMovesBear_F: CfgMovesAnimal_Base_F
- {
- skeletonName = "brownbear_real";
- collisionVertexPattern[] = {"1a","2a","3a","4a","5a","6a","7a","8a","9a","10a","11a","12a","13a","14a","15a","16a","17a","18a","19a","20a","21a","22a","23a","24a","25a","26a","27a","28a","29a","30a","31a","32a","33a","34a"};
- collisionGeomCompPattern[] = {1};
- class Default: Default
- {
- actions = "BearActions";
- collisionShape = "wlk_animals\bear\wlk_bear_CollShape_new.p3d";
- };
- class StandBase: Default{};
- class DefaultDie: Default{};
- class States
- {
- class Bear_Idle_Stop: StandBase
- {
- duty = -1;
- file = "\wlk_animals\bear\anim\bear_idle_stop";
- variantsAI[] = {"Bear_Idle_Eat",0.6,"Bear_Idle_Walk",0.3,"Bear_Idle_Run",0.1};
- variantsPlayer[] = {};
- variantAfter[] = {3,6,9};
- interpolateTo[] = {"Bear_Idle_Stop",0.1,"Bear_Idle_Walk",0.1,"Bear_Idle_Eat",0.1,"Bear_Idle_Run",0.1,"Bear_Stop",0.5,"Bear_Walk",0.5,"Bear_Run",0.5,"Bear_Die",0.1};
- connectTo[] = {};
- preload = 1;
- speed = 1;
- };
- class Bear_TurnL: Bear_Idle_Stop
- {
- file = "\wlk_animals\bear\anim\bear_rotate_L";
- variantsAI[] = {};
- connectTo[] = {"Bear_Idle_Stop",0.1};
- interpolateTo[] = {"Bear_Idle_Stop",0.1,"Bear_Die",0.1};
- speed = 1;
- };
- class Bear_TurnR: Bear_TurnL
- {
- file = "\wlk_animals\bear\anim\bear_rotate_R";
- };
- class Bear_Idle_Eat: Bear_Idle_Stop
- {
- speed = -9.0;
- variantsAI[] = {};
- looped = 1;
- file = "\wlk_animals\bear\anim\bear_idle_eat";
- connectTo[] = {"Bear_Idle_Eat",0.1};
- interpolateTo[] = {"Bear_Idle_Run",0.1,"Bear_Idle_Walk",0.1,"Bear_Idle_Stop",0.1,"Bear_Stop",0.5,"Bear_Walk",0.5,"Bear_Run",0.5,"Bear_Die",0.1};
- };
- class Bear_Idle_Walk: Bear_Idle_Stop
- {
- duty = -0.7;
- file = "\wlk_animals\bear\anim\bear_walk";
- speed = 0.8;
- variantsAI[] = {};
- looped = 1;
- head = "headDefault";
- connectTo[] = {"Bear_Idle_Stop",0.1};
- interpolateTo[] = {"Bear_Idle_Run",0.1,"Bear_Idle_Eat",0.1,"Bear_Idle_Stop",0.1,"Bear_Stop",0.5,"Bear_Walk",0.5,"Bear_Run",0.5,"Bear_Die",0.1};
- };
- class Bear_Idle_Run: Bear_Idle_Stop
- {
- duty = -0.5;
- file = "\wlk_animals\bear\anim\bear_run";
- speed = 1.0;
- variantsAI[] = {};
- looped = 1;
- connectTo[] = {"Bear_Idle_Run",0.1};
- interpolateTo[] = {"Bear_Idle_Eat",0.1,"Bear_Idle_Walk",0.1,"Bear_Idle_Stop",0.1,"Bear_Stop",0.5,"Bear_Walk",0.5,"Bear_Run",0.5,"Bear_Die",0.1};
- };
- class Bear_Die: DefaultDie
- {
- file = "\wlk_animals\bear\anim\bear_die";
- speed = 0.666;
- actions = "NoActions";
- looped = 0;
- terminal = 1;
- variantsPlayer[] = {};
- variantsAI[] = {};
- variantAfter[] = {0,0,0};
- };
- class Bear_Stop: Bear_Idle_Stop
- {
- variantsAI[] = {};
- actions = "BearForceStop";
- connectTo[] = {"Bear_Stop",0.02};
- interpolateTo[] = {"Bear_Idle_Stop",0.02,"Bear_Walk",0.02,"Bear_Run",0.02,"Bear_Die",0.02};
- };
- class Bear_Walk: Bear_Idle_Walk
- {
- actions = "BearForceWalk";
- connectTo[] = {"Bear_Walk",0.02};
- interpolateTo[] = {"Bear_Idle_Stop",0.02,"Bear_Stop",0.02,"Bear_Run",0.02,"Bear_Die",0.02};
- };
- class Bear_Run: Bear_Idle_Run
- {
- actions = "BearForceRun";
- connectTo[] = {"Bear_Run",0.02};
- interpolateTo[] = {"Bear_Idle_Stop",0.02,"Bear_Stop",0.02,"Bear_Walk",0.02,"Bear_Die",0.02};
- };
- };
- class Actions: Actions
- {
- class NoActions: NoActions{};
- class BearActions: NoActions
- {
- Stop = "Bear_Idle_Stop";
- StopRelaxed = "Bear_Idle_Eat";
- TurnL = "Bear_TurnL";
- TurnR = "Bear_TurnR";
- TurnLRelaxed = "Bear_TurnL";
- TurnRRelaxed = "Bear_TurnR";
- Default = "Bear_Idle_Stop";
- JumpOff = "Bear_Idle_Stop";
- WalkF = "Bear_Idle_Walk";
- SlowF = "Bear_Idle_Walk";
- FastF = "Bear_Idle_Run";
- EvasiveForward = "Bear_Idle_Run";
- Down = "Bear_Idle_Stop";
- Up = "Bear_Idle_Stop";
- PlayerStand = "Bear_Idle_Stop";
- PlayerCrouch = "Bear_Idle_Stop";
- PlayerProne = "Bear_Idle_Stop";
- Lying = "Bear_Idle_Stop";
- Stand = "Bear_Idle_Stop";
- Combat = "Bear_Idle_Stop";
- Crouch = "Bear_Idle_Stop";
- CanNotMove = "Bear_Idle_Stop";
- Civil = "Bear_Idle_Stop";
- CivilLying = "Bear_Idle_Stop";
- FireNotPossible = "Bear_Idle_Stop";
- Die = "Bear_Die";
- Eat = "Bear_Idle_Eat";
- Rest = "Bear_Idle_Eat";
- turnSpeed = 1;
- limitFast = 5.5;
- useFastMove = 0;
- upDegree = "ManPosNoWeapon";
- };
- class BearForceStop: BearActions
- {
- CivilLying = "Bear_Stop";
- };
- class BearForceWalk: BearActions
- {
- CivilLying = "Bear_Walk";
- };
- class BearForceRun: BearActions
- {
- CivilLying = "Bear_Run";
- };
- };
- class BlendAnims: BlendAnims
- {
- aimingDefault[] = {"head",1};
- headDefault[] = {"head",0.8,"neck2",0.8,"neck1",0.7,"neck",0.5,"headEnd",0.8,"LeftRearEar1",0.8,"LeftRearEar2",0.8,"LeftRearEar3",0.8,"RightRearEar1",0.8,"RightRearEar2",0.8,"RightRearEar3",0.8,"LeftShoulder",0.1,"RightShoulder",0.1,"Spine2",0.2};
- };
- };
- class CfgVehicles
- {
- class Animal;
- class Animal_Base_F: Animal
- {
- class EventHandlers;
- };
- class Bear_random_F: Animal_Base_F
- {
- author = "walker";
- _generalMacro = "Bear_random_F";
- scope = 1;
- displayName = "Brownbear";
- model = "\wlk_animals\bear\brownbear_real.p3d";
- hasGeometry = 1;
- moves = "CfgMovesBear_F";
- class Wounds
- {
- tex[] = {};
- mat[] = {"A3\animals_f_beta\sheep\data\sheep.rvmat","A3\animals_f_beta\sheep\data\W1_sheep.rvmat","A3\animals_f_beta\sheep\data\W2_sheep.rvmat"};
- };
- hiddenSelections[] = {"camo"};
- class EventHandlers: EventHandlers
- {
- init = "(_this select 0) call bis_fnc_animalRandomization;";
- };
- class VariablesScalar
- {
- _threatMaxRadius = 10;
- _runDistanceMax = 25;
- _movePrefer = 0.25;
- _formationPrefer = 0.85;
- _scareLimit = 0.2;
- _dangerLimit = 12.0;
- _walkSpeed = 0.81;
- };
- class VariablesString
- {
- _expSafe = "(0.5 * meadow) * (0.5 * houses) * (1 - forest) * (1 - trees) * (1 - sea)";
- _expDanger = "(0.5 * meadow) * (0.5 * houses) * (1 - forest) * (1 - trees) * (1 - sea)";
- };
- };
- };
- class CfgSounds
- {
- class Sheep_Danger{};
- class Sheep_IdleComm
- {
- sound[] = {"A3\sounds_f\dummysound",1,1};
- titles[] = {"Bear Communication"};
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement