Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Dwarven Cannon  (Read 813 times)

EagleV

  • Bay Watcher
  • Oblivisci tempta quod didicisti
    • View Profile
Dwarven Cannon
« on: April 13, 2010, 01:36:50 pm »

As part of a mod I'm working on, I'm trying to make a dwarven cannon, and it has to be epic. But I still have a few questions, plus it doesn't work like I want it to be: I want cannonbals to tear straight trough limbs, and, well, a dwarf shouldn't survive a shot at the torso at point-blank range either... What I've got so far:

[ITEM_WEAPON:ITEM_WEAPON_CANNON]
[NAME:cannon:cannons]
[SIZE:5000] (Will this make it very heavy, and thus slow down cannoneers?)
[SKILL:HAMMER] (Is this necessary? There is no melee attack possible with a cannon.)
[RANGED:CROSSBOW:CANNONBALL] (I guess I could use bowman skill here, but that's just a minor tweak.)
[SHOOT_FORCE:10000]
[SHOOT_MAXVEL:100]
[TWO_HANDED:0]
[MINIMUM_SIZE:15000]
[MATERIAL_SIZE:10]

[ITEM_AMMO:ITEM_AMMO_CANNONBALLS]
[NAME:cannonball:cannonballs]
[CLASS:CANNONBALL]
[SIZE:250] (This is 5 times  a bolt)
[ATTACK:BLUNT:500:10000:smash:smashes:NO_SUB:2000]

So, I have a cannon that has 10 times the force of a crossbow to propell 5 times as heavy projectiles, why doesn't it work right?
Logged
Quote from: Robert Donoghue and Fred Hicks
There are three things you must learn if you wish to defeat me, my young pupil. First, you must look within yourself and find your core of strength. Second, your mind and body must be in perfect unison. Third...
*WHACK*
Third, stop listening when you should be fighting.

TheDancinZerg

  • Bay Watcher
    • View Profile
Re: Dwarven Cannon
« Reply #1 on: April 13, 2010, 02:17:18 pm »

Is it just not lethal enough for you or what seems to be the problem?
Logged

Warlord255

  • Bay Watcher
  • Master Building Designer
    • View Profile
Re: Dwarven Cannon
« Reply #2 on: April 13, 2010, 02:20:11 pm »

It may be the projectile is too heavy.
Logged
DF Vanilla-Spice Revised: Better balance, more !!fun!!
http://www.bay12forums.com/smf/index.php?topic=173907.msg7968772#msg7968772

LeadfootSlim on Steam, LeadfootSlim#1851 on Discord. Hit me up!

EagleV

  • Bay Watcher
  • Oblivisci tempta quod didicisti
    • View Profile
Re: Dwarven Cannon
« Reply #3 on: April 13, 2010, 02:20:25 pm »

Well, yes, it's not lethal enough, not even with slate cannonballs. I mostly get bruises. What I want is realism, and especially awesome and bloody realism ;) . I don't get what is wrong, I made it extremely strong already (or so I thought).

Plus I'd like to know if a SKILL:HAMMER is necessary.

I'll try with a lighter projectile.

EDIT: first lighter cannonball tore apart the guts... Much better! Thanks!
« Last Edit: April 13, 2010, 02:33:01 pm by EagleV »
Logged
Quote from: Robert Donoghue and Fred Hicks
There are three things you must learn if you wish to defeat me, my young pupil. First, you must look within yourself and find your core of strength. Second, your mind and body must be in perfect unison. Third...
*WHACK*
Third, stop listening when you should be fighting.

D_E

  • Bay Watcher
    • View Profile
Re: Dwarven Cannon
« Reply #4 on: April 13, 2010, 02:49:39 pm »

Blunt will mostly break arms that it hits.  If you want it to chop things off, make it an EDGE attack.  You can also give weapons more than one attack now, so you could make it
[ATTACK:BLUNT:500:10000:smash:smashes:NO_SUB:2000]
[ATTACK:EDGE:500:10000:smash:smashes:NO_SUB:2000]
[ATTACK:EDGE:500:10000:smash:smashes:NO_SUB:2000]
for example, which is a cannonball that is twice as likely to slice through an arm as it is to break the arm.
Logged
Mods I've done:
Zelda mod-mod, Beta in the Wild DF 47.04
Illithid Empire mod DF 31.25 (update canceled)
Spotter's Guide to Illithids (Genesis mod-mod) genesis 3.19a4 (update canceled)

Arrkhal

  • Bay Watcher
  • Who modded in these flying killer attack babies???
    • View Profile
Re: Dwarven Cannon
« Reply #5 on: April 13, 2010, 03:22:07 pm »

Maxvel of 100 is the same as the bow and crossbow, which, historically, shot things at about 150-180 feet per second with historical weight war arrows/quarrels.  A cannon should be more in the range of, oh, 600 feet per second minimum (a modern .45 shoots at 850 fps).  I have no idea what the maxvel units correspond to, but quadrupling it would be a good start.

I also do not know the scale of the shoot_force units, but black powder burns at about 5,000 to 25,000 PSI.  Decide what caliber you want your cannon to be (near as I can figure from the raws, 200 size units = 1 pound when made from steel or iron, so your cannonballs are 1 pound 4 oz., which corresponds to a 1.8" caliber when made from iron), figure out the cross-sectional area of the barrel, then multiply by the pressure you want.  1.8" caliber and 5,000 PSI = 12,700 pounds of shootforce, but like I said, I don't know the units.  However, longbows and hand-spanned crossbows tended to be 100 to 150 pounds, so a cannon should have a shootforce of about 100x that of a bow or crossbow.

Isn't having a semi-physics-based engine great?
« Last Edit: April 13, 2010, 03:24:43 pm by Arrkhal »
Logged
In development: Arrkhal's Material and Weapon balance
Please test and let me know what still needs fixing.  And get these freakin' babies offa me!

EagleV

  • Bay Watcher
  • Oblivisci tempta quod didicisti
    • View Profile
Re: Dwarven Cannon
« Reply #6 on: April 13, 2010, 03:51:17 pm »

Physics

Wow, this is great! Thanks! Where did you find this?
Logged
Quote from: Robert Donoghue and Fred Hicks
There are three things you must learn if you wish to defeat me, my young pupil. First, you must look within yourself and find your core of strength. Second, your mind and body must be in perfect unison. Third...
*WHACK*
Third, stop listening when you should be fighting.

Arrkhal

  • Bay Watcher
  • Who modded in these flying killer attack babies???
    • View Profile
Re: Dwarven Cannon
« Reply #7 on: April 13, 2010, 04:35:45 pm »

Just some historical knowledge, plus my own modding ventures.

Though, I just tested a cannon that was 100x the shootforce of the Xbow and 8x the max velocity, and it didn't seem to do much. :(

I'm guessing the physics engine needs some debugging.
Logged
In development: Arrkhal's Material and Weapon balance
Please test and let me know what still needs fixing.  And get these freakin' babies offa me!