Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 424 425 [426] 427 428 ... 544

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

dagger

  • Bay Watcher
  • Sniffin' glue
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #6375 on: November 09, 2013, 12:37:42 am »

Okay changing the liquid reactions to only 10 instead of 25 works. Guess barrels don't hold as much as they used to.


The food ones got me baffled though.
Logged

Seriyu

  • Bay Watcher
    • View Profile
    • Springless Clock
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #6376 on: November 09, 2013, 01:37:00 am »

as a note, barrels can hold up to 15 I believe liquid amounts. They still hold more then that in fortress mode due to wizardry. Dunno if this limit applies to food.

Suds Zimmerman

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #6377 on: November 09, 2013, 02:31:42 am »

I have a custom material intended only for armour, but civs still bring finished goods made of that material. Is this because of some error on my part in the raws? If not, is there a way to prevent this from happening?

Here's the raw for the material.
Spoiler (click to show/hide)

Metal_template, for reference (all it really adds is [IS_METAL], I think?)
Spoiler (click to show/hide)

And the reaction the civ gets to have access to the material, which does not occur naturally.
Spoiler (click to show/hide)

Is the problem here that IS_METAL implicitly allows the material to be used for crafts and tools? If I remove it, will the civ be unable to bring armour made of that material?

Or is it that ITEMS_ARMOR also allows crafts, and I'm shafted either way if I want that armour?
Logged
You don't need a weatherman to know which way the wind blows
DORFAMUNDA - NECROMUNDA DF MOD

spikeof2010

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #6378 on: November 09, 2013, 05:58:06 pm »

I don't quite understand all the parameters of an attack? I understand BLUNT and EDGE and the verbs, but I don't understand what the numbers effect.
Logged

BlackFlyme

  • Bay Watcher
  • BlackFlyme cancels Work: Interrupted by bird.
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #6379 on: November 09, 2013, 06:19:43 pm »

I don't quite understand all the parameters of an attack? I understand BLUNT and EDGE and the verbs, but I don't understand what the numbers effect.

It's not too hard to understand, once you get the hang of it.

[ATTACK:BLUNT:10:200:bash:bashes:NO_SUB:2000]

ATTACK simply starts the string, and BLUNT and EDGE you already know.

The first number is the contact area, which is the percent of the weapon's size that is used on an attack, and will dictate how large the wounds created by the weapon are. The second number in the penetration, which is how deep it will cut. Whether penetration actually works for blunt weapons isn't known, to my knowledge.

Then there's the first person and third person verbs, followed by a noun. The noun is what part of the weapon is used to attack, so with NO_SUB, the part won't be named.

Finally, the last number is the attack's velocity. It defaults to 1000. Think of it as being a percentage multiplied by 10, so an attack with a velocity of 2000 will hit twice as hard as normal.
Logged

spikeof2010

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #6380 on: November 09, 2013, 06:31:14 pm »

Thanks, Black Flame, but mind showing contact area in reference to something else? Like what would that even mean? I know bigger wounds, but in relation to what? A sword? A mace?
Logged

BlackFlyme

  • Bay Watcher
  • BlackFlyme cancels Work: Interrupted by bird.
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #6381 on: November 09, 2013, 07:12:19 pm »

The number is the potential size of the wound left behind on the victim of the attack. As mentioned, the number is the percentage of the weapon's size that is used to attack with, at least to my knowledge. So if a weapon has a contact size of 100, the weapons size is equal to the wound left behind. If the contact is 200, then the wound will be twice the size of the weapon.

For comparison:

Here's an axe's hacking attack.

[ATTACK:EDGE:40000:6000:hack:hacks:NO_SUB:1250]

This will leave an immense wound on most creatures if it is able to connect.

This is a spear's piercing attack.

[ATTACK:EDGE:20:10000:stab:stabs:NO_SUB:1000]

It leaves a wound like a pin-hole, but it hits much deeper than the axe is capable of.

When you think of a war hammer, people may think of a large, bulky weapon, but in practice it is actually more like a war-pick, since it has a very small contact area.

It would likely look something like what is spoilered below, which is also the image posted on the wiki's hammer page.

Spoiler (click to show/hide)
Logged

Gentlefish

  • Bay Watcher
  • [PREFSTRING: balloon-like qualities]
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #6382 on: November 09, 2013, 07:14:20 pm »

So, let me get this right. If I say, instead of [NO_SUB], I say [no_sub], the attack will say I "Bash the goblin in the left pinkie finger with the no_sub of [my] warhammer"?

ninja=edit: So that means the warhammer actually has a small contact area? Great for bone-shattering then wow. And it may actually penetrate if swung hard enough... That would be a pretty gruesome thing. I was honestly thinking of an oversize meat tenderizer :P

scamtank

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #6383 on: November 09, 2013, 07:21:00 pm »

Blunt damage is really silly since it can't do lasting harm to soft tissue. All it can do is break bones and destroy organs (with lucky fragments of bones).

Penetration with blunt weapons determines how far down you can send those bone fragments.
Logged

Gentlefish

  • Bay Watcher
  • [PREFSTRING: balloon-like qualities]
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #6384 on: November 09, 2013, 07:34:02 pm »

Next update though we should see limb pulping.

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #6385 on: November 09, 2013, 09:43:02 pm »

It should be noted that the wiki article goes over all of this.

dagger

  • Bay Watcher
  • Sniffin' glue
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #6386 on: November 10, 2013, 02:10:04 am »

Hi,

Any idea why this might not work? I am playing with Masterwork if it matters. Thank you!!

[REACTION:CHEAT_022]
   [NAME:make soap]
   [BUILDING:CREATION_FORGE:NONE]
   [PRODUCT:100:20:BAR:NONE:CREATURE_MAT:COW:SOAP]
   [SKILL:SOAP_MAKING]
Logged

Seriyu

  • Bay Watcher
    • View Profile
    • Springless Clock
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #6387 on: November 10, 2013, 02:24:18 am »

You might try replacing SOAP with RENDERED_FAT, but I'm not 100% on that.

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #6388 on: November 10, 2013, 02:35:13 am »

Cows don't have soap in Masterwork. You want CREATURE_MAT:ANIMAL:SOAP.

RENDERED_FAT isn't a thing, no.

Seriyu

  • Bay Watcher
    • View Profile
    • Springless Clock
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #6389 on: November 10, 2013, 02:40:04 am »

I stand corrected!
Pages: 1 ... 424 425 [426] 427 428 ... 544