Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Ammo modding  (Read 672 times)

Jackrabbit

  • Bay Watcher
    • View Profile
Ammo modding
« on: January 20, 2009, 05:51:19 am »

Through trial and error I have succeded in making muskets (first mod) but I am having trouble with musket balls. Here they are

[ITEM_AMMO:ITEM_AMMO_BOLTS]
[NAME:musketball:musketballs]
[CLASS:BOLT]
[DAMAGE:120:PIERCE]

[ITEM:WEAPON:ITEM_WEAPON_MUSKET]
[NAME:musket:muskets]
[DAMAGE:80:PIERCE]
[WEIGHT:40]
[SKILL:SPEAR]
[RANGED:CROSSBOW:BOLTS]
[TWO_HANDED:0]
[MINIMUM_SIZE:5]
[MATERIAL_SIZE:3]
Logged

Blakmane

  • Bay Watcher
    • View Profile
Re: Ammo modding
« Reply #1 on: January 20, 2009, 07:41:04 am »


[RANGED:CROSSBOW:BOLTS]

should be

[RANGED:CROSSBOW:BOLT]

A common mistake. I presume you have removed crossbows from the equation? Otherwise you should change your item_ammo and class tags, because as it stands crossbows will now be firing musketballs.
Logged

Jackrabbit

  • Bay Watcher
    • View Profile
Re: Ammo modding
« Reply #2 on: January 20, 2009, 04:06:34 pm »

Thanks. Deon actually helped me out here. I checked his fallout files, which has a huge amount of guns.
Logged

Rhenaya

  • Bay Watcher
  • Usstan tlun natha hargluk ssinssriggin ilythiiri!
    • View Profile
    • X-Fire Profile
Re: Ammo modding
« Reply #3 on: January 20, 2009, 06:16:35 pm »

[ITEM_AMMO:ITEM_AMMO_BOLTS]
[NAME:musketball:musketballs]
[CLASS:BULLET]
[DAMAGE:120:PIERCE]

[ITEM:WEAPON:ITEM_WEAPON_MUSKET]
[NAME:musket:muskets]
[DAMAGE:80:PIERCE]
[WEIGHT:40]
[SKILL:SPEAR]
[RANGED:CROSSBOW:BULLET]
[TWO_HANDED:0]
[MINIMUM_SIZE:5]
[MATERIAL_SIZE:3]

change to somehting like that and you should have no problem with the crossbows firing the musketballs ;)
Logged
User Profile: http://df.magmawiki.com/index.php/User:Rhenaya
Mods: http://dffd.wimbli.com/who.php?id=554

From "Angroshs Kinder" Das schwarze Auge Zwergenhandbuch - (Angrosh Children, the dark eye, german pen&paper, dwarven handbook):
"Elves!? Their men dont wear beards, and their women bathe nacked to lure you into the water and drown you. Thank Angrosh they are as ugly as the day and all big and skinny."