1. Are you planning to upload your awesome spell or system to Hive? Please review the rules here.
    Dismiss Notice
  2. The contestants were to create water structures for the 20th Terraining Contest. Choose one in the public poll!
    Dismiss Notice
  3. Join other hivers in a friendly concept-art contest. The contestants have to create a genie coming out of its container. We wish you the best of luck!
    Dismiss Notice
  4. The Melee Mapping Contest #4: 2v2 - Results are out! Step by to congratulate the winners!
    Dismiss Notice
  5. We're hosting the 15th Mini-Mapping Contest with YouTuber Abelhawk! The contestants are to create a custom map that uses the hidden content within Warcraft 3 or is inspired by any of the many secrets within the game.
    Dismiss Notice
  6. Check out the Staff job openings thread.
    Dismiss Notice

WindowSmasher's Weapon System

Submitted by blaazer
This bundle is marked as awaiting update. A staff member has requested changes to it before it can be approved.
Weapon System (Made by me back in 2007), WindowSmasher.

A system made for maps with weapons.

Pick up a weapon and click it in your inventory to equip it.
When your weapon is out of ammo, simply click the item again to reload it (requires weapon to be equipped).

Hope it still works fine, this was one of my best projects back in the days.

// WindowSmasher
Contents

Weapon System (Map)

  1. Pyrogasm

    Pyrogasm

    Joined:
    Feb 27, 2007
    Messages:
    2,436
    Resources:
    0
    Resources:
    0
    This system also leaks like your Unit Buy system I commented on, and the leaks here will have to be fixed as well. This system relies entirely on the "Unit - A unit Is attacked" event, which is simply insufficient for these purposes. This event can be fired without ever actually launching an attack if you spam stop while a unit tries to autoattack. This system needs, at minimum, to use a Damage Detection System to run all of the weapon use triggers.

    In addition to that, this system lacks any documentation about how to make your own new weapons/attacks and most of the things that should be configurable are hardcoded into the triggers (instead of using variables set in an init trigger). It also uses waits in Integer A loops, which are a terrible idea and need to be avoided.
     
  2. MyPad

    MyPad

    Spell Reviewer

    Joined:
    May 9, 2014
    Messages:
    1,244
    Resources:
    6
    Models:
    1
    Icons:
    1
    Spells:
    3
    JASS:
    1
    Resources:
    6
    Indeed. There is much to be desired in this system, especially since this was saved in the most recent Warcraft 3 version. Cleaning up the blood splatter effects and not attaching them to the target, for example, would help out.

    In the Attachment folder, there is a common action being performed by a lot of the triggers inside. This can be merged into just one trigger.

    Why must the unit be replaced every time it uses a weapon? This can mess with gameplay, as there could possibly exist some triggered auras, which will break with this system.

    Status:


    • Awaiting Update
     
    Last edited: May 1, 2019
  3. blaazer

    blaazer

    Joined:
    Jun 18, 2006
    Messages:
    16
    Resources:
    2
    Maps:
    2
    Resources:
    2
    I mostly added this for other people to configure and make it work in their own maps. This was made by me in 2007 (damn I was fucking 14 years old) so I will not be updating it, just figured I'd show the "idea" of this being possible.

    The unit replacement is for different damage types, with proper triggering it wont be an issue.