Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2

Author Topic: Creepy stuff I'm trying to mod in - and could use help with.  (Read 2188 times)

Talanic

  • Bay Watcher
  • Struggling author / pizza delivery guy.
    • View Profile
Creepy stuff I'm trying to mod in - and could use help with.
« on: February 19, 2013, 03:15:02 pm »

I'm working on a project that will hopefully result in a very nifty / creepy as heck community fortress.  To that end, I'm trying to add in some syndromes that add to the atmosphere in the fortress, but I'm having some trouble getting them to work.  I'm being a little ambitious here, but I'm only a mediocre modder at best. 

My aim for this section is to add a syndrome that causes minor bleeding from the fingers and causes the player to see a message about the afflicted suffering bite marks on the fingers.  The syndrome is to be applied via a type of booze.  Why booze?  Because I want these messages to be a bit rare but ubiquitous to the fortress in question.  Right now the chances of it happening are inflated for testing purposes, because I haven't gotten it to work yet.

Also, it's only supposed to happen once per dwarf, which I think is probably not the case right now, but I'm stumped as far as how to make that happen.

RAW:

Spoiler (click to show/hide)

Right now, nothing happens when that's pumped into the entry for plump helmets.  I'm doing something wrong, clearly, but syndromes and interactions are confusing the heck out of me.
« Last Edit: February 19, 2013, 03:21:44 pm by Talanic »
Logged
I'm an aspiring Science Fiction and Fantasy writer.  I'm telling the tale of a hapless cyborg everyman lost in a savage fantasy world.

My first review from a real magazine!

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Creepy stuff I'm trying to mod in - and could use help with.
« Reply #1 on: February 19, 2013, 03:43:13 pm »

example of consumeable syndromes
Spoiler (click to show/hide)

also for a syndrome induced interaction use this
[CE_CAN_DO_INTERACTION:START:0:END:3000]
         [CDI:INTERACTION:BUILD_CLONE_VAT]
         [CDI:ADV_NAME:Build a Cloning Vat]
         [CDI:BP_REQUIRED:BY_CATEGORY:HAND]
         [CDI:VERB:build a motorized puller into a cloning vat:builds a motorized puller into a cloning vat]
         [CDI:TARGET_RANGE:A:10]
         [CDI:TARGET:A:LINE_OF_SIGHT]
         [CDI:MAX_TARGET_NUMBER:A:1]
         [CDI:WAIT_PERIOD:3000]

EDIT:
of course you might not want "BUILD_CLONE_VAT" as that is the interaction that will be learned
Logged

smakemupagus

  • Bay Watcher
  • [CANOPENDOORS]
    • View Profile
Re: Creepy stuff I'm trying to mod in - and could use help with.
« Reply #2 on: February 19, 2013, 06:24:59 pm »

As Hugo's example shows, it matters where in the plant raw you put it, such as under "BASIC_MAT"
« Last Edit: February 19, 2013, 09:57:03 pm by smakemupagus »
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Creepy stuff I'm trying to mod in - and could use help with.
« Reply #3 on: February 19, 2013, 09:27:27 pm »

As Hugo's example shows, it matters where in the plant raw you put it, such as under "BASIC_MAT"

Actually, that's one of the places you don't put it; you need to put it under one of the USE_MATERIAL_TEMPLATE sections.

Talanic

  • Bay Watcher
  • Struggling author / pizza delivery guy.
    • View Profile
Re: Creepy stuff I'm trying to mod in - and could use help with.
« Reply #4 on: February 19, 2013, 09:47:09 pm »

Sadly,
Spoiler (click to show/hide)

still does nothing...I'm making mistakes, but where?
Logged
I'm an aspiring Science Fiction and Fantasy writer.  I'm telling the tale of a hapless cyborg everyman lost in a savage fantasy world.

My first review from a real magazine!

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Creepy stuff I'm trying to mod in - and could use help with.
« Reply #5 on: February 19, 2013, 09:50:12 pm »

are they drinking the wine? or you watching for when they eat a plump helm?

cause the syndrome is attached to the drink

also you are forgetting a opening "[" on "CDI:INTERACTION:FINGER PHOBIA]"
Logged

Talanic

  • Bay Watcher
  • Struggling author / pizza delivery guy.
    • View Profile
