You need to copy the datablocks, and change the value of several things. ColorShiftColor will change the colour of the weapon, UIName will change it's inventory name, and DirectDamage will change the amount of damage.
Basically, you can do this:
datablock ProjectileData(wSwordProjectile : swordProjectile)
{
directDamage = 25;
};
datablock ProjectileData(wSwordItem : swordItem)
{
uiName = "Wooden Sword";
colorShiftColor = "0.4 0.6 0 1";
image = wSwordImage;
};
datablock ShapeBaseImageData(wSwordImage : swordImage)
{
item = wSwordItem;
projectile = wSwordProjectile;
colorShiftColor = "0.4 0.6 0 1";
};
function wSwordImage::onPreFire(%this, %obj, %slot)
{
%obj.playthread(2, armattack);
}
function wSwordImage::onStopFire(%this, %obj, %slot)
{
%obj.playthread(2, root);
}
However, this will require that Weapon_Sword is enabled.
Alternatively, you can copy and paste the entire sword datablocks, re-naming them, and changing
what you require, making them self reliant.