Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: best way to make directed energy weapons?  (Read 577 times)

Starmantis

  • Bay Watcher
    • View Profile
best way to make directed energy weapons?
« on: June 05, 2013, 03:10:58 pm »

So, for a number of reasons Id like to mod in energy weapons, and was wondering how I would best do it, is there a way to have items that let you perform interactions? like say, firebreath.
Logged

Sergarr

  • Bay Watcher
  • (9) airheaded baka (9)
    • View Profile
Re: best way to make directed energy weapons?
« Reply #1 on: June 05, 2013, 06:43:28 pm »

http://www.bay12forums.com/smf/index.php?topic=123817.0

Look up itemSyndrome, it's what you need.

It's using DFHack to tie interactions to items, btw. Impossible to do otherwise.

« Last Edit: June 05, 2013, 06:45:13 pm by Sergarr »
Logged
._.

Svanh

  • Escaped Lunatic
    • View Profile
Re: best way to make directed energy weapons?
« Reply #2 on: June 05, 2013, 08:51:52 pm »

You can make a semi-energy weapon without interactions. You create an inorganic material like the one below(none of the stats matter besides the melting and boiling points, the specific heat and the MAT_FIXED_TEMP):
Spoiler (click to show/hide)

When a projectile made of this material is lodged in a target(If it doesn't lodge, it behaves normally), it insta-boils and burns them. Setting the specific heat higher would probably stop the insta-boil but causes the enemy to melt(untested).

Just make a custom ranged weapon with custom ammo and a workshop to produce ammo made of the material(With reagents that aren't the material). You want to set the ammo to have a small size and contact area with high penetration to give it the best chance to lodge. Increasing the shoot force and max velocity on your custom weapon should also help with this.

Also, don't pick the bolts up unless they go straight into a quiver or backpack. They should be fine for Dwarf mode but will cause you to melt if you pick them up with your hands in adventure mode.
Logged

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: best way to make directed energy weapons?
« Reply #3 on: June 06, 2013, 12:04:45 am »

Look at fire blocks for catapults, or inferno or webbing magical charges in Genesis Reborn. "Projectile expansion" dfhack script from Putnam allows you to make ammo which explodes in special material clouds, fire, dragonfire or attach scripts to it.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository