Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Modding Help: "Fireglaives"  (Read 718 times)

Skald

  • Bay Watcher
  • Longbeard
    • View Profile
Modding Help: "Fireglaives"
« on: July 26, 2012, 05:17:01 pm »

Hey, so I've been trying to get firearms involved in my fortress for a while now, yet always run into walls/problems regarding that.

I tried the black-powder mod for a while, but kept running into problems either on my end or the actual data of the mod itself. Probably doesn't help that I'm not running a "Vanilla" fortress anymore either...

So, anyway, I'm trying to add Fire Glaives (See:http://www.mi40k.com/wp-content/uploads/infernalfire5.jpg) to my fort. Fire Glaives are long barreled rifles with heavy blades attached to allow them to function as halberds in close combat.

My goal here is to have a Fire Glaive Workshop of sorts to allow me to make these weapons and their associated ammo. The reactions for gunpowder are widely known, I'm just horrible on the statsside of things. How does one make a weapon that fires projectiles at a basic speed, have a reaction to combine gunpowder with metal to make bullets, and have the firearm count as an axe-type-weapon attachment in melee?

Can someone give me a hand here?
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Modding Help: "Fireglaives"
« Reply #1 on: July 26, 2012, 05:25:45 pm »

For the firearm to have an axe-like attachment in melee, make its skill AXE (like a gun probably has HAMMER) and its attacks based on that of an axe (I.E stuff like
Code: [Select]
[ATTACK:EDGE:40000:6000:hack:hacks:NO_SUB:1250]
[ATTACK:BLUNT:40000:6000:bash:bashes:butt:1250]
)

The workshop itself can be made using the very helpful building token article on the wiki as well as that workshop designing program what's name I forgot. Firing projectiles at a basic speed is basically what the default is on crossbows etc.

Gunpowder plus bullet could be explained here, but let me help you a bit more...

[REAGENT:A:150:POWDER_MISC:NONE:INORGANIC:GUNPOWDER] is your gunpowder reagent. You'll also probably need a bucket reagent, I'll get on that soon.

The bucket reagent will simply be something like this:

Code: [Select]
[REAGENT:C:1:BUCKET:NONE:NONE:NONE]
[PRESERVE_REAGENT]
[DOES_NOT_DETERMINE_PRODUCT_AMOUNT]
[CONTAINS:A]

The metal should be [REAGENT:B:150:BAR:NONE:INORGANIC:NONE]. You could also add in a [REACTION_CLASS:AMMO] to that and add that reaction class to all items that can have ammo (by replacing [ITEMS_AMMO] in the raws with [ITEMS_AMMO][REACTION_CLASS:AMMO] using notepad or something).
« Last Edit: July 26, 2012, 05:30:59 pm by Putnam »
Logged

Skald

  • Bay Watcher
  • Longbeard
    • View Profile
Re: Modding Help: "Fireglaives"
« Reply #2 on: July 26, 2012, 05:33:35 pm »

I am ridiculously giddy to be getting such detailed help so fast :D
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Modding Help: "Fireglaives"
« Reply #3 on: July 26, 2012, 07:50:07 pm »

It's what I do.

Skald

  • Bay Watcher
  • Longbeard
    • View Profile
Re: Modding Help: "Fireglaives"
« Reply #4 on: July 26, 2012, 09:29:39 pm »

So far it's looking like...


[ITEM_WEAPON:ITEM_WEAPON_FIRE_GLAIVE]
[NAME:fire glaive:fire glaives]
[SIZE:550]
[SKILL:AXE]
[RANGED:CROSSBOW:GUNSTONES]
[SHOOT_FORCE:50000]
[SHOOT_MAXVEL:20000]
[TWO_HANDED:57500]
[MINIMUM_SIZE:52500]
[MATERIAL_SIZE:4]
[ATTACK:EDGE:40000:6000:hack:hacks:NO_SUB:1250]
[ATTACK:BLUNT:40000:6000:bash:bashes:butt:1250]

(If it looks familiar to the rifle from guns mod, well, it is. Just tweaked gently. SORRY MAN :( )
So I need to figure out what the workshop is, what it looks like, and what mats to make it (Blocks, Anvil, Table...probably. Maybe some barrels and buckets as well. Steel to enforce difficulty and requirement of decent metallurgic levels of tech.). Then I need to make the reaction to make the actual glaive (thinking....Halberd + log + mechanism? Sound about right?) and its ammo (Black powder + Metal bar = Metal Gunstone? Bullet? Not sure what to call it.).

Any tips? Did you ever find the name of that workshop design program?
Logged

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Modding Help: "Fireglaives"
« Reply #5 on: July 26, 2012, 09:40:07 pm »

Read here: http://www.bay12forums.com/smf/index.php?topic=28829.0

you can find

Custom Workshop Workshop

Funny what you can find in a community list of mods and utilities eh? :P
Logged