home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2005 October / Gamestar_77_2005-10_dvd.iso / DVDStar / Akce / Half-Life2 / install-at2v4release2005.exe / AntTroopDuece / scripts / weapon_crossbow.txt < prev    next >
Text File  |  2005-05-08  |  1KB  |  75 lines

  1. // Crossbow
  2.  
  3. WeaponData
  4. {
  5.     // Weapon data is loaded by both the Game and Client DLLs.
  6.     "printname"        "#HL2_Crossbow"
  7.     "viewmodel"        "models/weapons/v_crossbow.mdl"
  8.     "playermodel"    "models/weapons/w_crossbow.mdl"
  9.     "anim_prefix"    "bow"
  10.     "bucket"            "3"
  11.     "bucket_position"    "1"
  12.  
  13.     "clip_size"        "1"
  14.     "default_clip"        "5"
  15.     "primary_ammo"        "XBowBolt"
  16.     "secondary_ammo"    "None"
  17.  
  18.     "weight"        "6"
  19.     "item_flags"        "0"
  20.  
  21.     // Sounds for the weapon. There is a max of 16 sounds per category (i.e. max 16 "single_shot" sounds)
  22.     SoundData
  23.     {
  24.         "single_shot"    "Weapon_Crossbow.Single"
  25.         "reload"    "Weapon_Crossbow.Reload"
  26.         "special1"    "Weapon_Crossbow.BoltElectrify"
  27.         "special2"    "Weapon_Crossbow.BoltFly"
  28.     }
  29.  
  30.     // Weapon Sprite data is loaded by the Client DLL.
  31.     TextureData
  32.     {
  33.         "weapon"
  34.         {
  35.                 "font"        "WeaponIcons"
  36.                 "character"    "g"
  37.         }
  38.         "weapon_s"
  39.         {    
  40.                 "font"        "WeaponIconsSelected"
  41.                 "character"    "g"
  42.         }
  43.         "ammo"
  44.         {
  45.                 "font"        "WeaponIcons"
  46.                 "character"    "w"
  47.         }
  48.         "crosshair"
  49.         {
  50.                 "font"        "Crosshairs"
  51.                 "character"    "Q"
  52.         }        
  53.         "autoaim"
  54.         {
  55.             "file"        "sprites/crosshairs"
  56.             "x"        "0"
  57.             "y"        "96"
  58.             "width"        "24"
  59.             "height"    "24"
  60.         }
  61.         "zoom"
  62.         {
  63.                 "font"        "Crosshairs"
  64.                 "character"    "Q"
  65.         }        
  66.         "zoom_autoaim"
  67.         {
  68.             "file"        "sprites/crosshairs"
  69.             "x"        "24"
  70.             "y"        "112"
  71.             "width"        "104"
  72.             "height"    "16"
  73.         }
  74.     }
  75. }