Bay 12 Games Forum

Please login or register.

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

Author Topic: Several questions from a modding newb  (Read 1372 times)

DeadRed88

  • Bay Watcher
    • View Profile
Several questions from a modding newb
« on: August 27, 2011, 11:43:02 am »

Hey, I've been playing DF for a while now playing in a heavily modified version of genesis. In which I've managed to add all kinds of new adventure mode crafting reactions based on the ones that were already there. That being said I have a couple questions for some of the more experienced modders. Keep in mind I pretty much exclusively only concern myself with adventure mode.

First question: Is there a way to play as procedurally generated creatures such as demons or titans?

Second question: Is there a way to add a reaction to adventure mode that would place a working trap on the ground? Like the ones in fortress mode.

Third question: Concerning the advanced world gen, what are the proper parameters to ensure that almost every square is evil if I were doing a small island?

Thanks in advance for your help.
Logged

Kipi

  • Bay Watcher
    • View Profile
Re: Several questions from a modding newb
« Reply #1 on: August 27, 2011, 11:57:26 am »

First question: Is there a way to play as procedurally generated creatures such as demons or titans?
Not possible as the generation is hardcoded. Not at least now.

Quote
Second question: Is there a way to add a reaction to adventure mode that would place a working trap on the ground? Like the ones in fortress mode.
Again not possible. You can't affect nor read the terrain in reactions currently. That means you can't place traps nor know the soil/stone type of the tile you are standing in.

Quote
Third question: Concerning the advanced world gen, what are the proper parameters to ensure that almost every square is evil if I were doing a small island?
Haven't played much with the special parameters that affect the square type. In theory it could be possible but most probably there will be lots of errors and you would have to tweak several parameters to find the correct relation. But I think there are members who can give better answer on this.
Logged
Room Values - !!SCIENCE!!

Quote from: zanchito
You know, they could teach maths like this at school. "There are 105 dwarves in a settlement. A goblin invasion appears and 67 die. Then a migrant wave..."

jaxy15

  • Bay Watcher
  • Adept Modder
    • View Profile
Re: Several questions from a modding newb
« Reply #2 on: August 27, 2011, 12:01:52 pm »

It IS possible to play as a clown outsider in adventure mode.

I have the entity file, but I'm not in my home right now.
Logged
Dwarf Fortress: Threats of metabolism.

DeadRed88

  • Bay Watcher
    • View Profile
Re: Several questions from a modding newb
« Reply #3 on: August 27, 2011, 12:06:32 pm »

It IS possible to play as a clown outsider in adventure mode.

I have the entity file, but I'm not in my home right now.

... a clown?
Logged

jaxy15

  • Bay Watcher
  • Adept Modder
    • View Profile
Re: Several questions from a modding newb
« Reply #4 on: August 27, 2011, 12:07:28 pm »

It IS possible to play as a clown outsider in adventure mode.

I have the entity file, but I'm not in my home right now.

... a clown?
Spoiler free way of saying demon.
Logged
Dwarf Fortress: Threats of metabolism.

DeadRed88

  • Bay Watcher
    • View Profile
Re: Several questions from a modding newb
« Reply #5 on: August 27, 2011, 12:09:14 pm »

First question: Is there a way to play as procedurally generated creatures such as demons or titans?
Not possible as the generation is hardcoded. Not at least now.

Quote
Second question: Is there a way to add a reaction to adventure mode that would place a working trap on the ground? Like the ones in fortress mode.
Again not possible. You can't affect nor read the terrain in reactions currently. That means you can't place traps nor know the soil/stone type of the tile you are standing in.

Quote
Third question: Concerning the advanced world gen, what are the proper parameters to ensure that almost every square is evil if I were doing a small island?
Haven't played much with the special parameters that affect the square type. In theory it could be possible but most probably there will be lots of errors and you would have to tweak several parameters to find the correct relation. But I think there are members who can give better answer on this.

Thanks a lot for your answers. Shame about being unable to play as a procedurally generated creature, that would make for some extremely interesting playthroughs. Do you think it would be possible to add certain lines to a creature entity in the raws that would cause it to have random bodyparts or material composition?
Logged

DeadRed88

  • Bay Watcher
    • View Profile
Re: Several questions from a modding newb
« Reply #6 on: August 27, 2011, 12:10:18 pm »

It IS possible to play as a clown outsider in adventure mode.

I have the entity file, but I'm not in my home right now.

... a clown?
Spoiler free way of saying demon.
You aren't talking about the body swapping glitch are you? Like, really, permanently play as a procedurally generated demon?
Logged

jaxy15

  • Bay Watcher
  • Adept Modder
    • View Profile
Re: Several questions from a modding newb
« Reply #7 on: August 27, 2011, 12:15:42 pm »

It IS possible to play as a clown outsider in adventure mode.

I have the entity file, but I'm not in my home right now.

... a clown?
Spoiler free way of saying demon.
You aren't talking about the body swapping glitch are you? Like, really, permanently play as a procedurally generated demon?
No, I mean an entity file that lets you choose from 20 demon outsiders.
Logged
Dwarf Fortress: Threats of metabolism.

DeadRed88

  • Bay Watcher
    • View Profile
Re: Several questions from a modding newb
« Reply #8 on: August 27, 2011, 12:39:25 pm »

It IS possible to play as a clown outsider in adventure mode.

I have the entity file, but I'm not in my home right now.

... a clown?
Spoiler free way of saying demon.
You aren't talking about the body swapping glitch are you? Like, really, permanently play as a procedurally generated demon?
No, I mean an entity file that lets you choose from 20 demon outsiders.
Awesome, post that shit when you get home man.
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Several questions from a modding newb
« Reply #9 on: August 27, 2011, 02:22:17 pm »

Sorry to take jaxy's thunder, but

Code: [Select]
[ENTITY:ENTITY_DEMON]
[INDIV_CONTROLLABLE]
[ADVENTURE_TIER:5]
[CREATURE:DEMON_1]
[CREATURE:DEMON_2]
[CREATURE:DEMON_3]
[CREATURE:DEMON_4]
[CREATURE:DEMON_5]
[CREATURE:DEMON_6]

EDIT: Up to 20 should work, I think.

jaxy15

  • Bay Watcher
  • Adept Modder
    • View Profile
Re: Several questions from a modding newb
« Reply #10 on: August 27, 2011, 02:51:46 pm »

Here's mine

Spoiler (click to show/hide)
Logged
Dwarf Fortress: Threats of metabolism.

DeadRed88

  • Bay Watcher
    • View Profile
Re: Several questions from a modding newb
« Reply #11 on: August 27, 2011, 04:49:27 pm »

Here's mine

Spoiler (click to show/hide)
It doesn't seem to be working for me. I was supposed to create a new text file under entities and just copy and past that into it right?
Logged

trees

  • Bay Watcher
  • [MUNDANE]
    • View Profile
Re: Several questions from a modding newb
« Reply #12 on: August 27, 2011, 04:59:05 pm »

Make sure the filename is entity_demon.txt or something, and that the first few lines are this:

Code: [Select]
entity_demon

[OBJECT:ENTITY]

Those are the tags that let the game know what it's looking at in the beginning of a text file, leaving them out can cause some weird things.
Logged
I am often bad at phrasing things - don't hesitate to ask for clarification if something I said doesn't make sense.

GreatWyrmGold

  • Bay Watcher
  • Sane, by the local standards.
    • View Profile
Re: Several questions from a modding newb
« Reply #13 on: August 27, 2011, 05:01:05 pm »

Don't demons lack grasps?
Try bronze colossi or night creatures.
Logged
Sig
Are you a GM with players who haven't posted? TheDelinquent Players Help will have Bay12 give you an action!
[GreatWyrmGold] gets a little crown. May it forever be his mark of Cain; let no one argue pointless subjects with him lest they receive the same.

DeadRed88

  • Bay Watcher
    • View Profile
Re: Several questions from a modding newb
« Reply #14 on: August 27, 2011, 06:22:11 pm »

So I tried it, but they weren't the humanoid demons. They were all animals of some kind with no grasp, and all composed of steam, fire, ash, or some other extremely weak material. What I had in mind was more like goat brute and stuff like that.
Logged
Pages: [1] 2