Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 123 124 [125] 126 127 ... 247

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

DragonDePlatino

  • Bay Watcher
  • [HABIT:COLLECT_WEALTH]
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #1860 on: January 03, 2015, 02:11:16 am »

Ah, I almost forgot! I should be using AS_IS:ANIMATED tags instead of AS_IS:ZOMBIE tags. Silly me.

Thanks for helping out again, Putnam! I haven't touched any of this graphical business in half a year so I'm still rusty.

Godsnose

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #1861 on: January 03, 2015, 04:29:07 pm »

Is there a modding program that will allow me to change every creature raw at the same time?
Or do i need to insert my 2 lines of code individually?
I'm already half done, but there has gotta be a easier way to do this.


just tested
[EXTRA_BUTCHER_OBJECT:BY_TYPE:UPPERBODY]
      [EBO_ITEM:TOY:LESSER_SOUL:INORGANIC:BRONZE]
and
 [EXTRA_BUTCHER_OBJECT:BY_CATEGORY:UPPERBODY]
 [EBO_ITEM:TOY:LESSER_SOUL:INORGANIC:BRONZE]

and neither work. I should have tested it before i changed anything. Any one have an idea whats wrong?

turns out you need to define the body part before you can designate an extra butcher object to it. makes sense.
« Last Edit: January 03, 2015, 05:15:44 pm by Godsnose »
Logged

StagnantSoul

  • Bay Watcher
  • "Player has withdrawn from society!"
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #1862 on: January 03, 2015, 07:22:52 pm »

Is there any way to increase the cost of wax? I feel wax should be worth at least as much as flux stone.
Logged
Quote from: Cptn Kaladin Anrizlokum
I threw night creature blood into a night creature's heart and she pulled it out and bled to death.
Quote from: Eric Blank
Places to jibber madly at each other, got it
Quote from: NJW2000
If any of them are made of fire, throw stuff, run, and think non-flammable thoughts.

BlackFlyme

  • Bay Watcher
  • BlackFlyme cancels Work: Interrupted by bird.
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #1863 on: January 03, 2015, 07:29:52 pm »

Is there any way to increase the cost of wax? I feel wax should be worth at least as much as flux stone.

Go into the bee's raws and alter their wax value.
Logged

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #1864 on: January 03, 2015, 07:30:50 pm »

Like any other material, the wax has [MATERIAL_VALUE:X].

You can either follow BlackFlyme's suggestion, or alter the cost of the WAX_TEMPLATE in the material_template_default.txt.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

StagnantSoul

  • Bay Watcher
  • "Player has withdrawn from society!"
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #1865 on: January 03, 2015, 07:33:07 pm »

Thanks! After setting up my 61st hive and finding out I can only have 60 running hives, I find wax crafts a bit down there under all the dolomite, billon, gold, mussel shell, and large gem crafts.
Logged
Quote from: Cptn Kaladin Anrizlokum
I threw night creature blood into a night creature's heart and she pulled it out and bled to death.
Quote from: Eric Blank
Places to jibber madly at each other, got it
Quote from: NJW2000
If any of them are made of fire, throw stuff, run, and think non-flammable thoughts.

Arcvasti

  • Bay Watcher
  • [IS_ALREADY_HERE] [FRIENDSHIPPER:HIGH]
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #1866 on: January 05, 2015, 09:13:51 pm »

How would one go about adding an interaction to a creature to allow it to raise the dead in the same manner as a necromancer? Is this possible via modding?
Logged
If you expect to live forever then you will never be disappointed.
Spooky Signature
To fix the horrid default colour scheme, follow the below steps:
Profile> Modify Profile> Look and Layout> Current Theme> (change)> Darkling

DragonDePlatino

  • Bay Watcher
  • [HABIT:COLLECT_WEALTH]
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #1867 on: January 05, 2015, 09:15:22 pm »

Work continues on my graphics set...I've identified and drawn 121 professions, but a few still have me scratching my head. Could someone please tell me if any professions are missing from this list or if I should remove the ones with bullets next to them?

Spoiler (click to show/hide)

So just to be sure, the professions I put next to bullets are NEVER used in-game?

ArKFallen

  • Bay Watcher
  • Bohandean Desserter
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #1868 on: January 05, 2015, 09:23:22 pm »

  • FORCED_ADMINISTRATOR
  • RANGER_CAPTAIN
  • ACOLYTE
    DRUID
  • MONSTER_SLAYER
    BEAST_HUNTER
    SLAVE
    PRISONER

So just to be sure, the professions I put next to bullets are NEVER used in-game?
Kinda sure the now un-spoilered ones are. FORCED_ADMINISTRATOR is the leader of a conquered place. I've seen a few creatures that hunt beasts as a profession(BEAST_HUNTER). PRISONERs can be freed to be companions. The goblins' trolls might be considered SLAVEs.

How would one go about adding an interaction to a creature to allow it to raise the dead in the same manner as a necromancer? Is this possible via modding?
Code: (in DWARF creature entry) [Select]
[CAN_DO_INTERACTION:X]
[CDI:ADV_NAME:Animate corpse]
[CDI:TARGET:A:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:A:10]
[CDI:VERB:gesture:gestures:NA]
[CDI:TARGET_VERB:shudder and begin to move:shudders and begins to move]
[CDI:WAIT_PERIOD:10]
Code: (goes in a raw txt named interaction_y) [Select]
interaction_y

[OBJECT:INTERACTION]

