Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 215 216 [217] 218 219 ... 372

Author Topic: [MODDING] CREATURE & ENTITY QUESTIONS THREAD  (Read 685869 times)

ZM5

  • Bay Watcher
  • Accomplished RAW Engineer
    • View Profile
    • Steam
Re: [MODDING] CREATURE & ENTITY QUESTIONS THREAD
« Reply #3240 on: July 25, 2018, 08:27:35 am »

If the entity doesn't have tokens for using other mounts then yeah, they'll definitely be using them - otherwise it'll be random what mount they use in sieges, from the list of mounts available to them.

Sver

  • Bay Watcher
  • An army marches on its oiling and waxing
    • View Profile
Re: [MODDING] CREATURE & ENTITY QUESTIONS THREAD
« Reply #3241 on: July 25, 2018, 08:41:38 am »

Unless the animal is [COMMON_DOMESTIC], and the civ has the corresponding macro-token [COMMON_DOMESTIC_MOUNT], then, no. It will only be available to a civ if it lives in the same world tile, which may or may not be equal to "almost always".

For an animal to be invariably present within all civs of this entity, you'd need to add [ANIMAL_ALWAYS_PRESENT] under the [ANIMAL] tag. Still, as ZM5 said, it won't really force the animal to be present in every siege, but it should drastically increase the chance and amount of its appearance in them.
« Last Edit: July 25, 2018, 08:46:54 am by Sver »
Logged
DF Combat Reworked
No overpowered force transfer, no easy life without a kidney, more functional variety among the weapons and other improvements.

Vordak

  • Bay Watcher
    • View Profile
Re: [MODDING] CREATURE & ENTITY QUESTIONS THREAD
« Reply #3242 on: July 25, 2018, 12:18:57 pm »

The task is to create a civilization with certain gods with spheres FIRE, VOLCANOS, WAR, THRALLDOM - entity code described below.
Spoiler: entity code (click to show/hide)
In the end I get the following...
Spoiler: following (click to show/hide)

Question - tokens RELIGION_SPHERE and SPHERE_ALIGNMENT do not affect anything?
« Last Edit: July 25, 2018, 12:22:13 pm by Vordak »
Logged

Sver

  • Bay Watcher
  • An army marches on its oiling and waxing
    • View Profile
Re: [MODDING] CREATURE & ENTITY QUESTIONS THREAD
« Reply #3243 on: July 25, 2018, 01:16:47 pm »

SPHERE_ALIGNMENT, if I recall a comment by Toady correctly, only affects the price a civ's merchants give for items with related depictions (or something like this).

RELIGION_SPHERE only guarantees that every civ of this entity will have this sphere included in its pantheon. Nothing else, unfortunately.

Edit: Yep, here it is.
« Last Edit: July 25, 2018, 01:20:16 pm by Sver »
Logged
DF Combat Reworked
No overpowered force transfer, no easy life without a kidney, more functional variety among the weapons and other improvements.

Valikdu

  • Bay Watcher
  • Ruin... has come to our family.
    • View Profile
Re: [MODDING] CREATURE & ENTITY QUESTIONS THREAD
« Reply #3244 on: July 26, 2018, 06:43:37 pm »

Thanks!
.
Has anyone tried making "simple" creature materials (i.e. declaring materials in a single "hub" creature and having all tissue templates use the CREATURE_MAT:hub:mat) recently? Does doing this with the meat/glob materials still cause a crash?
« Last Edit: July 26, 2018, 06:45:55 pm by Valikdu »
Logged

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: [MODDING] CREATURE & ENTITY QUESTIONS THREAD
« Reply #3245 on: July 26, 2018, 07:49:52 pm »

Thanks!
.
Has anyone tried making "simple" creature materials (i.e. declaring materials in a single "hub" creature and having all tissue templates use the CREATURE_MAT:hub:mat) recently? Does doing this with the meat/glob materials still cause a crash?

I have yes, even built a framework anyone can use.

If done right, meat/globs won't cause a crash? I haven't had it happen yet
Logged

Valikdu

  • Bay Watcher
  • Ruin... has come to our family.
    • View Profile
Re: [MODDING] CREATURE & ENTITY QUESTIONS THREAD
« Reply #3246 on: July 27, 2018, 04:44:27 am »

Huh... It seems to work, now.

Maybe it was just the sentients that were problematic? I'll do more testing.

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: [MODDING] CREATURE & ENTITY QUESTIONS THREAD
« Reply #3247 on: July 27, 2018, 09:41:43 am »

Meat I know will always take on the hub creatures NAME no matter what but everything else you can use PREFIX on the material to make it named or not. Skin and fat will require leather parchment and tallow. And tallow needs soap material. If these are not together in the same creature you will see issues unless you customize the material templates I can show you an example later today
Logged

Valikdu

  • Bay Watcher
  • Ruin... has come to our family.
    • View Profile
Re: [MODDING] CREATURE & ENTITY QUESTIONS THREAD
« Reply #3248 on: July 27, 2018, 10:01:02 am »

I've been doing exactly that, but it had stopped working at some point. I don't remember exactly when.

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: [MODDING] CREATURE & ENTITY QUESTIONS THREAD
« Reply #3249 on: July 27, 2018, 11:04:20 am »

https://github.com/Hugo-the-Dwarf/DF-Streamlined/tree/GenericMaterialFramework?files=1 this might make your life easier anything that has a 0 in the filename is related to the generic material framework I made a doc that might help understand it. I'm on 3 df discords so can find me on their as well
Logged

Valikdu

  • Bay Watcher
  • Ruin... has come to our family.
    • View Profile
Re: [MODDING] CREATURE & ENTITY QUESTIONS THREAD
« Reply #3250 on: July 28, 2018, 06:27:10 pm »

I've just got the bug, again...

This is what I'm talking about. It doesn't crash the game now, but it turns all the meat/glob butchered materials into garbage:


(the [15] item was supposed to be fat)

This only happens if the creature is intelligent. Otherwise, the meat is fine. Also, it doesn't happen in the arena.

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: [MODDING] CREATURE & ENTITY QUESTIONS THREAD
« Reply #3251 on: July 28, 2018, 06:47:42 pm »

I've just got the bug, again...

This is what I'm talking about. It doesn't crash the game now, but it turns all the meat/glob butchered materials into garbage:


(the [15] item was supposed to be fat)

This only happens if the creature is intelligent. Otherwise, the meat is fine. Also, it doesn't happen in the arena.

Can send me the Raws and I'll have a gander
Logged

Valikdu

  • Bay Watcher
  • Ruin... has come to our family.
    • View Profile
Re: [MODDING] CREATURE & ENTITY QUESTIONS THREAD
« Reply #3252 on: July 28, 2018, 07:28:09 pm »

To make a long story short, all my tissues are like this:

Code: [Select]
[TISSUE_TEMPLATE:HEART_TEMPLATE]
[TISSUE_NAME:heart tissue:NP]
[FUNCTIONAL]
[STRUCTURAL]
[SCARS]
[TISSUE_MATERIAL:CREATURE_MAT:COMMON:HEART]
[RELATIVE_THICKNESS:1]
[HEALING_RATE:100]
[VASCULAR:10]
[PAIN_RECEPTORS:5]
[CONNECTS]
[TISSUE_SHAPE:LAYER]

The hub creatures:
Code: [Select]
[CREATURE:COMMON]
[NAME:animal:animal:animal]
[ARENA_RESTRICTED]
[DOES_NOT_EXIST]
[USE_MATERIAL_TEMPLATE:HEART:HEART_TEMPLATE]
(the heart material isn't different)

And the BDP only have tissues.
Code: [Select]
[BODY_DETAIL_PLAN:COMMON_ANIMAL_TISSUES_MAIN]
[ADD_TISSUE:HEART:HEART_TEMPLATE]

[BODY_DETAIL_PLAN:COMMON_VERTEBRATE_TISSUE_LAYERS]
[BP_LAYERS:BY_CATEGORY:HEART:HEART:100]

And when an intelligent creature with this is butchered, all the materials turn to frozen substance. Not in the arena, though. And, I think, it also doesn't happen if you summon a creature with dfhack.

You can take a look at the entire thing if you want: http://dffd.bay12games.com/file.php?id=13928 , but it's very... untidy. The one I used was the TEST_2 caste of the PLAINS_RUNNER domestic.
« Last Edit: July 28, 2018, 07:33:02 pm by Valikdu »
Logged

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: [MODDING] CREATURE & ENTITY QUESTIONS THREAD
« Reply #3253 on: July 28, 2018, 09:50:30 pm »

Regular butcher worked for me, however not sure what plainsrunner I was supposed to embark with, I was normal "ponies" not "cave ponies" if that mattered?

image isn't work

https://imgur.com/jh5aNs5

I'm wondering if it's the issue of your BDP adding tissues and then doing a layer?

Code: [Select]
[BODY_DETAIL_PLAN:SPECTRA_DIM]
[ADD_TISSUE:NERVE_DIM:NERVE_TEMPLATE_SPECTRA_DIM]
[BP_LAYERS:BY_CATEGORY:SPINE:NERVE_DIM:2]

and ouch all those custom tissue templates, That was the reason I started to use Creature-Variations to build a framework to bypass that.
« Last Edit: July 28, 2018, 09:53:57 pm by Hugo_The_Dwarf »
Logged

Valikdu

  • Bay Watcher
  • Ruin... has come to our family.
    • View Profile
Re: [MODDING] CREATURE & ENTITY QUESTIONS THREAD
« Reply #3254 on: July 29, 2018, 03:14:54 pm »

Could you take another look at this new version? http://dffd.bay12games.com/file.php?id=13928

Please. I'm kind of stumped right now.

...so, today I've composed all the possible BDPs that could be used for sapient creatures, and all these have meat/glob materials added to the creature itself instead of the hub, with the tissue templates using LOCAL_CREATURE_MAT. These are COMMON_PONY, MUTANT_PONY, DV, DIVINE and all the ones with the _INT at the end. I've replaced all the plainsrunners with [intelligent] tester castes that have these BDPs.

I can butcher all of them successfully, except for TESTER_2 ("tester 2" in the embark screen), which has the COMMON_PONY BDP. It crashes the game. I can't figure out why. All the BDPs and tissues follow the same template and there's nothing bad in these materials, so I'm out of ideas.

There's nothing in the error log ofc, and everything works in the arena.
« Last Edit: July 29, 2018, 03:38:23 pm by Valikdu »
Logged
Pages: 1 ... 215 216 [217] 218 219 ... 372