Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 6 7 [8] 9 10 ... 19

Author Topic: Modding questions thread.  (Read 20067 times)

Sean Mirrsen

  • Bay Watcher
  • Bearer of the Psionic Flame
    • View Profile
Re: Modding questions thread.
« Reply #105 on: July 24, 2008, 05:30:07 pm »

NOBLEED determines whether the part flies off in a bloody arc, or simply an arc, and also (I think) causes the shattered message. It might also be caused by SEVERONBREAKS.
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
Re: Modding questions thread.
« Reply #106 on: July 24, 2008, 11:30:03 pm »

Okay, I admit, this is more of a request than a question.  What's a good quick fix (i.e., I don't want to make a new world) to make my Giants and Ettins stronger? Those two make up probably 90% of the cave dwellers around and they're disappointingly weak with a good hammer/shield dwarf with legendary wrestling.  I'm particularly looking for a way to keep them from giving into pain and going unconscious and keeping them fighting longer.

And here's a real question - can I mod in a playable race in any way besides fooling around with the stats of an existing one?  Is there a guide for that (I don't think there's anything specifically for it on the wiki)?
Logged
ow did this get here

KaelGotDwarves

  • Bay Watcher
  • [CREATURE:FIRE_ELF]
    • View Profile
Re: Modding questions thread.
« Reply #107 on: July 25, 2008, 12:07:05 am »

Yes, the modding guide has a full tutorial for adding playable races.

A quick fix to making your giants/ettins stronger is giving them [NOPAIN][NOBLEED][NOEXERT] tags and others associated with being a tiredless killing machine. Also up their size.

MoonMan

  • Bay Watcher
    • View Profile
Re: Modding questions thread.
« Reply #108 on: July 25, 2008, 05:09:08 pm »

I'm trying to get a race of turtle men I made to worship sea monsters. They do, but the other half of the time they worship demons. Likewise goblins now sometimes worship sea monsters. I've tried messing around with the spheres in the entity file and the worshipped creatures' files but that hasn't stopped it from happening.

They also don't build roads despite having the tag. Heres the code for the turtle men entity and creature, and the sea monster creature. Goblins and demons are default.

