Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Modded in ranged weapon  (Read 1432 times)

Huesoo

  • Bay Watcher
  • Like yeah dude
    • View Profile
Modded in ranged weapon
« on: November 20, 2009, 04:24:02 pm »

If I want to make crossbowdwarves use a modded in ranged weapon what do i want to change?
Logged
BOTTLED MESSAGE BE AFLOAT

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Modded in ranged weapon
« Reply #1 on: November 20, 2009, 09:21:29 pm »

Make this weapon and make it a crossbow type weapon.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Huesoo

  • Bay Watcher
  • Like yeah dude
    • View Profile
Re: Modded in ranged weapon
« Reply #2 on: November 21, 2009, 10:03:26 am »

How? Also is it possible for dwarves to have 2 ranged weapons and fire them at the same time?
« Last Edit: November 21, 2009, 10:07:41 am by Huesoo »
Logged
BOTTLED MESSAGE BE AFLOAT

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Modded in ranged weapon
« Reply #3 on: November 21, 2009, 11:06:26 am »

No it's not possible.

How? Copy the crossbow in item_weapon.txt, change the name and ID. Add it under crossbow in entity_default.txt to dwarves.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Huesoo

  • Bay Watcher
  • Like yeah dude
    • View Profile
Re: Modded in ranged weapon
« Reply #4 on: November 21, 2009, 11:18:07 am »

Well I spawned the world and I cant play adventure mode (I took civ control out of dwarves then added indiv) and I notice there not using the ammo(bullets) instead I have a hammer lord with a revolver instead of his hammer and i want to change the crossbow dwarf to something else is there some way i can do it?
Logged
BOTTLED MESSAGE BE AFLOAT

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Modded in ranged weapon
« Reply #5 on: November 21, 2009, 01:35:37 pm »

Please be more specific (i.e. raws).
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Huesoo

  • Bay Watcher
  • Like yeah dude
    • View Profile
Re: Modded in ranged weapon
« Reply #6 on: November 21, 2009, 02:21:15 pm »

Here:


[ENTITY:PLAINS]
   [CIV_CONTROLLABLE]
   [CREATURE:HUMAN]
   [trANSLATION:HUMAN]
   [DIGGER:ITEM_WEAPON_PICK]
   [WEAPON:ITEM_WEAPON_GATANA]
   [WEAPON:ITEM_WEAPON_REVOLVER]
      [AMMO:ITEM_AMMO_BULLETS]
   [ARMOR:ITEM_ARMOR_PLATEMAIL:COMMON]
   [ARMOR:ITEM_ARMOR_CHAINMAIL:COMMON]
   [ARMOR:ITEM_ARMOR_LEATHER:COMMON]
   [ARMOR:ITEM_ARMOR_COAT:COMMON]
   [ARMOR:ITEM_ARMOR_SHIRT:COMMON]
   [ARMOR:ITEM_ARMOR_CLOAK:COMMON]
   [ARMOR:ITEM_ARMOR_TUNIC:COMMON]
   [ARMOR:ITEM_ARMOR_TOGA:UNCOMMON]
   [ARMOR:ITEM_ARMOR_CAPE:COMMON]
   [ARMOR:ITEM_ARMOR_VEST:COMMON]
   [ARMOR:ITEM_ARMOR_DRESS:COMMON]
   [ARMOR:ITEM_ARMOR_ROBE:COMMON]
   [HELM:ITEM_HELM_HELM:COMMON]
   [HELM:ITEM_HELM_CAP:COMMON]
   [HELM:ITEM_HELM_HOOD:COMMON]
   [HELM:ITEM_HELM_TURBAN:UNCOMMON]
   [HELM:ITEM_HELM_MASK:RARE]
   [HELM:ITEM_HELM_VEIL_HEAD:UNCOMMON]
   [HELM:ITEM_HELM_VEIL_FACE:RARE]
   [HELM:ITEM_HELM_SCARF_HEAD:UNCOMMON]
   [GLOVES:ITEM_GLOVES_GAUNTLETS: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_SANDAL:COMMON]
   [SHOES:ITEM_SHOES_CHAUSSE:UNCOMMON]
   [SHOES:ITEM_SHOES_SOCKS:COMMON]
   [PANTS:ITEM_PANTS_PANTS:COMMON]
   [PANTS:ITEM_PANTS_GREAVES:COMMON]
   [PANTS:ITEM_PANTS_LEGGINGS:COMMON]
   [PANTS:ITEM_PANTS_LOINCLOTH:COMMON]
   [PANTS:ITEM_PANTS_THONG:UNCOMMON]
   [PANTS:ITEM_PANTS_SKIRT:COMMON]
   [PANTS:ITEM_PANTS_SKIRT_SHORT:COMMON]
   [PANTS:ITEM_PANTS_SKIRT_LONG:COMMON]
   [PANTS:ITEM_PANTS_BRAIES:UNCOMMON]
   [SHIELD:ITEM_SHIELD_SHIELD]
   [SHIELD:ITEM_SHIELD_BUCKLER]
   [SIEGEAMMO:ITEM_SIEGEAMMO_BALLISTA]
   [TOY:ITEM_TOY_PUZZLEBOX]
   [TOY:ITEM_TOY_BOAT]
   [TOY:ITEM_TOY_HAMMER]
   [TOY:ITEM_TOY_AXE]
   [INSTRUMENT:ITEM_INSTRUMENT_FLUTE]
   [INSTRUMENT:ITEM_INSTRUMENT_TRUMPET]
   [INSTRUMENT:ITEM_INSTRUMENT_HARP]
   [INSTRUMENT:ITEM_INSTRUMENT_DRUM]
   [INSTRUMENT:ITEM_INSTRUMENT_PICCOLO]
   [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:ROAD:NAME_ROAD]
   [SELECT_SYMBOL:TUNNEL:NAME_TUNNEL]
   [SELECT_SYMBOL:BRIDGE:NAME_BRIDGE]
   [SELECT_SYMBOL:WALL:NAME_WALL]
   [CULL_SYMBOL:ALL:SUBORDINATE]
   [CULL_SYMBOL:ALL:UNTOWARD]
   [CULL_SYMBOL:ALL:NEGATIVE]
   [CULL_SYMBOL:ALL:UGLY]
   [CULL_SYMBOL:ALL:NEGATOR]
   [SELECT_SYMBOL:CIV:NAME_ENTITY_KINGDOM]
   [SELECT_SYMBOL:SITE: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:512]
   [ART_FACET_MODIFIER:FANCIFUL:640]
   [ART_FACET_MODIFIER:OWN_RACE:512]
   [ADVENTURE_TIER:1]
   [FRIENDLY_COLOR:7:0:1]
   [UNDEAD_CANDIDATE]
   [DEFAULT_SITE_TYPE:CITY]
   [liKES_SITE:CITY]
   [TOLERATES_SITE:CITY]
   [TOLERATES_SITE:CAVE_DETAILED]
   [CAN_HAVE_MILITARY_SITE_LEADER]
   [START_BIOME:ANY_GRASSLAND]
   [START_BIOME:ANY_SAVANNA]
   [START_BIOME:ANY_SHRUBLAND]
   [BIOME_SUPPORT:ANY_WETLAND:1]
   [BIOME_SUPPORT:ANY_DESERT:1]
   [BIOME_SUPPORT:ANY_FOREST:2]
   [BIOME_SUPPORT:ANY_OCEAN:3]
   [BIOME_SUPPORT:ANY_LAKE:3]
   [BIOME_SUPPORT:ANY_GRASSLAND:3]
   [BIOME_SUPPORT:ANY_SAVANNA:2]
   [BIOME_SUPPORT:ANY_SHRUBLAND:2]
   [BIOME_SUPPORT:ANY_RIVER:1]
   [DIPLOMAT]
   [MERCHANT_NOBILITY]
   [DIPLOMAT_BODYGUARDS]
   [MERCHANT_BODYGUARDS]
   [PROGRESS_TRIGGER_TRADE:1]
   [ACTIVE_SEASON:SUMMER]
   [SIEGER]
   [MAX_STARTING_CIV_NUMBER:100]
   [START_GROUP_NUMBER:10]
   [MAX_POP_NUMBER:10000]
   [MAX_SITE_POP_NUMBER:120]
   [RELIGION:PANTHEON]
   [WANDERER]
   [BEAST_HUNTER]
   [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:MECHANIC]
   [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_IF_GOOD_REASON]
   [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:APPALLING]
   [ETHIC:TORTURE_ANIMALS:SHUN]
   [ETHIC:TREASON:PUNISH_CAPITAL]
   [ETHIC:OATH_BREAKING:PUNISH_CAPITAL]
   [ETHIC:LYING:PERSONAL_MATTER]
   [ETHIC:VANDALISM:PUNISH_SERIOUS]
   [ETHIC:TRESPASSING:PUNISH_SERIOUS]
   [ETHIC:THEFT:PUNISH_SERIOUS]
   [ETHIC:ASSAULT:PUNISH_SERIOUS]
   [ETHIC:SLAVERY:ACCEPTABLE]
   [ETHIC:EAT_SAPIENT_OTHER:UNTHINKABLE]
   [ETHIC:EAT_SAPIENT_KILL:UNTHINKABLE]
   [ETHIC:MAKE_TROPHY_SAME_RACE:ACCEPTABLE]
   [ETHIC:MAKE_TROPHY_SAPIENT:ACCEPTABLE]
   [ETHIC:MAKE_TROPHY_ANIMAL:ACCEPTABLE]
   [WILL_ACCEPT_TRIBUTE]


