Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 221 222 [223] 224 225 ... 247

Author Topic: [MODDING] 0.40.x QUESTIONS THREAD  (Read 335185 times)

Urist McVoyager

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #3330 on: September 19, 2015, 04:50:02 pm »

Okay, so I'm trying to create a syndrome that encourages my modded race to spend as little time underground as necessary. Mainly by giving them horrible symptoms if they stay underground for extended periods of time. Is Cave Adaptation a valid trigger for non-dwarves too?

ETA: And second question: Is there a way to make them be born with it? I realized if Cave Adaptation is a valid counter then chances are everyone in my species IS born with it.
« Last Edit: September 19, 2015, 05:05:45 pm by Urist McVoyager »
Logged

CulixCupric

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #3331 on: September 19, 2015, 06:45:53 pm »

Okay, so I'm trying to create a syndrome that encourages my modded race to spend as little time underground as necessary. Mainly by giving them horrible symptoms if they stay underground for extended periods of time. Is Cave Adaptation a valid trigger for non-dwarves too?

ETA: And second question: Is there a way to make them be born with it? I realized if Cave Adaptation is a valid counter then chances are everyone in my species IS born with it.
i think that's correct. here's a fragment that may do what you want for the symptoms.

Code: [Select]
[SYNDROME]
[CE_DIZZINESS:SEV:100:PROB:100:RESISTABLE:START:10:END:25]
[CE:COUNTER_TRIGGER:CAVE_ADAPT:1200:NONE:REQUIRED]
[CE_NAUSEA:SEV:100:PROB:100:RESISTABLE:START:10:END:25]
[CE:COUNTER_TRIGGER:CAVE_ADAPT:1200:NONE:REQUIRED]
Logged
Don't know what to put here... let me know if you have any ideas...

Urist McVoyager

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #3332 on: September 19, 2015, 08:47:01 pm »

And if I use that counter, it replaces any need for bites or contact poisons, right?
Logged

BlackFlyme

  • Bay Watcher
  • BlackFlyme cancels Work: Interrupted by bird.
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #3333 on: September 19, 2015, 08:52:07 pm »

You still need a way to give them the syndrome.

Try giving dwarves an interaction that they use to apply the syndrome to any dwarf they see that is not already affected by it.
« Last Edit: September 19, 2015, 08:56:55 pm by BlackFlyme »
Logged

Urist McVoyager

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #3334 on: September 19, 2015, 08:59:54 pm »

Well that would give a whole new meaning to all the spitting dwarves do when they see a murderer.  "Murderer! I spit on thee!" Urist McVeigh rots on the spot.

It would have to be something on accident, I suppose. Or incidental. Like making them sweat and drip on the floor. Or put it in their tears. For my creatures who don't sweat, tears would be better.
Logged

BlackFlyme

  • Bay Watcher
  • BlackFlyme cancels Work: Interrupted by bird.
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #3335 on: September 19, 2015, 09:05:18 pm »

Interactions don't have to spread like that. They can be given at range, with the only necessary requirement being line-of-sight. Sometimes not even that.
Logged

Urist McVoyager

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #3336 on: September 19, 2015, 09:12:33 pm »

So it really is like a disease where breathing can spread it. Nifty.
Logged

Urist McVoyager

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #3337 on: September 19, 2015, 10:30:31 pm »

Is this a good start?

Code: [Select]
[OBJECT:INTERACTION]

[INTERACTION: DEEP_TERROR]
[I_SOURCE:REGION]
[IS_REGION:ALL]
[IS_FREQUENCY:100]
[IS_HIST_STRING_1: cursed]
[IS_HIST_STRING_2: to forever dread the depths of the world.]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_AFFECTED_CREATURE:MRRROW:ALL]
[IT_CANNOT_TARGET_IF_ALREADY_AFFECTED]
[I_EFFECT:ADD_SYNDROME]
[SYNDROME]
[SYN_NAME:cave sickness]
[SYN_AFFECTED_CREATURE:Mrrrow:ALL]
[CE_DIZZINESS:SEV:100:PROB:100:RESISTABLE:START:10:END:25]
[CE:COUNTER_TRIGGER:CAVE_ADAPT:16800:NONE:REQUIRED]
[CE_NAUSEA:SEV:100:PROB:100:RESISTABLE:START:10:END:25]
[CE:COUNTER_TRIGGER:CAVE_ADAPT:33600:NONE:REQUIRED]
[IE_TARGET:A]
[IE_IMMEDIATE]
[IE_LOCATION:IN_WATER]
[IE_LOCATION:IN_MAGMA]

The symptoms are just placeholders until I've got the format figured out properly.
Logged

CulixCupric

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #3338 on: September 19, 2015, 10:39:39 pm »

Is this a good start?

Code: [Select]
[OBJECT:INTERACTION]

[INTERACTION: DEEP_TERROR]
[I_SOURCE:REGION]
[IS_REGION:ALL]
[IS_FREQUENCY:100]
[IS_HIST_STRING_1: cursed]
[IS_HIST_STRING_2: to forever dread the depths of the world.]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_AFFECTED_CREATURE:MRRROW:ALL]
[IT_CANNOT_TARGET_IF_ALREADY_AFFECTED]
[I_EFFECT:ADD_SYNDROME]
[SYNDROME]
[SYN_NAME:cave sickness]
[SYN_AFFECTED_CREATURE:Mrrrow:ALL]
[CE_DIZZINESS:SEV:100:PROB:100:RESISTABLE:START:10:END:25]
[CE:COUNTER_TRIGGER:CAVE_ADAPT:16800:NONE:REQUIRED]
[CE_NAUSEA:SEV:100:PROB:100:RESISTABLE:START:10:END:25]
[CE:COUNTER_TRIGGER:CAVE_ADAPT:33600:NONE:REQUIRED]
[IE_TARGET:A]
[IE_IMMEDIATE]
[IE_LOCATION:IN_WATER]
[IE_LOCATION:IN_MAGMA]

The symptoms are just placeholders until I've got the format figured out properly.

you could attach it to its blood.

Code: [Select]
[USE_MATERIAL_TEMPLATE:BLOOD:BLOOD_TEMPLATE]
[ENTERS_BLOOD]
[SYNDROME]
[SYN_INHALED]
[SYN_INJECTED]
[SYN_INGESTED]
[CE_BODY_MAT_INTERACTION:MAT_TOKEN:BLOOD:START:1]
[SYN_NAME:cave sickness]
[SYN_AFFECTED_CREATURE:Mrrrow:ALL]
[CE_DIZZINESS:SEV:100:PROB:100:RESISTABLE:START:10:END:25]
[CE:COUNTER_TRIGGER:CAVE_ADAPT:16800:NONE:REQUIRED]
[CE_NAUSEA:SEV:100:PROB:100:RESISTABLE:START:10:END:25]
[CE:COUNTER_TRIGGER:CAVE_ADAPT:33600:NONE:REQUIRED]

EDIT: any way to make a blood-born contact syndrome that makes a creature explode into a bloody mess, spreading it's blood syndrome to everyone in the blast?
« Last Edit: September 19, 2015, 10:45:55 pm by CulixCupric »
Logged
Don't know what to put here... let me know if you have any ideas...

Urist McVoyager

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #3339 on: September 19, 2015, 10:44:41 pm »

At that rate I wouldn't need to worry about I_SOURCE:REGION. Just make it contact based in blood.
Logged

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #3340 on: September 19, 2015, 10:45:30 pm »

And if I use that counter, it replaces any need for bites or contact poisons, right?

[CAN_DO_INTERACTION:CAVE_WEAKNESS]
         [CDI:ADV_NAME:Activate Fear]
         [CDI:TARGET:A:SELF_ONLY]
         [CDI:WAIT_PERIOD:16800]
         [CDI:FREE_ACTION]

will use it when they can on themselves, interaction effect is all up to you
Logged

Urist McVoyager

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #3341 on: September 19, 2015, 10:53:37 pm »

Thank you for that one! All sorts of ways to do this. I suppose which coding I go for would depend on the RP of the thing. I mean, if it's intended to be done on purpose as a means to defeating powerful enemies, then the self-targeted interaction would be the best. But if it's supposed to be something they fear and don't want to be a part of, then having it inflicted on them somehow would be best.
Logged

CulixCupric

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #3342 on: September 19, 2015, 11:13:10 pm »

And if I use that counter, it replaces any need for bites or contact poisons, right?

[CAN_DO_INTERACTION:CAVE_WEAKNESS]
         [CDI:ADV_NAME:Activate Fear]
         [CDI:TARGET:A:SELF_ONLY]
         [CDI:WAIT_PERIOD:16800]
         [CDI:FREE_ACTION]

will use it when they can on themselves, interaction effect is all up to you

so if i make a syndrome that turns them into a creature with [HOMEOTHERM:99099] and that has blood that gives the syndrome to others on contact... contagious exploding disease?
Logged
Don't know what to put here... let me know if you have any ideas...

Urist McVoyager

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #3343 on: September 19, 2015, 11:16:17 pm »

Oh dear Armok, suicide bombing diseases. Give it a delayed effect, and let the victim go to the booze pile . . .

Bye bye fortress.
Logged

CulixCupric

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #3344 on: September 19, 2015, 11:20:43 pm »

Oh dear Armok, suicide bombing diseases. Give it a delayed effect, and let the victim go to the booze pile . . .

Bye bye fortress.

also made this... because...

Code: [Select]
[INTERACTION:DISEASE_URISTMC]

[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_AFFECTED_CREATURE:DWARF:ALL]

[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[IE_ARENA_NAME:Urist]
[SYNDROME]
[SYN_CONTACT]
[SYN_AFFECTED_CREATURE:DWARF:ALL]
[CE_DISPLAY_NAME:NAME:Urist Mc:Urist Mc:Urist-like:START:0]
Logged
Don't know what to put here... let me know if you have any ideas...
Pages: 1 ... 221 222 [223] 224 225 ... 247