Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 327 328 [329] 330 331 ... 357

Author Topic: 0.31. MODDERS WORKSHOP (NEWCOMERS WELCOME!)  (Read 430415 times)

Prologue

  • Bay Watcher
    • View Profile
Re: 0.31. MODDERS WORKSHOP (NEWCOMERS WELCOME!)
« Reply #4920 on: January 17, 2012, 07:48:28 pm »

If I change [GROWDUR:1] would it grow almost instantly?
Logged

GaxkangtheUnbound

  • Bay Watcher
  • To the skies!
    • View Profile
Re: 0.31. MODDERS WORKSHOP (NEWCOMERS WELCOME!)
« Reply #4921 on: January 17, 2012, 07:54:03 pm »

If I change [GROWDUR:1] would it grow almost instantly?
Almost instantly is pretty much correct. It should grow after 100 ticks, about 1/12 of a day.
Logged
Proud of my heritage.
Prepare to lose your sanity.

Crazy Cow

  • Bay Watcher
  • Legendary Procrastinator
    • View Profile
Re: 0.31. MODDERS WORKSHOP (NEWCOMERS WELCOME!)
« Reply #4922 on: January 17, 2012, 09:53:35 pm »

Just a really quick question. Vanilla DF separates all the different kinds of items: weapons, armor, and the like. Can I put weapons and armor in the same file, or do they need to be separate?

trees

  • Bay Watcher
  • [MUNDANE]
    • View Profile
Re: 0.31. MODDERS WORKSHOP (NEWCOMERS WELCOME!)
« Reply #4923 on: January 17, 2012, 09:55:48 pm »

They can be in the same file, they all fall under [OBJECT:ITEM] so it's all good.
Logged
I am often bad at phrasing things - don't hesitate to ask for clarification if something I said doesn't make sense.

Crazy Cow

  • Bay Watcher
  • Legendary Procrastinator
    • View Profile
Re: 0.31. MODDERS WORKSHOP (NEWCOMERS WELCOME!)
« Reply #4924 on: January 17, 2012, 10:06:27 pm »

Good to know.

CheatingChicken

  • Bay Watcher
    • View Profile
Re: 0.31. MODDERS WORKSHOP (NEWCOMERS WELCOME!)
« Reply #4925 on: January 18, 2012, 05:00:05 am »

Just a small question:
Is it possible to make creatures use their natural weapons (such as hands, claws, etc..) for tasks like mining and woodcutting instead of a (pick-)axe?
Logged

ArKFallen

  • Bay Watcher
  • Bohandean Desserter
    • View Profile
Re: 0.31. MODDERS WORKSHOP (NEWCOMERS WELCOME!)
« Reply #4926 on: January 18, 2012, 05:12:55 am »

Just a small question:
Is it possible to make creatures use their natural weapons (such as hands, claws, etc..) for tasks like mining and woodcutting instead of a (pick-)axe?
No
Logged
Hm, have you considered murder?  It's either that or letting it go.
SigText
I logged back on ;_;

Trapezohedron

  • Bay Watcher
  • No longer exists here.
    • View Profile
Re: 0.31. MODDERS WORKSHOP (NEWCOMERS WELCOME!)
« Reply #4927 on: January 18, 2012, 09:05:21 am »

Is it possible to put diggable ores or whatever stone into slade?

And will I be able to find the occasional crack that I can mine if the above's possible?
Logged
Thank you for all the fish. It was a good run.

Gizogin

  • Bay Watcher
  • [EVIL][RAWMANCER]
    • View Profile
Re: 0.31. MODDERS WORKSHOP (NEWCOMERS WELCOME!)
« Reply #4928 on: January 18, 2012, 01:11:49 pm »

Is it possible to put diggable ores or whatever stone into slade?

And will I be able to find the occasional crack that I can mine if the above's possible?
Yes and maybe.  To put ores inside slade, just put [ENVIRONMENT_SPEC:SLADE:shape:100] (shape can be VEIN, CLUSTER-SMALL, etc.).  Whether or not you'll find any of it exposed is a different matter, but I imagine it'll be pretty rare.
Logged
Quote from: franti
"Let's expose our military to zombie-dust so they can't feel pain. They don't NEED skin."
Quote from: Ipwnurmom221
One FB post. Many dick jokes. Pokemon. !!VOLCANO!!. Dwarven mood thingee. Derailment itself. Girlinhat's hat. Cuba. Karl Marx. This is why i love Bay12 forums.
The rest of my sig.
Fear the fluffballs

raptorfangamer

  • Bay Watcher
  • Svenleton King
    • View Profile
