/* In WED click on the 1mysword.mdl properties and set the Scale to .5 for size of sword. To be able to use the sword sound and still have the normal gun sound for guns, you will also need my weapons.wdl. So take a look at my modified versions weapons.wdl & the war.wdl to understand how weapon & player weapon sounds work. */

 

ACTION my_sword

{

  MY.__ROTATE = ON;  //weapon rotates before being picked up

  MY.__REPEAT = ON; 

  MY.__BOB = ON;    // 'bobs' when the player moves

  MY.SKILL1 = 22;   // x,y,z screen pos of weapon

  MY.SKILL2 = 5;

  MY.SKILL3 = 10;

  MY._WEAPONNUMBER = 6;

  MY._BULLETSPEED = -100.0; //sets the distance where sparks will show

  MY._FIRETIME = 6;        // time to cycle animation

  MY._FIREMODE = DAMAGE_SHOOT + HIT_SPARKS + GUNFX_ANIMATE + 0.15;

 

    gun();

}