Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: New ranged weapon and ammo, but no ammo for hunters?  (Read 897 times)

Gunner-Chan

  • Bay Watcher
  • << IT'S TIME >>
    • View Profile
New ranged weapon and ammo, but no ammo for hunters?
« on: January 15, 2009, 03:39:31 pm »

I had decided to add another race to my DF install, and for a change I decided they would use rifles instead or crossbows. After I embarked though I realized, my hunter had no ammo! Is the game hardcoded to give hunters bolts, or did I forget something?
Logged
Diamonds are combustable, because they are made of Carbon.

Sean Mirrsen

  • Bay Watcher
  • Bearer of the Psionic Flame
    • View Profile
Re: New ranged weapon and ammo, but no ammo for hunters?
« Reply #1 on: January 15, 2009, 04:22:34 pm »

It may be hardcoded, but there may be an error as well. If your rifle is a CROSSBOW class, and has proper ammo assigned, then it is a result of it being hardcoded - though in that case, wouldn't it give a crossbow as well instead of a rifle?
Logged
Multiworld Madness Archive:
Game One, Discontinued at World 3.
Game Two, Discontinued at World 1.

"Europe has to grow out of the mindset that Europe's problems are the world's problems, but the world's problems are not Europe's problems."
- Subrahmanyam Jaishankar, Minister of External Affairs, India

Gunner-Chan

  • Bay Watcher
  • << IT'S TIME >>
    • View Profile
Re: New ranged weapon and ammo, but no ammo for hunters?
« Reply #2 on: January 15, 2009, 04:29:41 pm »

That's what confuses me, it gives a rifle (Either bronze or iron, Personally never heard of bronze bayonets...) and even a quiver. But no ammo. It's really not that bad a deal as the rifles also double as spears (Bayonets! Yay!) but I would really like to know why they get the gun but no bullets.

I hope it's not hardcoded...
Logged
Diamonds are combustable, because they are made of Carbon.

Sean Mirrsen

  • Bay Watcher
  • Bearer of the Psionic Flame
    • View Profile
Re: New ranged weapon and ammo, but no ammo for hunters?
« Reply #3 on: January 15, 2009, 04:36:38 pm »

So... care to post relevant information? As in, entity entry, rifle entry, ammo entry?
Logged
Multiworld Madness Archive:
Game One, Discontinued at World 3.
Game Two, Discontinued at World 1.

"Europe has to grow out of the mindset that Europe's problems are the world's problems, but the world's problems are not Europe's problems."
- Subrahmanyam Jaishankar, Minister of External Affairs, India

Gunner-Chan

  • Bay Watcher
  • << IT'S TIME >>
    • View Profile
Re: New ranged weapon and ammo, but no ammo for hunters?
« Reply #4 on: January 15, 2009, 04:42:43 pm »

Oh, oops! Sorry!

Weapon

Code: [Select]
[ITEM_WEAPON:ITEM_WEAPON_RIFLE]
[NAME:rifle:rifles]
[DAMAGE:100:PEIRCE]
[WEIGHT:70]
[SKILL:SPEAR]
[RANGED:CROSSBOW:BULLETS]
[TWO_HANDED:0]
[MINIMUM_SIZE:7]
[MATERIAL_SIZE:6]

Ammo

Code: [Select]
[ITEM_AMMO:ITEM_AMMO_BULLETS]
[NAME:bullet:bullets]
[CLASS:BULLET]
[DAMAGE:175:PIERCE]

Entity