Re: 0.31. MODDERS WORKSHOP (NEWCOMERS WELCOME!)
« Reply #4929 on: January 18, 2012, 04:29:50 pm »

how would I add a, say, reaction to the metalsmith forge?
I recently came up with the idea of chain picks and it would be nice to know how to even add it into the fort.
question is do I have to create a new workshop for such things?

also, im planning on experimenting with megabeasts for my first time, any tips?
Logged
"Tobar, whats that on the wall?"

"That, Urist, is a reminder not to piss me off..."

Prologue

  • Bay Watcher
    • View Profile
Re: 0.31. MODDERS WORKSHOP (NEWCOMERS WELCOME!)
« Reply #4930 on: January 18, 2012, 04:37:22 pm »

You can add a new workshop but you need a [PERMITTED_BUILDING:x] and a [PERMITTED_REACTION:x].

For example:

[REACTION:MAKE_CHAIN_PICK]
[NAME:Make Chain Pick]
[BUILDING:SMELTER:NONE]
[REAGENT:<name>:<quantity>:<item token>:<material token>][...modifiers...]
[PRODUCT:<probability>:<quantity>:<item token>:<material token>][...modifiers...][PRODUCT_DIMENSION:X]
[FUEL]
[SKILL:SMELT]

Then you need to add [PERMITTED_REACTION:MAKE_CHAIN_PICK] and check your smelter workshop for the reaction.

I strongly suggest looking at this if you're new to reactions: http://df.magmawiki.com/index.php/DF2010:Reaction
Logged

trees

  • Bay Watcher
  • [MUNDANE]
    • View Profile
Re: 0.31. MODDERS WORKSHOP (NEWCOMERS WELCOME!)
« Reply #4931 on: January 18, 2012, 04:38:21 pm »

