Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Ice/water as a material?  (Read 833 times)

leafbarrett

  • Bay Watcher
  • Resident pokemon fanboy
    • View Profile
    • Mewtwo mod
Ice/water as a material?
« on: June 04, 2016, 01:27:02 pm »

I'm trying to make a creature that can shoot what amounts to crossbow bolts made of ice. I have a vague idea of what might be involved, but the specifics fail me entirely (I have no idea how to work with water).

Code: [Select]
[CAN_DO_INTERACTION:MATERIAL_EMISSION]
[CDI:ADV_NAME:Launch ice needle]
[CDI:USAGE_HINT:ATTACK]
[CDI:BP_REQUIRED:BY_CATEGORY:HAND]
CDI:MATERIAL:I HAVE NO IDEA, HELP
[CDI:VERB:shoot an ice needle:shoots an ice needle:NA]
[CDI:TARGET:C:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:C:15]
[CDI:MAX_TARGET_NUMBER:C:1]
[CDI:WAIT_PERIOD:50]
I don't think the "solid glob" shape will do what I'm looking for - I want there to be some kind of piercing. Any ideas?
« Last Edit: June 04, 2016, 01:50:52 pm by leafbarrett »
Logged
Quote from: leafbarrett
Quote
They can do whatever the heck they want. That's why they are nobles, cause they CAN.
King Henry the IV or something had a lot of wives, most of whom he executed. Because he could.
A ton of them mass-murdered Jews and Muslims. CAUSE THEY COULD.
A roman emperor made his horse a noble, cause he could.
And I modded them all out of existence, because I could.
sig text

IndigoFenix

  • Bay Watcher
  • All things die, but nothing dies forever.
    • View Profile
    • Boundworlds: A Browser-Based Multiverse Creation and Exploration Game
Re: Ice projectiles?
« Reply #1 on: June 04, 2016, 01:39:48 pm »

You can't.  No edged natural projectiles.

leafbarrett

  • Bay Watcher
  • Resident pokemon fanboy
    • View Profile
    • Mewtwo mod
Re: Ice projectiles?
« Reply #2 on: June 04, 2016, 01:50:35 pm »

You can't.  No edged natural projectiles.
Damn. I was hoping one of you guys had figured something out.
Okay, next question: For this same creature, if I wanted to go about allowing them to make ice ammo/weaponry out of water, and have it actually be frozen (and thus melt when heated up), how would I do that? Or how would I make a weapon that somehow inflicts cold damage on enemies when it strikes?
« Last Edit: June 04, 2016, 03:51:41 pm by leafbarrett »
Logged
Quote from: leafbarrett
Quote
They can do whatever the heck they want. That's why they are nobles, cause they CAN.
King Henry the IV or something had a lot of wives, most of whom he executed. Because he could.
A ton of them mass-murdered Jews and Muslims. CAUSE THEY COULD.
A roman emperor made his horse a noble, cause he could.
And I modded them all out of existence, because I could.
sig text

IndigoFenix

  • Bay Watcher
  • All things die, but nothing dies forever.
    • View Profile
    • Boundworlds: A Browser-Based Multiverse Creation and Exploration Game
Re: Ice/water as a material?
« Reply #3 on: June 04, 2016, 11:52:51 pm »

You can try item clouds.  They produce a spray of items which can be picked up in adventure mode, but some items might not work.

To make a weapon that inflicts cold, try making a new material with a low fixed temperature.  Keep in mind that it will also damage the one holding it though.

leafbarrett

  • Bay Watcher
  • Resident pokemon fanboy
    • View Profile
    • Mewtwo mod
Re: Ice/water as a material?
« Reply #4 on: June 05, 2016, 10:44:14 am »

To make a weapon that inflicts cold, try making a new material with a low fixed temperature. Keep in mind that it will also damage the one holding it though.
Not if the one holding it is immune to cold damage. Will do testing to see if stuff around it, like clothing, will.

EDIT: Are you sure that making it out of a fixed temperature will do anything? I tried it with a hot material, since fire is a lot more noticeable than cold, and nothing happened.

Code: [Select]
[MATERIAL_TEMPLATE:ENCHANTED_METAL_TEMPLATE]
[STATE_COLOR:ALL_SOLID:RED]
[STATE_NAME:ALL_SOLID:metal]
[STATE_ADJ:ALL_SOLID:metal]
[STATE_COLOR:LIQUID:RED]
[STATE_NAME:LIQUID:molten metal]
[STATE_ADJ:LIQUID:molten metal]
[STATE_COLOR:GAS:RED]
[STATE_NAME:GAS:boiling metal]
[STATE_ADJ:GAS:boiling metal]
[DISPLAY_COLOR:7:0:0]
[MATERIAL_VALUE:1]
[SPEC_HEAT:450]
[IGNITE_POINT:NONE]
[MELTING_POINT:52768]
[BOILING_POINT:55150]
[HEATDAM_POINT:NONE]
[COLDDAM_POINT:NONE]
[MAT_FIXED_TEMP:40000]
[SOLID_DENSITY:7850]
[LIQUID_DENSITY:6980]
[MOLAR_MASS:55845]
[IMPACT_YIELD:1080000] used average for stainless steel
[IMPACT_FRACTURE:1080000]
[IMPACT_STRAIN_AT_YIELD:1000]
[COMPRESSIVE_YIELD:1080000]
[COMPRESSIVE_FRACTURE:1080000]
[COMPRESSIVE_STRAIN_AT_YIELD:1000]
[TENSILE_YIELD:520000]
[TENSILE_FRACTURE:860000]
[TENSILE_STRAIN_AT_YIELD:1000]
[TORSION_YIELD:520000]
[TORSION_FRACTURE:860000]
[TORSION_STRAIN_AT_YIELD:1000]
[SHEAR_YIELD:520000] used stainless steel
[SHEAR_FRACTURE:860000]
[SHEAR_STRAIN_AT_YIELD:1000]
[BENDING_YIELD:520000]
[BENDING_FRACTURE:860000]
[BENDING_STRAIN_AT_YIELD:1000]
[MAX_EDGE:10000]
[ABSORPTION:0]
[IS_METAL]

[INORGANIC:ENCHANTED_IRON]
[USE_MATERIAL_TEMPLATE:ENCHANTED_METAL_TEMPLATE]
[STATE_NAME_ADJ:ALL_SOLID:test fire iron]
[STATE_NAME_ADJ:LIQUID:N/A]
[STATE_NAME_ADJ:GAS:N/A]
[DISPLAY_COLOR:0:7:1]
[BUILD_COLOR:0:7:1]
[MATERIAL_VALUE:10]
[SPEC_HEAT:450]
[MELTING_POINT:52768]
[BOILING_POINT:55150]
[MAT_FIXED_TEMP:40000]
[SOLID_DENSITY:7850]
[LIQUID_DENSITY:6980]
[MOLAR_MASS:55845]
[IMPACT_YIELD:542500] Was 1080000, but just using 3.5x tensile multiples for everything until better numbers are available, which might not be likely
[IMPACT_FRACTURE:1085000]
[IMPACT_STRAIN_AT_YIELD:319]
[COMPRESSIVE_YIELD:542500]
[COMPRESSIVE_FRACTURE:1085000]
[COMPRESSIVE_STRAIN_AT_YIELD:319] bulk modulus 170 GPa
[TENSILE_YIELD:155000]
[TENSILE_FRACTURE:310000]
[TENSILE_STRAIN_AT_YIELD:73] young's modulus 211 GPa
[TORSION_YIELD:155000]
[TORSION_FRACTURE:310000]
[TORSION_STRAIN_AT_YIELD:189]
[SHEAR_YIELD:155000]
[SHEAR_FRACTURE:310000]
[SHEAR_STRAIN_AT_YIELD:189] shear modulus 82 GPa
[BENDING_YIELD:155000]
[BENDING_FRACTURE:310000]
[BENDING_STRAIN_AT_YIELD:73]
[MAX_EDGE:10000]
[ITEMS_WEAPON]
[STATE_COLOR:ALL_SOLID:RED]
« Last Edit: June 05, 2016, 11:41:39 am by leafbarrett »
Logged
Quote from: leafbarrett
Quote
They can do whatever the heck they want. That's why they are nobles, cause they CAN.
King Henry the IV or something had a lot of wives, most of whom he executed. Because he could.
A ton of them mass-murdered Jews and Muslims. CAUSE THEY COULD.
A roman emperor made his horse a noble, cause he could.
And I modded them all out of existence, because I could.
sig text

IndigoFenix

  • Bay Watcher
  • All things die, but nothing dies forever.
    • View Profile
    • Boundworlds: A Browser-Based Multiverse Creation and Exploration Game
Re: Ice/water as a material?
« Reply #5 on: June 05, 2016, 11:50:30 pm »

Hmm, maybe not.  Fixed temp cold liquid spit doesn't seem to have any effect, but I don't know why.

If that's the case, there is probably no way of doing it.  You can try using latching attacks with a creature with low body temperature, although this will make the creature unable to wear clothes.