No announcement yet.

no weapon

  • Filter
  • Time
  • Show
Clear All
new posts

  • replied
    You could try something like this in the Weapon code:

    simulated function bool StartFire(int Mode)
        return false;

    Leave a comment:

  • started a topic no weapon

    no weapon

    I have added a no weapon feature to my game. I did this by adding a invisible weapon into the actors hands. It works, however there are two problems.

    1) The weapon will start with one round. If I set the ammo or magazine size to zero, the weapon will fire with -1, -2, -3 ammo etc.

    2) After the clip is empty, the weapon will still fire with an emtpy weapon sound playing.

    How can I resolve these problems? Idealy I would like to swtich the fire on the weapon to a punching animation, and with no empty weapon sound.