Put [WEAPON:ITEM_WEAPON_YOUR_WEAPON'S_NAME] under the desired entity (dwarves are MOUNTAIN) and you'll be able to make it at the forge out of weapons-grade metal bars. You can't add reactions to most vanilla buildings. If you want to make it out of separate components (like, have it include a pick in its production) you'll need to either make a new building for it or put it somewhere that doesn't make much sense, like the kitchen or craftdwarf's workshop.

Megabeasts aren't really that different from regular creatures. The [ATTACK_TRIGGER:x:y:z] is the most important (semi)megabeast-specific tag, probably, it determines when it comes to terrorize you in fortress mode. x is population, y is exported wealth and z is created wealth required for it to be eligible for coming to your fort.
Logged
I am often bad at phrasing things - don't hesitate to ask for clarification if something I said doesn't make sense.

Crazy Cow

  • Bay Watcher
  • Legendary Procrastinator
    • View Profile
Re: 0.31. MODDERS WORKSHOP (NEWCOMERS WELCOME!)
« Reply #4932 on: January 18, 2012, 05:30:01 pm »

Well, time for more questions q;
I'm doing something stupid with my syntax that's making one of my item files unreadable. Specifically, I tossed a few items together for an entity I tossed together. Here's the errorlogs and files in question:
Code: [Select]
*** Error(s) finalizing the entity DRAGON
Unrecognized entity weapon token: ITEM_WEAPON_BOW_WAR
Unrecognized entity weapon token: ITEM_WEAPON_WHIP_MACE
Unrecognized entity weapon token: ITEM_WEAPON_HAMMER_CLUB
Unrecognized entity weapon token: ITEM_WEAPON_SPEAR_JAVELIN
Unrecognized entity gloves token: ITEM_GLOVES_GAUNTLETS_LEATHER
Unrecognized entity pants token: ITEM_PANTS_LEGGINGS_PLATE
Code: [Select]
item_dragonborn

[OBJECT_ITEM]

[ITEM_WEAPON:ITEM_WEAPON_BOW_WAR]
[NAME:warbow:warbows]
[SIZE:300]
[SKILL:SWORD]
[RANGED:BOW:ARROW]
[SHOOT_FORCE:10000]
[SHOOT_MAXVEL:10000]
[TWO_HANDED:0]
[MINIMUM_SIZE:15000]
[MATERIAL_SIZE:3]
[ATTACK:BLUNT:20000:4000:slash:slashes:NO_SUB:1250]

[ITEM_WEAPON:ITEM_WEAPON_HAMMER_CLUB]
[NAME:club:clubs]
[SIZE:400]
[SKILL:HAMMER]
[TWO_HANDED:37500]
[MINIMUM_SIZE:32500]
[MATERIAL_SIZE:3]
[ATTACK:BLUNT:10:200:bash:bashes:NO_SUB:2000]
[TRAINING]

[ITEM_WEAPON:ITEM_WEAPON_SPEAR_JAVELIN]
[NAME:javelin:javelins]
[SIZE:400]
[SKILL:SPEAR]
[TWO_HANDED:47500]
[MINIMUM_SIZE:5000]
[MATERIAL_SIZE:3]
[ATTACK:EDGE:20:10000:stab:stabs:NO_SUB:1000]
[ATTACK:BLUNT:10000:6000:bash:bashes:shaft:1250]
[TRAINING]

[ITEM_WEAPON:ITEM_WEAPON_WHIP_MACE]
[NAME:whip:whips]
[SIZE:100]
[SKILL:MACE]
[TWO_HANDED:27500]
[MINIMUM_SIZE:22500]
[MATERIAL_SIZE:1]
[ATTACK:BLUNT:1:10:lash:lashes:NO_SUB:5000]

[ITEM_PANTS:ITEM_PANTS_LEGGINGS_PLATE]
[NAME:plate leggings:plate leggings]
[ARMORLEVEL:3]
[LBSTEP:MAX]
[SHAPED]
[LAYER:ARMOR]
[COVERAGE:100]
[LAYER_SIZE:15]
[LAYER_PERMIT:30]
[MATERIAL_SIZE:5]
[METAL]
[HARD]

[ITEM_GLOVES:ITEM_GLOVES_GAUNTLETS_LEATHER]
[NAME:gauntlet:gauntlets]
[ARMORLEVEL:2]
[UPSTEP:1]
[SHAPED]
[LAYER:ARMOR]
[COVERAGE:100]
[LAYER_SIZE:20]
[LAYER_PERMIT:15]
[MATERIAL_SIZE:2]
[METAL]
[LEATHER]
[HARD]
Code: [Select]
entity_dragonborn

[OBJECT:ENTITY]

[ENTITY:DRAGON]
[CIV_CONTROLLABLE]
[CREATURE:DRAGONBORN]
[TRANSLATION:DWARF]
[DIGGER:ITEM_WEAPON_PICK]
[WEAPON:ITEM_WEAPON_AXE_BATTLE]
[WEAPON:ITEM_WEAPON_HAMMER_WAR]
[WEAPON:ITEM_WEAPON_SWORD_LONG]
[WEAPON:ITEM_WEAPON_SPEAR]
[WEAPON:ITEM_WEAPON_BOW_WAR]
[AMMO:ITEM_AMMO_ARROWS]
[WEAPON:ITEM_WEAPON_SPEAR_TRAINING]
[WEAPON:ITEM_WEAPON_WHIP_MACE]
[WEAPON:ITEM_WEAPON_HAMMER_CLUB]
[WEAPON:ITEM_WEAPON_SPEAR_JAVELIN]
[ARMOR:ITEM_ARMOR_BREASTPLATE:COMMON]
[ARMOR:ITEM_ARMOR_MAIL_SHIRT:COMMON]
[ARMOR:ITEM_ARMOR_LEATHER:COMMON]
[HELM:ITEM_HELM_HELM:COMMON]
[GLOVES:ITEM_GLOVES_GAUNTLETS_LEATHER:COMMON]
[SHOES:ITEM_SHOES_BOOTS:COMMON]
[PANTS:ITEM_PANTS_LEGGINGS:COMMON]
[PANTS:ITEM_PANTS_LEGGINGS_PLATE:COMMON]
[PANTS:ITEM_PANTS_LOINCLOTH:COMMON]
[SHIELD:ITEM_SHIELD_SHIELD]
I get these errors from running arena mode, so it isn't the lack of changes to my save file. I've been pouring over this for hours and can't find the problem, so hopefully someone who knows what the hell they're doing can help q;

trees

  • Bay Watcher
  • [MUNDANE]
    • View Profile
Re: 0.31. MODDERS WORKSHOP (NEWCOMERS WELCOME!)
« Reply #4933 on: January 18, 2012, 05:31:36 pm »

Code: [Select]
item_dragonborn

[OBJECT_ITEM]

Should be a colon, not an underscore.
Logged
I am often bad at phrasing things - don't hesitate to ask for clarification if something I said doesn't make sense.

Crazy Cow

  • Bay Watcher
  • Legendary Procrastinator
    • View Profile
Re: 0.31. MODDERS WORKSHOP (NEWCOMERS WELCOME!)
« Reply #4934 on: January 18, 2012, 05:33:29 pm »

...
Naturally q;
I appreciate the help!
Pages: 1 ... 327 328 [329] 330 331 ... 357