Code: [Select]
[ENTITY:SEA]
[CREATURE:TURTLE_MAN]
[TRANSLATION:DWARF]
[WEAPON:ITEM_WEAPON_PIKE]
[WEAPON:ITEM_WEAPON_HALBERD]
[WEAPON:ITEM_WEAPON_SWORD_LONG]
[WEAPON:ITEM_WEAPON_MAUL]
[WEAPON:ITEM_WEAPON_AXE_GREAT]
[ARMOR:ITEM_ARMOR_PLATEMAIL:COMMON]
[ARMOR:ITEM_ARMOR_CHAINMAIL:COMMON]
[ARMOR:ITEM_ARMOR_LEATHER:COMMON]
[ARMOR:ITEM_ARMOR_CLOAK:COMMON]
[ARMOR:ITEM_ARMOR_ROBE:COMMON]
[HELM:ITEM_HELM_HELM:COMMON]
[HELM:ITEM_HELM_HOOD:UNCOMMON]
[HELM:ITEM_HELM_MASK:COMMON]
[GLOVES:ITEM_GLOVES_GAUNTLETS:COMMON]
[GLOVES:ITEM_GLOVES_GLOVES: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_SOCKS:COMMON]
[PANTS:ITEM_PANTS_PANTS:UNCOMMON]
[PANTS:ITEM_PANTS_GREAVES:COMMON]
[PANTS:ITEM_PANTS_LEGGINGS:UNCOMMON]
[PANTS:ITEM_PANTS_LOINCLOTH:COMMON]
[SHIELD:ITEM_SHIELD_SHIELD]
[SHIELD:ITEM_SHIELD_BUCKLER]
[TOY:ITEM_TOY_AXE]
[INSTRUMENT:ITEM_INSTRUMENT_DRUM]
[CLOTHING]
[CURRENCY_BY_YEAR]
[CURRENCY:COPPER:1]
[CURRENCY:SILVER:5]
[CURRENCY:GOLD:15]
[SELECT_SYMBOL:ALL:LAW]
[SELECT_SYMBOL:ALL:UGLY]
[SELECT_SYMBOL:ALL:OLD]
[SELECT_SYMBOL:ALL:AQUATIC]
[CULL_SYMBOL:ALL:VOLCANOE]
[CULL_SYMBOL:ALL:NEW]
[CULL_SYMBOL:ALL:FIRE]
[CULL_SYMBOL:ALL:FLOWERY]
[GEM_PREF]
[STONE_PREF]
[OUTDOOR_FARMING]
[USE_ANIMAL_PRODUCTS]
[USE_EVIL_ANIMALS]
[USE_EVIL_PLANTS]
[USE_EVIL_WOOD]
[COMMON_DOMESTIC_PACK]
[COMMON_DOMESTIC_PULL]
[COMMON_DOMESTIC_MOUNT]
[COMMON_DOMESTIC_PET]
[USE_MISC_PROCESSED_WOOD_PRODUCTS]
[EQUIPMENT_IMPROVEMENTS]
[ABUSE_BODIES]
[ART_IMAGE_ELEMENT_MODIFIER:SHAPE:64]
[ART_IMAGE_ELEMENT_MODIFIER:ITEM:64]
[ITEM_IMPROVEMENT_MODIFIER:RINGS_HANGING:64]
[ITEM_IMPROVEMENT_MODIFIER:BANDS:384]
[ITEM_IMPROVEMENT_MODIFIER:SPIKES:384]
[FRIENDLY_COLOR:1:0:1]
[UNDEAD_CANDIDATE]
[DEFAULT_SITE_TYPE:CITY]
[LIKES_SITE:CITY]
[TOLERATES_SITE:CITY]
[LEADER_TYPE:KING]
[SITE_LEADER_TYPE:FISHERMAN]
[START_BIOME:OCEAN_TEMPERATE]
[BIOME_SUPPORT:OCEAN_TEMPERATE:10]
[PROGRESS_TRIGGER_POPULATION:2]
[PROGRESS_TRIGGER_PRODUCTION:2]
[PROGRESS_TRIGGER_TRADE:2]
[ACTIVE_SEASON:WINTER]
[ACTIVE_SEASON:SPRING]
[ACTIVE_SEASON:SUMMER]
[ACTIVE_SEASON:AUTUMN]
[ENTITY_GROUPING:EVIL]
[SIEGER]
[MAX_STARTING_CIV_NUMBER:3]
[START_GROUP_NUMBER:10]
[MAX_POP_NUMBER:500]
[MAX_SITE_POP_NUMBER:200]
[BEAST_HUNTER]
[SCOUT]
[PERMITTED_JOB:CARPENTER]
[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: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:WOOD_BURNER]
[PERMITTED_JOB:MECHANIC]
[PERMITTED_JOB:CLERK]
[PERMITTED_JOB:ADMINISTRATOR]
[PERMITTED_JOB:TRADER]
[PERMITTED_JOB:ARCHITECT]
[RELIGION_SPHERE:OCEANS]
[RELIGION:ANY_APPROPRIATE_POWER]
[WORLD_CONSTRUCTION:WALL]
[WORLD_CONSTRUCTION:BRIDGE]
[WORLD_CONSTRUCTION:ROAD]
[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:TREASON:PUNISH_CAPITAL]
[ETHIC:OATH_BREAKING:PERSONAL_MATTER]
[ETHIC:LYING:PERSONAL_MATTER]
[ETHIC:TRESPASSING:PERSONAL_MATTER]
[ETHIC:THEFT:PERSONAL_MATTER]
[ETHIC:ASSAULT:PERSONAL_MATTER]
[ETHIC:SLAVERY:PERSONAL_MATTER]
[ETHIC:EAT_SAPIENT_OTHER:PERSONAL_MATTER]
[ETHIC:EAT_SAPIENT_KILL:PERSONAL_MATTER]
[ETHIC:MAKE_TROPHY_SAME_RACE:ACCEPTABLE]
[ETHIC:MAKE_TROPHY_SAPIENT:ACCEPTABLE]
[ETHIC:MAKE_TROPHY_ANIMAL:ACCEPTABLE]

