Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Any Tutorials On Dfhack Plugins?  (Read 1036 times)

LuckyHorseCoin

  • Escaped Lunatic
    • View Profile
Any Tutorials On Dfhack Plugins?
« on: July 24, 2013, 11:52:45 am »

Hello all,
As the title says, are there any tutorials, guides or anything similiar? I see that there are many plugins for dfhack. I want to make mine too but don't know where to start. If anybody could point me in the right direction?
Logged

scamtank

  • Bay Watcher
    • View Profile
Re: Any Tutorials On Dfhack Plugins?
« Reply #1 on: July 24, 2013, 01:04:00 pm »

You write them in C++.
Logged

LuckyHorseCoin

  • Escaped Lunatic
    • View Profile
Re: Any Tutorials On Dfhack Plugins?
« Reply #2 on: July 24, 2013, 01:36:39 pm »

OK, and I already know C++, but I'm looking for something like a quick tutorial on how to use dfhack "API".
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Any Tutorials On Dfhack Plugins?
« Reply #3 on: July 24, 2013, 11:09:35 pm »

Yeah, not really. You'll probably just want to read the header files and other plugins to figure it all out.

LuckyHorseCoin

  • Escaped Lunatic
    • View Profile
Re: Any Tutorials On Dfhack Plugins?
« Reply #4 on: July 25, 2013, 10:04:43 am »

Well, thanks anyways. Off to the hard way then!
Logged

jeancallisti

  • Bay Watcher
    • View Profile
Re: Any Tutorials On Dfhack Plugins?
« Reply #5 on: August 28, 2014, 05:37:49 am »

I'm digging up this thread because it's the one thread that asks this important question explicitly -- now any person Googling it will find the answer.

Here is a tutorial about DFHack plugin programming : http://dwarffortresswiki.org/index.php/Utility:DFHack/Programming
Please note that it wasn't written by a DFHask specialist, so it might contain inaccuracies.
Logged