Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 38 39 [40] 41 42 ... 544

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

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #585 on: February 25, 2012, 06:28:59 pm »

FLIER isn't supported by CE_ADD_TAG.

That wouldn't work anyway, because pathfinding in Dwarf mode is still borked for fliers.

thatkid

  • Bay Watcher
  • <Servibot> thatkid, swag percentiles: 94
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #586 on: February 25, 2012, 06:37:00 pm »

The following interaction will not transform corpses. Anyone know what I need to do?
Code: [Select]
[INTERACTION:PREPARE_DWARF]
[I_TARGET:A:CORPSE]
[IT_LOCATION:CONTEXT_ITEM]
[IT_AFFECTED_CREATURE:DWARF]
[IT_FORBIDDEN:NOT_LIVING]
[IT_MANUAL_INPUT:dwarf corpses]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[IE_ARENA_NAME:Prepared corpse]
[SYNDROME]
[CE_BODY_TRANSFORMATION:START:0]
[CE:CREATURE:DWARF_BUTCHERABLE:DEFAULT]

I'm considering temporarily resurrecting the corpse, but I can't think of a way to do that.

E: Now it's just an issue of getting them to die as soon as they resurrect.
Code: [Select]
[INTERACTION:PREPARE_DWARF]
[I_TARGET:A:CORPSE]
[IT_LOCATION:CONTEXT_ITEM]
[IT_AFFECTED_CREATURE:DWARF:MALE]
[IT_AFFECTED_CREATURE:DWARF:FEMALE]
[IT_FORBIDDEN:NOT_LIVING]
[IT_MANUAL_INPUT:dwarf corpses]
[I_EFFECT:RESURRECT]
[IE_TARGET:A]
[IE_IMMEDIATE]
[IE_ARENA_NAME:Prepared dwarf corpse]
[SYNDROME]
[CE_UNCONSCIOUSNESS:SEV:1000:PROB:100:START:0:PEAK:1:END:100000]
[CE_BLEEDING:SEV:5000000:PROB:100:START:0:PEAK:1:END:100000]
[CE_BODY_TRANSFORMATION:START:0]
[CE:CREATURE:DWARF_BUTCHERABLE:DEFAULT]
For some reason they won't start bleeding at all, and will only sort of fall unconscious from this.
« Last Edit: February 25, 2012, 07:25:30 pm by thatkid »
Logged
Fame is a vapor. The only earthly certainty is oblivion.

The Grackle

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #587 on: February 25, 2012, 06:46:54 pm »

FLIER isn't supported by CE_ADD_TAG.

That wouldn't work anyway, because pathfinding in Dwarf mode is still borked for fliers.

Yeah. They would just fly up in the air and then drop to their deaths.
Logged

lanp

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #588 on: February 25, 2012, 07:41:23 pm »

You need to attach that syndrome to the material you are exhaling- remember to make yourself immune (or not, if you like dying.)

I added a new material (copied from CREATURE_EXTRACT_TEMPLATE) that should boil the moment it hits air. I also added the syndromes to it.

Spoiler (click to show/hide)

And then this is the attack for the creature:

Spoiler (click to show/hide)

Still nothing happens when I perform the attack. I feel like I'm missing something very obvious. This would be way easier if I had some base to work from.

Edit: Okay, I applied some changes and the creature now uses the attack and something comes out. Sadly it seems to be magma vapor. Is there any reason why? This causes any fleshy enemies to get partially melted and they seem to die from that and not the syndromes. I just want it to be a gas that is a low temperature so it doesn't cause damage itself.

I figured it would be okay to bump this because I didn't get a reply and it's already two pages back.

I edited some more stuff copying the posts just after mine to see if I could at least get something working. I breathe something but it instantly turns into either a magma vapor or just flat out burns/melts everything to death. It also never seems to cause any syndromes. I can't for the life of me figure out why this happens though. Here is what I have set up now. If anyone can help me out I would really appreciate it.

Spoiler (click to show/hide)

Spoiler (click to show/hide)

I just want to have an attack that breathes some kind of gas that on contact and/or (preferably and) inhalation will cause whatever syndromes I add.
Logged

Pwnzerfaust

  • Bay Watcher
  • It's evolution, baby!
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #589 on: February 25, 2012, 07:52:26 pm »

Apologies if this has been asked before, but a cursory search didn't turn up anything.

Is it possible to mod the raws to allow one to play as a dragon or other beast in adventure mode? If so, how?
Logged
Give an elf a fire and he's warm for a night. Drop an elf in magma and he's warm for the rest of his life.

thatkid

  • Bay Watcher
  • <Servibot> thatkid, swag percentiles: 94
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #590 on: February 25, 2012, 07:53:07 pm »

Apologies if this has been asked before, but a cursory search didn't turn up anything.

Is it possible to mod the raws to allow one to play as a dragon or other beast in adventure mode? If so, how?
Entity file with only the creature input. Have that creature be the dragon.
Logged
Fame is a vapor. The only earthly certainty is oblivion.

Pwnzerfaust

  • Bay Watcher
  • It's evolution, baby!
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #591 on: February 25, 2012, 07:55:24 pm »

So like....

Code: [Select]
[ENTITY:DRAGON]
[INDIV_CONTROLLABLE]
[CREATURE:DRAGON]

Or no?
Logged
Give an elf a fire and he's warm for a night. Drop an elf in magma and he's warm for the rest of his life.

thatkid

  • Bay Watcher
  • <Servibot> thatkid, swag percentiles: 94
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #592 on: February 25, 2012, 08:04:21 pm »

So like....

Code: [Select]
[ENTITY:DRAGON]
[INDIV_CONTROLLABLE]
[CREATURE:DRAGON]

Or no?
Yes.
Logged
Fame is a vapor. The only earthly certainty is oblivion.

Rip0k

  • Bay Watcher
  • R.I.P.
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #593 on: February 25, 2012, 08:50:38 pm »

I wonder does anybody know, what would I have to transform to (via interactions) to be able, to butcher Elfs (sapient) in adventure mode?
Logged
Rip0k cancels chillin, struck down by water pipe shot!

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #594 on: February 25, 2012, 08:59:28 pm »

The following interaction will not transform corpses. Anyone know what I need to do?
Code: [Select]
[INTERACTION:PREPARE_DWARF]
[I_TARGET:A:CORPSE]
[IT_LOCATION:CONTEXT_ITEM]
[IT_AFFECTED_CREATURE:DWARF]
[IT_FORBIDDEN:NOT_LIVING]
[IT_MANUAL_INPUT:dwarf corpses]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[IE_ARENA_NAME:Prepared corpse]
[SYNDROME]
[CE_BODY_TRANSFORMATION:START:0]
[CE:CREATURE:DWARF_BUTCHERABLE:DEFAULT]

I'm considering temporarily resurrecting the corpse, but I can't think of a way to do that.

E: Now it's just an issue of getting them to die as soon as they resurrect.
Code: [Select]
[INTERACTION:PREPARE_DWARF]
[I_TARGET:A:CORPSE]
[IT_LOCATION:CONTEXT_ITEM]
[IT_AFFECTED_CREATURE:DWARF:MALE]
[IT_AFFECTED_CREATURE:DWARF:FEMALE]
[IT_FORBIDDEN:NOT_LIVING]
[IT_MANUAL_INPUT:dwarf corpses]
[I_EFFECT:RESURRECT]
[IE_TARGET:A]
[IE_IMMEDIATE]
[IE_ARENA_NAME:Prepared dwarf corpse]
[SYNDROME]
[CE_UNCONSCIOUSNESS:SEV:1000:PROB:100:START:0:PEAK:1:END:100000]
[CE_BLEEDING:SEV:5000000:PROB:100:START:0:PEAK:1:END:100000]
[CE_BODY_TRANSFORMATION:START:0]
[CE:CREATURE:DWARF_BUTCHERABLE:DEFAULT]
For some reason they won't start bleeding at all, and will only sort of fall unconscious from this.
Your BLEEDING needs to target a BP or organ, right now its just saying "BLEED!!" and the creature is like "Where?" then the syndrome says "Ah forget it"
Logged

thatkid

  • Bay Watcher
  • <Servibot> thatkid, swag percentiles: 94
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #595 on: February 25, 2012, 09:26:31 pm »

The following interaction will not transform corpses. Anyone know what I need to do?
Code: [Select]
[INTERACTION:PREPARE_DWARF]
[I_TARGET:A:CORPSE]
[IT_LOCATION:CONTEXT_ITEM]
[IT_AFFECTED_CREATURE:DWARF]
[IT_FORBIDDEN:NOT_LIVING]
[IT_MANUAL_INPUT:dwarf corpses]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[IE_ARENA_NAME:Prepared corpse]
[SYNDROME]
[CE_BODY_TRANSFORMATION:START:0]
[CE:CREATURE:DWARF_BUTCHERABLE:DEFAULT]

I'm considering temporarily resurrecting the corpse, but I can't think of a way to do that.

E: Now it's just an issue of getting them to die as soon as they resurrect.
Code: [Select]
[INTERACTION:PREPARE_DWARF]
[I_TARGET:A:CORPSE]
[IT_LOCATION:CONTEXT_ITEM]
[IT_AFFECTED_CREATURE:DWARF:MALE]
[IT_AFFECTED_CREATURE:DWARF:FEMALE]
[IT_FORBIDDEN:NOT_LIVING]
[IT_MANUAL_INPUT:dwarf corpses]
[I_EFFECT:RESURRECT]
[IE_TARGET:A]
[IE_IMMEDIATE]
[IE_ARENA_NAME:Prepared dwarf corpse]
[SYNDROME]
[CE_UNCONSCIOUSNESS:SEV:1000:PROB:100:START:0:PEAK:1:END:100000]
[CE_BLEEDING:SEV:5000000:PROB:100:START:0:PEAK:1:END:100000]
[CE_BODY_TRANSFORMATION:START:0]
[CE:CREATURE:DWARF_BUTCHERABLE:DEFAULT]
For some reason they won't start bleeding at all, and will only sort of fall unconscious from this.
Your BLEEDING needs to target a BP or organ, right now its just saying "BLEED!!" and the creature is like "Where?" then the syndrome says "Ah forget it"
Are you sure? In the last version they would just bleed EVERYWHERE if no body part was specified.
I've changed it to necrosis, and still nothing happens. I should point out that they also do not remain unconscious. I wonder if it has anything to do with CE_BODY_TRANSFORMATION and its regenerative properties?
Logged
Fame is a vapor. The only earthly certainty is oblivion.

thatkid

  • Bay Watcher
  • <Servibot> thatkid, swag percentiles: 94
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #596 on: February 25, 2012, 10:29:37 pm »

Ok, I got that working. It doesn't kill them, because for some reason even when I had them bleeding from their lungs, upper body, and lower body at severity 50000 they would still live for quite a while and it just got messy. But it does paralyze them permanently, so the adventurer can finish them off with no effort.

Does anyone know how to IT_AFFECTED_CREATURE to affect any caste of a creature, without needing to make a separate entry of it for every caste? Or is this not possible?
Logged
Fame is a vapor. The only earthly certainty is oblivion.

trees

  • Bay Watcher
  • [MUNDANE]
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #597 on: February 25, 2012, 10:32:47 pm »

This will work.

Code: [Select]
[IT_AFFECTED_CREATURE:DWARF:ALL]
Logged
I am often bad at phrasing things - don't hesitate to ask for clarification if something I said doesn't make sense.

thatkid

  • Bay Watcher
  • <Servibot> thatkid, swag percentiles: 94
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #598 on: February 25, 2012, 10:34:26 pm »

This will work.

Code: [Select]
[IT_AFFECTED_CREATURE:DWARF:ALL]
Thanks a ton! :D
Logged
Fame is a vapor. The only earthly certainty is oblivion.

Xira

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #599 on: February 26, 2012, 12:22:18 am »

How do I disable ghosts please?
Logged
Pages: 1 ... 38 39 [40] 41 42 ... 544