Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: New Civs,Animals,Beasts, & Weapons  (Read 1059 times)

x2yzh9

  • Bay Watcher
    • View Profile
New Civs,Animals,Beasts, & Weapons
« on: November 19, 2009, 05:28:45 pm »

I'd like to know how to mod in custom ones of each of these, and what each of the various tags do.

3

  • Bay Watcher
    • View Profile
Re: New Civs,Animals,Beasts, & Weapons
« Reply #1 on: November 19, 2009, 05:35:05 pm »

This'll help, as will reading/experimenting with the existing raws.
Logged

x2yzh9

  • Bay Watcher
    • View Profile
Re: New Civs,Animals,Beasts, & Weapons
« Reply #2 on: November 21, 2009, 02:23:48 am »

Well, i just want to make sure before i finish up this M1A4

(Under reaction_zombie ,Part of the zombie total conversion mod since it adds SMGs, pistols, air rifles, etc.

[REACTION:MAKE_M1A4]
[NAME:make M1A4]
[SMELTER]
[REAGENT:1:BAR:NO_SUBTYPE:METAL:NO_MATGLOSS]
[REAGENT:1:WEAPON:ITEM_WEAPON_MOLD_SHOT:METAL:NO_MATGLOSS]
[PRODUCT:100:1:WEAPON:ITEM_WEAPON_M1A4:METAL:BULLET]

The bullets for this weapon will be stored in a quiver.

(Under item_weapon)

[ITEM_WEAPON:ITEM_WEAPON_M1A4]
[NAME:M1A4:M1A4s]
[DAMAGE:200:PIERCING]
[WEIGHT:60]
[SKILL:HAMMER]
[RANGED:CROSSBOW:SMGROUND]
[TWO_HANDED:6]
[MINIMUM_SIZE:7]
[MATERIAL_SIZE:3]

Is there any errors? Just getting some feedback.

3

  • Bay Watcher
    • View Profile
Re: New Civs,Animals,Beasts, & Weapons
« Reply #3 on: November 21, 2009, 02:32:06 am »

Is BULLET a metal matgloss? If it isn't, where BULLET is now needs to be a metal type.

Other than that, it looks fine - MINIMUM_SIZE:7 will make it unusable by the default dwarfs though, not sure which races you're planning on using. I assume TWO_HANDED is lower than MINIMUM_SIZE because you want it to always be two-handed in melee.
Logged

x2yzh9

  • Bay Watcher
    • View Profile
Re: New Civs,Animals,Beasts, & Weapons
« Reply #4 on: November 21, 2009, 02:37:32 am »

Well-
Its going to be used by the military, one of the custom civs in the game[M1A4..Military? Yeah, heh.] BULLET is used elsewhere, so i'm pretty sure itll be good. Also, heres the stuff for the military civ so i can make sure they will produce it so i can spawn w/ it.

(From entity_default)

[ENTITY:MOUNTAIN]
   [CIV_CONTROLLABLE]
   [INDIV_CONTROLLABLE]
   [CREATURE:MILITARY]
   [trANSLATION:HUMAN]
   [DIGGER:ITEM_WEAPON_JACKHAMMER]
   [WEAPON:ITEM_WEAPON_AXE_CHAINSAW]
   [WEAPON:ITEM_WEAPON_MACHETE]
   [WEAPON:ITEM_WEAPON_SMG_PARTS]
   [WEAPON:ITEM_WEAPON_PISTOL_PARTS]
   [WEAPON:ITEM_WEAPON_SNIPER_PARTS]
   [WEAPON:ITEM_WEAPON_M1A4]
      [AMMO:ITEM_AMMO_SMGROUND
   [WEAPON:ITEM_WEAPON_AIR]
      [AMMO:ITEM_AMMO_PELLET]
   [WEAPON:ITEM_WEAPON_PISTOL]
   [WEAPON:ITEM_WEAPON_MOLD_SMG]
   [WEAPON:ITEM_WEAPON_MOLD_SNIPER]
   [WEAPON:ITEM_WEAPON_MOLD_PISTOL]
   [WEAPON:ITEM_WEAPON_REACTOR_P]
   [ARMOR:ITEM_ARMOR_PLATEMAIL:COMMON]
   [ARMOR:ITEM_ARMOR_CHAINMAIL:COMMON]
   [ARMOR:ITEM_ARMOR_LEATHER:COMMON]
   [ARMOR:ITEM_ARMOR_FATIGUE:COMMON]
   [ARMOR:ITEM_ARMOR_SHIRT:COMMON]
   [ARMOR:ITEM_ARMOR_CLOAK:COMMON]
   [ARMOR:ITEM_ARMOR_CAPE:COMMON]
   [ARMOR:ITEM_ARMOR_VEST:UNCOMMON]
   [ARMOR:ITEM_ARMOR_DRESS:UNCOMMON]
   [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:UNCOMMON]
   [SHOES:ITEM_SHOES_BOOTS:COMMON]
   [SHOES:ITEM_SHOES_BOOTS_LOW:COMMON]
   [SHOES:ITEM_SHOES_SOCKS:COMMON]
   [PANTS:ITEM_PANTS_PANTS:UNCOMMON]
   [PANTS:ITEM_PANTS_FATIGUES:COMMON]
   [PANTS:ITEM_PANTS_LEGGINGS:UNCOMMON]
   [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]
   [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:4]
   [FRIENDLY_COLOR:1:0:1]
   [DEFAULT_SITE_TYPE:CAVE_DETAILED]
   [liKES_SITE:CAVE_DETAILED]
   [liKES_SITE:CITY]
   [liKES_SITE:DARK_FORTRESS]
   [TOLERATES_SITE:TREE_CITY]
   [CAN_HAVE_MILITARY_LEADER]
   [CAN_HAVE_MILITARY_SITE_LEADER]
   [START_BIOME:MOUNTAIN]
   [BIOME_SUPPORT:ANY_FOREST:1]
   [BIOME_SUPPORT:MOUNTAIN:2]
   [BIOME_SUPPORT:ANY_GRASSLAND:1]
   [BIOME_SUPPORT:ANY_SAVANNA:1]
   [BIOME_SUPPORT:ANY_SHRUBLAND:1]
   [BIOME_SUPPORT:ANY_RIVER:1]
   [DIPLOMAT]
   [DIPLOMAT_BODYGUARDS]
   [PROGRESS_TRIGGER_POPULATION:2]
   [PROGRESS_TRIGGER_PRODUCTION:2]
   [PROGRESS_TRIGGER_TRADE:2]
   [ACTIVE_SEASON:WINTER]
   [SIEGER]
   [MAX_STARTING_CIV_NUMBER:4]
   [START_GROUP_NUMBER:10]
   [MAX_POP_NUMBER:100000]
   [MAX_SITE_POP_NUMBER:100]
   [RELIGION:PANTHEON]
   [RELIGION_SPHERE:FORTRESSES]
   [RELIGION_SPHERE:WAR]
   [RELIGION_SPHERE:LAWS]
   [RELIGION_SPHERE:DISCIPLINE]
   [RELIGION_SPHERE:ORDER]
   [RELIGION_SPHERE:TRUTH]
   [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:ACCEPTABLE]
   [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]

(Taken from creature_standard)

[CREATURE:MILITARY]
   [NAME:soldier:soldiers:military]
   [TILE:1][COLOR:3:0:0]
   [GENPOWER:3]
   [INTELLIGENT]
   [CANOPENDOORS]
   [BENIGN]
   [PREFSTRING:discipline]
   [SPEED:0]


3

  • Bay Watcher
    • View Profile
Re: New Civs,Animals,Beasts, & Weapons
« Reply #5 on: November 21, 2009, 02:45:20 am »

SPEED:0? That's teleportation...

Are you sure all those jobs and such are appropriate as well? It might be worth the time to make the civ a little more flavoursome by fine-tuning the entity entry.
Logged

Strange guy

  • Bay Watcher
  • Strangely normal
    • View Profile
    • Steam ID
Re: New Civs,Animals,Beasts, & Weapons
« Reply #6 on: November 21, 2009, 12:00:11 pm »

Few issues- SPEED:0 is very very fast, though due to the speed cap isn't quite teleportation.
M1A4s are made of
[REAGENT:1:WEAPON:ITEM_WEAPON_MOLD_SHOT:METAL:NO_MATGLOSS]. This is the thing for shotgun ammo production, and isn't available to the military anyway. Copy and paste one of the WEAPON_NAME_PARTS and rename it M1A4 in item_weapon instead of whatever weapon name you had, and change
[REAGENT:1:WEAPON:ITEM_WEAPON_MOLD_SHOT:METAL:NO_MATGLOSS] in the smelter reaction to
[REAGENT:1:WEAPON:ITEM_WEAPON_M1A4_PARTS:METAL:NO_MATGLOSS].

In entity_defult you missed a ] on the end of the M1A4's ammo. Also if you follow the advice of my last paragraph you'll need to add [WEAPON:ITEM_WEAPON_M1A4_PARTS].

If I was able to find my zombie mod version of df I'd be able to help more, but I can't find it at the moment.
Logged

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: New Civs,Animals,Beasts, & Weapons
« Reply #7 on: November 21, 2009, 01:31:56 pm »

      [AMMO:ITEM_AMMO_SMGROUND

you forgot ]
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository