Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: mystics mod, please help.  (Read 644 times)

druid91

  • Bay Watcher
    • View Profile
mystics mod, please help.
« on: January 22, 2010, 11:40:24 pm »

Okay, I am working on a new adventure/fortress race so far they are mostly just tall dwarves that favor cities have four eyes and if you are unfortunate enough to fight them hand to hand as they will rip your limbs off and then shred the rest of you. I would like them to be war like and get into conflicts during worldgen making it so that playing one gets you the advantage of strength but the disadvantage of everyone trying to kill you. so here is the question how can I make these guys there own language and get them to use more magicy, (magical?) and warlike names and such and in general make them behave less like dwarves. also they seem to show up as black spots on the screen unless its the adventurer, why is that?
here is the creature.
Code: [Select]
[CREATURE:MYSTIC]
[NAME:mystic:mystics:mystical]
[TILE:m][COLOR:3:0:0]
[SPEED:600]
[GENPOWER:3]
[INTELLIGENT]
[TRANCES]
[BENIGN]
[CANOPENDOORS]
[PREFSTRING:tenacity]
[BODY:HUMANOID:4EYES:2EARS:NOSE:2LUNGS:HEART:GUTS:ORGANS:HUMANOID_JOINTS:THROAT:NECK:SPINE:BRAIN:5FINGERS:5TOES:MOUTH]
[ATTACK:MAIN:BYTYPE:GRASP:rip:rips:12:30:GORE][ATTACKFLAG_CANLATCH]
[ATTACK:SECOND:BYTYPE:MOUTH:bite:bites:1:1:GORE][ATTACKFLAG_CANLATCH]
[CHILD:12][BABY:1][MULTIPLE_LITTER_RARE]
[DAMBLOCK:13]
[FAT:3]
[SIZE:8]
[EQUIPS]
[DIURNAL]
[CRAFTSMAN_NAME:craftsmystic:craftsmystics]
[FISHERMAN_NAME:fishermystic:fishermystics]
[HAMMERMAN_NAME:hammermystic:hammermystics]
[SPEARMAN_NAME:spearmystic:spearmystics]
[CROSSBOWMAN_NAME:marksmystic:marksmystics]
[AXEMAN_NAME:axemystic:axemystics]
[SWORDSMAN_NAME:swordsmystic:swordsmystics]
[MACEMAN_NAME:macemystic:macemystics]
[PIKEMAN_NAME:pikemystic:pikemystics]
[BOWMAN_NAME:bowmystic:bowmystics]
[SPEECH:dwarf.txt]
[STANDARD_FLESH]
[HOMEOTHERM:10067]
[LAYERING:50]
[SWIMS_LEARNED][SWIM_SPEED:2500]
[PERSONALITY:IMMODERATION:0:55:100]
[PERSONALITY:VULNERABILITY:0:45:100]
[PERSONALITY:STRAIGHTFORWARDNESS:0:55:100]
and this is the entity
Code: [Select]
[ENTITY:MAGIC]
[CIV_CONTROLLABLE]
[CREATURE:MYSTIC]
[TRANSLATION:DWARF]
[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]
[WEAPON:ITEM_WEAPON_BOW]
\ [AMMO:ITEM_AMMO_ARROWS]
[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: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:4]
[FRIENDLY_COLOR:1:0:1]
[DEFAULT_SITE_TYPE:CITY]
[LIKES_SITE:CITY]
[TOLERATES_SITE:CAVE_DETAILED]
[TOLERATES_SITE:TREE_CITY]
[TOLERATES_SITE:CAVE_DETAILED]
[LEADER_TYPE:ARCHMYSTIC]
[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:WINTER]
[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:ACCEPTABLE]
[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:ACCEPTABLE]
[ETHIC:EAT_SAPIENT_KILL:ACCEPTABLE]
[ETHIC:MAKE_TROPHY_SAME_RACE:APPALLING]
[ETHIC:MAKE_TROPHY_SAPIENT:SHUN]
[ETHIC:MAKE_TROPHY_ANIMAL:ACCEPTABLE]
[WILL_ACCEPT_TRIBUTE]
« Last Edit: January 23, 2010, 12:20:20 am by druid91 »
Logged
The least you could have done was throw down some booze and seasoning. Abyssal Monsters that Creatures of the Light Know Not Of aren't savages, y'know. Sharing's caring.

3

  • Bay Watcher
    • View Profile
Re: mystics mod, please help.
« Reply #1 on: January 23, 2010, 03:41:06 am »

The reason they're not showing up right is because TILE: isn't formatted correctly - it should read TILE:'m' as opposed to TILE:m. The way tile designations work is that a number (0-255) alone will be grabbed from the tile it pertains to in the tileset the game's currently using, whereas an extended ascii character in inverted commas will come out just the way you put it in (this is why, for example, dwarfs show up as they do).

Lots of things could act as potential improvements here; most are just minor. (Alternatively, avoid listenting to my wittering and check out creature tokens, entity tokens and spheres)

First, in the creature entry:

SPEECH:dwarf.txt - this tells the game which file it should grab taunts from when a creature encountered in Adventurer mode gloats about its previous kills. The files are in plain text format in ~\data\speech, and you just create a new file if you want specialised taunts for your civ.