Re: Creepy stuff I'm trying to mod in - and could use help with.
« Reply #6 on: February 19, 2013, 10:13:09 pm »

I usually tested by splicing it into an existing game (which usually works with syndromes) but just to make sure, I fixed the missing [, added it to the RAWs and embarked with only Plump Helmets and Plump Helmet Wine. 

Nothing.  Not a thing.  Just seven dwarves eating all the mushrooms and drinking all the wine, then starving to death without showing a single symptom.

Do I need something in an interaction file?
« Last Edit: February 19, 2013, 10:18:10 pm by Talanic »
Logged
I'm an aspiring Science Fiction and Fantasy writer.  I'm telling the tale of a hapless cyborg everyman lost in a savage fantasy world.

My first review from a real magazine!

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Creepy stuff I'm trying to mod in - and could use help with.
« Reply #7 on: February 19, 2013, 10:17:48 pm »

your bleeding has a very low PROB up it too 100 for testing

then regen and embark if they bleed it works (as I see it's pimary factor is having blood be spilt)
Logged

Talanic

  • Bay Watcher
  • Struggling author / pizza delivery guy.
    • View Profile
Re: Creepy stuff I'm trying to mod in - and could use help with.
« Reply #8 on: February 19, 2013, 10:30:27 pm »

Regenned.  Embarked.  Nothing...except errorlog.txt:

Spoiler (click to show/hide)

Clearly I'm doing everything wrong.  Lemme try to fix that.
Logged
I'm an aspiring Science Fiction and Fantasy writer.  I'm telling the tale of a hapless cyborg everyman lost in a savage fantasy world.

My first review from a real magazine!

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Creepy stuff I'm trying to mod in - and could use help with.
« Reply #9 on: February 19, 2013, 10:40:47 pm »

ok a quick fix



[CE_BLEEDING:SEV:10:PROB:5:BP:FINGER:ALL:VASCULAR_ONLY:RESISTABLE:START:5:PEAK:100:END:200]

[CDI:INTERACTION:FINGER_PHOBIA] - make sure your interaction's ID uses a "_" not a space
Logged

Talanic

  • Bay Watcher
  • Struggling author / pizza delivery guy.
    • View Profile
Re: Creepy stuff I'm trying to mod in - and could use help with.
« Reply #10 on: February 19, 2013, 10:53:02 pm »

Still giving me errors in errorlog.txt - and plump helmets aren't appearing when I try to embark.

Had a few bad embarks in a row.  Trying again.

Edit:  Still no success.  Same errors.  No effect on the dwarves.
« Last Edit: February 19, 2013, 11:09:39 pm by Talanic »
Logged
I'm an aspiring Science Fiction and Fantasy writer.  I'm telling the tale of a hapless cyborg everyman lost in a savage fantasy world.

My first review from a real magazine!

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Creepy stuff I'm trying to mod in - and could use help with.
« Reply #11 on: February 19, 2013, 11:10:39 pm »

did you check to make sure that FINGER is actually the category for 5FINGERS?

Talanic

  • Bay Watcher
  • Struggling author / pizza delivery guy.
    • View Profile
Re: Creepy stuff I'm trying to mod in - and could use help with.
« Reply #12 on: February 19, 2013, 11:22:26 pm »

I could easily be wrong, but I think that's what this says:

Spoiler (click to show/hide)
Logged
I'm an aspiring Science Fiction and Fantasy writer.  I'm telling the tale of a hapless cyborg everyman lost in a savage fantasy world.

My first review from a real magazine!

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Creepy stuff I'm trying to mod in - and could use help with.
« Reply #13 on: February 19, 2013, 11:29:05 pm »

nice catch Putnam, looked back into my notes, this will work

[CE_BLEEDING:SEV:10:PROB:5:BP_CATEGORY:FINGER:ALL:VASCULAR_ONLY:RESISTABLE:START:5:PEAK:100:END:200]
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Creepy stuff I'm trying to mod in - and could use help with.
« Reply #14 on: February 19, 2013, 11:37:23 pm »

No it won't.

[CE_BLEEDING:SEV:10:PROB:5:BP:BY_CATEGORY:FINGER:ALL:VASCULAR_ONLY:RESISTABLE:START:5:PEAK:100:END:200]
Pages: [1] 2