Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Probably a simple answer  (Read 488 times)

Dunamisdeos

  • Bay Watcher
  • Duggin was the hero we needed.
    • View Profile
Probably a simple answer
« on: April 06, 2012, 02:42:37 pm »

Hey guys, I made my first "mod". nothing to brag about, just tweaked around with vanilla elves to make dark elves. But my queation is how do I get DF to accept custom sprites for them? I want to use Pheobus set, but also add some stuff for my new dark elves. Is this easy?
Logged
FACT I: Post note art is best art.
FACT II: Dunamisdeos is a forum-certified wordsmith.
FACT III: "All life begins with Post-it notes and ends with Post-it notes. This is the truth! This is my belief!...At least for now."
FACT IV: SPEECHO THE TRUSTWORM IS YOUR FRIEND or BEHOLD: THE FRUIT ENGINE 3.0

Anathema

  • Bay Watcher
    • View Profile
Re: Probably a simple answer
« Reply #1 on: April 06, 2012, 02:52:18 pm »

Go to the DF/data/raw/graphics folder, that's where your custom creature graphics are controlled. There are two notable files: an image that contains the graphics themselves, and a text file that tells DF what creatures the graphics are supposed to be linked to. Try taking Phoebus' image and text file for elf graphics (hopefully the elves have their own separate files, but they could be combined with other things, not sure how Phoebus does it), copy and rename them, and edit both as needed to suit your dark elves.

To answer your last question, the linking is easy to do, it's the graphics themselves that are potentially difficult. I guess that depends on how good you are at pixel art and how good you want the result to be. If your plan is to, say, take Phoebus elves and recolor them, that's trivial, if you want to make all new graphics of equal quality that could take some time.
« Last Edit: April 06, 2012, 02:56:06 pm by Anathema »
Logged
The good news is that ghosts die of old age.

Dunamisdeos

  • Bay Watcher
  • Duggin was the hero we needed.
    • View Profile
Re: Probably a simple answer
« Reply #2 on: April 06, 2012, 03:11:51 pm »

Well im an old hand at pixel art, thats no problem. But that really explains everything. if it's just as easy as associating the image files in a .txt, i feel silly for not noticing. I'll post more if i get confused =)

thanks buddy
Logged
FACT I: Post note art is best art.
FACT II: Dunamisdeos is a forum-certified wordsmith.
FACT III: "All life begins with Post-it notes and ends with Post-it notes. This is the truth! This is my belief!...At least for now."
FACT IV: SPEECHO THE TRUSTWORM IS YOUR FRIEND or BEHOLD: THE FRUIT ENGINE 3.0

TomiTapio

  • Bay Watcher
  • OldGenesis since 2012
    • View Profile
    • My Flickr animal photos
Re: Probably a simple answer
« Reply #3 on: April 06, 2012, 03:32:38 pm »

For new animals/beasts, the format is like

graphics_animals_domestic

[OBJECT:GRAPHICS]

[TILE_PAGE:DOMESTIC] --set up the DOMESTIC reference grid
   [FILE:animals/domestic.bmp]
   [TILE_DIM:16:16] 16x16 pixels
   [PAGE_DIM:6:8]

[CREATURE_GRAPHICS:PIG]
        [DEFAULT:DOMESTIC:4:1:AS_IS:DEFAULT]
      [TRAINED_HUNTER:DOMESTIC:4:1:AS_IS:DEFAULT]
      [TRAINED_WAR:DOMESTIC:4:1:AS_IS:DEFAULT]
        [CHILD:DOMESTIC:5:1:AS_IS:DEFAULT]
        [ANIMATED:DOMESTIC:4:2:AS_IS:ANIMATED]
        [GHOST:DOMESTIC:5:2:AS_IS:GHOST]

(the above from Ironhand-tileset Genesis)
note that the old SKELETON and ZOMBIE graphics commands are now GHOST and ANIMATED.
For entities/civilizations, there's a load of profession graphics possible.
Logged
==OldGenesis mod== by Deon & TomiTapio. Five wood classes, four leather classes. Nine enemy civs. So much fine-tuning.
47.05e release: http://dffd.bay12games.com/who.php?id=1538
OldGenesis screenshots: https://twitter.com/hashtag/OldGenesis?src=hashtag_click&f=image
My Finnish language file: http://dffd.bay12games.com/file.php?id=14884

Dunamisdeos

  • Bay Watcher
  • Duggin was the hero we needed.
    • View Profile
Re: Probably a simple answer
« Reply #4 on: April 06, 2012, 04:37:12 pm »

Is there a tutorial for this stuff?
Logged
FACT I: Post note art is best art.
FACT II: Dunamisdeos is a forum-certified wordsmith.
FACT III: "All life begins with Post-it notes and ends with Post-it notes. This is the truth! This is my belief!...At least for now."
FACT IV: SPEECHO THE TRUSTWORM IS YOUR FRIEND or BEHOLD: THE FRUIT ENGINE 3.0