Code: [Select]
[ENTITY:NEW]
[CIV_CONTROLLABLE]
[CREATURE:HUMANTWO]
[TRANSLATION:HUMANTWO]
[DIGGER:ITEM_WEAPON_SHOVEL]
[WEAPON:ITEM_WEAPON_AXE_HATCHET]
[WEAPON:ITEM_WEAPON_HAMMER_WAR]
[WEAPON:ITEM_WEAPON_SWORD_SABER]
[WEAPON:ITEM_WEAPON_SPEAR]
[WEAPON:ITEM_WEAPON_MACE]
[WEAPON:ITEM_WEAPON_RIFLE]
[AMMO:ITEM_AMMO_BULLETS]
[WEAPON:ITEM_WEAPON_MAUL]
[WEAPON:ITEM_WEAPON_AXE_GREAT]
[WEAPON:ITEM_WEAPON_MORNINGSTAR]
[GLOVES:ITEM_GLOVES_GAUNTLETS:COMMON]
[ARMOR:ITEM_ARMOR_PLATEMAIL:COMMON]
[ARMOR:ITEM_ARMOR_CHAINMAIL:COMMON]
[ARMOR:ITEM_ARMOR_LEATHER:COMMON]
[ARMOR:ITEM_ARMOR_GREATCOAT:COMMON]
[ARMOR:ITEM_ARMOR_SHIRT:COMMON]
[ARMOR:ITEM_ARMOR_CLOAK:COMMON]
[ARMOR:ITEM_ARMOR_TUNIC:COMMON]
[PANTS:ITEM_PANTS_GREAVES:COMMON]
[PANTS:ITEM_PANTS_LEGGINGS:COMMON]
[HELM:ITEM_HELM_BUDENOVKA:COMMON]
[HELM:ITEM_HELM_USHANKA:COMMON]
[HELM:ITEM_HELM_PEAKEDCAP:COMMON]
[HELM:ITEM_HELM_HELMET:COMMON]
[GLOVES:ITEM_GLOVES_GLOVES:COMMON]
[GLOVES:ITEM_GLOVES_MITTENS:COMMON]
[SHOES:ITEM_SHOES_SHOES:COMMON]
[SHOES:ITEM_SHOES_BOOTS:COMMON]
[SHOES:ITEM_SHOES_BOOTS_LOW:COMMON]
[SHOES:ITEM_SHOES_SOCKS:COMMON]
[PANTS:ITEM_PANTS_PANTS:COMMON]
[SHIELD:ITEM_SHIELD_SHIELD]
[SIEGEAMMO:ITEM_SIEGEAMMO_BALLISTA]
[METAL_PREF]
[TOY:ITEM_TOY_PUZZLEBOX]
[TOY:ITEM_TOY_BOAT]
[TOY:ITEM_TOY_HAMMER]
[TOY:ITEM_TOY_AXE]
[INSTRUMENT:ITEM_INSTRUMENT_TRUMPET]
[INSTRUMENT:ITEM_INSTRUMENT_DRUM]
[CLOTHING]
[CURRENCY:COPPER:1]
[CURRENCY:SILVER:5]
[CURRENCY:GOLD:15]
[SELECT_SYMBOL:WAR:NAME_WAR]
[SUBSELECT_SYMBOL:WAR:VIOLENT]
[SELECT_SYMBOL:BATTLE:NAME_BATTLE]
[SUBSELECT_SYMBOL:BATTLE:VIOLENT]
[SELECT_SYMBOL:SIEGE:NAME_SIEGE]
[SUBSELECT_SYMBOL:SIEGE:VIOLENT]
[SELECT_SYMBOL:VIOLENT:NAME_ROAD]
[SELECT_SYMBOL:TUNNEL:NAME_TUNNEL]
[SELECT_SYMBOL:LEADER:NAME_BRIDGE]
[SELECT_SYMBOL:PROTECT:NAME_WALL]
[CULL_SYMBOL:ALL:SUBORDINATE]
[CULL_SYMBOL:ALL:FLOWERY]
[CULL_SYMBOL:ALL:MAGIC]
[CULL_SYMBOL:ALL:NATURE]
[CULL_SYMBOL:ALL:PEACE]
[CULL_SYMBOL:ALL:MYTHIC]
[SELECT_SYMBOL:VIOLENT:NAME_ENTITY_KINGDOM]
[SELECT_SYMBOL:VIOLENT:NAME_ENTITY_TOWN_FOUNDER]
[RIVER_PRODUCTS]
[OCEAN_PRODUCTS]
[OUTDOOR_FARMING]
[USE_ANIMAL_PRODUCTS]
[COMMON_DOMESTIC_PACK]
[COMMON_DOMESTIC_PULL]
[COMMON_DOMESTIC_MOUNT]
[COMMON_DOMESTIC_PET]
[USE_MISC_PROCESSED_WOOD_PRODUCTS]
[EQUIPMENT_IMPROVEMENTS]
[SPHERE_ALIGNMENT:WAR:812]
[ART_FACET_MODIFIER:LABOR:740]
[ART_FACET_MODIFIER:METALS:612]
[FRIENDLY_COLOR:7:0:1]
[UNDEAD_CANDIDATE]
[DEFAULT_SITE_TYPE:CITY]
[LIKES_SITE:CITY]
[TOLERATES_SITE:CITY]
[TOLERATES_SITE:TREE_CITY]
[TOLERATES_SITE:CAVE_DETAILED]
[CAN_HAVE_MILITARY_SITE_LEADER]
[START_BIOME:ANY_FOREST]
[START_BIOME:ANY_RIVER]
[START_BIOME:ANY_GRASSLAND]
[BIOME_SUPPORT:ANY_WETLAND:1]
[BIOME_SUPPORT:TUNDRA:1]
[BIOME_SUPPORT:ANY_OCEAN:3]
[BIOME_SUPPORT:ANY_LAKE:3]
[BIOME_SUPPORT:FOREST_TAIGA:3]
[BIOME_SUPPORT:ANY_FOREST:2]
[BIOME_SUPPORT:ANY_GRASSLAND:2]
[BIOME_SUPPORT:ANY_RIVER:1]
[DIPLOMAT_BODYGUARDS]
[MERCHANT_BODYGUARDS]
[PROGRESS_TRIGGER_TRADE:1]
[ACTIVE_SEASON:WINTER]
[SIEGER]
[MAX_STARTING_CIV_NUMBER:100]
[START_GROUP_NUMBER:10]
[MAX_POP_NUMBER:10000]
[MAX_SITE_POP_NUMBER:120]
[RELIGION:PANTHEON]
[SCOUT]
[PERMITTED_JOB:MINER]
[PERMITTED_JOB:CARPENTER]
[PERMITTED_JOB:BOWYER]
[PERMITTED_JOB:WOODCUTTER]
[PERMITTED_JOB:ENGRAVER]
[PERMITTED_JOB:MASON]
[PERMITTED_JOB:ANIMAL_CARETAKER]
[PERMITTED_JOB:ANIMAL_TRAINER]
[PERMITTED_JOB:HUNTER]
[PERMITTED_JOB:TRAPPER]
[PERMITTED_JOB:ANIMAL_DISSECTOR]
[PERMITTED_JOB:FURNACE_OPERATOR]
[PERMITTED_JOB:WEAPONSMITH]
[PERMITTED_JOB:ARMORER]
[PERMITTED_JOB:BLACKSMITH]
[PERMITTED_JOB:METALCRAFTER]
[PERMITTED_JOB:GEM_CUTTER]
[PERMITTED_JOB:GEM_SETTER]
[PERMITTED_JOB:WOODCRAFTER]
[PERMITTED_JOB:STONECRAFTER]
[PERMITTED_JOB:LEATHERWORKER]
[PERMITTED_JOB:BONE_CARVER]
[PERMITTED_JOB:WEAVER]
[PERMITTED_JOB:CLOTHIER]
[PERMITTED_JOB:GLASSMAKER]
[PERMITTED_JOB:FISHERMAN]
[PERMITTED_JOB:FISH_DISSECTOR]
[PERMITTED_JOB:FISH_CLEANER]
[PERMITTED_JOB:CHEESE_MAKER]
[PERMITTED_JOB:MILKER]
[PERMITTED_JOB:COOK]
[PERMITTED_JOB:THRESHER]
[PERMITTED_JOB:MILLER]
[PERMITTED_JOB:BUTCHER]
[PERMITTED_JOB:TANNER]
[PERMITTED_JOB:DYER]
[PERMITTED_JOB:PLANTER]
[PERMITTED_JOB:HERBALIST]
[PERMITTED_JOB:BREWER]
[PERMITTED_JOB:SOAP_MAKER]
[PERMITTED_JOB:POTASH_MAKER]
[PERMITTED_JOB:LYE_MAKER]
[PERMITTED_JOB:WOOD_BURNER]
[PERMITTED_JOB:MECHANIC]
[PERMITTED_JOB:SIEGE_ENGINEER]
[PERMITTED_JOB:SIEGE_OPERATOR]
[PERMITTED_JOB:PUMP_OPERATOR]
[PERMITTED_JOB:CLERK]
[PERMITTED_JOB:ADMINISTRATOR]
[PERMITTED_JOB:TRADER]
[PERMITTED_JOB:ARCHITECT]
[WORLD_CONSTRUCTION:WALL]
[WORLD_CONSTRUCTION:BRIDGE]
[WORLD_CONSTRUCTION:ROAD]
[ETHIC:KILL_ENTITY_MEMBER:JUSTIFIED_IN_SELF_DEFENCE]
[ETHIC:KILL_NEUTRAL:ACCEPTABLE]
[ETHIC:KILL_ENEMY:ACCEPTABLE]
[ETHIC:KILL_ANIMAL:ACCEPTABLE]
[ETHIC:KILL_PLANT:ACCEPTABLE]
[ETHIC:TORTURE_AS_EXAMPLE:ACCEPTABLE]
[ETHIC:TORTURE_FOR_INFORMATION:ACCEPTABLE]
[ETHIC:TORTURE_FOR_FUN:PERSONAL_MATTER]
[ETHIC:TORTURE_ANIMALS:PERSONAL_MATTER]
[ETHIC:TREASON:PUNISH_CAPITAL]
[ETHIC:OATH_BREAKING:PUNISH_EXILE]
[ETHIC:LYING:PERSONAL_MATTER]
[ETHIC:VANDALISM:PUNISH_REPRIMAND]
[ETHIC:TRESPASSING:PUNISH_REPRIMAND]
[ETHIC:THEFT:PUNISH_REPRIMAND]
[ETHIC:ASSAULT:PUNISH_SERIOUS]
[ETHIC:SLAVERY:SHUN]
[ETHIC:EAT_SAPIENT_OTHER:JUSTIFIED_IF_EXTREME_REASON]
[ETHIC:EAT_SAPIENT_KILL:JUSTIFIED_IF_EXTREME_REASON]
[ETHIC:MAKE_TROPHY_SAME_RACE:SHUN]
[ETHIC:MAKE_TROPHY_SAPIENT:ACCEPTABLE]
[ETHIC:MAKE_TROPHY_ANIMAL:ACCEPTABLE]
Logged
Diamonds are combustable, because they are made of Carbon.

