World of Banished

MODS Garage => Mod Talk => Topic started by: slink on November 04, 2014, 10:50:56 AM

Title: Mathieuso Stone Bridge Version 1
Post by: slink on November 04, 2014, 10:50:56 AM
Mathieuso Stone Bridge Version 1

http://worldofbanished.com/index.php?action=downloads;sa=view;down=29 (http://worldofbanished.com/index.php?action=downloads;sa=view;down=29)

This is actually as much mine as theirs, but I did start with their FBX file so they get credit too.

The mod contains a left-hand side, which is more properly the north or west side, and a right-hand side, which is more properly a south or east side.  Or so it seemed to me.  It also contains a decking piece which can substitute for the entire bridge if you prefer to skip deciding which side to put on which.
Title: Re: Mathieuso Stone Bridge Version 1
Post by: slink on November 04, 2014, 01:15:16 PM
You'll all have to download it again, I am afraid.  I edited the batch file to change the name of the package put out by the compiler, but that was not enough to connect the compiled files to buttons.  For that, I had to change the other line and also one file name.

Example:

I had worked on the mod under the name Stone_Bridge.  The batch file to compile this was:

bin\x64\Tools-x64.exe /build Stone_BridgeResources.rsc /pathres ../Stone_Bridge /pathdat ../Stone_Bridge/compiled
bin\x64\Tools-x64.exe /mod Package.rsc:Stone_Bridge /pathres ../Stone_Bridge /pathdat ../Stone_Bridge/compiled

and I had a line in Package.src that read:

PackageFile Stone_Bridge

I wanted to distribute it under the name Mathieuso_Stone_Bridge, so I changed the file to:

bin\x64\Tools-x64.exe /build Stone_BridgeResources.rsc /pathres ../Stone_Bridge /pathdat ../Stone_Bridge/compiled
bin\x64\Tools-x64.exe /mod Package.rsc:Mathieuso_Stone_Bridge /pathres ../Stone_Bridge /pathdat ../Stone_Bridge/compiled

and changed that line in Package.src to read:

PackageFile Mathieuso_Stone_Bridge

It seemed to me that everything should compile and be packaged under the new name, and it was, but nothing was on the toolbar.  In order for the toolbar to be linked to the mod under its new name, I had to edit the batch file to say:

bin\x64\Tools-x64.exe /build Mathieuso_Stone_BridgeResources.rsc /pathres ../Stone_Bridge /pathdat ../Stone_Bridge/compiled
bin\x64\Tools-x64.exe /mod Package.rsc:Mathieuso_Stone_Bridge /pathres ../Stone_Bridge /pathdat ../Stone_Bridge/compiled

and rename Stone_BridgeResources.rsc to Mathieuso_Stone_BridgeResources.rsc

which only makes sense if the name of the Resources file has to be the same as the name on the first line of Package.rsc in order for the toolbar entries to be created.  Since everything is already specified in the batch file, it is duplication of effort, but ... oh well.
Title: Re: Mathieuso Stone Bridge Version 1
Post by: JimmiG on November 04, 2014, 01:54:02 PM
How does the left-side vs right-side placement work? As far as I know, the game will only allow you to place an entire bridge at once, not build one side first and then the other and finally connect the two pieces.
Title: Re: Mathieuso Stone Bridge Version 1
Post by: slink on November 04, 2014, 01:59:58 PM
These are two different bridges, which graphically represent the left-hand and the right-hand halves of one larger bridge.  The are only connected in the fact that the Banished Ones can walk from one bridge to the other if they so choose, because there is nothing to stop them from doing so.  The bridge deck supplies an inner bridge that has no railings, and it therefore can be lined up to the length of your body of water if you so choose.  Banished Ones will happily run around on the resulting surface.
Title: Re: Mathieuso Stone Bridge Version 1
Post by: Denis de la Rive on November 04, 2014, 07:20:06 PM
Got to try it, I really like the modular approach, now you can build it any size you want, and for those times when stone is scarce piece by piece. You have made this your own and pushed the modding envelope, which makes it even better. Thank you.  :)
Title: Re: Mathieuso Stone Bridge Version 1
Post by: slink on November 05, 2014, 06:05:52 AM
Here are two pictures of a three-lane bridge with no handrails.  It was made with three decking pieces.
Title: Re: Mathieuso Stone Bridge Version 1
Post by: rkelly17 on November 05, 2014, 07:29:36 AM
Quote from: slink on November 05, 2014, 06:05:52 AM
Here are two pictures of a three-lane bridge with no handrails.  It was made with three decking pieces.

