Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 178 179 [180] 181 182 ... 544

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

IamanElfCollaborator

  • Bay Watcher
  • Resident Shipper God and Freyjapiller
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2685 on: September 22, 2012, 01:10:37 pm »

Damn. Well, scratch that, I thought that would make them spam healing spells and buffs like nothing. :P
What would work then? I know that ATTACK isn't what I want. I want the creature to use the healing interaction to heal soldier dwarves in battle (the megas in question are meant to be summoned for use in Fortmode.). MAJOR_CURSE doesn't look like it, and CLEAN_SELF I'd probably use for a self-buff.

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2686 on: September 22, 2012, 01:12:00 pm »

None. You want no usage hints at all. What you want is blood that has a syndrome attached that gives them a certain token/syndrome class (forgot which) that will make healing only done on them.

IamanElfCollaborator

  • Bay Watcher
  • Resident Shipper God and Freyjapiller
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2687 on: September 22, 2012, 01:13:40 pm »

Ah. That goes for buffs/debuffs as well?

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2688 on: September 22, 2012, 01:14:31 pm »

Yeah. Those could also use COUNTER_TRIGGERs or USAGE_HINT:FLEEING.

IamanElfCollaborator

  • Bay Watcher
  • Resident Shipper God and Freyjapiller
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2689 on: September 22, 2012, 01:15:07 pm »

Ok, thanks.

IamanElfCollaborator

  • Bay Watcher
  • Resident Shipper God and Freyjapiller
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2690 on: September 22, 2012, 04:52:24 pm »

Hang on, so how exactly do I make a creature use healing only on friendlies and not on enemies?

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2691 on: September 22, 2012, 06:04:46 pm »

Hang on, so how exactly do I make a creature use healing only on friendlies and not on enemies?

Make sure the special syndrome blood is only on allies.

IamanElfCollaborator

  • Bay Watcher
  • Resident Shipper God and Freyjapiller
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2692 on: September 22, 2012, 06:08:45 pm »

Hm, but that provides some problems. Like for example, do I want adventurers to be able to summon and/or transform into the creatures and use healing? What if the allies aren't modded to have the blood, say if they were goblins, who don't have the blood, but you, as a human, did?

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2693 on: September 22, 2012, 06:17:09 pm »

Then you'd have an issue, but it should generally be a rare circumstance; plus, you could probably give them a "clean friend" interaction that gives their blood that particular interaction with CE_BODY_MAT_INTERACTION.

IamanElfCollaborator

  • Bay Watcher
  • Resident Shipper God and Freyjapiller
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2694 on: September 22, 2012, 06:18:20 pm »

Hm. Ok then, I'll use that. Sleep deprivation has bad effects on my modding.

EDIT: I can't find the tag that forces an interaction to only work on a certain [SYN_CLASS], only a tag that makes it NOT target a certain [SYN_CLASS].
« Last Edit: September 22, 2012, 06:24:48 pm by IamanElfCollaborator »
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2695 on: September 22, 2012, 06:35:42 pm »

I noticed that. Annoying as hell. narhiril uses the method that I described, so check in LFR.

Sorcerer

  • Bay Watcher
  • [magical]
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2696 on: September 23, 2012, 07:55:16 am »

Heyo guys, coming back from half a year of absence from modding to see if I can finish my ponymod fork, and I got a quick question.

Is there any way to make a creature emit an object or material that would be harvestable and usable in reactions?
For instance I was considering making giant crystal clusters "creature" that would periodically release dust or shards, that could be harvested and turned into gems in a workshop.
Is this currently possible at all?
Logged

IamanElfCollaborator

  • Bay Watcher
  • Resident Shipper God and Freyjapiller
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2697 on: September 23, 2012, 07:58:58 am »

Perhaps you could make it so if you kill it it drops the crystal? That could be used as the object. For the moment, no, I don't think I know any way that doesn't involve butchering it.

Sorcerer

  • Bay Watcher
  • [magical]
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2698 on: September 23, 2012, 08:25:46 am »

yeah, i kinda figured as much, I was merely checking the facts before passing on the idea outright, thanks for the quick response!
Logged

Ari Lazarus

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2699 on: September 23, 2012, 11:05:26 am »

Can someone tell me a little about how food / liquid storage works? From what I've read in the raws, it seems that alcohol actually counts as a 'food', since it is stored in barrels (which has the FOOD_STORAGE_CONTAINER tag) and only, I think mead and oil use LIQUID_CONTAINER items. Is it possible to transfer alcohol to those containers? Also, would volume play a part? I am unfamiliar with the sizes other than knowing 150 is the default product dimension: jugs mention they have 10k capacity, while pots have 60k capacity. How does that translate to actual liquid / food storage?
Logged
Modest Bodies - Fixes joints for all creatures.
Pages: 1 ... 178 179 [180] 181 182 ... 544