World of Banished

MODS Garage => Mod Discussions 107 => Topic started by: Discrepancy on September 01, 2016, 11:21:22 AM

Title: DS Wagon Vendor v2.2 (updated 20 Dec 2017)
Post by: Discrepancy on September 01, 2016, 11:21:22 AM
DS Wagon Vendor - v2.2

(http://i.imgur.com/mjDqMbw.jpg)


REQUIRES LATEST VERSION OF BANISHED

(https://i.imgur.com/amU5YOU.jpg)

(https://i.imgur.com/wC9yRVf.jpg)




New in v2:

- 'Wagon Parts' are now a required construction part for the market wagons. It costs 2 wagon parts + 9 work to make/unpack all the wagons. Wagon Parts cost 5 logs + 2 iron to produce 1-2 parts, value 18 each, storage flag of Construction (Custom5).

**the mod contains files that include and alter the Village Workshop originally included in DSSV: Production, place this mod above in mod list to allow production of wagon parts at this workplace. - removed this in v2.1

See change log below for V2.2 changes.
Added in v2.1 - A small 2x2 Wagon Workshop - a small workshop to make Wagon Parts & Iron Tools


- The Wagon Vendor is now called 'General Market Vendor'
          -- 3 F-key variants.
          -- 3000 capacity.
          -- employs 1-3 Vendors.
          -- stocks: All Foods (edibles & non-edibles), Health, Tools, Clothing & Crafted (Custom0).
          -- radius: 34.

- 'Fuel Market Vendor'
          -- 2000 capacity.
          -- employs 1-2 Vendors.
          -- stocks: Fuel & Industrial Fuel (Custom3).
          -- radius: 21.

- 'Materials Market Vendor'
          -- 2000 capacity.
          -- employs 1-2 Vendors.
          -- stocks: Wood, Materials (Custom4) & Construction Materials (Custom5).
          -- radius: 21.

- 'MIS Market Vendor' (aka "Minerals, Iron & Stone Market Vendor")
          -- 2000 capacity.
          -- employs 1-2 Vendors.
          -- stocks: Minerals (CoalFuel), Iron & Stone.
          -- radius: 21.




Important:

*All wagons are road-build-able, and as such can not be deleted via the remove buildings tool.
To delete, click on the wagon and just to the left of the 'work' button, click 'Pack-up the wagon' to remove the wagon.

*Because the markets are road-build-able, citizens will also walk through the wagons.

(https://i.imgur.com/SCgpCYX.jpg)



Installation:
- Download the .zip file from here (http://worldofbanished.com/index.php?action=downloads;sa=view;down=138),
- Exract the file: 'DSWagonVendor.pkm',
- Place the file inside your Banished WinData folder,
- Enable the mod in mod list.

previous versions can be downloaded from Nexus Mods.




Change Log:

-- version 2.2   - 20122017
                       updated storage % values of General Merchant Wagon.
                       fixed Fuel wagon holding wrong resource flags.
                       updated General Market 3d models to fix a few issues
                       updated toolbar icons



-- version 2.1   - 18122017
                       removed files creating duplicate Village Workshop.
                       added new Wagon Workshop.
                       changes to DS toolbar files.


-- version 2.0   - 10042017
                       updated for banished 107, including new changes to storage flags.
                       added new General Market Variants.
                       added new markets: Fuel, Materials, MIS
                       includes Village Workshop to produce Wagon Parts, construction requirement.


-- version 1     - 01092016
                       initial release.



Stringtable download (for translation modding) = DSWagonVendorStringTable.rsc  v2.1 (https://mega.nz/#!OVE3nIqT!VzNM2kup3gTMJ4Oc472xsPdVGvglrjRBWirEFsUlM5k) (unchanged for v2.2)
Title: Re: DS Wagon Vendor
Post by: RedKetchup on September 01, 2016, 11:37:11 AM
looks awesome !

can we get a saloon, next ? just kidding.

good work :)

Title: Re: DS Wagon Vendor
Post by: brads3 on September 01, 2016, 11:59:33 AM
lol red.how bout a hunting lodge for food,logs,coats,tools, that will match with the log cabins?
Title: Re: DS Wagon Vendor
Post by: Gatherer on September 01, 2016, 12:07:20 PM
Thank you for this nice mod. It will be put to good use in my logging villages.
Title: Re: DS Wagon Vendor
Post by: Discrepancy on September 01, 2016, 12:12:53 PM
 :) Thanks.

I was originally thinking of this mod having a couple of other similar but different wagons as residences, more like a gypsy market traveling group.

This never eventuated, and I now find I seem to have been holding onto a few semi-finished models that I had previously started, but never finished... hopefully a few more things soon.
Title: Re: DS Wagon Vendor
Post by: Paeng25 on September 01, 2016, 02:33:29 PM
Nice one! :)


QuoteI was originally thinking of this mod having a couple of other similar but different wagons

Yeah, I'm still dreaming of a "travelling" herbalist - in a waggon like this, maybe more colorful... like one of the old-time bathers, selling salves and tinctures... actually Kid1293 and I tossed this around a while back...

:)


PS: Ummm... "Download the 'DSTunnelMine.pkm' file"?
Title: Re: DS Wagon Vendor
Post by: elemental on September 01, 2016, 03:44:02 PM
Can you make a version with all squares as roads? Some people might want to park it in a town square or something like that.


Quote from: Paeng25 on September 01, 2016, 02:33:29 PMYeah, I'm still dreaming of a "travelling" herbalist - in a wagon like this, maybe more colorful...

A gypsy wagon herbalist / mystical healer? Interesting idea. I like the sound of that.

Or, if you wanted a more colonial flavour... a snake-oil salesman.  :)

Title: Re: DS Wagon Vendor
Post by: kid1293 on September 01, 2016, 04:14:25 PM
Discrepancy - You are fantastic!

Your mods make me glad. :)

And - Go for a herbalist!
Title: Re: DS Wagon Vendor
Post by: RedKetchup on September 01, 2016, 06:12:36 PM
a gypsy kit :)
Title: Re: DS Wagon Vendor
Post by: embx61 on September 01, 2016, 10:11:45 PM
How cute!!!!

I  like small market vendors.
Title: Re: DS Wagon Vendor
Post by: Tom Sawyer on September 02, 2016, 04:25:50 AM
Yes, very nice and incredible detailed. A typical DS model. ;)

And indeed, they unpack the wagon.^^ I like that and thats why I have some thougths...

1. The model makes no shadows. It would look better with shadows but probably not quickly to solve. I think it's because the model is not "closed". A pure face makes no shadow in game.

2. I would remove the textiles to have more space for food and the other things citizens need. I would place this wagon in game next to the homes to provide food... Another specialized wagen vendor could provide textiles for the tailors. This could be very usefull with this flexible wagon vendor.

3. Actually they should pack the wagon to move to another location as you write in the tip. Maybe it is possible to simulate this as a new game mechanic. If the wagon would have no required building materials we would place a packed wagon on the ground and they unpack it to provide stuff. When we want to move it to another location, we would click on a remove button (You know from decorations) named "pack wagon" or something like that. Then we place it to the new location (without building materials), just to unpack it. Not the perfect solution but possible. And if the wagon would be a unique object, it would be the right feeling. So you have "The Travelling Vendor" to place it here or there on the map.

4. The traveling healer I would like to see, too! Maybe without the herbalist function because he should not run into the forest all the time, but stay at the wagon to heal citizens.
Title: Re: DS Wagon Vendor
Post by: Nilla on September 02, 2016, 05:29:32 AM
I will try this mod, too. It looks very nice and also useful. I agree very much on what @Tom Sawyer says. I'm thinking of how I could use such a wagon in my current game Sligonia (I blog it) and come to this:

I agree, leave the textiles. I use the small markets from @kid1293. I have a lot of those. They have textiles and that's quite disturbing. Every small market has a few wool and/or reindeerfurs but I only have a few tailors and the productivity is low. I suppose they have to walk around in the area to get wool/furs. A special textile wagon would help.

A movable wagon would be really good. I would use it in new areas. Now the first thing I do, when I expand, is to put a market somewhere. Sometimes it turns out not to be on the best spot. With a moveable wagon; it wouldn't matter much.

