Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - UselessMcMiner

Pages: 1 2 [3] 4 5 6
31
I cant find a way to add custom spheres for gods and megabeasts. If its not possible to add them will it ever be possible to add them?

32
DF Dwarf Mode Discussion / How to kill a demon on a raid
« on: June 29, 2019, 11:01:33 pm »
So I nodded the game to have succubi and halflings. And I’m currently playing a half long fortress. So my game is modded but I don’t think it will matter too much. So my halflings ar whetting revenge for a couple of murdered kids and are trying to destroy a succubi civilization. They’re very good fighters st this point. And are currently going around pillaging and burning any dark pits and fortresses they find. Although I think they might be a bit too good at present torturing at this point. Considering all the bards they’ve tortured to death at this point. I’ve killed everyone in the dark fortress where the demon lives. I’ve killed all the soldiers but she wipes the floor with my millitary. What should I do to kill her?

33
DF General Discussion / What does duplicating raws mean?
« on: June 29, 2019, 03:18:33 pm »
Saw it on the Dawnthunder succession page. What does that mean?

34
DF Adventure Mode Discussion / It was inevitable.
« on: June 28, 2019, 03:55:14 pm »
Why am I getting this response again when I kill a megabeast? I thought this bug was fixed why the hell is it in the game again!  >:( How do I spread my reputation now?

35
DF Dwarf Mode Discussion / Too many tavern dwellers
« on: June 25, 2019, 02:21:57 pm »
How do I get rid of all these fuckers? They all arrived as soon as my tavern was built

Spoiler (click to show/hide)

Im thinking of walling them in the tavern. And dfhacking a shit ton of magma in there.

36
DF Dwarf Mode Discussion / Werebison oddity
« on: June 22, 2019, 08:38:13 pm »
So I have a Werebison hammerer who was training by herself. And she turned into a werebison. And just stood there. Without harming anyone. Is this a known bug? She also doesnt show up as cursed on dfhacks cursecheck.

37
DF General Discussion / How is Legends Mode programmed?
« on: December 19, 2018, 05:56:53 pm »
How was it created? I know there's a fat chance in hell that i'll make something like DF how was the legends mode programmed? I can't really wrap my head on how it was made. And I need to figure that out if I want a history generator in a game.

38
DF Modding / Making a magical secret
« on: December 14, 2018, 11:35:06 am »
So what do I need to make a magical secret? I know you need undead minions to make a tower. What else do you need to make a secret function?

39
So I wanted to test out a custom Secret type. But it didn't properly generate. Why? I'm not sure. But I noticed a script that someone else had written. (sorry I can't remember their name. I'll give credit when I find out who wrote it) that can generate a slab with a secret on it. Problem is that it takes it from the secrets in the world.dat folder. But mine hasn't generated properly.

Code: [Select]
local material = 'INORGANIC:SILVER'

function getSecretId()
  for _,i in ipairs(df.global.world.raws.interactions) do
    for _,is in ipairs (i.sources) do
      if getmetatable(is) == 'interaction_source_secretst' then
        if is.name == 'the secrets of the fae' then
          return i.id
        end
      end
    end
  end
end

local pos = copyall(df.global.cursor)
if pos.x <0 then
  error('Please place the cursor wherever you want to spawn the slab.')
end

local m = dfhack.matinfo.find(material)
if not m then
  error('Invalid material.')
end

local slab = df.item_slabst:new()
slab.id = df.global.item_next_id
df.global.world.items.all:insert('#',slab)
df.global.item_next_id = df.global.item_next_id+1
slab:setMaterial(m['type'])
slab:setMaterialIndex(m['index'])
slab:categorize(true)
slab.flags.removed = true
slab:setSharpness(0,0)
slab:setQuality(0)
slab.engraving_type = 6
slab.topic = getSecretId()
slab.description = 'The secrets of life and death'
dfhack.items.moveToGround(slab,{x=pos.x,y=pos.y,z=pos.z})

I'm almost certainly going to have to change thes lines

Code: [Select]
for _,i in ipairs(df.global.world.raws.interactions) do
    for _,is in ipairs (i.sources) do
      if getmetatable(is) == 'interaction_source_secretst' then
        if is.name == 'the secrets of the fae' then

How can I change the script so I don't have to gen a new world? I want to avoid that at all costs. Thanks for any help.

40
So I noticed that the reason its more easy to give dwarves spouses and lovers is because the tags are more simple and only need to assign one personal tag to another dwarf(or human or elephant man or whatever). But with giving friendships there is no static tag like that. Is there a collection of friendships or deity relationships that I can access with gm-editor? So I can make a program similar to family-affairs that can give dwarves friends? I'm sorry if its obvious because this is the first program i've written in lua before.

41
Utilities and 3rd Party Applications / RELATIONSHIP_ID's in DFHACK.
« on: December 04, 2018, 06:15:02 pm »
I was wondering if there was a list of relationship_id's that gui/family-affairs is using? I'm making a variation of the script to help make dwarves into friends but relationship_id.Friend doesn't work and causes an IndexError? Is there a string dump of the values?

42
I decided to make a new civilization and start playing it yesterday. But I seem to have made a bug in the civ's ethics? When the game tries to create a new world it crashes and prints this in the errorlog.

Code: [Select]
Unrecognized Ethic Response Token:  PUNISH_REPRIMAND
Unrecognized Ethic Response Token:  PUNISH_SERIOUS

Here is the link to the entity_default file https://www.dropbox.com/s/1xvqtgbyxooi8ld/entity_default.txt?dl=0. I think this is because Toady changed the way Entities work. Sorry if the answer is really obvious. The only civ with any issues is the ARACHNE civ.

43
DF Modding / Assigning Mayor with a program
« on: May 25, 2018, 09:53:41 am »
So I was playing adventure mode. And when i retired my adventurer at my fort my mayor in the fort was killed by a beakdog. I can't assign a new mayor and my millitia commander is bugged. Can I assign a new mayor with a program like Dwarf Therapist? Or will I have to find or make one?

44
DF Dwarf Mode Discussion / Bugged noble position.
« on: May 19, 2018, 12:39:54 pm »
So I can't change my millitia commander because he isn't listed in the nobles screen. I am using a modded race. Has this happened to anyone? I suspect me mode setting to adventure mode might be the cause because the original millitia commander died in the process.

45
DF Modding / Problem with militia commander.
« on: May 18, 2018, 04:27:52 pm »
SO i'm having a problem where I can't assign a militia commander. If anyone has any tips that would be great.


https://www.dropbox.com/sh/ggm5b9kxmmxb93k/AAAOg1BmSYCw3HnskcRuYmPBa?dl=0

Pages: 1 2 [3] 4 5 6