NIMBY Rails

NIMBY Rails

The NIMBY Rails Depot
Browse and subscribe to mods created by the community for NIMBY Rails.
A few questions!
I have a few questions here, so I am going to put them in one message and section it all! I will try to make it easy to know what's been answered, and where, so that people who may have similar questions can find the answers!

Train Directions
I think I know the answer to this one, but I just want to confirm it!

The left of my .png for my trains is the front? So, if for my trailer I put the front end of the car at the left, then tail car reversed should equal false, but if I have the same .png for as my head, then tail car reversed should be true?

Answers:

File Structure
Let's say I have the base texture for a variety of different engines I use, in a variety of different mods, would I be able to have a folder directly in the mods folder containing any textures used from multiple mods, then would I be able to link it from my mod.txt files inside other mods? How would I do this?

Also, is it possible to have a mod with multiple folders inside it, and each of those folders has a mod.txt file defining a train?

Answers:
Answered by wopian in post #1

Train Unit ID
I presume, that if I knew the ID of any given train unit, I could use that unit in any mod?

Answers
Answered by wopian in post #1 Ansered by Weird and Wry in post #3

Summary
I eagerly await answers. I will reply with any questions I have of answers, and edit this message to reference answers for parts of this post!
Last edited by mathstrains19; 5 Feb, 2021 @ 7:13am
< >
Showing 1-7 of 7 comments
Akane 12 5 Feb, 2021 @ 4:12am 
Originally posted by mathstrains19:
File Structure
Let's say I have the base texture for a variety of different engines I use, in a variety of different mods, would I be able to have a folder directly in the mods folder containing any textures used from multiple mods, then would I be able to link it from my mod.txt files inside other mods? How would I do this?

The texture paths are relative to the mod, so you only have access to the textures in the same folder as the mod.txt

Originally posted by mathstrains19:
Also, is it possible to have a mod with multiple folders inside it, and each of those folders has a mod.txt file defining a train?

Not multiple mod.txt, but you can have multiple trains inside a single mod.txt.

Originally posted by mathstrains19:
Train Unit ID
I presume, that if I knew the ID of any given train unit, I could use that unit in any mod?

Yes, it's possible to share identical units across different mods by doing that.
Last edited by Akane; 5 Feb, 2021 @ 6:25am
mathstrains19 5 Feb, 2021 @ 4:17am 
thank you!
Weird and Wry  [developer] 5 Feb, 2021 @ 7:07am 
About using IDs from other mods. I won't add mod dependencies to the game in any way, since mods are supposed to be 100% standalone. So while it works, it's not supported. The required textures and files for mods in NIMBY Rails are tiny compared to other games, so you can ask for permission to the mod author to copy their units if you need to, and use your own ID.
mathstrains19 5 Feb, 2021 @ 7:09am 
If I was to publish 2 mods, and one used a train unit from another, would the user need the first mod to use the second pack?
Akane 12 5 Feb, 2021 @ 8:04am 
Originally posted by mathstrains19:
If I was to publish 2 mods, and one used a train unit from another, would the user need the first mod to use the second pack?

Yes, and both mods would need to be enabled in their game
Weird and Wry  [developer] 5 Feb, 2021 @ 8:06am 
Yes, and there is no way for the game to discover that. I want to avoid the dependency headaches that come from making mods depend on other mods. Games that go this route end up with brittle mods, broken saves, requiring a mod manager to make the game usable, etc.
mathstrains19 5 Feb, 2021 @ 12:41pm 
Ok! Thank you for all the information!
< >
Showing 1-7 of 7 comments
Per page: 1530 50