Maybe you are concerned that it's overpowered compared to other markets, if you make it the way @Tom Sawyer says. But perhaps it's possible that it take some time (a lot of work units) to pack/unpack and move the wagon. Than, there is at least some "cost" to establish and move it. Or maybe it would cost a little something to allure the vendor to your spot. In the Nordic mod where coins are establish a few penningar would be good, but otherwise; maybe a good meal; 1 vegetable/grain,1 meat/fish/nut (if it's a vegetarian vendor) and 1 fruit as dessert! ;)
Title: Re: DS Wagon Vendor
Post by: Discrepancy on September 03, 2016, 05:44:04 AM
Quote from: Tom Sawyer on September 02, 2016, 04:25:50 AM
1. The model makes no shadows. It would look better with shadows but probably not quickly to solve. I think it's because the model is not "closed". A pure face makes no shadow in game.
2. I would remove the textiles to have more space for food and the other things citizens need. I would place this wagon in game next to the homes to provide food... Another specialized wagen vendor could provide textiles for the tailors. This could be very usefull with this flexible wagon vendor.
3. Actually they should pack the wagon to move to another location as you write in the tip. Maybe it is possible to simulate this as a new game mechanic. If the wagon would have no required building materials we would place a packed wagon on the ground and they unpack it to provide stuff. When we want to move it to another location, we would click on a remove button (You know from decorations) named "pack wagon" or something like that. Then we place it to the new location (without building materials), just to unpack it. Not the perfect solution but possible. And if the wagon would be a unique object, it would be the right feeling. So you have "The Travelling Vendor" to place it here or there on the map.
4. The traveling healer I would like to see, too! Maybe without the herbalist function because he should not run into the forest all the time, but stay at the wagon to heal citizens.

Very good ideas.

1. I hadn't noticed that! thank you. I knew something wasn't quite right when I first put it in the game, I just thought it was maybe the textures clashing a little... but yes what you say makes sense as the texture file is being read as 'transparent' as the fish & tools are basically on a single face. But it shouldn't be too hard or take too long to rectify it if I just isolate the parts of the model that require transparency, and split them into a separate mesh linked to the main 'mesh' model.

2. It is a good point, and something I did think of. Noted.

3. I like this idea :) and in also answering Nilla, the idea of the food as a building cost combined with a higher work unit count is also good. It might require some more thoughts :)

4. This is another good idea... we will see.


But first back to finishing DSSV ....
I must say making a new cemetery fence work in game is not easy.
Title: Re: DS Wagon Vendor
Post by: jrpjim on January 23, 2017, 10:54:15 AM
Great MOD but having a minor problem
First I am running on a 4k monitor in native and at times there are mouse issues.
It looks to me like some of the drop/pickup points relate to the full size market not the smaller version.
My screen Shot shows a worker dropping her items in a field. Note the market works fine IE. it gets the items.
The other problem (will likely go away if the drop point I fixed) workers slow down because the go off the Stone Road tp Drop Items.

A new idea has any one evere tried to make a trader like Market where you can set the items and limits like you do for trading posts
Title: Re: DS Wagon Vendor
Post by: QueryEverything on January 23, 2017, 06:49:56 PM
Quote from: Discrepancy on September 03, 2016, 05:44:04 AM
Quote from: Tom Sawyer on September 02, 2016, 04:25:50 AM
...
2. I would remove the textiles to have more space for food and the other things citizens need. I would place this wagon in game next to the homes to provide food... Another specialized wagen vendor could provide textiles for the tailors. This could be very usefull with this flexible wagon vendor.


3. Actually they should pack the wagon to move to another location as you write in the tip. Maybe it is possible to simulate this as a new game mechanic. If the wagon would have no required building materials we would place a packed wagon on the ground and they unpack it to provide stuff. When we want to move it to another location, we would click on a remove button (You know from decorations) named "pack wagon" or something like that. Then we place it to the new location (without building materials), just to unpack it. Not the perfect solution but possible. And if the wagon would be a unique object, it would be the right feeling. So you have "The Travelling Vendor" to place it here or there on the map.
4. The traveling healer I would like to see, too! Maybe without the herbalist function because he should not run into the forest all the time, but stay at the wagon to heal citizens.

Very good ideas.

...
2. It is a good point, and something I did think of. Noted.

3. I like this idea :) and in also answering Nilla, the idea of the food as a building cost combined with a higher work unit count is also good. It might require some more thoughts :)

4. This is another good idea... we will see.


But first back to finishing DSSV ....
I must say making a new cemetery fence work in game is not easy.

#2 I use the Nordic Warehouse with only building & tailor resources, but it's far too big & clunky in some of my small outposts where I have small sections with buildings no more than 4x2 or 4x4 (2 sections of 4x16 separated by a road making the total 9x16), and I use the travelling vendor.   
I would love to have a small version of the Nordic Warehouse, something that is about the same footprint of the vendor, if not a 2x2 but gather solely building & tailoring items. 


#3 To be honest I thought the item was "name only", I hadn't figured a way for it to be moved so I always built a new one then destroyed it when I needed the space, or am I missing something?  I may be a little (lottle) slow on this one :D


