Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 125 126 [127] 128 129 ... 544

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

Tierre

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #1890 on: June 15, 2012, 07:58:25 am »

I have a short question - will FREQUENCY:0 guarantee that this creature never apperas in fortress mode? And if that happens will they be domesticated by elves or other races?
Logged

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #1891 on: June 15, 2012, 11:02:24 am »

I have a short question - will FREQUENCY:0 guarantee that this creature never apperas in fortress mode? And if that happens will they be domesticated by elves or other races?
No Feq=0 defualts back to 50 (or was it 100?) you can Remove all Biome Tags and COMMON_DOMESTIC and add DOES_NOT_EXIST anf FANCIFUL but I think that defeats your goal

You can add NO_SPRING, NO_SUMMER, NO_AUTUMN, NO_WINTER (some of these my be misspelled) that way it never shows up during fortress mode and probally adv. mode too.
Logged

Nahere

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #1892 on: June 15, 2012, 04:38:22 pm »

What does a secret need for it to be available in the Arena for testing?
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #1893 on: June 15, 2012, 04:39:18 pm »

What does a secret need for it to be available in the Arena for testing?

IE_ARENA_NAME

Nahere

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #1894 on: June 15, 2012, 05:02:44 pm »

What does a secret need for it to be available in the Arena for testing?

IE_ARENA_NAME
I already had that in, but the option never shows up on the create creature screen, and nothing shows up in my error log.
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #1895 on: June 15, 2012, 05:05:30 pm »

You mean when pressing the "u" button, right?

Nahere

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #1896 on: June 15, 2012, 05:07:31 pm »

Yep.
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #1897 on: June 15, 2012, 05:13:01 pm »

ARe you sure the interaction is in the correct spot?

Nahere

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #1898 on: June 15, 2012, 05:18:18 pm »


I put this in /raw/objects
This is my first real mod, and a work in progress, so I've probably just made some sort of simple mistake.
Code: [Select]
interaction_elemental_magic


[OBJECT:INTERACTION]


[INTERACTION:LIFE_SECRET]
[I_SOURCE:SECRET]
[IS_NAME:the secrets of manipulating life]
[IS_SPHERE:LIFE]
[IS_SECRET_GOAL:IMMORTALITY]
[IS_SECRET:MUNDANE_RESEARCH_POSSIBLE] ‼SCIENCE‼
[IS_SECRET:MUNDANE_TEACHING_POSSIBLE]
[IS_SECRET:MUNDANE_RECORDING_POSSIBLE:objects/text/book_instruction.txt:objects/text/secret_life.txt]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_REQUIRES:CAN_LEARN]
[IT_FORBIDDEN:NOT_LIVING]
[IT_CANNOT_HAVE_SYNDROME_CLASS:LIFE_MAGE]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[IE_ARENA_NAME:Life mage]
[SYNDROME]
[SYN_CLASS:LIFE_MAGE]
[CE_DISPLAY_NAME:NAME:life mage:life mages:life magic:start:0]
[CE_PHYS_ATT_CHANGE:RECUPERATION:150:0:START:0]
[CE_PHYS_ATT_CHANGE:DISEASE_RESISTANCE:150:0:START:0]
[CE_CAN_DO_INTERACTION:START:0]
[CDI:ADV_NAME:Steal life]
[CDI:INTERACTION:STEAL_LIFE]
[CDI:USAGE_HINT:ATTACK]
[CDI:TARGET:THIEF:SELF_ONLY]
[CDI:TARGET:VICTIM:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:VICTIM:15]
[CDI:VERB:draw forth a stream of life:draws forth a stream of life:NA]
[CDI:TARGET_VERB:glow green briefly:glows green briefly:NA]
[CE_CAN_DO_INTERACTION:START:0]
[CDI:ADV_NAME:Corrupt life]
[CDI:INTERACTION:MATERIAL_EMISSION_LIFE_90]
[CDI:USAGE_HINT:ATTACK]
[CDI:TARGET:SOURCE:SELF_ONLY]
[CDI:TARGET:VICTIM:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:VICTIM:15]
[CDI:MAX_TARGET_NUMBER:VICTIM:1]
[CDI:MATERIAL:INORGANIC:CORRUPTED_LIFE:TRAILING_VAPOR_FLOW]
[CDI:VERB:send forth a stream of corrupted life:sends forth a stream of corrupted life:NA]
[CE_CAN_DO_INTERACTION:START:0]
[CDI:ADV_NAME:Heal]
[CDI:INTERACTION:FULL_HEAL]
[CDI:TARGET:SOURCE:SELF_ONLY]
[CDI:TARGET:WOUNDED:SELF_ALLOWED:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:WOUNDED:4]
[CDI:VERB:send form a stream of rejuvenating life:sends form a stream of rejuvenating life]
[CDI:TARGET_VERB:glow an iridescent shade of green: glows an iridescent shade of green]
[CE_CAN_DO_INTERACTION:START:0]
[CDI:ADV_NAME:Resurrection]
[CDI:INTERACTION:RESURRECTION]
[CDI:TARGET:SOURCE:SELF_ONLY]
[CDI:TARGET:CORPSE:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:CORPSE:2]
[CDI:VERB:send form a stream of resurrecting life:sends form a stream of resurrecting life]
[CDI:TARGET_VERB:glow a blindingly bright shade of green:glows a blindingly bright shade of green]


