i only checked if it complies idk if the animations make sense
PHP Code:
#define STATE_IDLE 1
#define STATE_WALKING 2
#define STATE_JUMPING 3
#define STATE_SPAWNING 4
#define STATE_TAUNTING 5
#define STATE_DUCKING 6
#define STATE_ATTACKING 7
#define STATE_STUN 8
#define STATE_CROUCH_WALK 9
#define HEIGHT_GROUND 1
#define HEIGHT_HOVER 2
#define HEIGHT_FLY 3
enum petContent
{
String:iModel[PLATFORM_MAX_PATH],
String:iSkin[PLATFORM_MAX_PATH],
String:iBodyGroup[PLATFORM_MAX_PATH],
String:iSoundGeneric[PLATFORM_MAX_PATH],
String:iSoundJump[PLATFORM_MAX_PATH],
String:iSoundTaunt[PLATFORM_MAX_PATH],
String:iSoundSpawn[PLATFORM_MAX_PATH],
String:iSoundStun[PLATFORM_MAX_PATH],
String:iSoundFoot0[PLATFORM_MAX_PATH],
String:iSoundFoot1[PLATFORM_MAX_PATH],
String:iSoundFoot2[PLATFORM_MAX_PATH],
String:iAnimIdle[PLATFORM_MAX_PATH],
String:iAnimWalk[PLATFORM_MAX_PATH],
bool:HasJump,
String:iAnimJump[PLATFORM_MAX_PATH],
String:iAnimTaunt[PLATFORM_MAX_PATH],
String:iAnimDuck[PLATFORM_MAX_PATH],
String:iAnimAttack[PLATFORM_MAX_PATH],
String:iAnimStun[PLATFORM_MAX_PATH],
String:iAnimCrouchWalk[PLATFORM_MAX_PATH],
String:iDeathParticle[PLATFORM_MAX_PATH],
String:iSpawnParticle[PLATFORM_MAX_PATH],
bool:HasAttack,
String:iProjectile[PLATFORM_MAX_PATH],
bool:HasHat,
String:iHat[PLATFORM_MAX_PATH],
String:iHatBone[PLATFORM_MAX_PATH],
bool:HasWep,
String:iWep[PLATFORM_MAX_PATH],
String:iWepBone[PLATFORM_MAX_PATH],
bool:HasParticle,
String:iParticle[PLATFORM_MAX_PATH],
String:iParBone[PLATFORM_MAX_PATH],
Float:iModelSize,
iPitch,
iHeight,
};
stock petInfo[][petContent] =
{
{
"models/empty.mdl",
"0",
"0",
"misc/null.wav",
"misc/null.wav",
"misc/null.wav",
"misc/null.wav",
"misc/null.wav",
"misc/null.wav",
"misc/null.wav",
"misc/null.wav",
"idle",
"idle",
false,
"idle",
"idle",
"idle",
"idle",
"idle",
"idle",
"none",
"none",
false,
"none",
false,
"models/empty.mdl",
"none",
false,
"models/empty.mdl",
"none",
false,
"none",
"none",
0.0,
0,
0,
},
{
"models/bots/skeleton_sniper/skeleton_sniper.mdl",
"2",
"1",
"misc/null.wav",
"misc/null.wav",
"misc/halloween/skeletons/skelly_small_03.wav",
"misc/halloween/spell_skeleton_horde_cast.wav",
"misc/halloween/skeletons/skelly_small_22.wav",
"player/footsteps/concrete1.wav",
"player/footsteps/concrete2.wav",
"player/footsteps/concrete3.wav",
"stand_LOSER",
"s_swimAlign_LOSER",
true,
"a_jumpstart_LOSER",
"taunt06",
"crouch_LOSER",
"stand_MELEE",
"PRIMARY_stun_middle",
"s_swimAlign_LOSER",
"ghost_appearation",
"ghost_appearation",
true,
"tf_projectile_cleaver",
false,
"models/empty.mdl",
"none",
false,
"models/empty.mdl",
"none",
false,
"none",
"head",
0.5,
100,
HEIGHT_GROUND,
},
{
"models/bots/headless_hatman.mdl",
"1",
"1",
"misc/null.wav",
"misc/null.wav",
"misc/halloween/skeletons/skelly_giant_03.wav",
"ui/halloween_boss_summoned.wav",
"misc/halloween/skeletons/skelly_giant_02.wav",
"player/footsteps/concrete1.wav",
"player/footsteps/concrete2.wav",
"player/footsteps/concrete3.wav",
"stand_ITEM1",
"Airwalk_MELEE",
true,
"a_jumpStart_melee",
"taunt06",
"crouch_ITEM1",
"Run_MELEE",
"shake",
"Airwalk_MELEE",
"ghost_appearation",
"ghost_appearation",
true,
"tf_projectile_cleaver",
false,
"models/empty.mdl",
"none",
false,
"models/empty.mdl",
"none",
false,
"none",
"head",
0.4,
100,
HEIGHT_GROUND,
},
{
"models/headcrabblack.mdl",
"1",
"1",
"misc/null.wav",
"misc/null.wav",
"npc/headcrab_poison/ph_idle1.wav",
"npc/headcrab_poison/ph_scream1.wav",
"npc/headcrab_poison/ph_hiss1.wav",
"npc/headcrab_poison/ph_step1.wav",
"npc/headcrab_poison/ph_step2.wav",
"npc/headcrab_poison/ph_step3.wav",
"IdleSniff",
"Scurry",
true,
"flinch1",
"IdleSumo",
"Idle01",
"Spitattack",
"Die",
"Scurry",
"ghost_appearation",
"ghost_appearation",
true,
"tf_projectile_cleaver",
false,
"models/empty.mdl",
"none",
false,
"models/empty.mdl",
"none",
false,
"none",
"none",
1.0,
100,
HEIGHT_GROUND,
},
{
"models/player/saxton_hale/saxton_hale.mdl",
"1",
"1",
"misc/null.wav",
"misc/null.wav",
"saxton_hale/saxton_hale_responce_rage4.wav",
"saxton_hale/saxton_hale_responce_rage1.wav",
"saxton_hale/saxton_hale_responce_rage3.wav",
"player/footsteps/concrete1.wav",
"player/footsteps/concrete2.wav",
"player/footsteps/concrete3.wav",
"stand_MELEE",
"airwalk_MELEE_ALLCLASS",
true,
"a_jumpStart_melee",
"taunt_dosido_dance",
"crouch_LOSER",
"throw_fire",
"shake",
"airwalk_MELEE_ALLCLASS",
"ghost_appearation",
"ghost_appearation",
true,
"tf_projectile_cleaver",
false,
"models/empty.mdl",
"none",
false,
"models/empty.mdl",
"none",
false,
"none",
"head",
0.4,
100,
HEIGHT_GROUND,
},
{
"models/gman_high.mdl",
"1",
"1",
"misc/null.wav",
"misc/null.wav",
"npc/ichthyosaur/snap.wav",
"misc/halloween/spell_skeleton_horde_cast.wav",
"misc/halloween/skeletons/skelly_small_22.wav",
"player/footsteps/concrete1.wav",
"player/footsteps/concrete2.wav",
"player/footsteps/concrete3.wav",
"idle",
"run_all",
true,
"jump_holding_jump",
"tiefidget",
"crouchidlehide",
"swing",
"PRIMARY_stun_middle",
"crouchRUNALL1",
"ghost_appearation",
"ghost_appearation",
false,
"tf_projectile_cleaver",
false,
"models/empty.mdl",
"none",
false,
"models/empty.mdl",
"none",
false,
"none",
"head",
0.5,
100,
HEIGHT_GROUND,
},
{
"models/dog.mdl",
"1",
"1",
"misc/null.wav",
"misc/null.wav",
"npc/ichthyosaur/snap.wav",
"misc/halloween/spell_skeleton_horde_cast.wav",
"misc/halloween/skeletons/skelly_small_22.wav",
"player/footsteps/concrete1.wav",
"player/footsteps/concrete2.wav",
"player/footsteps/concrete3.wav",
"idle01",
"Dog_intro",
true,
"RockHoist",
"excitedpound",
"airlockhold_alyx",
"throw",
"PRIMARY_stun_middle",
"alyxDog_Reunion_slumber",
"ghost_appearation",
"ghost_appearation",
true,
"tf_projectile_cleaver",
false,
"models/empty.mdl",
"none",
false,
"models/empty.mdl",
"none",
false,
"none",
"head",
0.5,
100,
HEIGHT_GROUND,
},
{
"models/vortigaunt_slave.mdl",
"1",
"1",
"misc/null.wav",
"misc/null.wav",
"npc/ichthyosaur/snap.wav",
"misc/halloween/spell_skeleton_horde_cast.wav",
"misc/halloween/skeletons/skelly_small_22.wav",
"player/footsteps/concrete1.wav",
"player/footsteps/concrete2.wav",
"player/footsteps/concrete3.wav",
"idle01",
"Run_all",
true,
"barnaclecrunch",
"zapattack1",
"sweep_idle",
"MeleeHigh1",
"PRIMARY_stun_middle",
"Crouchidle",
"ghost_appearation",
"ghost_appearation",
true,
"tf_projectile_cleaver",
false,
"models/empty.mdl",
"none",
false,
"models/empty.mdl",
"none",
false,
"none",
"head",
0.5,
100,
HEIGHT_GROUND,
}
};