[REQ] Weapons fire style handle

Discussion in 'Mod Discussions' started by emraldis, October 8, 2014.

  1. emraldis

    emraldis Post Master General

    Messages:
    2,641
    Likes Received:
    1,843
    Oh wow, emraldis has posted another request on the modding forums within like 4 days! It's like he's making a mod or something!

    Seriously though, it would be nice to have some tags to be able to control how weapons are fired, this is a bit of a weird request, so I'll try to explain:

    My suggestion is that each weapon has 3 different tags it can have, along with a sub-tag for each. These would affect how the weapons are fired. For example, here are the tags I have come up with, their sub-tags, what they would do, and where they could/would be used:

    "Aim":
    -This tag would make the weapon select a target and fire at it after a delay time as specified in the sub-tag.
    -"Aim_delay"/"Charge"
    -Specifies the delay time for the weapon, at '0' the weapon would obviously not have a delay.
    -This could/would be used on any weapon that specifically targets enemies, sniper bots, homing missiles, etc.

    "Sweep":
    -This tag would make the weapon sweep across the enemy unit(s) it is firing at, while firing the weapon
    -"Peirce"
    -Specifies whether or not the weapon's ammo can pierce through targets, and how many it can pierce through.
    -This could be used on beam weapons, flame-throwers, rapid-fire crowd control weapons, etc.

    "Spread"
    -This tag would make the weapon aim in the general direction of what it has targeted, spraying out bullets innacurately.
    -"accuracy"
    -Specifies the accuracy (or lack of it) of the weapon while spraying
    -This could be used for inaccurate weapons fire, such as artillery, flame-throwers, or spraying machineguns.
  2. stuart98

    stuart98 Post Master General

    Messages:
    6,009
    Likes Received:
    3,888
    "firing_standard_deviation" controls accuracy.
  3. emraldis

    emraldis Post Master General

    Messages:
    2,641
    Likes Received:
    1,843
    I know, but I want to be able to have the firing styles, and the "firing_standard_deviation" would go well with the "spread" tag, IMO.
  4. liquius

    liquius Well-Known Member

    Messages:
    731
    Likes Received:
    482
    You might want to have a browse over the tool and ammo files. Several of the things you mentioned are there, such as "idle_aim_delay", "firing_standard_deviation" and "firing_arc_yaw/pitch". I think you would be surprised at what you can do.

    However there's still a lot of stuff we cant do, such as;
    • unique/intelligent weapons (eg stun/emp, peirce, cluster, this list could go on for ever)
    • sweeping weapons
    • salvo weapons
    • ammo systems for more than one tool
  5. emraldis

    emraldis Post Master General

    Messages:
    2,641
    Likes Received:
    1,843
    Yeah, I mainly wanted the sweeping weapons. :p But still, a simplified tag system for how the weapons behave when firing could be useful.

Share This Page