[INTERACTION:STEAL_LIFE]
[I_SOURCE:CREATURE_ACTION]
[I_TARGET:THIEF:CREATURE]
[IT_CREATURE:CONTEXT_CREATURE]
[IT_MANUAL_INPUT:you]
[I_TARGET:VICTIM:CREATURE]
[IT_CREATURE:CONTEXT_CREATURE]
[IT_MANUAL_INPUT:victim]
[IT_FORBIDDEN:NOT_LIVING]
[IT_CANNOT_HAVE_SYNDROME_CLASS:LIFE_MAGE]
[IT_CANNOT_TARGET_IF_ALREADY_AFFECTED]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:THIEF]
[IE_IMMEDIATE]
[SYNDROME]
[SYN_NAME:illgained life]
[SYN_AFFECTED_CLASS:GENERAL_POISON]
[CE_PHYS_ATT_CHANGE:RECUPERATION:133:0:START:0]
[CE_PHYS_ATT_CHANGE:DISEASE_RESISTANCE:133:0:START:0]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:VICTIM]
[IE_IMMEDIATE]
[SYNDROME]
[SYN_NAME:missing life]
[SYN_AFFECTED_CLASS:GENERAL_POISON]
[CE_NECROSIS:SEV:30:PROB:100:BP:BY_CATEGORY:ALL:ALL:SIZE_DILUTES:START:0:PEAK:50]
[CE_PHYS_ATT_CHANGE:RECUPERATION:50:0:START:0]
[CE_PHYS_ATT_CHANGE:DISEASE_RESISTANCE:50:0:START:0]


[INTERACTION:MATERIAL_EMISSION_LIFE_90]
[I_SOURCE:CREATURE_ACTION]
[I_TARGET:A:MATERIAL]
[IT_MATERIAL:CONTEXT_MATERIAL]
[I_TARGET:SOURCE:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_MANUAL_INPUT:you]
[I_TARGET:B:LOCATION]
[IT_LOCATION:CONTEXT_LOCATION]
[I_TARGET:VICTIM:LOCATION]
[IT_LOCATION:CONTEXT_LOCATION]
[IT_MANUAL_INPUT:target]
[I_EFFECT:MATERIAL_EMISSION]
[IE_TARGET:A]
[IE_TARGET:B]
[IE_TARGET:VICTIM]
[IE_IMMEDIATE]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:SOURCE]
[IE_IMMEDIATE]
[SYNDROME]
[SYN_NAME:spent life]
[SYN_AFFECTED_CLASS:GENERAL_POISON]
[CE_PHYS_ATT_CHANGE:RECUPERATION:90:0:START:0]
[CE_PHYS_ATT_CHANGE:DISEASE_RESISTANCE:90:0:START:0]


[INTERACTION:FULL_HEAL]
[I_SOURCE:CREATURE_ACTION]
[I_TARGET:SOURCE:CREATURE]
[IT_CREATURE:CONTEXT_CREATURE]
[IT_MANUAL_INPUT:you]
[I_TARGET:WOUNDED:CREATURE]
[IT_CREATURE:CONTEXT_CREATURE]
[IT_CANNOT_TARGET_IF_ALREADY_AFFECTED]
[IT_FORBIDDEN:NOT_LIVING]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:SOURCE]
[IE_IMMEDIATE]
[SYNDROME]
[SYN_NAME:spent life]
[SYN_AFFECTED_CLASS:GENERAL_POISON]
[CE_PHYS_ATT_CHANGE:RECUPERATION:66:0:START:0]
[CE_PHYS_ATT_CHANGE:DISEASE_RESISTANCE:66:0:START:0]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:WOUNDED]
[IE_IMMEDIATE]
[SYNDROME]
[SYN_NAME:healing process]
[SYN_AFFECTED_CLASS:GENERAL_POISON]
[CE_BODY_TRANSFORMATION:START:0:END:1]
[CE:CREATURE:RAVEN:MALE]


[INTERACTION:RESURRECTION]
[I_SOURCE:CREATURE_ACTION]
[I_TARGET:SOURCE:CREATURE]
[IT_CREATURE:CONTEXT_CREATURE]
[IT_MANUAL_INPUT:you]
[I_TARGET:CORPSE:CORPSE]
[IT_CORPSE:CONTEXT_ITEM]
[IT_REQUIRES:FIT_FOR_RESURRECTION]
[IT_FORBIDDEN:NOT_LIVING]
[IT_MANUAL_INPUT:corpse]
[I_EFFECT:RESURRECT]
[IE_TARGET:CORPSE]
[IE_IMMEDIATE]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:SOURCE]
[IE_IMMEDIATE]
[SYNDROME]
[SYN_NAME:spent life]
[SYN_AFFECTED_CLASS:GENERAL_POISON]
[CE_PHYS_ATT_CHANGE:RECUPERATION:50:0:START:0]
[CE_PHYS_ATT_CHANGE:DISEASE_RESISTANCE:50:0:START:0]


