Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 2 [3]

Author Topic: A modder, and mod-user, rant  (Read 4496 times)

BurnedToast

  • Bay Watcher
  • Personal Text
    • View Profile
Re: A modder, and mod-user, rant
« Reply #30 on: April 16, 2010, 08:50:48 pm »

How does making new files work, anyway? There is very little info about this anywhere - the wiki just says you can create your own files and does not elaborate any futher then that.

For example I just created reaction_smeltermod.txt and added some reactions (yes I put them in the entity file too) and it's not working - they don't show up. copy-pasting the contents to the end of reaction_smelter.txt instead works perfectly.

I'd love to make new files when possible (if for no other reason then to keep everything I've added together for myself) but I don't know how it works.
Logged
An ambush! curse all friends of nature!

LegoLord

  • Bay Watcher
  • Can you see it now?
    • View Profile
Re: A modder, and mod-user, rant
« Reply #31 on: April 16, 2010, 08:53:49 pm »

Post the contents of the file.  Easier to tell you what's wrong than to tell you everything that can possibly go wrong.
Logged
"Oh look there is a dragon my clothes might burn let me take them off and only wear steel plate."
And this is how tinned food was invented.
Alternately: The Brick Testament. It's a really fun look at what the bible would look like if interpreted literally. With Legos.
Just so I remember

BurnedToast

  • Bay Watcher
  • Personal Text
    • View Profile
Re: A modder, and mod-user, rant
« Reply #32 on: April 16, 2010, 08:59:58 pm »

It's not anything complicated, I just made it to test out seperate files.

I just created a file called reaction_smeltermod.txt which contains:
Code: [Select]
[REACTION:FREE_ADAMANTINE]
[NAME:tempt fate]
[BUILDING:SMELTER:NONE]
[PRODUCT:100:1:BAR:NO_SUBTYPE:METAL:ADAMANTINE][PRODUCT_DIMENSION:150]
[SKILL:SMELT]

then added  [PERMITTED_REACTION:FREE_ADAMANTINE] to dwarves in entity_default.txt

I gen a world, embark, and nothing. I copy-paste the reaction into reaction_smelter.txt and gen a world, embark, and it works fine.

Edit: actually it's working now, I guess I did something stupid before... hmmm

Edit2: no, it's still not working, I messed up when I tested it a second time.
« Last Edit: April 16, 2010, 09:05:19 pm by BurnedToast »
Logged
An ambush! curse all friends of nature!

LegoLord

  • Bay Watcher
  • Can you see it now?
    • View Profile
Re: A modder, and mod-user, rant
« Reply #33 on: April 16, 2010, 09:05:58 pm »

I meant the contents of the whole file.  The file name at the top of the page, the [OBJECT:xxxx] tag, all of it.  Typos in those seem to really throw things off.
Logged
"Oh look there is a dragon my clothes might burn let me take them off and only wear steel plate."
And this is how tinned food was invented.
Alternately: The Brick Testament. It's a really fun look at what the bible would look like if interpreted literally. With Legos.
Just so I remember

BurnedToast

  • Bay Watcher
  • Personal Text
    • View Profile
Re: A modder, and mod-user, rant
« Reply #34 on: April 16, 2010, 09:14:47 pm »

I didn't have anything else in the file... which was the problem *facepalm*. I added

reaction_smelter

[OBJECT:REACTION]

to the top and now it works, thanks.

I guess it's obvious (to everyone but me) but it would be helpful to note that's required somewhere.
Logged
An ambush! curse all friends of nature!
Pages: 1 2 [3]