Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Instruments  (Read 1998 times)

neko.len.chan

  • Bay Watcher
  • Nya
    • View Profile
Instruments
« on: December 15, 2015, 01:55:42 am »

So I know this version recently came out and there might not be anybody who knows how to do this yet, but I wanted to ask; does anybody know how to make instruments show up? I have the reactions and all set up properly, I can 'make' the instruments in fortress mode, but in adventurer mode they arent actually there. The civilization wont actually 'use' the instruments, or make songs with them, etc. thus making the instrument effectively useless. does anybody know how to fix this?
Logged
"When you wake in the morning, consider suicide."
BY ARMOK WHO KEEPS LEAVING CORPSES IN ALL THE FRIGGIN DOORWAYS?!?

scamtank

  • Bay Watcher
    • View Profile
Re: Instruments
« Reply #1 on: December 15, 2015, 02:08:15 am »

Remember how entities used to have [INSTRUMENT:ITEM_INSTRUMENT_TRUMPET] tags to determine what they got? Did you remember those?
Logged

neko.len.chan

  • Bay Watcher
  • Nya
    • View Profile
Re: Instruments
« Reply #2 on: December 15, 2015, 02:21:46 am »

I tried to add those, but I got an errorlog from them, so I removed them.
Logged
"When you wake in the morning, consider suicide."
BY ARMOK WHO KEEPS LEAVING CORPSES IN ALL THE FRIGGIN DOORWAYS?!?

Orange Wizard

  • Bay Watcher
  • mou ii yo
    • View Profile
    • S M U G
Re: Instruments
« Reply #3 on: December 15, 2015, 02:57:59 am »

The new instruments are hard-coded (or about as hard-coded as procedural things can be) so they're not moddable yet AFAIK.
Making AI entities actually use them is also not moddable. It strikes me as an oversight that Toady didn't add performers to other taverns and such.

You could also do it in DFHack once the .42 release is done, but I don't know much about that.
Logged
Please don't shitpost, it lowers the quality of discourse
Hard science is like a sword, and soft science is like fear. You can use both to equally powerful results, but even if your opponent disbelieve your stabs, they will still die.

neko.len.chan

  • Bay Watcher
  • Nya
    • View Profile
Re: Instruments
« Reply #4 on: December 15, 2015, 03:08:36 am »

But they have the regular instruments. Your saying theres no way to make them use the various instruments I modded in?
Logged
"When you wake in the morning, consider suicide."
BY ARMOK WHO KEEPS LEAVING CORPSES IN ALL THE FRIGGIN DOORWAYS?!?

Orange Wizard

  • Bay Watcher
  • mou ii yo
    • View Profile
    • S M U G
Re: Instruments
« Reply #5 on: December 15, 2015, 03:36:29 am »

Wait, they have regular instruments? Weird.

Your saying theres no way to make them use the various instruments I modded in?
Yeah. The code for performances and such is only active in fort mode, apparently.
Logged
Please don't shitpost, it lowers the quality of discourse
Hard science is like a sword, and soft science is like fear. You can use both to equally powerful results, but even if your opponent disbelieve your stabs, they will still die.

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Instruments
« Reply #6 on: December 15, 2015, 03:54:57 am »

No, AFAIK you get them in adventure mode.

Bearskie

  • Bay Watcher
  • Nyam nyam
    • View Profile
Re: Instruments
« Reply #7 on: December 15, 2015, 04:01:19 am »

Yeah. The code for performances and such is only active in fort mode, apparently.

Sorry, but I beg to differ. SLADE has a crapton of custom instruments, and I've often found didgeridoos and slide-whistles being used in various pieces of music whilst adventuring.

Here's a checklist:

Instruments
Instrument parts (tools)
Reactions to create those instrument & instrument parts
Reactions to assemble those instrument from instrument parts
Entity permissions for instruments
Entity permissions for reactions
Entity permissions for buildings that house those reactions

If you show us the raws, we can puzzle out what's missing. You can take a look at SLADE if you're unsure of the format. I've noticed that they don't automatically use all the instruments, but there is a chance for each performance to use this instrument or that instrument. Made worse by the fact that one civ typically has 3-ish musical pieces at best.

Orange Wizard

  • Bay Watcher
  • mou ii yo
    • View Profile
    • S M U G
Re: Instruments
« Reply #8 on: December 15, 2015, 04:05:11 am »

No, AFAIK you get them in adventure mode.
Oh, okay. I don't actually know what I'm talking about.
Logged
Please don't shitpost, it lowers the quality of discourse
Hard science is like a sword, and soft science is like fear. You can use both to equally powerful results, but even if your opponent disbelieve your stabs, they will still die.

neko.len.chan

  • Bay Watcher
  • Nya
    • View Profile
Re: Instruments
« Reply #9 on: December 15, 2015, 04:07:00 am »

I have no entity permissions for instruments, nor any idea how to give them any
Logged
"When you wake in the morning, consider suicide."
BY ARMOK WHO KEEPS LEAVING CORPSES IN ALL THE FRIGGIN DOORWAYS?!?

Bearskie

  • Bay Watcher
  • Nyam nyam
    • View Profile
Re: Instruments
« Reply #10 on: December 15, 2015, 04:24:32 am »

[INSTRUMENT:<NAME_OF_YOUR_INSTRUMENT>]

Dunk it somewhere inside the entity that uses the instrument.

neko.len.chan

  • Bay Watcher
  • Nya
    • View Profile
Re: Instruments
« Reply #11 on: December 15, 2015, 12:36:23 pm »

I could swear I tried that... but ok, I'll give it another go when im back on my DF computer.
Logged
"When you wake in the morning, consider suicide."
BY ARMOK WHO KEEPS LEAVING CORPSES IN ALL THE FRIGGIN DOORWAYS?!?

jaked122

  • Bay Watcher
  • [PREFSTRING:Lurker tendancies]
    • View Profile
Re: Instruments
« Reply #12 on: December 17, 2015, 08:00:31 pm »

Did you look in the examples folder in the raws? There seems to be a file with the necessary information to add custom instruments with a fair amount of documentation spread throughout.

neko.len.chan

  • Bay Watcher
  • Nya
    • View Profile
Re: Instruments
« Reply #13 on: December 18, 2015, 02:47:21 am »

Oh uh, I figured it out now. The last thing was the thing I needed... Earlier I kept putting in [INSTRUMENT:ITEM_INSTRUMENT_AKITE] because thats how all the other items were formatted, but it turns out it had to be just [INSTRUMENT:AKITE]
but thanks anyways
Logged
"When you wake in the morning, consider suicide."
BY ARMOK WHO KEEPS LEAVING CORPSES IN ALL THE FRIGGIN DOORWAYS?!?