Hey 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:

// 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,

Thanks,
Mike

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to