DIURNAL - Creatures with this tag will be active in daylight; there are also NOCTURNAL, MATUTINAL (dawn), VESPERTINE (evening), CREPUSCULAR (twilight in general), and ALL_ACTIVE (all the time). Considering the time compression involved in Fortress mode, this doesn't get any use there at the moment, but it has a subtle effect in Adventurer.

BENIGN - As opposed to SAVAGE; BENIGN creatures will settle in low-savagery areas and will generally be less aggressive; SAVAGE creatures will settle in high-savagery areas and will generally be more aggressive.

GOOD/EVIL - Yes, you can add both. A BENIGN+SAVAGE+GOOD+EVIL creature will probably be able to settle almost anywhere, though the two former tags might cancel each other out, I'm really not sure.

PERSONALITY: - Now it gets interesting. Most of these have some subtle effect on gameplay (angrier creatures will berserk more easily). Values are min/median/max.

And the entity entry:

Languages: There are a few tools out there to help you generate languages - personally I'm still using WordGen, but DFLang seems to be the most recent one. They should be listed in the mods/utilities sticky, somewhere...

Symbols: This is probably what you'll be wanting to look at primarily. Of the ones currently in the file: you have SELECT_SYMBOL:WAR (designates which word pool to use to find words to name wars), BATTLE (battles), SIEGE (sieges), etc., etc.. CULL_SYMBOL tells the civ to never select words from that symbol under any circumstances, while SELECT_SYMBOL:REMAINING tells the civ to select words from whatever symbols for things you haven't otherwise designated (in the case of this file, mainly town names). The names of individuals are derived from the symbols you've chosen. You can see the full list of words under each symbol in the LANGUAGE_SYM file, but ones I'd suggest you start with are MAGIC, VIOLENT, and possibly MYTHIC, while you'll obviously want to cull the less applicable ones (DOMESTIC, ROMANTIC, FLOWERY, PEACE, etc.).

DEFAULT_SITE_TYPE: Note that this might not work at the moment as you've set the START_BIOME to MOUNTAIN. Certain sites are affliated with certain biomes (mainly cities but especially tree cities) in the sense that they can only be built on certain biomes.

LEADER_TYPE: This isn't just a string, despite how it looks - it must be a valid profession to work correctly. Yes, this does mean you can get a fish cleaner instead of a king if you set things up that way.

RELIGION:PANTHEON: Setting this to REGIONAL_FORCE basically turns them into elves (I don't think there's enough scope in this version for the force's features to be anything other than rivers, trees, nature etc.; consider later versions wherein we have spheres affliated with geography and this'll get a lot more interesting), and setting it to ANY_APPROPRIATE_POWER basically turns them into goblins (they'll worship the nearest impressive thing that comes by, which in vanilla is currently only the Demon).

SPHERE: Don't think it shows up there but it's mildly important; more important to religions (see below) than anything else. Still, worth adding. Spheres decide the general idealistic basic of your civ.

RELIGION_SPHERE: The general focus of the god(s). If the civ worships ANY_APPROPRIATE_POWER, they'll try to worship a power that's involved with these spheres, but if they can't they'll just use something random. You won't ever be able to totally guarantee what results you get no matter how heavily you weight the values, mind, and this applies to both powers and pantheons.

PERMITTED_JOB: These can be removed, of course.

ETHIC: Not immensely important, but important for flavour. Ethics control the potential outcomes of a few historical events, but generally have extremely little effect on gameplay (if any at all). They are also a primary factor in deciding who wars with who. There are some details on the ethics wiki page. Toady posted the war-deciding details quite a long while ago, as as far as I could see the handling of each act has very individual consequences when deciding relations with another civ, so it'll take some doing (it's quite impossible to have a civ at war with every other civ, unless those civs are all virtually identikit and you're lucky).

Finally, if you're desperate for conflict, you could always add the ITEM_THIEF or BABYSNATCHER tag to the entity file. This won't cause wars as such, but it will cause the global hostility that goblins suffer from, and you will end up getting sieged by every other capable civ out there.

/textwall
« Last Edit: January 23, 2010, 03:51:29 am by 3 »
Logged

druid91

  • Bay Watcher
    • View Profile
Re: mystics mod, please help.
« Reply #2 on: January 23, 2010, 08:25:16 pm »

thank you, very useful info. I tried the wikis modding guide but it didn't help much past the basics. and I've fiddled with them a little and increased the child age, this somewhat amusingly led to goblins having boatloads of them as prisoners. I want conflict but not so much as to make them like goblins. the way I intended for them to behave like insectile, vicious, elf-dwarves.
Logged
The least you could have done was throw down some booze and seasoning. Abyssal Monsters that Creatures of the Light Know Not Of aren't savages, y'know. Sharing's caring.

SethCreiyd

  • Bay Watcher
  • [VESPERTINE]
    • View Profile
Re: mystics mod, please help.
« Reply #3 on: January 24, 2010, 01:36:47 pm »

More [BIOME_SUPPORT] tokens will allow the mystics to spread into more regions.  This could cause more conflict.  Also, setting them to make trophies of sapient races will lead to inter-species drama and make wars more bitter.
Logged

3

  • Bay Watcher
    • View Profile
Re: mystics mod, please help.
« Reply #4 on: January 24, 2010, 01:40:25 pm »

Yeah, races seem to be touchy about trophies. What were the other ones... I thought abuse of animals ranked quite highly.
Logged