Sean Mirrsen

  • Bay Watcher
  • Bearer of the Psionic Flame
    • View Profile
Re: New ranged weapon and ammo, but no ammo for hunters?
« Reply #5 on: January 15, 2009, 04:45:42 pm »

[RANGED:CROSSBOW:BULLETS]

[CLASS:BULLET]

I made that error several dozen times. :)
Logged
Multiworld Madness Archive:
Game One, Discontinued at World 3.
Game Two, Discontinued at World 1.

"Europe has to grow out of the mindset that Europe's problems are the world's problems, but the world's problems are not Europe's problems."
- Subrahmanyam Jaishankar, Minister of External Affairs, India

Gunner-Chan

  • Bay Watcher
  • << IT'S TIME >>
    • View Profile
Re: New ranged weapon and ammo, but no ammo for hunters?
« Reply #6 on: January 15, 2009, 05:26:31 pm »

Aw, god damn it. Thanks much.


Edit: And just tested, they now spawn with 38-45 bullets each. Awesome. Also ended up with a weird small world where all thats left are 2 human civs and a hell of a lot of goblins. It's also the age of the Bronze colossus... Scary.
« Last Edit: January 15, 2009, 05:38:35 pm by Sniper Joe »
Logged
Diamonds are combustable, because they are made of Carbon.

NewMartianEmperor

  • Bay Watcher
  • I would rather have Asimov be right.....
    • View Profile
Re: New ranged weapon and ammo, but no ammo for hunters?
« Reply #7 on: January 15, 2009, 09:08:04 pm »

Show them goblins what Dwarvern rifles can do!
Logged
*Has learned to despise the windows 7 beta within half-a-day* *It's still better then vista, though* *Wants to mod in a race of giant robots, but can't be bothered*

Gunner-Chan

  • Bay Watcher
  • << IT'S TIME >>
    • View Profile
Re: New ranged weapon and ammo, but no ammo for hunters?
« Reply #8 on: January 15, 2009, 09:44:51 pm »

I sure hope you don't mean that world I just talked about... All the dwarves are dead there.
Logged
Diamonds are combustable, because they are made of Carbon.

Smitehappy

  • Bay Watcher
    • View Profile
Re: New ranged weapon and ammo, but no ammo for hunters?
« Reply #9 on: January 15, 2009, 11:52:58 pm »

I sure hope you don't mean that world I just talked about... All the dwarves are dead there.

This is DF, you're letting a little thing like mass genocide of the dwarven race get in your way?
Logged
Interestingly, Armok's name actually originates from arm_ok, a variable in one of Toady's earlier games that kept track of how many of your arms weren't missing.

Moddington

  • Bay Watcher
  • Minister of Silly Walks
    • View Profile
Re: New ranged weapon and ammo, but no ammo for hunters?
« Reply #10 on: January 15, 2009, 11:57:22 pm »

All the dwarves are dead?  Quick!  Start a new fort and rebuild the dwarven race from the seven dwarves you start with!
It'll be epic!
Logged

Gunner-Chan

  • Bay Watcher
  • << IT'S TIME >>
    • View Profile
Re: New ranged weapon and ammo, but no ammo for hunters?
« Reply #11 on: January 16, 2009, 02:26:53 am »

Well, I would but the dwarves don't have CIV_CONTROLABLE on them. XD



I made a human adventurer and assaulted as many towers as I could though. Their armor was no match for hot lead and their civilians were no match for the cold steel of a bayonet.  ;D
Logged
Diamonds are combustable, because they are made of Carbon.

NewMartianEmperor

  • Bay Watcher
  • I would rather have Asimov be right.....
    • View Profile
Re: New ranged weapon and ammo, but no ammo for hunters?
« Reply #12 on: January 16, 2009, 03:32:20 am »

Hoorah! Now, all we need are cannons!
Logged
*Has learned to despise the windows 7 beta within half-a-day* *It's still better then vista, though* *Wants to mod in a race of giant robots, but can't be bothered*