[CREATURE:SEA_MONSTER]
[NAME:sea monster:sea monsters:sea monster]
[TILE:'M'][COLOR:2:0:1]
[LARGE_ROAMING][POWER]
[MODVALUE:50]
[GENPOWER:3]
[PREFSTRING:horrifying freakish appearance]
[ALL_ACTIVE]
[POPULATION_NUMBER:1:1]
[LARGE_PREDATOR][EVIL]
[BODY:BASIC_2PARTBODY:BASIC_HEAD:UPPERBODY_PINCERS:REAR_BODY_FLIPPERS:TAIL:SIX_TENTACLES:2EYESTALKS:4EYES:2LUNGS:HEART:GUTS:ORGANS:THROAT:NECK:SPINE:BRAIN:MOUTH]
[BODYGLOSS:MAW]
[ATTACK:MAIN:BYTYPE:MOUTH:bite:bites:1:8:GORE][ATTACKFLAG_CANLATCH]
[ATTACK:MAIN:BYTYPE:GRASP:snatch:snatches:1:8:GORE][ATTACKFLAG_CANLATCH][ATTACKFLAG_WITH]
[SIZE:25]
[NO_DRINK]
[FAT:20]
[BIOME:ANY_OCEAN]
[STANDARD_FLESH][SPHERE:OCEANS]
[HOMEOTHERM:10067]
[SWIMS_INNATE][SWIM_SPEED:500]

[CREATURE:TURTLE_MAN]
[NAME:chelonian:chelonians:chelonian]
[TILE:'t'][COLOR:2:0:0]
[GENPOWER:3]
[BUTCHERABLE_NONSTANDARD]
[INTELLIGENT]
[EVIL][LIKES_FIGHTING]
[CANOPENDOORS]
[PREFSTRING:barnacle pocked skin]
[PREFSTRING:tough shells]
[BODY:HUMANOID:2EYES:2EARS:NOSE:2LUNGS:HEART:GUTS:ORGANS:HUMANOID_JOINTS:THROAT:NECK:SPINE:BRAIN:5FINGERS:5TOES:MOUTH]
[MAXAGE:50:70]
[ATTACK:MAIN:BYTYPE:GRASP:punch:punches:1:2:BLUDGEON][ATTACKFLAG_WITH]
[ATTACK:SECOND:BYTYPE:MOUTH:bite:bites:1:1:GORE][ATTACKFLAG_CANLATCH]
[CHILD:12][BABY:1][MULTIPLE_LITTER_RARE]
[DAMBLOCK:6]
[STOUT]
[FAT:1]
[SIZE:5]
[EQUIPS]
[DIURNAL]
[HASSHELL]
[SPEECH:dwarf.txt]
[STANDARD_FLESH]
[HOMEOTHERM:10067]
[LAYERING:50]
[SWIMS_INNATE][SWIM_SPEED:2500]
[PERSONALITY:EXCITEMENT_SEEKING:0:30:50]
[PERSONALITY:ANGER:35:75:100]
[PERSONALITY:SELF_DISCIPLINE:0:65:100]
[PERSONALITY:DUTIFULNESS:0:70:100]
[PERSONALITY:STRAIGHTFORWARDNESS:0:35:60]
[PERSONALITY:ACTIVITY_LEVEL:0:40:70]
Logged

Tibbles

  • Bay Watcher
  • Kobold Mechanic
    • View Profile
Re: Modding questions thread.
« Reply #109 on: July 25, 2008, 07:01:39 pm »

Is it possible to have more than one race as part of the Civilization? Like, goblins and dwarves in the same Civilization entry?
Logged
GODAMMIT KOBOLDS

Dasleah

  • Bay Watcher
    • View Profile
Re: Modding questions thread.
« Reply #110 on: July 25, 2008, 07:17:55 pm »

I'm trying to get a race of turtle men I made to worship sea monsters. They do, but the other half of the time they worship demons. Likewise goblins now sometimes worship sea monsters. I've tried messing around with the spheres in the entity file and the worshipped creatures' files but that hasn't stopped it from happening.

They also don't build roads despite having the tag. Heres the code for the turtle men entity and creature, and the sea monster creature. Goblins and demons are default.

Code: [Select]
blah blah blah

You need to add some [SPHERE:X] tags to your Megabeast, and set the Civ's [SPHERE_ALIGNMENT:NAME:X] number. So, give the Megabeast something like the [SPHERE:OCEAN] tag, and set the civ you want to worship it to have [SPHERE_ALIGNMENT:OCEAN:10000] or something. This means they show bias towards a [POWER] with the spheres they like, which is this case will be the big Turtle Megabeast.

Quote
Is it possible to have more than one race as part of the Civilization? Like, goblins and dwarves in the same Civilization entry?

