Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //
- /*
- Pet script
- by Josh D.
- */
- local config = {
- name = "Dwarven Centurion",
- price = 10000,
- maxHp = 650, // How much health will the pet have when fully grown?
- maxSize = 1, // How large should the pet become when fully grown? (0.5 = half size, 1 = normal size)
- customCheck = function(ply) // A custom check for whatever u want
- // Example, if (ply:GetUserGroup() == "vip") then return true else return false end
- return true
- end,
- model = "models/skyrim/steamcenturion.mdl", // What should the model be?
- owner = nil, // DONT TOUCH
- idleAnimation = "ACT_IDLE", // What animation do we use for idling?
- walkAnimation = "Walk", // What animation do we use for walking?
- runAnimation = "Walk", // What animation do we use for running?
- attackAnimation = "ACT_MELEE_ATTACK1", // What animation do we use for attacking?
- walkSpeed = 250, // How fast does the pet walk?
- runSpeed = 350, // How fast does the pet run?
- walkAnimRate = 1.5, // How fast to cycle through walk animation
- runAnimRate = 1.25, // How fast to cycle through run animation
- idleSounds = { // Idle sounds
- volume = 0.6,
- delay = 4,
- last = 0,
- src = {
- "npc/dwarvencenturion/dwarvencenturion_conscious_lp.wav",
- },
- },
- walkSounds = { // Walking sounds
- volume = 0.1,
- delay = 0.15,
- last = 0,
- src = {
- "npc/dwarvencenturion/foot/dwarvencenturion_foot_l01.mp3",
- "npc/dwarvencenturion/foot/dwarvencenturion_foot_l02.mp3",
- "npc/dwarvencenturion/foot/dwarvencenturion_foot_r01.mp3",
- "npc/dwarvencenturion/foot/dwarvencenturion_foot_r02.mp3",
- },
- },
- attackSounds = { // Attacking sounds
- volume = 1,
- delay = 1,
- last = 0,
- src = {
- "npc/dwarvencenturion/foot/dwarvencenturion_attack_back01.mp3",
- "npc/dwarvencenturion/foot/dwarvencenturion_attack_bash01.mp3",
- },
- },
- }
- RegisterPet(config) // Register the pet through PetManager
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement