Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 181 182 [183] 184 185 ... 544

Author Topic: [MODDING] 0.34. QUESTIONS THREAD  (Read 1076990 times)

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2730 on: September 30, 2012, 11:05:19 pm »

Based on the way my errorlog is yelling at me about body detail plans that I never made and I'm not using (a find in files search is showing up with nothing), I'm going to guess that creature variations are 100% creature-level, right?

(If they are, oh well. I could always use select caste tokens for those purposes.)
« Last Edit: September 30, 2012, 11:09:24 pm by Putnam »
Logged

Sorcerer

  • Bay Watcher
  • [magical]
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2731 on: October 02, 2012, 12:58:33 pm »

My mod has recently developed a rather distressing problem. It seems that certain members of my civilization seem to just crash the game outright whenever they migrate into my map or are mentioned in relationships. I've isolated one of my entities which will crash the game whenever I go into the relationship menu, and the game crashes if I attempt to look through the historical figures screen.
I can however export the xtm and look through the figures threre.

Has anyone had a similar problem? If not, how would you go about looking for the solution for this kind of problem?
Logged

arkhometha

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2732 on: October 02, 2012, 06:47:49 pm »

Is it possible to mod the initial skill/attribute distribution in adventure mode?
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2733 on: October 02, 2012, 07:35:37 pm »

Is it possible to mod the initial skill/attribute distribution in adventure mode?

You mean the ones you can assign? No.

arkhometha

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2734 on: October 02, 2012, 07:54:56 pm »

Is it possible to mod the initial skill/attribute distribution in adventure mode?

You mean the ones you can assign? No.

Well, shit. Thanks a lot for the answer!
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2735 on: October 02, 2012, 09:18:57 pm »

Okay, I've got a weird-ass issue. I included first guardian dogs and cats in Fortbent, but I had an inkling that pne is the cause of a crash when I try genning a world. So I made two intentional errors--one in the dog creature, one in the cat creature (since each are loaded right before the first guardian version). However, the intentional errors fix the crash. This isn't an isolated incident, either--the game crashes when the error isn't there and does crash when it doesn't. What the heck is going on here?

EDIT: Yeah, it's consistent, too--every time I cause the error, it doesn't crash. The errorlog resulting from the intentional error:

Code: [Select]
*** Error(s) found in the file "raw/objects/creature_domestic.txt"
DOG:Unrecognized Creature Token: WITHOUT_THIS_ERROR_THE_GAME_CRASHES_FOR_SOME_REASON???
FIRST_GUARDIAN_DOG:Unrecognized Creature Token: WITHOUT_THIS_ERROR_THE_GAME_CRASHES_FOR_SOME_REASON???

The creature in question that is apparently causing the crash for lack of that particular non-existent token:

Code: [Select]
[CREATURE:FIRST_GUARDIAN_DOG]
[COPY_TAGS_FROM:DOG]
[APPLY_CREATURE_VARIATION:FIRST_GUARDIAN]
[APPLY_CURRENT_CREATURE_VARIATION]
[GO_TO_END]
[SELECT_CASTE:ALL]
[GRAVITATE_BODY_SIZE:100000]
[GO_TO_START]
[NAME:first guardian dog:first guardian dogs:first guardian dog]
[CASTE_NAME:first guardian dog:first guardian dogs:first guardian dog]
[GENERAL_CHILD_NAME:first guardian dog pup:first guardian dog pups]
[DESCRIPTION:A strange, eyeless doglike creature who occasionally flashes green.]
[POPULATION_NUMBER:1:1]
[CLUSTER_NUMBER:1:1]
[CREATURE_TILE:'D']
[PETVALUE:5000]
[BIOME:ANY_LAND]
[MOUNT_EXOTIC]
[GO_TO_END]
[PREFSTRING:loyalty]
[SELECT_CASTE:ALL]
[SET_TL_GROUP:BY_CATEGORY:BODY_UPPER:HAIR]
[PLUS_TL_GROUP:BY_CATEGORY:BODY_LOWER:HAIR]
[PLUS_TL_GROUP:BY_CATEGORY:LEG_FRONT:HAIR]
[PLUS_TL_GROUP:BY_CATEGORY:LEG_REAR:HAIR]
[TL_COLOR_MODIFIER:WHITE:1]
[TLCM_NOUN:hair:SINGULAR]

And the creature variation for that:

Code: [Select]
[CREATURE_VARIATION:FIRST_GUARDIAN]
[CV_REMOVE_TAG:NAME]
[CV_REMOVE_TAG:GENERAL_CHILD_NAME]
[CV_REMOVE_TAG:GENERAL_BABY_NAME]
[CV_REMOVE_TAG:CASTE_NAME]
[CV_REMOVE_TAG:CHILDNAME]
[CV_REMOVE_TAG:BABYNAME]
[CV_REMOVE_TAG:POPULATION_NUMBER]
[CV_REMOVE_TAG:CLUSTER_NUMBER]
[CV_REMOVE_TAG:COLOR]
[CV_REMOVE_TAG:MOUNT]
[CV_REMOVE_TAG:MOUNT_EXOTIC]
[CV_REMOVE_TAG:SOUND]
[CV_REMOVE_TAG:SMALL_REMAINS]
[CV_REMOVE_TAG:DESCRIPTION]
[CV_REMOVE_TAG:CREATURE_TILE]
[CV_REMOVE_TAG:PET]
[CV_REMOVE_TAG:PETVALUE]
[CV_REMOVE_TAG:PENETRATEPOWER]
[CV_REMOVE_TAG:VERMIN_EATER]
[CV_REMOVE_TAG:VERMIN_HATEABLE]
[CV_REMOVE_TAG:VERMIN_GROUNDER]
[CV_REMOVE_TAG:VERMIN_FISH]
[CV_REMOVE_TAG:VERMIN_SOIL]
[CV_REMOVE_TAG:VERMIN_SOIL_COLONY]
[CV_REMOVE_TAG:VERMIN_ROTTER]
[CV_REMOVE_TAG:VERMIN_NOTRAP]
[CV_REMOVE_TAG:FISHITEM]
[CV_REMOVE_TAG:IMMOBILE_LAND]
[CV_REMOVE_TAG:TRIGGERABLE_GROUP]
[CV_REMOVE_TAG:NOT_BUTCHERABLE]
[CV_REMOVE_TAG:PREFSTRING]
[CV_REMOVE_TAG:SPEED]
[CV_REMOVE_TAG:SWIM_SPEED]
[CV_REMOVE_TAG:MUNDANE]
[CV_REMOVE_TAG:SET_TL_GROUP]
[CV_REMOVE_TAG:PLUS_TL_GROUP]
[CV_REMOVE_TAG:TL_COLOR_MODIFIER]
[CV_REMOVE_TAG:TLCM_NOUN]
[CV_REMOVE_TAG:PET_EXOTIC]
[CV_ADD_TAG:COLOR:7:10:1]
[CV_ADD_TAG:PET_EXOTIC]
[CV_CONVERT_TAG]
[CVCT_MASTER:BODY]
[CVCT_TARGET:2EYES]
[CVCT_REPLACEMENT:PLACEHOLDER_FIRST_GUARDIAN]
[CV_NEW_TAG:LARGE_ROAMING]
[CV_NEW_TAG:EXTRAVISION]
[CV_NEW_TAG:SELECT_CASTE:ALL]
[CV_NEW_TAG:CAN_DO_INTERACTION:TELEPORT_TROLL]
[CV_NEW_TAG:CDI:ADV_NAME:begin teleporting]
[CV_NEW_TAG:CDI:TARGET:A:SELF_ONLY]
[CV_NEW_TAG:CDI:TARGET_RANGE:A:1]
[CV_NEW_TAG:CDI:MAX_TARGET_NUMBER:A:1]
[CV_NEW_TAG:CDI:TARGET_VERB:begin teleporting:suddenly disappears in a flash of green]
[CV_NEW_TAG:CDI:WAIT_PERIOD:1000]
[CV_NEW_TAG:ITEMCORPSE:TOOL:GRIST_CACHE:INORGANIC:DENIZEN]

PLUS the body token that replaces 2EYES:

Code: [Select]
[BODY:PLACEHOLDER_FIRST_GUARDIAN]
[BP:THING:mysterious first guardian thing we-don't-know-what-it-does:mysterious first guardian things we-don't-know-what-they-do][CONTYPE:UPPERBODY][INTERNAL][SMALL][CATEGORY:LIVER]
[DEFAULT_RELSIZE:1]
« Last Edit: October 02, 2012, 09:23:49 pm by Putnam »
Logged

arkhometha

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2736 on: October 02, 2012, 09:44:48 pm »

What does the [DOES_NOT_EXIST] tag do?
There are three creatures in the creature_fanciful that have this. It does what it's written? Why would Toady add a creature and not enable it? What's wrong with it?
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2737 on: October 02, 2012, 09:51:03 pm »

Well, if you'll notice, the creatures have no bodies. They are included in the game purely as flavor so they may be engraved.

arkhometha

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2738 on: October 02, 2012, 10:21:31 pm »

Well, if you'll notice, the creatures have no bodies. They are included in the game purely as flavor so they may be engraved.
That's strange. I thought that every creature existed physically in dwarf fortress. Oh well, thanks again, Putnam!
« Last Edit: October 03, 2012, 01:30:45 am by arkhometha »
Logged

Telgin

  • Bay Watcher
  • Professional Programmer
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2739 on: October 03, 2012, 12:21:50 am »

I tried searching here to no avail, but is it possible to define things like hair or other body part shapes?  I saw someone ask this a lot of pages back but it didn't get an answer that I saw.  I'd try figuring this out on my own, but I don't see any way to define the way these are used.  Theres' the shapes RAW file, but things like STANDARD_HAIR_SHAPINGS don't appear to be defined in the RAWs anywhere, nor do I have any idea how to define such a thing in the first place.

I'm guessing this is hard coded, with the intention of making it available to modding in the future?
Logged
Through pain, I find wisdom.

darklord92

  • Bay Watcher
  • [CREATURE:SERGALNORTH]
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2740 on: October 03, 2012, 01:03:50 am »

I tried searching here to no avail, but is it possible to define things like hair or other body part shapes?  I saw someone ask this a lot of pages back but it didn't get an answer that I saw.  I'd try figuring this out on my own, but I don't see any way to define the way these are used.  Theres' the shapes RAW file, but things like STANDARD_HAIR_SHAPINGS don't appear to be defined in the RAWs anywhere, nor do I have any idea how to define such a thing in the first place.

I'm guessing this is hard coded, with the intention of making it available to modding in the future?

Count me in for researching this as well. I'm trying to make custom faceplates for thetalyxia(the assortment of creatures in the middle)  race in my mod. I've managed multiple amount of horns on another race so i'll try to see what i can research and test for this.
Logged
Form walking potato man out of corpse. Absorb anyone else in the house.
We have a successful derail.
The Vilous Mod - Jingle berries!

Ari Lazarus

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2741 on: October 03, 2012, 06:31:20 am »

From the bottom up, these should be the relevant files:
Code: [Select]
material_template_default - what things are made of and their material properties such as hardness, edge, etc. Iron. Wood. Bone. Muscle.

b_detail_plan_default - materials that have been grouped together for convenience. Standard = muscle + bone + skin, etc.

body_default - where body parts are defined and how they are joined to bodies. Humanoids and Quadrupeds are the two main shapes present. Note that materials are not defined here.

relevant creature file - where you put in stuff like the body detail plan + body defaults + everything else such as hair and eye colour, attacks (and the body parts they use), etc.
Logged
Modest Bodies - Fixes joints for all creatures.

Telgin

  • Bay Watcher
  • Professional Programmer
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2742 on: October 03, 2012, 07:25:30 am »

Oh, sorry if I wasn't clear.  That's how you define things like having two arms and two legs.  I'm interested in changing things like, "His black hair is braided."  So far as I can find, there is no way to change the "is braided" part for a body part.
Logged
Through pain, I find wisdom.

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2743 on: October 03, 2012, 08:54:35 am »

Nope. Mods like Masterwork use colors for that.

Telgin

  • Bay Watcher
  • Professional Programmer
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2744 on: October 03, 2012, 09:01:29 am »

That's what I was afraid of.  From what I understand that has the side effect of giving preferences like, "He likes the color mohawk."  That's amusing and a bit of a minor point I suppose, so maybe I'll try that anyway.
Logged
Through pain, I find wisdom.
Pages: 1 ... 181 182 [183] 184 185 ... 544