[INTERACTION:WATER_SECRET]
[I_SOURCE:SECRET]
[IS_NAME:the secrets of manipulating water and ice]
[IS_SPHERE:WATER]
[IS_SECRET_GOAL:IMMORTALITY]
[IS_SECRET:MUNDANE_RESEARCH_POSSIBLE]
[IS_SECRET:MUNDANE_TEACHING_POSSIBLE]
[IS_SECRET:MUNDANE_RECORDING_POSSIBLE:objects/text/book_instruction.txt:objects/text/secret_water.txt]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_REQUIRES:CAN_LEARN]
[IT_CANNOT_HAVE_SYNDROME_CLASS:WATER_MAGE]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[IE_ARENA_NAME:Water mage]
[SYNDROME]
[SYN_CLASS:WATER_MAGE]
[CE_DISPLAY_NAME:NAME:water mage:water mages:water magic:start:0]
[CE_PHYS_ATT_CHANGE:AGILITY:150:0:START:0]
[CE_MENT_ATT_CHANGE:SPATIAL_SENSE:150:0:START:0]
[CE_MENT_ATT_CHANGE:KINESTHETIC_SENSE:150:0:START:0]
[CE_CAN_DO_INTERACTION:START:0]
[CDI:ADV_NAME:Steal water]
[CDI:INTERACTION:STEAL_WATER]
[CDI:USAGE_HINT:ATTACK]
[CDI:TARGET:THIEF:SELF_ONLY]
[CDI:TARGET:VICTIM:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:VICTIM:15]
[CDI:VERB:draw forth a stream of spiritual water:draws forth a stream of spiritual water:NA]
[CDI:TARGET_VERB:glow blue briefly:glows blue briefly:NA]
[CE_CAN_DO_INTERACTION:START:0]
[CDI:ADV_NAME:Corrupt water]
[CDI:INTERACTION:MATERIAL_EMISSION_WATER_90]
[CDI:USAGE_HINT:ATTACK]
[CDI:TARGET:SOURCE:SELF_ONLY]
[CDI:TARGET:VICTIM:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:VICTIM:15]
[CDI:MAX_TARGET_NUMBER:VICTIM:1]
[CDI:MATERIAL:INORGANIC:CORRUPTED_WATER:TRAILING_VAPOR_FLOW]
[CDI:VERB:send forth a stream of corrupted spiritual water:sends forth a stream of corrupted spiritual water:NA]
[CE_CAN_DO_INTERACTION:START:0]
[CDI:ADV_NAME:Spray ice]
[CDI:INTERACTION:MATERIAL_EMISSION_WATER_90]
[CDI:USAGE_HINT:ATTACK]
[CDI:TARGET:SOURCE:SELF_ONLY]
[CDI:TARGET:VICTIM:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:VICTIM:15]
[CDI:MAX_TARGET_NUMBER:VICTIM:1]
[CDI:MATERIAL:INORGANIC:MAGIC_ICE:WEB_SPRAY]
Logged

WillowLuman

  • Bay Watcher
  • They/Them Life is weird
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #1899 on: June 15, 2012, 06:30:59 pm »

How would I make a building require a specific material in order to build, like say pitchblende boulders?

How would I make a reaction require a barrel of blood as a reagent?
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?

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #1900 on: June 15, 2012, 06:36:04 pm »

How would I make a building require a specific material in order to build, like say pitchblende boulders?

How would I make a reaction require a barrel of blood as a reagent?

[BUILD_ITEM:1:BOULDER:NONE:INORGANIC:PITCHBLENDE]

You would have to add a REACTION_CLASS to blood.

WillowLuman

  • Bay Watcher
  • They/Them Life is weird
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #1901 on: June 15, 2012, 06:37:20 pm »

What about requiring metal bars or blocks?
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?

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #1902 on: June 15, 2012, 06:42:15 pm »

Specifically metal?

For metal bars, that's just

[BUILD_ITEM:1:BAR:NONE:NONE:NONE]

As for metal blocks... I don't know, metal isn't actually different from rock in too many ways.

Askot Bokbondeler

  • Bay Watcher
  • please line up orderly
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #1903 on: June 15, 2012, 07:13:08 pm »

hum, what kind of problems can cause a crash on worldgen and not leave anything on errorlog?
i kinda made this big awesome mod, 3 days tweaking vanilla raws... without testing in between, what do now?

WillowLuman

  • Bay Watcher
  • They/Them Life is weird
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #1904 on: June 15, 2012, 07:19:11 pm »

Again, though, how would I specify a barrel of blood as a reagent, given that blood has been modified with [REACTION_CLASS:BLOOD]?
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?
Pages: 1 ... 125 126 [127] 128 129 ... 544