#4 The puzzle market has a small herbalist which I setup in all of my outposts, but I think they only stock herbs (I haven't checked for other resources), but certainly I would like to see one that stocks herbs, soaps, & honey items.  So anything with the "health" tag attached.   Brings me to ask ...


@Discrepancy what function is the Honey Comb? I need to reread your DSSV thread I think.  :D


I love your Vendor, it's a staple market for me, thank you :D
Title: Re: DS Wagon Vendor
Post by: RedKetchup on January 23, 2017, 06:58:47 PM
Quote from: QueryEverything on January 23, 2017, 06:49:56 PM

@Discrepancy what function is the Honey Comb? I need to reread your DSSV thread I think.  :D


sweet! wheat + honey = honey comb :)
Title: Re: DS Wagon Vendor
Post by: Nilla on January 24, 2017, 02:48:37 AM
Quote from: jrpjim on January 23, 2017, 10:54:15 AM

A new idea has any one evere tried to make a trader like Market where you can set the items and limits like you do for trading posts

There are some warehouses a bit like this. @RedKetchup made one early and there's also a storage in CC, where you can decide what you store. These buildings have one limit; they really work like a trading port on land. The people have no access to the goods, that's stored in this warehouse. It has to be put from this warehouse to a close barn by the vendor/stockerer first. I'm no modder but I've followed the discussion on this page and I don't think, that it's possible to make a building like you wish.

But there are a number of specialized storage, with and without vendors. @QueryEverything mentioned the Nordic Warehouse. The NMT stores, where you can build a second and third floor are very nice and useful. @slink made some specialized barns early (I don't know if they still work). The storage in the DSSV beta could be built for many kind of goods, also CC and MegaMod has a lot of specialized storage. So there are options even with the limitations of the modkit.
Title: Re: DS Wagon Vendor
Post by: Abandoned on January 25, 2017, 05:44:09 AM
Did someone mention gypsy, as in gypsy caravan? Wow, wouldn't that be nice.  Maybe a caravan of gypsy colored wagons functioning somewhat like Red's Choo Choo with a nomad wagon, a house, a trader ... a limited trader maybe taking only food, trinkets, or coins in traded for elixers or crop seeds or foods ... light weight things a wagon could carry.  Would need a coin or trinket maker.  Would certainly add a little more local color to the game.
Title: Re: DS Wagon Vendor v2
Post by: Discrepancy on April 10, 2017, 06:29:45 AM
:( no gypsy caravans yet.


but DS Wagon Vendor has been updated!

:)

(http://i.imgur.com/K7wuCiS.jpg)

added variants and different stock options, wagons are road-build-able, you must make or purchase through trade 'Wagon Parts'...

see first post or download page for more details.


- -- - -- - -- - -- - -- - -- - -- - --

oh,
@RedKetchup , could you please move this to the 107 forum? thanks in advance.
Title: Re: DS Wagon Vendor v2
Post by: Paeng on April 10, 2017, 07:01:41 AM
Cool update  :)

For some unknown reason I keep reading "Dragon Vendor"...  :D
Title: Re: DS Wagon Vendor v2
Post by: embx61 on April 10, 2017, 07:05:56 AM
Wow, just wow.

These are the nicest market wagons I ever seen!!

Who needs Gypsy Caravans after seeing this?  ;)  :D

Truly awesome work there @Discrepancy


Title: Re: DS Wagon Vendor v2
Post by: RedKetchup on April 10, 2017, 09:42:21 AM
Quote from: Discrepancy on April 10, 2017, 06:29:45 AM
oh,
@RedKetchup , could you please move this to the 107 forum? thanks in advance.

done
Title: Re: DS Wagon Vendor v2
Post by: Paeng on April 10, 2017, 12:58:19 PM
Quote from: embx61 on April 10, 2017, 07:05:56 AMThese are the nicest market wagons

And I'm so glad you gave them a decent capacity... a regular market of 14x14 has a cap of 15K, so now we can build truely modular markets with a similar capacity (most of other modular stalls and carts are way too small for that, only like 600 or so)...  :)
Title: Re: DS Wagon Vendor v2
Post by: QueryEverything on April 10, 2017, 06:52:43 PM
Quote from: Paeng on April 10, 2017, 07:01:41 AM
Cool update  :)

For some unknown reason I keep reading "Dragon Vendor"...  :D


Oh, thank goodness, I thought it was just me, but I've lost my glasses ...  hahaha :D

