Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Erm... Why won't it work?  (Read 1373 times)

Fualkner

  • Bay Watcher
  • My glasses split light.
    • View Profile
Erm... Why won't it work?
« on: May 09, 2008, 11:36:00 pm »

I am making a mod that should make small patches of fossils. I dicide to test it out, to see how it will work. I start a new map, look around, reveal the dirt... nothing. Not one square of my fossils. Oh well, I'll use that reaction I created to make a fossil!

...

What? It's... a rock. Just that. Rock.

I put it in it's own little file, tags look alright. I have no idea what's up. Code is below.

code:
 [OBJECT:MATGLOSS]

[MATGLOSS_STONE:TRILOBITE]
[NAME:trilobite fossil][COLOR:0:7:1][TILE:'@']
[VALUE:7]
[ITEM_SYMBOL:1]
[ENVIRONMENT:SEDIMENTARY:CLUSTER_SMALL:100]
[SOLID_DENSITY:3796]

[MATGLOSS_STONE:FOOTPRINT]
[NAME:fossilized footprint]
[VALUE:7][COLOR:0:7:1][TILE:'W'][ITEM_SYMBOL:'W']
[ENVIRONMENT:SEDIMENTARY:CLUSTER_SMALL:100]
[SOLID_DENSITY:3796]

[MATGLOSS_STONE:LEAF]
[NAME:fossilized leaf]
[VALUE:7][COLOR:0:7:1][TILE:5][ITEM_SYMBOL:5]
[ENVIRONMENT:SEDIMENTARY:CLUSTER_SMALL:100]
[SOLID_DENSITY:3796]

[MATGLOSS_STONE:CARP1]
[NAME:carp fossil]
[VALUE:8][COLOR:0:7:1][TILE:224][ITEM_SYMBOL:224]
[ENVIRONMENT:SEDIMENTARY:CLUSTER_SMALL:100]
[SOLID_DENSITY:3796]

[MATGLOSS_STONE:CARP2]
[NAME:saber-tooth carp fossil]
[VALUE:8][COLOR:0:7:1][TILE:224][ITEM_SYMBOL:224]
[ENVIRONMENT:SEDIMENTARY:CLUSTER_SMALL:100]
[SOLID_DENSITY:3796]

[MATGLOSS_STONE:GOBLIN1]
[NAME:goblin fossil]
[VALUE:8][COLOR:0:7:1][TILE:'g'][ITEM_SYMBOL:'g']
[ENVIRONMENT:SEDIMENTARY:CLUSTER_SMALL:100]
[SOLID_DENSITY:3796]

[MATGLOSS_STONE:GOBLIN2]
[NAME:crushed goblin fossil]
[VALUE:8][COLOR:4:7:0][TILE:'g'][ITEM_SYMBOL:'g']
[ENVIRONMENT:SEDIMENTARY:CLUSTER_SMALL:100]
[SOLID_DENSITY:3796]

[MATGLOSS_STONE : DWARF1]
[NAME:dwarven neanderthal fossil]
[VALUE:8][COLOR:0:7:1][TILE:1][ITEM_SYMBOL:1]
[ENVIRONMENT:SEDIMENTARY:CLUSTER_SMALL:100]
[SOLID_DENSITY:3796]

[MATGLOSS_STONE : DRAGON1]
[NAME:ancient dragon fossil]
[VALUE:8][COLOR:4:7:1][TILE:'D'][ITEM_SYMBOL:'D']
[ENVIRONMENT:SEDIMENTARY:CLUSTER_SMALL:100]
[SOLID_DENSITY:3796]

[MATGLOSS_STONE : DRAGON2]
[NAME:roaring dragon fossil]
[VALUE:8][COLOR:4:7:1][TILE:'D'][ITEM_SYMBOL:'D']
[ENVIRONMENT:SEDIMENTARY:CLUSTER_SMALL:100]
[SOLID_DENSITY:3796]


That's it, word for word. I put the trilobite one in the regular rock .txt, and it worked fine. So how do I make this work?

EDIT: Smiley genocide, ignore spaces.

[ May 10, 2008: Message edited by: Fualkner ]

Logged

Dragromblue

  • Bay Watcher
    • View Profile
Re: Erm... Why won't it work?
« Reply #1 on: May 09, 2008, 11:43:00 pm »

add the file name outside of tags at the top. I had that problem at first, where it would work in the orignal files, but not in one I had created. After I added that it worked.

If you have named your txt file stone_custom, then at the top of your code you would need to add this exactly as is.

stone_custom

Logged
A HREF="http://www.bay12games.com/cgi-local/ultimatebb.cgi?ubb=get_topic&f=13&t=000642">Glass Bed Mod, perfect for those desert maps where wood can be difficult to get.
Glass goodies abound, so now you can download my Glass Mod to get a complete co

Fualkner

  • Bay Watcher
  • My glasses split light.
    • View Profile
Re: Erm... Why won't it work?
« Reply #2 on: May 10, 2008, 10:21:00 am »

Ah. I figured as much. Thanks alot!
Logged

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Erm... Why won't it work?
« Reply #3 on: May 10, 2008, 12:14:00 pm »

This is a nice idea! Expand it and make it an archaeology minimod!
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

PTTG??

  • Bay Watcher
  • Kringrus! Babak crulurg tingra!
    • View Profile
    • http://www.nowherepublishing.com
Re: Erm... Why won't it work?
« Reply #4 on: May 12, 2008, 10:21:00 pm »

Sweet mod idea! Mind if I steal it?
Logged
A thousand million pool balls made from precious metals, covered in beef stock.

SHAD0Wdump

  • Bay Watcher
  • Hiding in SPAAACE!!!
    • View Profile
Re: Erm... Why won't it work?
« Reply #5 on: May 13, 2008, 12:26:00 am »

THEIF,PROTECT THE HOARD.meh.
Logged