Now that is a bridge!

Thanks for taking this on.
Title: Re: Mathieuso Stone Bridge Version 1
Post by: slink on November 05, 2014, 07:57:25 AM
No problem!  It was fun, and I wanted a stone bridge for myself.  One that allowed multiple lanes was a bonus.
Title: Re: Mathieuso Stone Bridge Version 1
Post by: Bobbi on November 05, 2014, 08:54:51 AM
Looks great, @slink! Can't wait to try it.  ;D
Title: Re: Mathieuso Stone Bridge Version 1
Post by: Blinkin on November 05, 2014, 12:45:41 PM
It looks nice! Going to try this. :D
Title: Re: Mathieuso Stone Bridge Version 1
Post by: Denis de la Rive on November 05, 2014, 07:58:05 PM
Works for me.  :)
Title: Re: Mathieuso Stone Bridge Version 1
Post by: Denis de la Rive on November 06, 2014, 07:42:30 PM
Just thought you might be interested in seeing a wooden bridge upgraded to stone, the modular construction now makes this possible. When you adds roads the irregular end even out nicely, almost as if it was originally constructed this way. :)
Title: Re: Mathieuso Stone Bridge Version 1
Post by: slink on November 07, 2014, 04:14:59 AM
Beautiful screen shots.  Thank you!   :)
Title: Re: Mathieuso Stone Bridge Version 1
Post by: rkelly17 on November 07, 2014, 01:56:47 PM
Another in our on-going series, "What Hath @slink Wrought?"

Two views of the newest five-wide avenue bridge in Media (seriously, that's the name the game came up with).
Title: Re: Mathieuso Stone Bridge Version 1
Post by: slink on November 07, 2014, 02:36:19 PM
More beautiful screenshots!   :)
Title: Re: Mathieuso Stone Bridge Version 1
Post by: Denis de la Rive on November 07, 2014, 06:43:49 PM
Nice shots indeed, just shows how versatile the modular approach is, and how you have improved on the original.  :)
Title: Re: Mathieuso Stone Bridge Version 1
Post by: Paeng on November 07, 2014, 11:50:55 PM
Quote from: Denis de la Rive on November 07, 2014, 06:43:49 PMshows how versatile the modular approach is

Indeed... You can also build a little on-ramp (SC fashion) with the Flatten Tool... specially if you do a 3-lane bridge...

* Sorry, I misplaced my screenshot - currently I got beta test files up to my ears...  :o

Title: Re: Mathieuso Stone Bridge Version 1
Post by: Angel on January 28, 2015, 11:01:35 PM
Hello!

I feel that the Mathieuso Stone Bridge is wonderful. My second favorite mod, perhaps after the colorful two-story houses. That one's a bit higher just b/c they are so adorable. Both are modular construction which allows so much more freedom to do interesting things...

1. This is labeled v1. Is there a v2? I've not found one.

2. The side rails graphic ends a bit abruptly for me. It looks like you have the same in your screenshots. Is there an easy way to fix this?

3. Something I've dreamed about since day one Banish release seems like it might be possible with this modular bridge approach. That is "crossing bridges." i.e. Bridges which cross one another out in the middle of a lake, allowing the folks to move from one to the other. For now if you build an E-W bridge across a lake, a N-S bridge becomes impossible. Given the brilliance you've shown in creating so many mods, you might be able to make that crazy idea a reality.

Good job all around
== Angel
Title: Re: Mathieuso Stone Bridge Version 1
Post by: blackbird on February 02, 2015, 12:22:38 PM
maybe blackliquid modders is the answer, you are searching for.