Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: I have question about DF:Mastetwork  (Read 818 times)

DWARFRAWD

  • Bay Watcher
    • View Profile
I have question about DF:Mastetwork
« on: July 11, 2017, 09:53:39 pm »

Masterwork mod is awesome!

How does it works to make golem without dwarf transforming?

I used method that change dwarf to golem with vapor syndrome stonem, and

i think that this mod use that method too. but i was wrong.

In DF:MW, dwarf *really* constructs new golems!

It is Dfhack script? or other way?

Can anyone teach me how to do that?
Logged

Altaree

  • Bay Watcher
    • View Profile
Re: I have question about DF:Mastetwork
« Reply #1 on: July 14, 2017, 08:21:04 am »

Probably best to ask this in the masterwork df child board of this one.  But you made me curious so here goes:

in save/{savename}/raw/dwarf_init.txt there is this line:
Code: [Select]
modtools/reaction-trigger -reactionName ADAMANTINE_GOLEM -command [ modtools/create-unit -race GOLEM_ADAMANTINE -caste GOLEM -setUnitToFort -location [ \\LOCATION ] -name MOUNTAIN -age 1 ]
It links to this line in save/{savename}/raw/objects/reaction_dwarf_civ.txt:
Code: [Select]
[REACTION:ADAMANTINE_GOLEM]
You run the reaction and dfhack calls the modtools/create-unit script.  This is an amazingly powerful tool for modding.
Logged
Dan Pearson:
This is a game which calculates the volume of blood in every creature it generates so it knows how much alcohol it would have to consume to get drunk, an update which, remarkably, ended up covering people's fortresses in cat vomit.

DWARFRAWD

  • Bay Watcher
    • View Profile
Re: I have question about DF:Mastetwork
« Reply #2 on: July 14, 2017, 05:49:25 pm »

thanks for tip!

But, how can i run this script?

It just DFhack runs itself autometically?

I copy&paste dwarf_init.txt. and set building, creature, reaction txt in my original df folder.

But my dwarf creats nothing in golemforge.
Logged

Altaree

  • Bay Watcher
    • View Profile
Re: I have question about DF:Mastetwork
« Reply #3 on: July 17, 2017, 09:13:56 am »

You don't happen to have your work in progress saved into a github repository do you?
Logged
Dan Pearson:
This is a game which calculates the volume of blood in every creature it generates so it knows how much alcohol it would have to consume to get drunk, an update which, remarkably, ended up covering people's fortresses in cat vomit.