Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2

Author Topic: Gun question  (Read 1776 times)

ztyler

  • Bay Watcher
    • View Profile
Gun question
« on: May 06, 2011, 04:40:05 pm »

I'm trying to create muskets into my game, and would like some help.
Here's what I have
Code: [Select]
[ITEM_WEAPON:ITEM_WEAPON_MUSKET]
[NAME:musket:muskets]
[SIZE:400]
[SKILL:SWORD]
[RANGED:MUSKET:ROUND]
[SHOOT_FORCE:1000]
[SHOOT_MAXVEL:1000]
[TWO_HANDED:0]
[MINIMUM_SIZE:15000]
[MATERIAL_SIZE:3]
[ATTACK:BLUNT:10000:4000:bash:bashes:stock:1250]
[ATTACK:EDGE:20:12000:stab:stabs:NO_SUB:1000]
How much should I increase (or not) the MAXVEL and FORCE to replicate an actual musket?
And for the ammo
Code: [Select]
[ITEM_AMMO:ITEM_AMMO_ROUND]
[NAME:round:rounds]
[CLASS:ROUND]
[SIZE:5]
I dont know what to put for the attack. Should it be stab or what?

And one last question,
Is there any way possible to make these creatable in Fortress Mode?
Thanks,
Ztyler
Logged
He's going the distance.

GreatWyrmGold

  • Bay Watcher
  • Sane, by the local standards.
    • View Profile
Re: Gun question
« Reply #1 on: May 06, 2011, 06:46:37 pm »

Dunno about making it likea real-world musket's shot.
Stab if youwant it to come with a bayonet, like many did IRL IIRC. Otherwise, a bash.
Just add [WEAPON:ITEM_WEAPON_MUSKET] and [AMMO:ITEM_AMMO_ROUND] or something like that to [ENTITY:MOUNTAIN] in entity_default.txt.
Logged
Sig
Are you a GM with players who haven't posted? TheDelinquent Players Help will have Bay12 give you an action!
[GreatWyrmGold] gets a little crown. May it forever be his mark of Cain; let no one argue pointless subjects with him lest they receive the same.

SirAaronIII

  • Bay Watcher
  • Western Romanticist
    • View Profile
Re: Gun question
« Reply #2 on: May 06, 2011, 07:25:58 pm »

For a realistic shot, you want a very high speed with a small contact area. Too much speed can make the game bug out, though. Your current numbers look fine to me.
Logged
"I want to watch the sun setting below the horizon, thinking about my significance in this world. That's my dream."

Necro910

  • Bay Watcher
  • Legendary Drunk +5
    • View Profile
Re: Gun question
« Reply #3 on: May 06, 2011, 07:40:02 pm »

For a realistic shot, you want a very high speed with a small contact area. Too much speed can make the game bug out, though. Your current numbers look fine to me.
And don't forget to make the round extremely small! Other wise it will be more of a cannon than a 9mm diameter  :-\

SirAaronIII

  • Bay Watcher
  • Western Romanticist
    • View Profile
Re: Gun question
« Reply #4 on: May 06, 2011, 07:49:41 pm »

Well, maybe it's a hand cannon. That way, you can have big shots from a portable gun.
Logged
"I want to watch the sun setting below the horizon, thinking about my significance in this world. That's my dream."

_DivideByZero_

  • Bay Watcher
  • Not to be confused with infinity
    • View Profile
Re: Gun question
« Reply #5 on: May 06, 2011, 07:59:04 pm »

Do realize, though, that fire rate is determined by skill, as well as by the time it takes for the bolt to hit something. Only one shot can exist at a time, so a high speed will actually make it fire faster than a crossbow.
Logged
Have I now become your enemy by telling you the truth? (Gal 4:16)

Necro910

  • Bay Watcher
  • Legendary Drunk +5
    • View Profile
Re: Gun question
« Reply #6 on: May 06, 2011, 08:01:00 pm »

Do realize, though, that fire rate is determined by skill, as well as by the time it takes for the bolt to hit something. Only one shot can exist at a time, so a high speed will actually make it fire faster than a crossbow.
So it should probably have a low velocity and a uber high force?

Seriyu

  • Bay Watcher
    • View Profile
    • Springless Clock
Re: Gun question
« Reply #7 on: May 06, 2011, 08:24:19 pm »

Out of curiosity, when do things start to bug out for the speed value?

ztyler

  • Bay Watcher
    • View Profile
Re: Gun question
« Reply #8 on: May 06, 2011, 09:07:04 pm »