It is, I believe, but as far as I'm aware it will choose between the options given randomly, and then only use the one it chooses. As it, it'll randomly pick between Dwarves or Goblins, and then only use Dwarves if it chooses that one.
Logged
Pokethulhu Orange: UPDATE 25
The Roguelike Development Megathread.

As well, all the posts i've seen you make are flame posts, barely if at all constructive.

MoonMan

  • Bay Watcher
    • View Profile
Re: Modding questions thread.
« Reply #111 on: July 25, 2008, 07:59:17 pm »

Ok, I tried giving the
turtle entity
[SPHERE_ALIGNMENT:WATER:512]
the turtle power creature
[SPHERE:WATER]

goblins [SPHERE_ALIGNMENT:FIRE:512][SPHERE_ALIGNMENT:TORTURE:512][SPHERE_ALIGNMENT:DEATH:512]
demons
[SPHERE:FIRE][SPHERE:TORTURE][SPHERE:DEATH]

and the goblins and turtles still seem to pick the one to worship at random. I'll generate worlds where they both worship one or the other, or they both worship the opposite power.
Logged

KaelGotDwarves

  • Bay Watcher
  • [CREATURE:FIRE_ELF]
    • View Profile
Re: Modding questions thread.
« Reply #112 on: July 25, 2008, 08:08:15 pm »

sphere alignments are out of a 20k something variable, same with art variables. You're going to need a bit more than 512 to get a noticeable result, try 20000

MoonMan

  • Bay Watcher
    • View Profile
Re: Modding questions thread.
« Reply #113 on: July 25, 2008, 09:15:37 pm »

I tried it with 20000 and then with 100000 and didn't seem to get any noticable result.
Logged

The13thRonin

  • Bay Watcher
  • Profession: Handsome Rogue
    • View Profile
Re: Modding questions thread.
« Reply #114 on: July 25, 2008, 09:40:52 pm »

Does the BRITTLE tag for metals disallow the metal to be used to stud (decorate) items?

I'd like to know the answer to this to save me some valuable trial and error time using my new modification.
Logged
I'm Digging Deeper... AGAIN... You Should Too!

Dig Deeper DIAMOND - 750+ items of new content including; new plants, new creatures, new metals, new woods, new gems, new stones, new crafts and much, much more.

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Modding questions thread.
« Reply #115 on: July 26, 2008, 12:43:36 am »

I'm pretty sure that "brittle" disallows to use metals in forging, however I am not sure about decorating...

Tibbles:
Nay, it's impossible.

Moonman:
I saw this kind of "bug" too. Sometimes when the demons are NOT genned in worldgen the goblins pick ANY_appropriate power, so if you have demons they should stop worshipping turtle giant monsters, however the appearance of megabeasts is pretty random.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Dasleah

  • Bay Watcher
    • View Profile
Re: Modding questions thread.
« Reply #116 on: July 26, 2008, 12:49:06 am »

I tried it with 20000 and then with 100000 and didn't seem to get any noticable result.

Have you tried also adding the SPHERE_ALIGNMENT for the Demon's spheres, and setting them to 0? So, [SPHERE_ALIGNMENT:FIRE:0] ?
Logged
Pokethulhu Orange: UPDATE 25
The Roguelike Development Megathread.

As well, all the posts i've seen you make are flame posts, barely if at all constructive.

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Modding questions thread.
« Reply #117 on: July 26, 2008, 04:45:22 am »

Do you mean goblins' spheres? Because demons don't have entities to put this in.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Dasleah

  • Bay Watcher
    • View Profile
Re: Modding questions thread.
« Reply #118 on: July 26, 2008, 05:22:23 am »

No, I mean that custom civ's entity entry. So, he'll have [SPHERE_ALIGNMENT:OCEAN:10000] and [SPHERE_ALIGNMENT:FIRE:0], so it makes it far more likely that his race will worship a [POWER] with [SPHERE:OCEAN] than [SPHERE:FIRE].
Logged
Pokethulhu Orange: UPDATE 25
The Roguelike Development Megathread.

As well, all the posts i've seen you make are flame posts, barely if at all constructive.

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Modding questions thread.
« Reply #119 on: July 26, 2008, 05:40:50 am »

I've just tried some testing, it looks like if there's no demon goblins randomly pick other powers despite of their spheres =(.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository
Pages: 1 ... 6 7 [8] 9 10 ... 19