WeaponData { // Weapon data is loaded by both the Game and Client DLLs. "viewmodel" "models/weapons/v_molotov.mdl" "playermodel" "models/weapons/w_molotov.mdl" // this prefix determines how player holds the gun in third person and will be used by customguns if this gun is custom // more prefixes can be found in weapon scripts files "anim_prefix" "Grenade" "primary_ammo" "grenade" "secondary_ammo" "None" "clip_size" "-1" "default_clip" "0" "clip2_size" "-1" "default_clip2" "-1" "autoswitchto" "0" "autoswitchfrom" "0" "item_flags" "18" // ITEM_FLAG_NOAUTORELOAD | ITEM_FLAG_EXHAUSTIBLE // Sounds for the weapon. There is a max of 16 sounds per category (i.e. max 16 "single_shot" sounds) SoundData { "special1" "WeaponFrag.Roll" "double_shot" "WeaponFrag.Throw" "single_shot" "WeaponFrag.Throw" } "CustomGunsPluginData" { "name" "Molotov" // mdl or vmt for selection menu "model" "models/weapons/w_molotov.mdl" // make the gun usable only by admins who have this flag(s), or -1 to alow everyone to use the gun "admin_level" "-1" // add this gun to player's inventory on spawn? "give_on_spawn" "0" // add this gun to player's inventory when he equips this weapon "give_with_weapon" "weapon_frag" // binds to this weapon, auto switching when player selects it; if set, both weapons should use the same ammo type and give_with_weapon should be set the same as this! "bind_to_weapon" "" // if 1, does not disappear from inventory when player drops the physical weapon or is stripped from weapons; recommended for admin weapons or weapons given on spawn "persistent" "0" // weapon_type - possible values: // bullet - (default) Standard bullet weapon, uses clip sizes and ammo type defined above // throwable - Throws something away from the player - grenades, molotovs, .. // custom - Custom coded weapon "weapon_type" "throwable" "throwable_settings" // Used by throwable weapons ONLY { "throwable_model" "models/weapons/w_molotov.mdl" "throw_force" "900" // does the viewmodel have pullback animations? // 0 -> disabled ... 1 -> ACT_VM_PULLBACK_HIGH (grenades) ... 2 -> ACT_VM_HAULBACK (bugbait) "supports_pullback" "0" // forces attack functions even when ammo types are undefined, when player is pressing button and the attack is ready; normally not needed "unlimited_ammo_fixup" "0" // 0=none 1=smoke 2=fire [3=beam] 4=spore(bugbait) "trail_type" "2" // 1=normal [2=smoke] 3=molotov [4=pulse] 5=bugbait "explosion_type" "3" // main explosion damage radius "explosion_radius" "150" // main explosion damage "explosion_damage" "100" // -1 to explode on touch "timer" "-1" // 1.0 normal 0.0 no gravity "throwable_gravity" "1.0" // 1.0 normal 0.0 no friction "throwable_friction" "0.8" // angular velocity scale "angvel_scale" "1.0" // // Molotov gibs settings (used if explosion type is molotov) // // number of fiery molotov parts "molotov_gibs" "7" // velocity of gibs "molotov_gibs_velocity" "150.0" // max random variation of velocity "molotov_gibs_velocity_max_var" "2.5" // fire burns out after this time "molotov_gibs_burnout" "15.0" // gibs start disappearing after this time "molotov_gibs_life" "17.0" } "download" { "item" "models/weapons/w_molotov.mdl" "item" "models/weapons/w_molotov.sw.vtx" "item" "models/weapons/w_molotov.dx90.vtx" "item" "models/weapons/w_molotov.dx80.vtx" "item" "models/weapons/w_molotov.vvd" "item" "models/weapons/w_molotov.phy" "item" "models/weapons/v_molotov.mdl" "item" "models/weapons/v_molotov.sw.vtx" "item" "models/weapons/v_molotov.dx90.vtx" "item" "models/weapons/v_molotov.dx80.vtx" "item" "models/weapons/v_molotov.vvd" "item" "materials/models/weapons/molotov/molotov_3rdDiffuse.vmt" "item" "materials/models/weapons/molotov/molotov_3rdDiffuse.vtf" "item" "materials/models/weapons/molotov/molotov_3rdNormalsMap.vtf" "item" "materials/models/weapons/molotov/molotovfull_diffuse.vmt" "item" "materials/models/weapons/molotov/molotovfull_diffuse.vtf" "item" "materials/models/weapons/molotov/molotovfull_normal.vtf" "item" "materials/models/weapons/w_molotov/molotov.vmt" "item" "materials/models/weapons/w_molotov/molotov.vtf" "item" "materials/models/weapons/w_molotov/rag.vmt" "item" "materials/models/weapons/w_molotov/rag.vtf" } } }