Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 490 491 [492] 493 494 ... 544

Author Topic: [MODDING] 0.34. QUESTIONS THREAD  (Read 1068952 times)

kiwiphoenix

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #7365 on: March 18, 2014, 12:06:23 am »

Similarly to Valikdu, I was wondering if there was a way to make an entity prefer a particular metal over others.
Would like civs that, say, have the ability to work copper, but don't give it to their soldiers when they also have steel available.
Logged

Valikdu

  • Bay Watcher
  • Ruin... has come to our family.
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #7366 on: March 18, 2014, 02:55:09 pm »

@Hugo_The_Dwarf

Thanks. I've made the changes, will do more testing.

Magnusen

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #7367 on: March 19, 2014, 08:39:44 pm »

Got more questions:

1.I want to make civ that don't spawn (build sites,make wars,etc) and that can only by played as a outsider in adventure mode.How to do that?

2.What the FORCED tag on entity raws do? Does it forces the civ to always use it,always have it or makes the civ members to be born with it that equipment attached to them?
Logged

BlackFlyme

  • Bay Watcher
  • BlackFlyme cancels Work: Interrupted by bird.
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #7368 on: March 19, 2014, 08:46:58 pm »

Got more questions:

1.I want to make civ that don't spawn (build sites,make wars,etc) and that can only by played as a outsider in adventure mode.How to do that?

2.What the FORCED tag on entity raws do? Does it forces the civ to always use it,always have it or makes the civ members to be born with it that equipment attached to them?

1) Don't give them any start biomes or populations or anything like that. All you need is the entity ID, the token that allows outsider adventurers, and the creatures that belong to the entity. For example:

Code: [Select]
[ENTITY:MEGABEAST]
[INDIV_CONTROLLABLE]
[CREATURE:DRAGON]
[CREATURE:HYDRA]
[CREATURE:BIRD_ROC]
[CREATURE:COLOSSUS_BRONZE]

2) FORCED is a rarity modifier for clothing and armour that means that it will always be used.
Logged

Magnusen

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #7369 on: March 20, 2014, 06:14:37 pm »

@BlackFlyme Thanks that worked

I trying to make some spells for my adventurer like iceballs,acid spell,lightning bolts but don't seen to be making much progress.

Iceball
Spoiler (click to show/hide)
Acid
Spoiler (click to show/hide)
Lightning bolt
Spoiler (click to show/hide)

The iceball is supposed to hit the target causing some bruising and inflict freeze damage,eventually killing the creature because of the cold.
The acid would burn the contact area eventually melting and killing the creature if it takes enough.
The lightning bolt is to to burn the target,paralyzing it and having a chance to stop the hearth,thus killing the creature.

Any help would be appreciated.
« Last Edit: March 20, 2014, 06:19:58 pm by Magnusen »
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #7370 on: March 20, 2014, 06:25:19 pm »

1. Iceball and acid won't stick because globs don't stick; you want vapor for that.

2. First, you want "heart", not "hearth". Second, the heart has no (working) function, meaning that disabling it won't do anything anyway.

WillowLuman

  • Bay Watcher
  • They/Them Life is weird
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #7371 on: March 20, 2014, 06:31:33 pm »

Indeed, for your intended effect, paralyzing the lungs would be better.
Logged
Dwarf Souls: Prepare to Mine
Keep Me Safe - A Girl and Her Computer (Illustrated Game)
Darkest Garden - Illustrated game. - What mysteries lie in the abandoned dark?

Magnusen

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #7372 on: March 20, 2014, 06:50:46 pm »

1. Iceball and acid won't stick because globs don't stick; you want vapor for that.

2. First, you want "heart", not "hearth". Second, the heart has no (working) function, meaning that disabling it won't do anything anyway.

Extreme facepalm felt here :-[ didn't noticed that H lol.

@HugoLuman replaced the heart for lungs.It's not so realistic but it kills anyway ;D

Also added a  [BOILING_POINT:10072] (40°C) for the iceball and a [MELTING_POINT:NONE] and [BOILING_POINT:NONE]    to the lightning bolt and acid,so they don't turn into gas because of the fixed temperature.
« Last Edit: March 20, 2014, 06:53:57 pm by Magnusen »
Logged

WillowLuman

  • Bay Watcher
  • They/Them Life is weird
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #7373 on: March 20, 2014, 06:56:06 pm »

Well, asphyxiation and blood loss ultimately kill you the same way, through lack of important stuff getting to cells.
Logged
Dwarf Souls: Prepare to Mine
Keep Me Safe - A Girl and Her Computer (Illustrated Game)
Darkest Garden - Illustrated game. - What mysteries lie in the abandoned dark?

Magnusen

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #7374 on: March 20, 2014, 07:21:48 pm »

Well, asphyxiation and blood loss ultimately kill you the same way, through lack of important stuff getting to cells.
The bolt was supposed to cause a electric shock that have a probability to stop the heart but nobody going to look at the log to see if the heart has stopped or not so the lungs will do.
Logged

WillowLuman

  • Bay Watcher
  • They/Them Life is weird
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #7375 on: March 20, 2014, 07:32:46 pm »

In either case, they die without having to be maimed or such.
Logged
Dwarf Souls: Prepare to Mine
Keep Me Safe - A Girl and Her Computer (Illustrated Game)
Darkest Garden - Illustrated game. - What mysteries lie in the abandoned dark?

Sergarr

  • Bay Watcher
  • (9) airheaded baka (9)
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #7376 on: March 20, 2014, 09:47:12 pm »

Is there a way to create a pushback-type of attack/intercation which will send the opponent flying in the air? With DFHack?
Logged
._.

noahmcbadass

  • Escaped Lunatic
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #7377 on: March 20, 2014, 10:05:39 pm »

Can anyone help me with the creation of an interaction that causes boiling scales to shoot from the user's eyes in a line toward the target?
« Last Edit: March 20, 2014, 10:07:11 pm by noahmcbadass »
Logged

BlackFlyme

  • Bay Watcher
  • BlackFlyme cancels Work: Interrupted by bird.
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #7378 on: March 20, 2014, 10:16:54 pm »

Can anyone help me with the creation of an interaction that causes boiling scales to shoot from the user's eyes in a line toward the target?

Something like this, maybe? This uses the material emission interaction, which is already in the game. You just need to add the code below to enable your creature to do it.

Code: [Select]
[CAN_DO_INTERACTION:MATERIAL_EMISSION]
[CDI:ADV_NAME:Shoot scales]
[CDI:USAGE_HINT:ATTACK]
[CDI:BP_REQUIRED:BY_CATEGORY:EYE]
[CDI:MATERIAL:LOCAL_CREATURE_MAT:SCALE:LIQUID_GLOB]
[CDI:VERB:spit a glob of boiling scales:spits a glob of boiling scales:NA]
[CDI:TARGET:C:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:C:15]
[CDI:MAX_TARGET_NUMBER:C:1]
[CDI:WAIT_PERIOD:30]
Logged

noahmcbadass

  • Escaped Lunatic
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #7379 on: March 21, 2014, 06:28:09 am »

Can anyone help me with the creation of an interaction that causes boiling scales to shoot from the user's eyes in a line toward the target?

Something like this, maybe? This uses the material emission interaction, which is already in the game. You just need to add the code below to enable your creature to do it.

Code: [Select]
[CAN_DO_INTERACTION:MATERIAL_EMISSION]
[CDI:ADV_NAME:Shoot scales]
[CDI:USAGE_HINT:ATTACK]
[CDI:BP_REQUIRED:BY_CATEGORY:EYE]
[CDI:MATERIAL:LOCAL_CREATURE_MAT:SCALE:LIQUID_GLOB]
[CDI:VERB:spit a glob of boiling scales:spits a glob of boiling scales:NA]
[CDI:TARGET:C:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:C:15]
[CDI:MAX_TARGET_NUMBER:C:1]
[CDI:WAIT_PERIOD:30]
Thank you. I already knew of the material emission tag, but I had little idea of how it worked. This should do swimmingly.
Logged
Pages: 1 ... 490 491 [492] 493 494 ... 544