Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: How to assign graphic to creature?  (Read 1696 times)

Nuttycompa

  • Bay Watcher
    • View Profile
How to assign graphic to creature?
« on: August 02, 2014, 08:13:39 am »

Well I just finish modding my first creature "THE Smulf", and already create a tile set for them.
My problem is I don't understand how to make them use the tile. :-[
I try reading the wiki and really confuse with the graphic table thingly. :'(

Another question if you don't mind
Is it possible to put my Smulf graphic into other graphic pack like Ironhand.
Logged

Doren

  • Bay Watcher
  • On closer inspection, that dog is a dwarf
    • View Profile
Re: How to assign graphic to creature?
« Reply #1 on: August 02, 2014, 08:47:18 am »

You need to add  two files in raw/graphics

1.thesmulf.png of 16x16 size
2.graphics_Nuttycompa.txt with these contents:

Spoiler (click to show/hide)

Nuttycompa

  • Bay Watcher
    • View Profile
Re: How to assign graphic to creature?
« Reply #2 on: August 02, 2014, 10:42:28 am »

OK I'm following
What I still don't understand is the creature raw
This tag -> [CREATURE_TILE: Whatever number it is] How can I know what my tile number is? :-\
Logged

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: How to assign graphic to creature?
« Reply #3 on: August 02, 2014, 10:52:03 am »

Ignore it. You are not using tiles. You are using sprites, which is completely different.
Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::

Nuttycompa

  • Bay Watcher
    • View Profile
Re: How to assign graphic to creature?
« Reply #4 on: August 02, 2014, 12:02:20 pm »

Oh :o How silly of me
Thank you Deon, Meph your guy are the best :D
Logged

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: How to assign graphic to creature?
« Reply #5 on: August 02, 2014, 12:14:10 pm »

It was Doren :). And by the way, when the creature is dead it looks like its CREATURE_TILE, which may be relevant if you want to see a corpse graphic you can assign a corpse-looking tile.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository