Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 276 277 [278] 279 280 ... 372

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

assimilateur

  • Bay Watcher
    • View Profile
Re: [MODDING] CREATURE & ENTITY QUESTIONS THREAD
« Reply #4155 on: November 14, 2019, 11:47:23 am »

Is there any way of modding which attributes are trained by a given job?
Logged

Unknown72

  • Bay Watcher
  • Undead Enthusiast, at your service.
    • View Profile
Re: [MODDING] CREATURE & ENTITY QUESTIONS THREAD
« Reply #4156 on: November 14, 2019, 01:35:51 pm »

I remember that there are issues with flying playable civ creatures. Is that correct? Should I not make playable civ creatures fliers? What about flying pets?

The problem with playable flier civs is that they'll get stuck. They'll path somewhere, fly there, and then will get stuck there. Though with the jumping and climbing stuff, that might be psuedo fixed now. The other fix for this is to just have a walkable path there, then they'll be able to fly there and then fly out.

I haven't encountered much, if any, problems with flying civs as of yet, but i'd test it just to make sure.

Flying pets should be fine.
Logged
You guys ought to fix Unknown72's turn to some point later in the order. Maybe after Sanctume. Normally that's what happens when someone fesses up to having real life going up like a storm of explosive diarrhoea blasted into a fan.

@me on Discord: Multi#0897

brolol.404

  • Bay Watcher
    • View Profile
Re: [MODDING] CREATURE & ENTITY QUESTIONS THREAD
« Reply #4157 on: November 15, 2019, 04:57:38 pm »

any help with this errorlog? I am not sure why it is showing up since the creature is successfully using the mandibles in combat.



Code: [Select]
*** Error(s) found in the file "raw/objects/creature_io_standard.txt"
io_ANT_BLACK:Attack BITE seems to have correct format but could not find proper BPs in any caste, so not added
io_SPIDER_WOLF:Attack BITE seems to have correct format but could not find proper BPs in any caste, so not added

Code: [Select]
[BODY:SPIDER:2EYES:HEART:GUTS:BRAIN:MANDIBLES]
[BODY_DETAIL_PLAN:CHITIN_MATERIALS]
[BODY_DETAIL_PLAN:CHITIN_TISSUES]
[BODY_DETAIL_PLAN:EXOSKELETON_TISSUE_LAYERS:CHITIN:FAT:MUSCLE]
[SELECT_TISSUE_LAYER:HEART:BY_CATEGORY:HEART]
[TL_MAJOR_ARTERIES]
[BODY_DETAIL_PLAN:STANDARD_HEAD_POSITIONS]
[USE_MATERIAL_TEMPLATE:SINEW:SINEW_TEMPLATE]
[TENDONS:LOCAL_CREATURE_MAT:SINEW:200]
[LIGAMENTS:LOCAL_CREATURE_MAT:SINEW:200]
[HAS_NERVES]
[USE_MATERIAL_TEMPLATE:ICHOR:ICHOR_TEMPLATE]
[BLOOD:LOCAL_CREATURE_MAT:ICHOR:LIQUID]
[GETS_WOUND_INFECTIONS]
[GETS_INFECTIONS_FROM_ROT]
[USE_MATERIAL_TEMPLATE:PUS:PUS_TEMPLATE]
[PUS:LOCAL_CREATURE_MAT:PUS:LIQUID]
[NOBONES]
[USE_MATERIAL_TEMPLATE:POISON:CREATURE_EXTRACT_TEMPLATE]
[STATE_NAME:ALL_SOLID:frozen wolf spider venom]
[STATE_ADJ:ALL_SOLID:frozen wolf spider venom]
[STATE_NAME:LIQUID:wolf spider venom]
[STATE_ADJ:LIQUID:wolf spider venom]
[STATE_NAME:GAS:boiling wolf spider venom]
[STATE_ADJ:GAS:boiling wolf spider venom]
[PREFIX:NONE]
[ENTERS_BLOOD]
[SYNDROME]
[SYN_NAME:wolf spider bite]
[SYN_INJECTED]
[CE_PARALYSIS:SEV:500:PROB:100:RESISTABLE:SIZE_DILUTES:START:5:PEAK:20:END:100]
[ATTACK:BITE:CHILD_BODYPART_GROUP:BY_CATEGORY:HEAD:BY_CATEGORY:MANDIBLES]
[ATTACK_SKILL:BITE]
[ATTACK_VERB:bite:bites]
[ATTACK_CONTACT_PERC:100]
[ATTACK_FLAG_EDGE]
[ATTACK_PREPARE_AND_RECOVER:3:3]
[ATTACK_PRIORITY:MAIN]
[SPECIALATTACK_INJECT_EXTRACT:LOCAL_CREATURE_MAT:POISON:LIQUID:100:100]
[ATTACK_FLAG_CANLATCH]

Code: [Select]

[BODY:MANDIBLES]
[BP:R_MAND:right mandible:STP][CONTYPE:HEAD][CATEGORY:MANDIBLE][GRASP]
[DEFAULT_RELSIZE:200]
[BP:L_MAND:left mandible:STP][CONTYPE:HEAD][CATEGORY:MANDIBLE][GRASP]
[DEFAULT_RELSIZE:200]

Spoiler (click to show/hide)

EDIT: I realized that the creature isn't actually using the part to bite. It is just using it to grab.
« Last Edit: November 15, 2019, 05:31:10 pm by brolol.404 »
Logged

Enemy post

  • Bay Watcher
  • Modder/GM
    • View Profile
Re: [MODDING] CREATURE & ENTITY QUESTIONS THREAD
« Reply #4158 on: November 15, 2019, 05:31:29 pm »

Your attack raws in the creature call for the attack to be done with the category "MANDIBLES", but the actual body part's category is "MANDIBLE", without the S. That's why they can still grapple. The part is attached and works, but the bite attack is looking for a category that doesn't exist.
Logged
My mods and forum games.
Enemy post has claimed the title of Dragonsong the Harmonic of Melodious Exaltion!

brolol.404

  • Bay Watcher
    • View Profile
Re: [MODDING] CREATURE & ENTITY QUESTIONS THREAD
« Reply #4159 on: November 15, 2019, 06:02:24 pm »

Your attack raws in the creature call for the attack to be done with the category "MANDIBLES", but the actual body part's category is "MANDIBLE", without the S. That's why they can still grapple. The part is attached and works, but the bite attack is looking for a category that doesn't exist.

I changed the category in the bite, but same error:
Code: [Select]
[ATTACK:BITE:CHILD_BODYPART_GROUP:BY_CATEGORY:HEAD:BY_CATEGORY:MANDIBLE]
[ATTACK_SKILL:BITE]
[ATTACK_VERB:bite:bites]
[ATTACK_CONTACT_PERC:100]
[ATTACK_FLAG_EDGE]
[ATTACK_PREPARE_AND_RECOVER:3:3]
[ATTACK_PRIORITY:MAIN]
[SPECIALATTACK_INJECT_EXTRACT:LOCAL_CREATURE_MAT:POISON:LIQUID:100:100]
[ATTACK_FLAG_CANLATCH]

Enemy post

  • Bay Watcher
  • Modder/GM
    • View Profile
Re: [MODDING] CREATURE & ENTITY QUESTIONS THREAD
« Reply #4160 on: November 15, 2019, 06:35:22 pm »

Alright, looking at it again I noticed that the CATEGORY:HEAD part is also a problem. BODY:SPIDER doesn't have a part with that category, because it's a cephalothorax instead. Try changing the category on the spider's bite to CATEGORY:BODY_UPPER.
Logged
My mods and forum games.
Enemy post has claimed the title of Dragonsong the Harmonic of Melodious Exaltion!

LargeSnail

  • Bay Watcher
  • Sluggish Modder
    • View Profile
Re: [MODDING] CREATURE & ENTITY QUESTIONS THREAD
« Reply #4161 on: November 15, 2019, 06:39:25 pm »

Code: [Select]

[BODY:MANDIBLES]
[BP:R_MAND:right mandible:STP][CONTYPE:HEAD][CATEGORY:MANDIBLE][GRASP]
[DEFAULT_RELSIZE:200]
[BP:L_MAND:left mandible:STP][CONTYPE:HEAD][CATEGORY:MANDIBLE][GRASP]
[DEFAULT_RELSIZE:200]

Having [GRASP] in each mandible doesn't mean that the creature will be able to carry one item per mandible? Maybe will be better if you add a mouth with the [GRASP] token instead.

brolol.404

  • Bay Watcher
    • View Profile
Re: [MODDING] CREATURE & ENTITY QUESTIONS THREAD
« Reply #4162 on: November 15, 2019, 08:03:53 pm »

Having [GRASP] in each mandible doesn't mean that the creature will be able to carry one item per mandible? Maybe will be better if you add a mouth with the [GRASP] token instead.

I updated the mandibles to fix this problem:

Code: [Select]
[BODY:MANDIBLES]
[BP:MAND:mandibles:mandibles][CONTYPE:HEAD][CATEGORY:MANDIBLE][GRASP]
[DEFAULT_RELSIZE:200]

Code: [Select]
[ATTACK:BITE:CHILD_BODYPART_GROUP:BY_CATEGORY:HEAD:BY_CATEGORY:MANDIBLE]
[ATTACK_SKILL:BITE]
[ATTACK_VERB:bite:bites]
[ATTACK_CONTACT_PERC:100]
[ATTACK_FLAG_EDGE]
[ATTACK_PREPARE_AND_RECOVER:3:3]
[ATTACK_PRIORITY:MAIN]
[SPECIALATTACK_INJECT_EXTRACT:LOCAL_CREATURE_MAT:POISON:LIQUID:100:100]
[ATTACK_FLAG_CANLATCH]

However, I still get the error.

Enemy post

  • Bay Watcher
  • Modder/GM
    • View Profile
Re: [MODDING] CREATURE & ENTITY QUESTIONS THREAD
« Reply #4163 on: November 15, 2019, 08:29:27 pm »

You need to fix the tokens here:
   [ATTACK:BITE:CHILD_BODYPART_GROUP:BY_CATEGORY:HEAD:BY_CATEGORY:MANDIBLE]

The creature uses BODY:SPIDER, which has no parts with CATEGORY:HEAD.
Logged
My mods and forum games.
Enemy post has claimed the title of Dragonsong the Harmonic of Melodious Exaltion!

brolol.404

  • Bay Watcher
    • View Profile
Re: [MODDING] CREATURE & ENTITY QUESTIONS THREAD
« Reply #4164 on: November 15, 2019, 09:31:16 pm »

You need to fix the tokens here:
   [ATTACK:BITE:CHILD_BODYPART_GROUP:BY_CATEGORY:HEAD:BY_CATEGORY:MANDIBLE]

The creature uses BODY:SPIDER, which has no parts with CATEGORY:HEAD.

Thanks. I'll try and add a head to the BODY:SPIDER

Enemy post

  • Bay Watcher
  • Modder/GM
    • View Profile
Re: [MODDING] CREATURE & ENTITY QUESTIONS THREAD
« Reply #4165 on: November 15, 2019, 10:15:55 pm »

Wait, you don't have to do that, and spiders really do have a fused thorax and head. Just change the line to:[ATTACK:BITE:CHILD_BODYPART_GROUP:BY_CATEGORY:BODY_UPPER:BY_CATEGORY:MANDIBLE]

Moving the category to the cephalothorax's BODY_UPPER should fix it.
Logged
My mods and forum games.
Enemy post has claimed the title of Dragonsong the Harmonic of Melodious Exaltion!

brolol.404

  • Bay Watcher
    • View Profile
Re: [MODDING] CREATURE & ENTITY QUESTIONS THREAD
« Reply #4166 on: November 16, 2019, 06:17:21 am »

Wait, you don't have to do that, and spiders really do have a fused thorax and head. Just change the line to:[ATTACK:BITE:CHILD_BODYPART_GROUP:BY_CATEGORY:BODY_UPPER:BY_CATEGORY:MANDIBLE]

Moving the category to the cephalothorax's BODY_UPPER should fix it.

Awesome! this worked thanks :)

I fixed the ant by just moving the BODY out of the castes and above the attack.

Enemy post

  • Bay Watcher
  • Modder/GM
    • View Profile
Re: [MODDING] CREATURE & ENTITY QUESTIONS THREAD
« Reply #4167 on: November 16, 2019, 10:40:37 am »

You're welcome!
Logged
My mods and forum games.
Enemy post has claimed the title of Dragonsong the Harmonic of Melodious Exaltion!

Tentacle Demon

  • Bay Watcher
    • View Profile
Re: [MODDING] CREATURE & ENTITY QUESTIONS THREAD
« Reply #4168 on: November 17, 2019, 07:03:01 am »

If creature has CAN_SPEAK, but lack CAN_LEARN, they're body parts will be dead_dwarf? If add to entity ITEM_TOOL as weapon type, will they use this tool as weapon?
Logged

Conor891

  • Bay Watcher
    • View Profile
Re: [MODDING] CREATURE & ENTITY QUESTIONS THREAD
« Reply #4169 on: November 20, 2019, 05:56:30 am »

Is there a way to set the amount of members that get poofed into existence on year 1 of world gen? It seems like there was at one point a START_GROUP_NUMBER token but I think it was removed or something.

Logged
Pages: 1 ... 276 277 [278] 279 280 ... 372