[INTERACTION:X]
[I_TARGET:A:CORPSE]
[IT_LOCATION:CONTEXT_ITEM]
[IT_AFFECTED_CLASS:GENERAL_POISON]
[IT_REQUIRES:FIT_FOR_ANIMATION]
[IT_FORBIDDEN:NOT_LIVING]
[IT_MANUAL_INPUT:corpses]
[I_EFFECT:ANIMATE]
[IE_TARGET:A]
[IE_IMMEDIATE]
[IE_ARENA_NAME:Animated corpse]
[SYNDROME]
[CE_FLASH_TILE:TILE:165:3:0:0:FREQUENCY:2000:1000:START:0]
[CE_PHYS_ATT_CHANGE:STRENGTH:300:1000:TOUGHNESS:300:1000:START:0]
[CE_SPEED_CHANGE:SPEED_PERC:60:START:0]
[CE_ADD_TAG:NO_AGING:NOT_LIVING:OPPOSED_TO_LIFE:EXTRAVISION:NOEXERT:NOPAIN:NOBREATHE:NOSTUN:NONAUSEA:NO_DIZZINESS:NO_FEVERS:NOEMOTION:PARALYZEIMMUNE:NOFEAR:NO_EAT:NO_DRINK:NO_SLEEP:NO_PHYS_ATT_GAIN:NO_PHYS_ATT_RUST:NOTHOUGHT:NO_THOUGHT_CENTER_FOR_MOVEMENT:NO_CONNECTIONS_FOR_MOVEMENT:START:0]
[CE_REMOVE_TAG:HAS_BLOOD:TRANCES:LIKES_FIGHTING:MISCHIEVOUS:START:0]
Replace the x and y with whatever you want but keep it consistent.
« Last Edit: January 05, 2015, 09:30:26 pm by ArKFallen »
Logged
Hm, have you considered murder?  It's either that or letting it go.
SigText
I logged back on ;_;

Arcvasti

  • Bay Watcher
  • [IS_ALREADY_HERE] [FRIENDSHIPPER:HIGH]
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #1869 on: January 05, 2015, 09:49:19 pm »

Is there anything in particular you have to do to make a creature appear in the arena? My modded-in creature won't appear on the list for spawning creatures in the arena and I'd like to test my creature to make sure it doesn't instantly melt or something silly like that.
Logged
If you expect to live forever then you will never be disappointed.
Spooky Signature
To fix the horrid default colour scheme, follow the below steps:
Profile> Modify Profile> Look and Layout> Current Theme> (change)> Darkling

ArKFallen

  • Bay Watcher
  • Bohandean Desserter
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #1870 on: January 05, 2015, 10:07:32 pm »

Is there anything in particular you have to do to make a creature appear in the arena? My modded-in creature won't appear on the list for spawning creatures in the arena and I'd like to test my creature to make sure it doesn't instantly melt or something silly like that.
There is a tag that specifically prevents its appearance, but if you don't have that then there is another problem.

A creature needs to be in a txt file in the objects folder with a file name starting "creature_". There should be a "creature_" line as well at the start of the file (I forget why but it's important). On a following line you need "[OBJECT:CREATURE]" on a following line to that "[CREATURE:IDHERE]". If all those conditions aren't met your creature will never appear anywhere.

The arena creature list doesn't sort alphabetically by the caste-name(what you see in the creature list) but by (IIRC) creature-name. The filter sorts by caste-name though.

((Also the part I said goes in the DWARF creature goes into the creature that does the necromancing. Don't know why I read 'creature' as 'dwarves'))
« Last Edit: January 05, 2015, 10:09:17 pm by ArKFallen »
Logged
Hm, have you considered murder?  It's either that or letting it go.
SigText
I logged back on ;_;

BlackFlyme

  • Bay Watcher
  • BlackFlyme cancels Work: Interrupted by bird.
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #1871 on: January 05, 2015, 10:12:32 pm »

Is there anything in particular you have to do to make a creature appear in the arena? My modded-in creature won't appear on the list for spawning creatures in the arena and I'd like to test my creature to make sure it doesn't instantly melt or something silly like that.

Silly question, but does it have [ARENA_RESTRICTED]?

For more serious questions, does it have a [NAME] and a [CASTE_NAME]?

Is the file format correct?
Logged

Arcvasti

  • Bay Watcher
  • [IS_ALREADY_HERE] [FRIENDSHIPPER:HIGH]
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #1872 on: January 05, 2015, 10:14:35 pm »

No, it lacked an [OBJECT:CREATURE] tag at the top. Works perfectly now. Thanks~!
Logged
If you expect to live forever then you will never be disappointed.
Spooky Signature
To fix the horrid default colour scheme, follow the below steps:
Profile> Modify Profile> Look and Layout> Current Theme> (change)> Darkling

Arcvasti

  • Bay Watcher
  • [IS_ALREADY_HERE] [FRIENDSHIPPER:HIGH]
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #1873 on: January 05, 2015, 11:33:43 pm »

Having trouble adding a new bodypart.

Code: [Select]
[BODY:Staff]
[BP:STAFF:staff:STP][CONTYPE:HAND][CATEGORY:STAFF][DEFAULT_RELSIZE:300]

I want to attach this to the hand as a bodypart. Am I doing this wrong?
Logged
If you expect to live forever then you will never be disappointed.
Spooky Signature
To fix the horrid default colour scheme, follow the below steps:
Profile> Modify Profile> Look and Layout> Current Theme> (change)> Darkling

ArKFallen

  • Bay Watcher
  • Bohandean Desserter
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #1874 on: January 05, 2015, 11:40:05 pm »

DFFD is doomed
or not. Attention needs to be grabbed across the forum though.
Logged
Hm, have you considered murder?  It's either that or letting it go.
SigText
I logged back on ;_;
Pages: 1 ... 123 124 [125] 126 127 ... 247