D
Duckman
Guest
Hello everyone,
I am new to coding with the Source Engine and I was looking to add
dual magnums and I have done all of the steps in the tutorial for it
and added a weapon_Dualies357.txt to the scripts folder, and also
added it to the list of items added with impulse 101 and it still
doesnt seem to show up, i want it to come up under the regular magnum
here is the .txt info:
Please if anyone can help on here that would be great, I tried on the hl2coders mailing list and came up with no answers.
Thanks,
Mike
I am new to coding with the Source Engine and I was looking to add
dual magnums and I have done all of the steps in the tutorial for it
and added a weapon_Dualies357.txt to the scripts folder, and also
added it to the list of items added with impulse 101 and it still
doesnt seem to show up, i want it to come up under the regular magnum
here is the .txt info:
Code:
// Dualies357
WeaponData
{
// Weapon data is loaded by both the Game and Client DLLs.
"printname" "Executioners"
"viewmodel" "models/weapons/v_357.mdl"
"playermodel" "models/weapons/w_357.mdl"
"anim_prefix" "python"
"bucket" "1"
"bucket_position" "2"
"clip_size" "6"
"default_clip" "6"
"primary_ammo" "357"
"secondary_ammo" "None"
"weight" "7"
"item_flags" "0"
// Sounds for the weapon. There is a max of 16 sounds per category
(i.e. max 16 "single_shot" sounds)
SoundData
{
"empty" "Weapon_Pistol.Empty"
"single_shot" "Weapon_357.Single"
}
// Weapon Sprite data is loaded by the Client DLL.
TextureData
{
"weapon"
{
"font" "WeaponIcons"
"character" "d"
}
"weapon_s"
{
"font" "WeaponIconsSelected"
"character" "d"
}
"ammo"
{
"font" "WeaponIcons"
"character" "p"
}
"crosshair"
{
"font" "Crosshairs"
"character" "Q"
}
"autoaim"
{
"file" "sprites/crosshairs"
"x" "0"
"y" "48"
"width" "24"
"height" "24"
}
}
}
Please if anyone can help on here that would be great, I tried on the hl2coders mailing list and came up with no answers.
Thanks,
Mike