Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 146 147 [148] 149 150 ... 247

Author Topic: [MODDING] 0.40.x QUESTIONS THREAD  (Read 327467 times)

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #2205 on: March 05, 2015, 03:11:02 am »

Nah, I just like to take the opportunity to say that as often as possible.
I bet that gets really awkward on dates.

Talk of contact areas, penetration and velocity? Hell naw.

Oh hell, what are the default shoot force and maxvel for throwing something? Is the game calculating that and then the one from the weapon?

IIRC they're related to the strength of the unit.

Max™

  • Bay Watcher
  • [CULL:SQUARE]
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #2206 on: March 05, 2015, 05:11:34 am »

Nah, I just like to take the opportunity to say that as often as possible.
I bet that gets really awkward on dates.

Talk of contact areas, penetration and velocity? Hell naw.
Oh god I didn't even think about that, I just meant bringing up dorf fortress mechanics... I'm disappointed in myself for not immediately jumping to a dirty conclusion.

Quote
IIRC they're related to the strength of the unit.
Hmmm, someone was testing that recently I could swear.
Logged

Urist McCoder

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #2207 on: March 05, 2015, 07:25:43 am »

Alright it looks like why they seemed over powered was that I was using a metal that I created, And I think that may be what is overpowered because copper throwing knives did just the right damage.
Code: [Select]
inorganic_metal_modded

[OBJECT:INORGANIC]
[INORGANIC:FOLDED_STEEL]
[USE_MATERIAL_TEMPLATE:METAL_TEMPLATE]
[STATE_NAME_ADJ:ALL_SOLID:folded steel]
[STATE_NAME_ADJ:LIQUID:molten folded steel]
[STATE_NAME_ADJ:GAS:boiling folded steel]
[DISPLAY_COLOR:0:7:1]
[BUILD_COLOR:0:7:1]
[MATERIAL_VALUE:35]
[SPEC_HEAT:500]
[MELTING_POINT:12718]
[BOILING_POINT:14968]
[ITEMS_WEAPON][ITEMS_WEAPON_RANGED][ITEMS_AMMO][ITEMS_DIGGER][ITEMS_ARMOR][ITEMS_ANVIL]
[SOLID_DENSITY:7850]
[LIQUID_DENSITY:6980]
[MOLAR_MASS:55845]
[IMPACT_YIELD:2000000]
[IMPACT_FRACTURE:3000000]
[IMPACT_STRAIN_AT_YIELD:500]
[COMPRESSIVE_YIELD:2500000]
[COMPRESSIVE_FRACTURE:3000000]
[COMPRESSIVE_STRAIN_AT_YIELD:940] 160
[TENSILE_YIELD:430000]
[TENSILE_FRACTURE:720000]
[TENSILE_STRAIN_AT_YIELD:225] 200
[TORSION_YIELD:430000]
[TORSION_FRACTURE:720000]
[TORSION_STRAIN_AT_YIELD:215]
[SHEAR_YIELD:430000]
[SHEAR_FRACTURE:720000]
[SHEAR_STRAIN_AT_YIELD:215] no data, used 200
[BENDING_YIELD:430000]
[BENDING_FRACTURE:720000]
[BENDING_STRAIN_AT_YIELD:215]
[MAX_EDGE:10000]
[ITEMS_HARD]
[ITEMS_METAL]
[ITEMS_BARRED]
[ITEMS_SCALED]
[STATE_COLOR:ALL_SOLID:GRAY]
I was trying to make a metal like the folded steel that katanas are made of, but I was not sure how to make it realistic.
Logged

Urist McCoder

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #2208 on: March 05, 2015, 07:54:53 am »

Sorry that my question was not clear, what I am asking is how do I find the specs for high carbon steel. Once I find the specs I will just use putman's material creator, but I don't know how to find the specs.
Logged

Max™

  • Bay Watcher
  • [CULL:SQUARE]
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #2209 on: March 05, 2015, 10:51:18 am »

If you're looking for the stuff you would make a sword from if you were just given a choice of steels and steel making processes, then you probably want something with a good Bainite phase, L6 Bainite is one of the types of steel that you "would" get a katana made from except it's difficult to get the heat treatment right for a good edge/body hardness/toughness mix and thus expensive to get done, though a hunk of L6 by itself will work pretty well since it's already a tool steel.

Here's a material properties sheet of L6 tool steel: http://www.efunda.com/Materials/alloys/tool_steels/show_tool.cfm?ID=AISI_L6&show_prop=all&Page_Title=AISI%20L6 which should be a good start for your needs.

Folded steel was just a way to distribute the crud inside the cruddy steel available in Japan within the blade so it didn't form large flaws and failure points, there is nothing special about doing it when you begin with good steel outside of it being pretty.
Logged

Urist McCoder

  • Bay Watcher
    • View Profile
`
« Reply #2210 on: March 05, 2015, 11:54:49 am »

Thanks for the link. When I called it folded steel I was thinking of how they folded two grades of steel together to get a stronger and more flexible blade.

edit: I tried to input the values from your link into putman's material raw generator(http://www.bay12forums.com/smf/index.php?topic=140645.0), but the values seemed to be measured in different units. Can you explain how you make new DF metals out of real life metals, because I don't quite understand it.
« Last Edit: March 05, 2015, 12:04:17 pm by Urist McCoder »
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #2211 on: March 05, 2015, 03:58:36 pm »

Nope, same exact values. GPa is 1000 MPa is 1000 KPa is 1000 Pa, same as every other SI measurement.

Urist McCoder

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #2212 on: March 05, 2015, 06:29:24 pm »

Sorry to be such a newb but what do Young's modulus Shear modulus Bulk modulus and what value on this sheet are they http://www.efunda.com/Materials/alloys/tool_steels/show_tool.cfm?ID=AISI_L6&show_prop=all&Page_Title=AISI%20L6
also what does si stand for.
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #2213 on: March 05, 2015, 07:18:47 pm »

"Elastic Modulus" is young's modulus. SI stands for Système International. Wolfram Alpha can usually give you very good data on the shear and bulk modulus for whatever you want.

Urist McCoder

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #2214 on: March 05, 2015, 08:17:29 pm »

Thank you.
Logged

Urist McCoder

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #2215 on: March 05, 2015, 08:55:44 pm »

What should I do about the lack of chromium in DF, maybe I will just go with a tool steel with very little chromium.

On a different subject I made an entity out of the existing races, but I can not tell if they are spawning or not how do you tell.
« Last Edit: March 05, 2015, 09:03:07 pm by Urist McCoder »
Logged

Urist McCoder

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #2216 on: March 05, 2015, 09:29:16 pm »

I finally found the shear and bulk modulus and this is what I got
Spoiler (click to show/hide)
is this right, it looks ok to me but I am not sure.
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #2217 on: March 05, 2015, 10:33:03 pm »

The YIELD and FRACTURE values look a bit large. YIELD should be based on yield strength, not tensile strength.

Eldin00

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #2218 on: March 05, 2015, 11:07:41 pm »

If using the tool steel from Max's link, you should be putting 380000 for tensile yield and 655000 for ultimate tensile strength. It looks like you put in 655000 for tensile yield by mistake.
Logged

Urist McCoder

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #2219 on: March 06, 2015, 09:34:39 am »

Thank you so much guys, sorry I ask a ton of half baked questions. Here is the new raw, fingers crossed that I did it right.
Spoiler (click to show/hide)
Logged
Pages: 1 ... 146 147 [148] 149 150 ... 247