I love these wagons, very, very excited, thank you :D
Title: Re: DS Wagon Vendor v2
Post by: QueryEverything on April 10, 2017, 06:59:58 PM
Also, I want to take this moment to thank you for the layout that you use when you write your mod details, it's very easy for us players to come along and see what has been changed and when etc.

I have to say with the advent of Banished 107 and the CT, the standards have definitely increased with how all the modders are putting out their work, not just the visual assets, but also the forum information.
Thank you to you all.  Great work @Discrepancy :D
Title: Re: DS Wagon Vendor v2
Post by: thelly on April 29, 2017, 11:37:26 PM
One of my very favourite markets is the wagon. Your work is really great and looks very well on any world. I will need this mod but first I must update cc mod to 1.7 Thanks very much :)
Title: Re: DS Wagon Vendor v2
Post by: Abandoned on May 07, 2017, 06:25:46 PM
@Discrepancy I have not been able to try these great looking wagon vendors yet because my game is not updated yet but I thought of something when I read the bannies will walk thru the wagon.  When I tried the Fountain High Society mod and built the hedge, they walked thru it until I used the collision tool included with the mod.  I don't know if something like that could be made for the wagons and fences too, maybe not possible with the wagons being buildable on roads, I don't know. Also some fences like picket ones, the yellow placement dots show through.  I also don't know if the collision can be removed somehow.   Just thought I would mention it.  There wouldn't be a problem with gypsy house wagons parked on the grass  :)
Title: Re: DS Wagon Vendor v2
Post by: Abandoned on May 09, 2017, 09:42:00 PM
okay, we have a new mod to solve this walk thru wagon problem, An Empty Square by Necora   :)
Title: Re: DS Wagon Vendor v2.1 (updated 18 Dec 2017)
Post by: Discrepancy on December 18, 2017, 04:58:36 AM
Updated v2.1


-- version 2.1   - 18122017
                       removed files creating duplicate Village Workshop.
                       added new Wagon Workshop.
                       changes to DS toolbar files.
Title: Re: DS Wagon Vendor v2.2 (updated 20 Dec 2017)
Post by: Discrepancy on December 20, 2017, 06:06:06 PM
Updated: v2.2

                       updated storage % values of General Merchant Wagon.
                       fixed Fuel wagon holding wrong resource flags.
                       updated General Market 3d models to fix a few issues
                       updated toolbar icons






Discussion on The North thread turned to the filling and capacity of the markets & wagon vendors.

Here is a look at what the Wagon Vendors are storing/stocking:
(float _ratio is % kept in stock)

General Wagon Vendor - 3000cap. (food,tools,health,clothing,crafted)

RawMaterialFlags _storageFlags = Edible | Grain | Fruit | Protein | Vegetable | Tool | Health | Clothing | Custom0;

FillType _fillType
         RawMaterialFlags _flags = Fruit;
         float _ratio = 0.17;

         RawMaterialFlags _flags = Vegetable;
         float _ratio = 0.18;

         RawMaterialFlags _flags = Protein;
         float _ratio = 0.17;

         RawMaterialFlags _flags = Grain;
         float _ratio = 0.18;

         RawMaterialFlags _flags = Tool;
         float _ratio = 0.08;

         RawMaterialFlags _flags = Health;
         float _ratio = 0.05;

         RawMaterialFlags _flags = Clothing;
         float _ratio = 0.08;

         RawMaterialFlags _flags = Custom0;
         float _ratio = 0.08;


Fuel Wagon Vendor - 2000cap. (fuels,firewood,industrial fuel)

RawMaterialFlags _storageFlags = Fuel | Custom3;

FillType _fillType
         RawMaterialFlags _flags = Fuel;
         float _ratio = 0.69;

         RawMaterialFlags _flags = Custom3;
         float _ratio = 0.31;


Materials Wagon Vendor - 2000cap. (logs,materials,construction)

RawMaterialFlags _storageFlags = Wood | Custom4 | Custom5;

FillType _fillType
         RawMaterialFlags _flags = Wood;
         float _ratio = 0.49;

         RawMaterialFlags _flags = Custom4;
         float _ratio = 0.25;

         RawMaterialFlags _flags = Custom5;
         float _ratio = 0.25;


MIS Wagon Vendor - 2000cap. (minerals/coal,iron,stone)

RawMaterialFlags _storageFlags = Iron | Stone | CoalFuel;

FillType _fillType
         RawMaterialFlags _flags = Iron;
         float _ratio = 0.25;

         RawMaterialFlags _flags = Stone;
         float _ratio = 0.37;

         RawMaterialFlags _flags = CoalFuel;
         float _ratio = 0.37;