# New Weapons

**URL:** <https://discourse.cataclysmdda.org/t/new-weapons/5208>\
**Category:** The Lab\
**Created:** [February 25, 2014, 4:56am UTC](https://discourse.cataclysmdda.org/t/new-weapons/5208 "2014-02-25T04:56:45Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![rathkiee](https://avatars.discourse-cdn.com/v4/letter/r/85f322/32.png) [@rathkiee](https://discourse.cataclysmdda.org/u/rathkiee)\
**Post date:** [February 25, 2014, 4:56am UTC](https://discourse.cataclysmdda.org/t/new-weapons/5208/1 "2014-02-25T04:56:45Z")

</div>

Pretty simple stuff only at the moment, as this is my first mod (pretty much first attempt at coding too.)  
So far added 3 weapons and an ammo type. The general aim is for homemade weapons and ammunition for mid to late game characters.

AMMO  
-Sabot rounds  
-sabot nails  
basically a step up from nails, still low damage but still relatively easy to make.  
-sabot flechette  
the armor piercing variant of the sabot round, still relatively low damage but almost all peircing.  
-sabot bearings  
the hollowpoint of the sabot family, higher damage but barely any armor piercing at all.

Making the rounds uses the hotplate, a mold, a cutting tool and plastic chunks, in addition to whatever is inside the sabot.

WEAPONS  
-sabot Autocannon  
high rate of fire, lowish damage and accuracy. Kinda like a minigun.  
Ingame description:  
A heavily modified nailgun, utilizing both an electronic rotary loading system and replacement of the springloaded nail driver with a pneumatic one, this weapon fires at an astonishing rate.  
However, it has become restricted to sabot clad ammunition."

-EM Driver  
high damage, low firerate. uses UPS and sabot rounds.  
still not too sure about this one really, seems a bit superfluous considering the rebar rifle, which is really what I’m basing it off.

Still need to test these further and balance them, and make and add the weapon crafting recipes to the game.  
Once I figure out how do more stuff I’ll be trying to add to it too, like weapon mods or something. And more guns and ammo.  
Anyway, suggestions and recommendations would be nice. Thanks in advance!  
EDIT:  
Okay, Preliminary work seems to be complete, and I don’t think this breaks anything, and the guns don’t seem overpowered, so here is release 1.0  
NOTES: -EM Driver description says that a recipe was found even though it is auto learned. gonna leave it like that until I figure out how to add it to a book.  
-Nail Autocannon with sabot bearings devastates at close range. Not sure if a feature or overpowered.

Please tell me if something doesn’t work or is too powerful (or weak).

ranged.json

```auto
{
    "id": "nailgat",
    "type": "GUN",
    "symbol": "(",
    "color": "yellow",
    "name": "nail autorifle",
    "description": "A heavily modified nailgun, utilizing both an electronic rotary loading system and replacment of the springloaded nail driver with a pneumatic one, this weapon fires at an astonishing rate. However, it has become restricted to sabot clad ammunition.",
    "price": 4000,
    "material": ["plastic", "steel"],
    "flags": ["MODE_BURST","WATERPROOF_GUN"],
    "skill": "rifle",
    "ammo": "sab",
    "weight": 1000,
    "volume": 14,
    "bashing": 8,
    "cutting": 0,
    "to_hit": -3,
    "ranged_damage": 2,
    "range": 12,
    "dispersion": 20,
    "recoil": -3,
    "durability": 8,
    "burst": 50,
    "clip_size": 400,
    "reload": 750,
    "valid_mod_locations": [["grip", 1],["sights", 1],["stock", 1]]
  },
  {
    "id": "emdriver",
    "type": "GUN",
    "symbol": "(",
    "color": "yellow",
    "name": "EM driver",
    "description": "An Electro Magnetic Driver, you barely understand why it works, but thankfully the instructions you found were very detailed. Apparently the plastic sabot you use is vaporised by the current and forms a plasma cloud around the projectile, which helps produce the required magnectic fields.",
    "price": 4000,
    "material": ["plastic", "steel"],
    "ammo_effects": "TRAIL",
    "flags": ["USE_UPS_40","RELOAD_ONE"],
    "skill": "rifle",
    "ammo": "sab",
    "weight": 1000,
    "volume": 17,
    "bashing": 7,
    "cutting": 0,
    "to_hit": -4,
    "ranged_damage": 40,
    "range": 20,
    "dispersion": -8,
    "recoil": 10,
    "durability": 8,
    "burst": 0,
    "clip_size": 5,
    "reload": 350
  },
```

ammo.json

` { "type" : "AMMO",
        "id" : "sabnail",
        "price" : 100,
        "name" : "sabot nails",
        "symbol" : "=",
        "color" : "cyan",
        "description" : "A box of nails with handcrafted plastic sabots. While this dramatically increases their accuracy and range and slightly increases their damage, it restricts their use to specialised weapons.",
        "material" : ["iron", "plastic"],
        "volume" : 1,
        "weight" : 4,
        "bashing" : 1,
        "cutting" : 0,
        "to_hit" : 0,
        "ammo_type" : "sab",
        "casing" : "NULL",
        "damage" : 6,
        "pierce" : 4,
        "range" : 6,
        "dispersion" : 30,
        "recoil" : 6,
        "count" : 50
    },
    { "type" : "AMMO",
        "id" : "sabflc",
        "price" : 100,
        "name" : "sabot flechette",
        "symbol" : "=",
        "color" : "cyan",
        "description" : "A box of handcrafted flecehettes encased in plastic sabots. These provide high range, accuracy and can pierce armor. However, they do not cause much damage to the target in comparison to conventional weapons.",
        "material" : ["steel", "plastic"],
        "volume" : 1,
        "weight" : 4,
        "bashing" : 1,
        "cutting" : 0,
        "to_hit" : 0,
        "ammo_type" : "sab",
        "casing" : "NULL",
        "damage" : 8,
        "pierce" : 6,
        "range" : 20,
        "dispersion" : 18,
        "recoil" : 7,
        "count" : 50
    },
    { "type" : "AMMO",
        "id" : "sabball",
        "price" : 100,
        "name" : "sabot bearings",
        "symbol" : "=",
        "color" : "cyan",
        "description" : "A box of bearings in handcrafted plastic sabots. These rounds cause significant trauma, but bad aerodynamics reduce accuracy and they have negligable ability to penetrate armor.",
        "material" : ["iron", "plastic"],
        "volume" : 1,
        "weight" : 4,
        "bashing" : 1,
        "cutting" : 0,
        "to_hit" : 0,
        "ammo_type" : "sab",
        "casing" : "NULL",
        "damage" : 10,
        "pierce" : 1,
        "range" : 0,
        "dispersion" : 35,
        "recoil" : 6,
        "count" : 50
    },`

ammo\_types.json

` {
        "type" : "ammunition_type",
        "id" : "sab",
        "name" : "sabot rounds",
        "default" : "sabnail"
    },`

recipes.json

[code]{  
“type” : “recipe”,  
“result”: “nailgat”,  
“category”: “CC\_WEAPON”,  
“subcategory”: “CSC\_WEAPON\_RANGED”,  
“skill\_used”: “mechanics”,  
“skills\_required”: [“gun”,4],  
“difficulty”: 5,  
“time”: 20000,  
“reversible”: false,  
“autolearn”: true,  
“tools”: [  
[  
[“goggles\_welding”, -1]  
],  
[  
[“hacksaw”, -1], [“toolset”, -1]  
],  
[  
[“screwdriver”, -1], [“toolset”, -1]  
],  
[  
[“wrench”, -1], [“toolset”, -1]  
],  
[  
[“welder”, 200], [“welder\_crude”, 300], [“toolset”, 6]  
]  
],  
“components”: [  
[  
[“pipe”, 2]  
],  
[  
[“nailgun”, 1]  
],  
[  
[“duct\_tape”, 150],  
[“superglue”, 1]  
],  
[  
[“2x4”, 1],  
[“stick”, 1]  
],  
[  
[“metal\_tank\_small”, 1]  
],  
[  
[“e\_scrap”, 2]  
],  
[  
[“steel\_chunk”, 2],  
[“scrap”, 6]  
]  
]  
},{  
“type” : “recipe”,  
“result”: “emdriver”,  
“category”: “CC\_WEAPON”,  
“subcategory”: “CSC\_WEAPON\_RANGED”,  
“skill\_used”: “electronics”,  
“skills\_required”: [“gun”,5],  
“difficulty”: 7,  
“time”: 20000,  
“reversible”: false,  
“autolearn”: true,  
“tools”: [  
[  
[“goggles\_welding”, -1]  
],  
[  
[“hacksaw”, -1], [“toolset”, -1]  
],  
[  
[“screwdriver”, -1], [“toolset”, -1]  
],  
[  
[“wrench”, -1], [“toolset”, -1]  
],  
[  
[“welder”, 200], [“welder\_crude”, 300], [“toolset”, 6]  
],  
[  
[“soldering\_iron”, 50]  
]  
],  
“components”: [  
[  
[“pipe”, 1]  
],  
[  
[“rebar”, 2]  
],  
[  
[“duct\_tape”, 50],  
[“superglue”, 1]  
],  
[  
[“metal\_tank\_small”, 1]  
],  
[  
[“e\_scrap”, 6]  
],  
[  
[“small\_storage\_battery”, 1],  
[“UPS\_off”, 1]  
],  
[  
[“steel\_chunk”, 3],  
[“scrap”, 9]  
]  
]  
},{

```
    "type" : "recipe",

```

“result”: “sabnail”,  
“category”: “CC\_AMMO”,  
“subcategory”: “CSC\_AMMO\_OTHER”,  
“skill\_used”: “fabrication”,  
“difficulty”: 4,  
“time”: 25000,  
“reversible”: false,  
“autolearn”: true,  
“qualities”:[  
{“id”:“CUT”,“level”:1,“amount”:1}  
],  
“tools”: [  
[  
[“mold\_plastic”, -1]  
],  
[  
[“hotplate”, 5],  
[“toolset”, 1],  
[“fire”, -1]  
]  
],  
“components”: [  
[  
[“plastic\_chunk”, 2]  
],  
[  
[“nail”, 50]  
]  
]  
},{

“type” : “recipe”,  
“result”: “sabflc”,  
“category”: “CC\_AMMO”,  
“subcategory”: “CSC\_AMMO\_OTHER”,  
“skill\_used”: “fabrication”,  
“difficulty”: 7,  
“time”: 35000,  
“reversible”: false,  
“autolearn”: true,  
“qualities”:[  
{“id”:“CUT”,“level”:1,“amount”:1}  
],  
“tools”: [  
[  
[“mold\_plastic”, -1]  
],  
[  
[“hotplate”, 5],  
[“toolset”, 1],  
[“fire”, -1]  
]  
],  
“components”: [  
[  
[“plastic\_chunk”, 2]  
],  
[  
[“steel\_chunk”, 1],  
[“scrap”, 3]  
]  
]  
},{

“type” : “recipe”,  
“result”: “sabball”,  
“category”: “CC\_AMMO”,  
“subcategory”: “CSC\_AMMO\_OTHER”,  
“skill\_used”: “fabrication”,  
“difficulty”: 7,  
“time”: 30000,  
“reversible”: false,  
“autolearn”: true,  
“qualities”:[  
{“id”:“CUT”,“level”:1,“amount”:1}  
],  
“tools”: [  
[  
[“mold\_plastic”, -1]  
],  
[  
[“hotplate”, 5],  
[“toolset”, 1],  
[“fire”, -1]  
]  
],  
“components”: [  
[  
[“plastic\_chunk”, 2]  
],  
[  
[“bearing”, 50]  
]  
]  
},[/code]

---

<div class="post-metadata">

**Author:** ![Zaweri\_Runewright](https://avatars.discourse-cdn.com/v4/letter/z/5e9695/32.png) [@Zaweri\_Runewright](https://discourse.cataclysmdda.org/u/Zaweri_Runewright)\
**Post date:** [February 25, 2014, 5:34am UTC](https://discourse.cataclysmdda.org/t/new-weapons/5208/2 "2014-02-25T05:34:32Z")

</div>

Remember that miniguns need external power. Gatling guns could have a crank to use.

---

<div class="post-metadata">

**Author:** ![rathkiee](https://avatars.discourse-cdn.com/v4/letter/r/85f322/32.png) [@rathkiee](https://discourse.cataclysmdda.org/u/rathkiee)\
**Post date:** [February 25, 2014, 5:43am UTC](https://discourse.cataclysmdda.org/t/new-weapons/5208/3 "2014-02-25T05:43:58Z")

</div>

> [@Zaweri Runewright](#):
>
> Remember that miniguns need external power. Gatling guns could have a crank to use.

Hmmm, maybe have the basic 9mm gattling use a crank, and it have an mod/upgrade which uses a plutonium cell, power converter and a cordless drill to increase firerate and accuraccy, what with the ability to have a firm grip on the weapon?  
Anyway, thanks for the advice Zaweri.

---

<div class="post-metadata">

**Author:** ![FunsizeNinja123](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/funsizeninja123/32/118_2.png) [@FunsizeNinja123](https://discourse.cataclysmdda.org/u/FunsizeNinja123)\
**Post date:** [February 25, 2014, 1:37pm UTC](https://discourse.cataclysmdda.org/t/new-weapons/5208/4 "2014-02-25T13:37:51Z")

</div>

So where’s the code?

---

<div class="post-metadata">

**Author:** ![John\_Candlebury](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/john_candlebury/32/6437_2.png) [@John\_Candlebury](https://discourse.cataclysmdda.org/u/John_Candlebury)\
**Post date:** [February 25, 2014, 2:34pm UTC](https://discourse.cataclysmdda.org/t/new-weapons/5208/5 "2014-02-25T14:34:40Z")

</div>

Also why would you sabot a nail? Are you aware of the actual uses of a sabot? They achieve absolutely nothing when it comes to ammo effectiveness, probably decrease it a bit actually, they just allow for a cannon to fire projectiles that are smaller than its bore (and judging by the descriptions you wrote it seems that the sabots are better that their “unupgraded” versions).

Also I know that everyone here is driven by rule of cool but why not name the mini guns improvised assault rifles or (smgs for pistol cartridges), those stench the willing suspension of disbelief way less and mechanically behave like the same thing (in game obviously).

---

<div class="post-metadata">

**Author:** ![rathkiee](https://avatars.discourse-cdn.com/v4/letter/r/85f322/32.png) [@rathkiee](https://discourse.cataclysmdda.org/u/rathkiee)\
**Post date:** [February 25, 2014, 11:22pm UTC](https://discourse.cataclysmdda.org/t/new-weapons/5208/6 "2014-02-25T23:22:18Z")

</div>

@John  
The reasoning that I had was that converting nails to a sabot would help improve the seal in the barrel, which should improve accuracy and velocity in a pneumatic system. would still be pretty weak, I guess, but better than just standard nails. I also have been toying with the name of the nail gattling, just haven’t really decided what it should be yet.

@Ninja  
What would be the best way to upload it? This is my first attempt at coding for cataclysm (or anything else), and still haven’t really figured out github very well.  
Just past the entries I made in the .JSONs here?

---

<div class="post-metadata">

**Author:** ![FunsizeNinja123](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/funsizeninja123/32/118_2.png) [@FunsizeNinja123](https://discourse.cataclysmdda.org/u/FunsizeNinja123)\
**Post date:** [February 25, 2014, 11:32pm UTC](https://discourse.cataclysmdda.org/t/new-weapons/5208/7 "2014-02-25T23:32:16Z")

</div>

Either code tag it, or just put the text here.

---

<div class="post-metadata">

**Author:** ![rathkiee](https://avatars.discourse-cdn.com/v4/letter/r/85f322/32.png) [@rathkiee](https://discourse.cataclysmdda.org/u/rathkiee)\
**Post date:** [February 25, 2014, 11:56pm UTC](https://discourse.cataclysmdda.org/t/new-weapons/5208/8 "2014-02-25T23:56:23Z")

</div>

Alright, just going to finish the recipes for weapons and ammo and then I’ll edit the main post with the code.

---

<div class="post-metadata">

**Author:** ![Excaerious](https://avatars.discourse-cdn.com/v4/letter/e/f08c70/32.png) [@Excaerious](https://discourse.cataclysmdda.org/u/Excaerious)\
**Post date:** [February 26, 2014, 1:59am UTC](https://discourse.cataclysmdda.org/t/new-weapons/5208/9 "2014-02-26T01:59:27Z")

</div>

I like this a lot, perhaps we can collaborate and expand the idea together? I have been working on many ‘improvised’ melee weapons in my spare time. I already worked up the proper weapons, groups, and recipes for two. I wanted to expand upon the the ‘melee’ section of mid-end game though, along with some early options. The only two I have worked on thus far are simple edits/expansions of existing weapons, the electrified machete and nail-bat. I had/have ideas for items ranging from the Power Fist (ala Fallout) to the Chainlock (more proper chain-like weapon).

---

<div class="post-metadata">

**Author:** ![rathkiee](https://avatars.discourse-cdn.com/v4/letter/r/85f322/32.png) [@rathkiee](https://discourse.cataclysmdda.org/u/rathkiee)\
**Post date:** [February 26, 2014, 4:07am UTC](https://discourse.cataclysmdda.org/t/new-weapons/5208/10 "2014-02-26T04:07:25Z")

</div>

@Excaerious  
I’d be happy collaborate, although I can’t promise much as my time at the moment is quite limited with university.

---

<div class="post-metadata">

**Author:** ![Iosyn](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/iosyn/32/35_2.png) [@Iosyn](https://discourse.cataclysmdda.org/u/Iosyn)\
**Post date:** [March 7, 2014, 11:21am UTC](https://discourse.cataclysmdda.org/t/new-weapons/5208/11 "2014-03-07T11:21:09Z")

</div>

Ordinarily I’d say a 9mm gatling could probably just use the gas blowback, but yeah you’d probably still need an electric motor or something.  
As to the nail gatling-- wait, autocannon? I guess some of the stuff I was gonna say is a bit superfluous now. I’d still say add an extra pipe and maybe a steel chain to the recipe. As to the EM driver, probably a power converter and some amplifier circuits.  
EM driver feels a bit too similar to the bolt driver, but more nail weapons are always a plus and it should act as a nice counterpart to the current coilgun.

Also are small metal tanks craftable/lootable now? IIRC even stripping one off a car or something only gave you the regular metal tank.

Anyway, +1 some nice ideas.

Last note: the weights for the weapons are incredibly light. 1000 = 1 lb unloaded iirc. You’re probably looking at a minimum weight of around 3~4lbs each.