Muskets aren't really 9mm. It was a half-inch diameter ball of death. The equivalent of today's .50cal.
Oh and here's my updated code
Code: [Select]
[ITEM_WEAPON:ITEM_WEAPON_MUSKET]
[NAME:musket:muskets]
[SIZE:400]
[SKILL:SWORD]
[RANGED:MUSKET:ROUND]
[SHOOT_FORCE:7000]
[SHOOT_MAXVEL:5000]
[TWO_HANDED:0]
[MINIMUM_SIZE:15000]
[MATERIAL_SIZE:3]
[ATTACK:EDGE:20:12000:stab:stabs:bayonet:1000]
[ATTACK:BLUNT:50:4000:bash:bashes:stock:1250]
I increased both because whenever I tested it in arena mode, all it was doing was bruising things. This causes it to tear and break things, like a real musket.(Im going more for the civil war era musket)
And the ammo
Code: [Select]
[ITEM_AMMO:ITEM_AMMO_ROUND]
[NAME:round:rounds]
[CLASS:ROUND]
[SIZE:5]
[ATTACK:EDGE:5:30000:hit:hits:NO_SUB:1000]
Also increased penetration because again, it was only bruising things.

(edit) Oh, and is there anyway to have something shoot multiple rounds? Kinda like a shotgun.
« Last Edit: May 06, 2011, 09:11:04 pm by ztyler »
Logged
He's going the distance.

Necro910

  • Bay Watcher
  • Legendary Drunk +5
    • View Profile
Re: Gun question
« Reply #9 on: May 06, 2011, 09:17:44 pm »

(edit) Oh, and is there anyway to have something shoot multiple rounds? Kinda like a shotgun.
No.

Why? Because I iz sad.

Nikov

  • Bay Watcher
  • Riverend's Flame-beater of Earth-Wounders
    • View Profile
Re: Gun question
« Reply #10 on: May 06, 2011, 09:24:18 pm »

Muskets aren't really 9mm. It was a half-inch diameter ball of death. The equivalent of today's .50cal.

I would rage but for the grace of God.

While run-of-the-mill rifled muskets of the 1800's were about .68 caliber bore, it is important to note that did not make them equal, either objectively in constant terms or subjectively in light of the time period, to the modern .50 caliber Browning Machine Gun round. I'm fairly sure you know that, but its worth stressing that a musket ball which would struggle to penetrate a steel cuirass or a wooden palisade cannot be compared to a round producing 15,000 foot-pounds of energy on impact.

You should probably use the spear skill and have the round do blunt damage. That will make it preferable to use lead bullets.
Logged
I should probably have my head checked, because I find myself in complete agreement with Nikov.

ztyler

  • Bay Watcher
    • View Profile
Re: Gun question
« Reply #11 on: May 06, 2011, 09:50:48 pm »

Quote
   
Quote
Muskets aren't really 9mm. It was a half-inch diameter ball of death. The equivalent of today's .50cal.

I would rage but for the grace of God.

While run-of-the-mill rifled muskets of the 1800's were about .68 caliber bore, it is important to note that did not make them equal, either objectively in constant terms or subjectively in light of the time period, to the modern .50 caliber Browning Machine Gun round. I'm fairly sure you know that, but its worth stressing that a musket ball which would struggle to penetrate a steel cuirass or a wooden palisade cannot be compared to a round producing 15,000 foot-pounds of energy on impact.
I know, I was talking about size, but thanks for clarifying that. Sorry I didn't specify.  :-[
But anyways, I took Nikov's advice. (He seems to know about this stuff)
Code: [Select]
[ITEM_WEAPON:ITEM_WEAPON_MUSKET]
[NAME:musket:muskets]
[SIZE:400]
[SKILL:SPEAR]
[RANGED:MUSKET:ROUND]
[SHOOT_FORCE:7000]
[SHOOT_MAXVEL:5000]
[TWO_HANDED:0]
[MINIMUM_SIZE:15000]
[MATERIAL_SIZE:3]
[ATTACK:EDGE:20:12000:stab:stabs:bayonet:1000]
[ATTACK:BLUNT:50:4000:bash:bashes:stock:1250]
Code: [Select]
[ITEM_AMMO:ITEM_AMMO_ROUND]
[NAME:round:rounds]
[CLASS:ROUND]
[SIZE:5]
[ATTACK:BLUNT:5:30000:hit:hits:NO_SUB:1000]
Logged
He's going the distance.

wolflance

  • Bay Watcher
  • Not knowing is half the Fun.
    • View Profile
Re: Gun question
« Reply #12 on: May 07, 2011, 06:03:20 am »

Just askin'
With blunt damage, can musket still pierce armor and lodge into wound?
Logged

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Gun question
« Reply #13 on: May 07, 2011, 07:04:35 am »

Making them blunt though won't allow them to get through organs as well as edged attacks. It all depends on the wounding effect you want to achieve.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

narhiril

  • Bay Watcher
  • [DUTY_BOUND]
    • View Profile
Re: Gun question
« Reply #14 on: May 07, 2011, 07:25:13 am »

I'm pretty sure you can't use "MUSKET" as a skill though.  Skills are hardcoded, aren't they?
Pages: [1] 2