PDA

View Full Version : How do you mod a weapon to have a tag by default?



Magic
29-12-2011, 05:02
I'd like to mod the mosin_s (mosin sniper) to have the tag "m1" by default.

I tried editing mosin_s in:
resource\set\stuff\rifle\sniper

to look like:


{from "pattern sniper_rifle"
{tag "m1"}
{filling "ammo rifle" 5}
{entity "mosin_s"}
{fireSound "rifle/mosin_s"}
{reloadSound "rifle_bolt_five"}

("speed" s(850))
}

but it didn't work.
How can I accomplish what I want?

GeneralJ927
30-12-2011, 21:32
Tried {tags "m1"} instead of tag?

Magic
31-12-2011, 06:30
Yea, it produces an error >_<