[ENTITY:MOUNTAIN]
   [CREATURE:DWARF]
   [trANSLATION:DWARF]
        [INDIV_CONTROLLABLE]
   [DIGGER:ITEM_WEAPON_PICK]
   [WEAPON:ITEM_WEAPON_AXE_BATTLE]
   [WEAPON:ITEM_WEAPON_HAMMER_WAR]
   [WEAPON:ITEM_WEAPON_SWORD_SHORT]
   [WEAPON:ITEM_WEAPON_SPEAR]
   [WEAPON:ITEM_WEAPON_MACE]
   [WEAPON:ITEM_WEAPON_CROSSBOW]
      [AMMO:ITEM_AMMO_BOLTS]
   [ARMOR:ITEM_ARMOR_PLATEMAIL:COMMON]
   [ARMOR:ITEM_ARMOR_CHAINMAIL:COMMON]
   [ARMOR:ITEM_ARMOR_LEATHER:COMMON]
   [ARMOR:ITEM_ARMOR_COAT:COMMON]
   [ARMOR:ITEM_ARMOR_SHIRT:COMMON]
   [ARMOR:ITEM_ARMOR_CLOAK:COMMON]
   [ARMOR:ITEM_ARMOR_TUNIC:COMMON]
   [ARMOR:ITEM_ARMOR_TOGA:UNCOMMON]
   [ARMOR:ITEM_ARMOR_VEST:COMMON]
   [ARMOR:ITEM_ARMOR_DRESS:COMMON]
   [ARMOR:ITEM_ARMOR_ROBE:COMMON]
   [HELM:ITEM_HELM_HELM:COMMON]
   [HELM:ITEM_HELM_CAP:COMMON]
   [HELM:ITEM_HELM_HOOD:COMMON]
   [GLOVES:ITEM_GLOVES_GAUNTLETS: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]
   [PANTS:ITEM_PANTS_GREAVES:COMMON]
   [PANTS:ITEM_PANTS_LEGGINGS:COMMON]
   [SHIELD:ITEM_SHIELD_SHIELD]
   [SHIELD:ITEM_SHIELD_BUCKLER]
   [SIEGEAMMO:ITEM_SIEGEAMMO_BALLISTA]
   [trAPCOMP:ITEM_TRAPCOMP_GIANTAXEBLADE]
   [trAPCOMP:ITEM_TRAPCOMP_ENORMOUSCORKSCREW]
   [trAPCOMP:ITEM_TRAPCOMP_SPIKEDBALL]
   [trAPCOMP:ITEM_TRAPCOMP_LARGESERRATEDDISC]
   [trAPCOMP:ITEM_TRAPCOMP_MENACINGSPIKE]
   [TOY:ITEM_TOY_PUZZLEBOX]
   [TOY:ITEM_TOY_BOAT]
   [TOY:ITEM_TOY_HAMMER]
   [TOY:ITEM_TOY_AXE]
   [TOY:ITEM_TOY_MINIFORGE]
   [INSTRUMENT:ITEM_INSTRUMENT_FLUTE]
   [INSTRUMENT:ITEM_INSTRUMENT_TRUMPET]
   [INSTRUMENT:ITEM_INSTRUMENT_HARP]
   [INSTRUMENT:ITEM_INSTRUMENT_DRUM]
   [INSTRUMENT:ITEM_INSTRUMENT_PICCOLO]
   [CLOTHING]
   [SUBTERRANEAN_CLOTHING]
   [CURRENCY_BY_YEAR]
   [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:ROAD:NAME_ROAD]
   [SELECT_SYMBOL:TUNNEL:NAME_TUNNEL]
   [SELECT_SYMBOL:BRIDGE:NAME_BRIDGE]
   [SELECT_SYMBOL:WALL:NAME_WALL]
   [SELECT_SYMBOL:REMAINING:ARTIFICE]
   [SELECT_SYMBOL:REMAINING:EARTH]
   [CULL_SYMBOL:ALL:DOMESTIC]
   [CULL_SYMBOL:ALL:SUBORDINATE]
   [CULL_SYMBOL:ALL:EVIL]
   [CULL_SYMBOL:ALL:UNTOWARD]
   [CULL_SYMBOL:ALL:FLOWERY]
   [CULL_SYMBOL:ALL:NEGATIVE]
   [CULL_SYMBOL:ALL:UGLY]
   [CULL_SYMBOL:ALL:NEGATOR]
   [METAL_PREF]
   [GEM_PREF]
   [STONE_PREF]
   [INDOOR_FARMING]
   [USE_CAVE_ANIMALS]
   [USE_ANIMAL_PRODUCTS]
   [COMMON_DOMESTIC_PACK]
   [COMMON_DOMESTIC_PULL]
   [COMMON_DOMESTIC_MOUNT]
   [COMMON_DOMESTIC_PET]
   [USE_MISC_PROCESSED_WOOD_PRODUCTS]
   [EQUIPMENT_IMPROVEMENTS]
   [ART_IMAGE_ELEMENT_MODIFIER:PLANT:64]
   [ART_IMAGE_ELEMENT_MODIFIER:TREE:64]
   [ITEM_IMPROVEMENT_MODIFIER:RINGS_HANGING:64]
   [ITEM_IMPROVEMENT_MODIFIER:BANDS:384]
   [ITEM_IMPROVEMENT_MODIFIER:SPIKES:384]
   [ADVENTURE_TIER:3]
   [FRIENDLY_COLOR:1:0:1]
   [DEFAULT_SITE_TYPE:CAVE_DETAILED]
   [liKES_SITE:CAVE_DETAILED]
   [TOLERATES_SITE:CITY]
   [TOLERATES_SITE:TREE_CITY]
   [TOLERATES_SITE:CAVE_DETAILED]
   [LEADER_TYPE:KING]
   [SITE_LEADER_TYPE:STANDARD]
   [START_BIOME:MOUNTAIN]
   [BIOME_SUPPORT:ANY_FOREST:1]
   [BIOME_SUPPORT:MOUNTAIN:3]
   [BIOME_SUPPORT:ANY_GRASSLAND:1]
   [BIOME_SUPPORT:ANY_SAVANNA:1]
   [BIOME_SUPPORT:ANY_SHRUBLAND:1]
   [BIOME_SUPPORT:ANY_RIVER:1]
   [DIPLOMAT]
   [DIPLOMAT_BODYGUARDS]
   [MERCHANT_BODYGUARDS]
   [ACTIVE_SEASON:AUTUMN]
   [SIEGER]
   [MAX_STARTING_CIV_NUMBER:100]
   [START_GROUP_NUMBER:10]
   [MAX_POP_NUMBER:10000]
   [MAX_SITE_POP_NUMBER:120]
   [RELIGION:PANTHEON]
   [RELIGION_SPHERE:FORTRESSES]
   [RELIGION_SPHERE:JEWELS]
   [RELIGION_SPHERE:METALS]
   [RELIGION_SPHERE:MINERALS]
   [RELIGION_SPHERE:MOUNTAINS]
   [RELIGION_SPHERE:WEALTH]
   [MAYOR]
   [WANDERER]
   [BEAST_HUNTER]
   [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:STRAND_EXTRACTOR]
   [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:TUNNEL]
   [WORLD_CONSTRUCTION:BRIDGE]
   [WORLD_CONSTRUCTION:ROAD]
   [ETHIC:KILL_ENTITY_MEMBER:PUNISH_CAPITAL]
   [ETHIC:KILL_NEUTRAL:ONLY_IF_SANCTIONED]
   [ETHIC:KILL_ENEMY:ACCEPTABLE]
   [ETHIC:KILL_ANIMAL:ACCEPTABLE]
   [ETHIC:KILL_PLANT:ACCEPTABLE]
   [ETHIC:TORTURE_AS_EXAMPLE:UNTHINKABLE]
   [ETHIC:TORTURE_FOR_INFORMATION:UNTHINKABLE]
   [ETHIC:TORTURE_FOR_FUN:UNTHINKABLE]
   [ETHIC:TORTURE_ANIMALS:UNTHINKABLE]
   [ETHIC:TREASON:PUNISH_CAPITAL]
   [ETHIC:OATH_BREAKING:PUNISH_CAPITAL]
   [ETHIC:LYING:PERSONAL_MATTER]
   [ETHIC:VANDALISM:PUNISH_SERIOUS]
   [ETHIC:TRESPASSING:PUNISH_SERIOUS]
   [ETHIC:THEFT:PUNISH_SERIOUS]
   [ETHIC:ASSAULT:PUNISH_SERIOUS]
   [ETHIC:SLAVERY:PUNISH_CAPITAL]
   [ETHIC:EAT_SAPIENT_OTHER:UNTHINKABLE]
   [ETHIC:EAT_SAPIENT_KILL:UNTHINKABLE]
   [ETHIC:MAKE_TROPHY_SAME_RACE:APPALLING]
   [ETHIC:MAKE_TROPHY_SAPIENT:SHUN]
   [ETHIC:MAKE_TROPHY_ANIMAL:ACCEPTABLE]
   [WILL_ACCEPT_TRIBUTE]

