Advertisement
Guest User

fix

a guest
Nov 18th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.88 KB | None | 0 0
  1. //
  2. /*
  3.  
  4.   Pet script
  5.   by Josh D.
  6. */
  7.  
  8. local config = {
  9.  
  10.     name = "Dwarven Centurion",
  11.     price = 10000,
  12.     maxHp = 650, // How much health will the pet have when fully grown?
  13.     maxSize = 1, // How large should the pet become when fully grown? (0.5 = half size, 1 = normal size)
  14.  
  15.     customCheck = function(ply) // A custom check for whatever u want
  16.         // Example, if (ply:GetUserGroup() == "vip") then return true else return false end
  17.         return true
  18.     end,
  19.  
  20.     model = "models/skyrim/steamcenturion.mdl", // What should the model be?
  21.     owner = nil, // DONT TOUCH
  22.  
  23.     idleAnimation = "ACT_IDLE", // What animation do we use for idling?
  24.     walkAnimation = "Walk", // What animation do we use for walking?
  25.     runAnimation = "Walk", // What animation do we use for running?
  26.     attackAnimation = "ACT_MELEE_ATTACK1", // What animation do we use for attacking?
  27.  
  28.     walkSpeed = 250, // How fast does the pet walk?
  29.     runSpeed = 350, // How fast does the pet run?
  30.  
  31.     walkAnimRate = 1.5, // How fast to cycle through walk animation
  32.     runAnimRate = 1.25, // How fast to cycle through run animation
  33.  
  34.     idleSounds = { // Idle sounds
  35.  
  36.         volume = 0.6,
  37.         delay = 4,
  38.         last = 0,
  39.  
  40.         src = {
  41.             "npc/dwarvencenturion/dwarvencenturion_conscious_lp.wav",
  42.  
  43.         },
  44.     },
  45.  
  46.     walkSounds = { // Walking sounds
  47.  
  48.         volume = 0.1,
  49.         delay = 0.15,
  50.         last = 0,
  51.  
  52.         src = {
  53.             "npc/dwarvencenturion/foot/dwarvencenturion_foot_l01.mp3",
  54.             "npc/dwarvencenturion/foot/dwarvencenturion_foot_l02.mp3",
  55.             "npc/dwarvencenturion/foot/dwarvencenturion_foot_r01.mp3",
  56.             "npc/dwarvencenturion/foot/dwarvencenturion_foot_r02.mp3",
  57. },
  58.     },
  59.  
  60.     attackSounds = { // Attacking sounds
  61.  
  62.         volume = 1,
  63.         delay = 1,
  64.         last = 0,
  65.  
  66.         src = {
  67.             "npc/dwarvencenturion/foot/dwarvencenturion_attack_back01.mp3",
  68.             "npc/dwarvencenturion/foot/dwarvencenturion_attack_bash01.mp3",
  69.         },
  70.     },
  71. }
  72.  
  73. RegisterPet(config) // Register the pet through PetManager
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement