Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 284 285 [286] 287 288 ... 544

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

Mirkrali

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #4275 on: February 26, 2013, 08:44:02 pm »

Hi, I was wondering if there was anywhere I could be pointed to that could give me more detailed help on making castes? I checked the wiki and didn't really find anything that could show me step by step. See, I wanted to add a caste to my hyena man civ that was essentially just really big and toothy hyenas, but I'm not really sure how to go about it so that everything works properly. Any help would be appreciated.
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #4276 on: February 26, 2013, 08:48:28 pm »

Castes are no different from new creatures.

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #4277 on: February 26, 2013, 08:55:28 pm »

Or have a look at the antmen or bees. They already have a caste system, and it should be easy to learn from seeing an example.
Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::

Reelya

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #4278 on: February 26, 2013, 09:22:34 pm »

Hi, I was wondering if there was anywhere I could be pointed to that could give me more detailed help on making castes? I checked the wiki and didn't really find anything that could show me step by step. See, I wanted to add a caste to my hyena man civ that was essentially just really big and toothy hyenas, but I'm not really sure how to go about it so that everything works properly. Any help would be appreciated.

Since they have a different body plan, you need to move the existing bodyplan tags, (and other tags) into the existing castes, then make a new caste with the new body-plan. Just be aware that most tags can be isolated to the caste level, but some are "global" for the who race.

you need to learn the caste tags like SELECT_CASTE, SELECT_ADDITIONAL_CASTE etc to do this, see the wiki creature modding sections.

It should be possible to debug / fine-tune the giant hyenas as a separate pet/domestic species first (but remember to define everything within the caste level), then you fix up your existing hyena-man creature to put all their tags inside the castes, and mush the two species together, but probably a bit more debugging needed at the end.

Do it in stages.

Souleater17

  • Bay Watcher
  • [ANGEL]
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #4279 on: February 26, 2013, 09:57:12 pm »

Okay, let's say a creature walks up to you and offers you one of several buffs. How would you get to choose which one you get?
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #4280 on: February 26, 2013, 09:59:16 pm »

It would give you a bunch of SELF_ONLY interactions that are mutually exclusive with IT_CANNOT_HAVE_SYNDROME_CLASS.

exolyx

  • Bay Watcher
  • That one guy
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #4281 on: February 27, 2013, 07:28:33 pm »

So yeah, me again. About that secret I tried modding in, I knew of this problem but didn't want to seem like a nuisance after my silly mistake.

Code: [Select]
[OBJECT:INTERACTION]

[INTERACTION:DRAGON_SECRET]
[I_SOURCE:SECRET]
[IS_NAME:the breath of dragons]
[IS_SPHERE:MOUNTAINS]
[IS_SECRET_GOAL:IMMORTALITY]
[IS_SECRET:SUPERNATURAL_LEARNING_POSSIBLE]
[IS_SECRET:MUNDANE_RESEARCH_POSSIBLE]
[IS_SECRET:MUNDANE_TEACHING_POSSIBLE]
[IS_SECRET:MUNDANE_RECORDING_POSSIBLE:objects/text/book_instruction.txt:objects/text/secret_fire.txt]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_REQUIRES:MORTAL]
[IT_REQUIRES:CAN_LEARN]
[IT_REQUIRES:CAN_SPEAK]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[IE_ARENA_NAME:Dragonspeaker]
[SYNDROME]
[CE_DISPLAY_NAME:NAME:dragonspeaker:dragonspeakers:dragonspeaker:START:0]
[CE_ADD_TAG:NOEXERT:NO_AGING:NO_EAT:NO_DRINK:NO_SLEEP:NO_PHYS_ATT_GAIN:NO_PHYS_ATT_RUST:START:0]
[CAN_DO_INTERACTION:MATERIAL_EMISSION]
[CDI:ADV_NAME:Breath fire]
[CDI:USAGE_HINT:ATTACK]
[CDI:BP_REQUIRED:BY_CATEGORY:MOUTH]
[CDI:FLOW:DRAGONFIRE]
[CDI:TARGET:C:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:C:15]
[CDI:MAX_TARGET_NUMBER:C:1]
[CDI:WAIT_PERIOD:50]

However, this problem is a lot more specific. You see, they wont breathe fire and I cannot give them [FIREIMMUNE_SUPER] as a tag. As well as being unable to breathe fire. the exact errorlog text is

Code: [Select]
*** Error(s) found in the file "raw/objects/interaction_secrets_pack.txt"
DRAGON_SECRET:Unrecognized Interaction Token: CAN_DO_INTERACTION

And one last question, I just realized that they may very well melt themselves, is it possible to change their temperatures and such so that they wont melt? and how would I do so?
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #4282 on: February 27, 2013, 07:34:55 pm »

[CE_CAN_DO_INTERACTION:START:0]
   [CDI:INTERACTION:MATERIAL_EMISSION]

Not that thing you have there. So you should have this:

Code: [Select]
[CAN_DO_INTERACTION:MATERIAL_EMISSION]
[CDI:ADV_NAME:Breath fire]
[CDI:USAGE_HINT:ATTACK]
[CDI:BP_REQUIRED:BY_CATEGORY:MOUTH]
[CDI:FLOW:DRAGONFIRE]
[CDI:TARGET:C:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:C:15]
[CDI:MAX_TARGET_NUMBER:C:1]
[CDI:WAIT_PERIOD:50]

You have this:

Code: [Select]
[CE_CAN_DO_INTERACTION:START:0]
[CDI:INTERACTION:MATERIAL_EMISSION]
[CDI:ADV_NAME:Breath fire]
[CDI:USAGE_HINT:ATTACK]
[CDI:BP_REQUIRED:BY_CATEGORY:MOUTH]
[CDI:FLOW:DRAGONFIRE]
[CDI:TARGET:C:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:C:15]
[CDI:MAX_TARGET_NUMBER:C:1]
[CDI:WAIT_PERIOD:50]

Public service announcement: if the errorlog tells you that something you did is wrong, it's wrong.

Lycaeon

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #4283 on: February 27, 2013, 07:35:38 pm »

Unfortunately, there's no way to make them immune to their own fire apart from transforming them into a creature that already is immune (Or using a shield for adventurers).
Logged
“I want to calm the storm, but the war is in your eyes.
How can I shield you from the horror and the lies?
When all that once held meaning is shattered, ruined, bleeding
And the whispers in the darkness tell me we won’t survive?”

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #4284 on: February 27, 2013, 08:24:47 pm »

Question Time.

Any way to reduce the bad impact of dead civ members? Some sort of inbuilt "does not care for anything anymore"? I want cheap throw-away melee fighters in my race, without starting tantrums everywhere.
Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::

Stirk

  • Bay Watcher
  • Full Metal Nutball
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #4285 on: February 27, 2013, 08:31:26 pm »

Question Time.

Any way to reduce the bad impact of dead civ members? Some sort of inbuilt "does not care for anything anymore"? I want cheap throw-away melee fighters in my race, without starting tantrums everywhere.

 PERSONALITY Caste token with 0 stress, makes things effect him less, along with other personality modifiers.
Logged
This is my signature. There are many like it, but this one is mine.

This is my waifu, this is my gun. This one's for fighting, this ones for fun.

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #4286 on: February 27, 2013, 08:59:41 pm »

ANGER Not prone to becoming enraged or throwing tantrums
VULNERABILITY Less susceptible to unhappy thoughts
DEPRESSION  Less likely to be stricken by melancholy.

Perfect, thanks for that little push. Found it on the wiki. :)
Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::

evictedSaint

  • Bay Watcher
  • if (ANNOYED_W_FANS==true) { KILL_CHAR(rand()); }
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #4287 on: February 28, 2013, 04:38:04 pm »

So, I want to make vampirism spread through bites.

The example interactions show how to do it through literal bites; through combat, the vampire chomping down on some poor scrub and infecting him.

What I want is for when the vampire feeds, but doesn't kill, leaving the victim "pale" or "faint."

Is there a way to do this?  My gut tells me there may be a work-around, but nothing that works the way I want it too.

Teneb

  • Bay Watcher
  • (they/them) Penguin rebellion
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #4288 on: February 28, 2013, 05:07:07 pm »

So, I want to make vampirism spread through bites.

The example interactions show how to do it through literal bites; through combat, the vampire chomping down on some poor scrub and infecting him.

What I want is for when the vampire feeds, but doesn't kill, leaving the victim "pale" or "faint."

Is there a way to do this?  My gut tells me there may be a work-around, but nothing that works the way I want it too.

You cannot mod the vanilla vampires. What you can do is make a vampire curse that is identical to the vanilla one, with an extra interaction that gives this curse to other people. I don't think it's possible to synch it with the feeding.
Logged
Monstrous Manual: D&D in DF
Quote from: Tack
What if “slammed in the ass by dead philosophers” is actually the thing which will progress our culture to the next step?

Mohreb el Yasim

  • Bay Watcher
  • ♫♪♫♫♪♫♪♪♫♪
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #4289 on: February 28, 2013, 08:00:47 pm »

1) Does races get acces to metal if you generate world without cave-layers?
2) If you mod their mining equipement out?
3) Can they get acces to those metals again if you add in specific reactions (so you can limit wich race get wich type of metal/ore)?
4) How to give costum item materiels to be liked by civ members?
5) How does flying affects civ-members? (i heard it is broken but in wich way?)
6) What size of clothing/armor does civ members do if different castes are not the same size?
7) What are the actual war-generatinc proportions from clashing etics? (i know in earlyer versions it was not too high)
Logged
Mohreb el Yasim


GENERATION 24:The first time you see this, copy it into your sig on any forum and add 1 to the generation. Social experime
Pages: 1 ... 284 285 [286] 287 288 ... 544