[ITEM_AMMO:ITEM_AMMO_BULLETS]
[NAME:bullet:bullets]
[CLASS:BULLET]
[DAMAGE:120:PIERCE]

[ITEM_WEAPON:ITEM_WEAPON_REVOLVER]
[NAME:revolver:revolvers]
[DAMAGE:40:BLUDGEON]
[WEIGHT:5]
[SKILL:HAMMER]
[RANGED:REVOLVER:BULLET]
[TWO_HANDED:0]
[MINIMUM_SIZE:3]
[MATERIAL_SIZE:2]
« Last Edit: November 21, 2009, 02:22:46 pm by Huesoo »
Logged
BOTTLED MESSAGE BE AFLOAT

Strange guy

  • Bay Watcher
  • Strangely normal
    • View Profile
    • Steam ID
Re: Modded in ranged weapon
« Reply #7 on: November 21, 2009, 08:01:53 pm »

Code: [Select]
[ITEM_WEAPON:ITEM_WEAPON_REVOLVER]
[NAME:revolver:revolvers]
[DAMAGE:40:BLUDGEON]
[WEIGHT:5]
[SKILL:HAMMER]
[RANGED:CROSSBOW:BULLET]
[TWO_HANDED:0]
[MINIMUM_SIZE:3]
[MATERIAL_SIZE:2]
You see where I put CROSSBOW instead of REVOLVER? That bit is the skill the weapon uses when firing ammunition. There is no such skill as REVOLVER so the game considers it a hammer. Make that change and the game will consider it a ranged weapon istead.
Logged

Huesoo

  • Bay Watcher
  • Like yeah dude
    • View Profile
Re: Modded in ranged weapon
« Reply #8 on: November 22, 2009, 11:16:46 am »

Also what do i do if i want to change the crossbowdwarf to something else?
Logged
BOTTLED MESSAGE BE AFLOAT

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Modded in ranged weapon
« Reply #9 on: November 22, 2009, 11:34:11 am »

In creature_standard.txt under dwarf change marksdwarf:marksdwarves to something else.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Huesoo

  • Bay Watcher
  • Like yeah dude
    • View Profile
Re: Modded in ranged weapon
« Reply #10 on: November 22, 2009, 12:26:14 pm »

thanks i got it now. ;D
Logged
BOTTLED MESSAGE BE AFLOAT