Author Topic: Discrepancy work in progress  (Read 18897 times)

0 Members and 1 Guest are viewing this topic.

Offline Voeille

  • Trader
  • ****
  • Posts: 205
  • Country: 00
Re: Discrepancy work in progress
« Reply #195 on: May 27, 2018, 03:06:02 AM »
I would shove in gemstones, gold, silver and coins into precious or something similar. I think @elemental is right, you might want free limits for future use.

Offline Nilla

  • Champion
  • Banished Expert
  • *****
  • Posts: 2433
  • Country: se
Re: Discrepancy work in progress
« Reply #196 on: May 27, 2018, 03:24:44 AM »
I like your thoughts @Discrepancy!

I find it the right way to go. Follow your own vision of Banished. Follow your way and you help to keep this game alive and evolve! That doesn't the 6th different kind of cheese or the 20th different looking barn. (No critics @kid1293, you're a nice man, that makes what people ask for, admirable and nice)

I'm looking forward on "DS Megamod"! As usual, I will tell you, how I find it; what I like as well as what I don't like.

Offline Gatherer

  • Architect
  • *****
  • Posts: 904
  • Country: si
Re: Discrepancy work in progress
« Reply #197 on: May 27, 2018, 06:26:39 AM »
I'm not particularly concerned about limits, but looking at your list I see three whole limits used for gold, coins, silver, gemstones. I don't know what you are planning but that seems like a lot. Do they really all need to be separate? You might want more free limits later on, depending on what you might decide to add in future mods.


I would shove in gemstones, gold, silver and coins into precious or something similar. I think @elemental is right, you might want free limits for future use.


Hmm...perhaps gold, silver and gemstones in custom6, coins stay in custom8 and custom7 stays free for future use.
Fiat panis

Offline Tom Sawyer

  • Modders
  • Architect
  • *****
  • Posts: 859
  • Country: is
Re: Discrepancy work in progress
« Reply #198 on: May 27, 2018, 09:45:06 AM »
That sounds reasonable to me @Discrepancy. I'm not sure if an all-in-one compilation mod is a good idea but if it helps to find your concept then it's worth it. Be aware that you will get pressure about everything different to CC. Even unused flags have to stay unused to be conform. ;)

For the Nordic bank it would not be a problem since they store certain resources there, not flags. And even if a laborer puts something strange in, the bankers will take it away. A conflict would be only in trading because custom9 is used as currency and merchants bring it to pay with. I use custom 6 and 7 to mark different trade goods because it doesn't need a separate flag. At least with gold or silver as primary resource it works fine. That's the reason gold and silver are separate. To put them together only makes the counter useless and doesn't bring any advantage in this trading system. But everything can be improved and it would be nice to make a flag free there for something else.

Offline huyle

  • Vendor
  • ***
  • Posts: 85
  • Country: vn
Re: Discrepancy work in progress
« Reply #199 on: June 01, 2018, 04:48:02 PM »
any chance that you can make a walkable stuff below the ground?

Offline oldgraywolf

  • Laborer
  • **
  • Posts: 26
  • Country: us
  • Banished Noob. But I'm learning.
Re: Discrepancy work in progress
« Reply #200 on: June 11, 2018, 01:04:12 PM »
Well, DS, you do great work and I love your ideas and mods, so anything to keep you going and making this game as fun and challenging as it is. Keep up the great work and hopefully RL wont stop or hold you back.  :)
I never lose. I either win or I learn.

Offline Goblin Girl

  • Trader
  • ****
  • Posts: 214
Re: Discrepancy work in progress
« Reply #201 on: June 14, 2018, 05:11:55 AM »
I like the idea of a unified mod of your stuff.  I've been playing with megamod, but I can also see the allure of playing with a single themed mod, such as RK Ed or The North, because it creates a distinct flavor for the game.

Online RedKetchup

  • Champion
  • Banished Expert
  • *****
  • Posts: 9469
  • Country: ca
Re: Discrepancy work in progress
« Reply #202 on: June 19, 2018, 12:53:24 PM »
Hey @Discrepancy   ;D

i am wondering if .... with all your knowledge in UI you've got since a year....
do you still think a partial clone of TP UI still cant be made ?
> > > Support Mods Creation developments with Paypal Donations < < <
Click here to PayPal Donate.

Offline Discrepancy

  • Modders
  • Architect
  • *****
  • Posts: 913
  • Country: au
Re: Discrepancy work in progress
« Reply #203 on: June 20, 2018, 12:11:58 AM »
What do you want it to do?

Not include the tradeboat?

Online RedKetchup

  • Champion
  • Banished Expert
  • *****
  • Posts: 9469
  • Country: ca
Re: Discrepancy work in progress
« Reply #204 on: June 20, 2018, 01:03:59 AM »
What do you want it to do?

Not include the tradeboat?

yeah without all the trade boat parts and tabs :)
> > > Support Mods Creation developments with Paypal Donations < < <
Click here to PayPal Donate.

Offline Discrepancy

  • Modders
  • Architect
  • *****
  • Posts: 913
  • Country: au
Re: Discrepancy work in progress
« Reply #205 on: June 20, 2018, 02:23:56 AM »
... yes and no.

I can't get it much different than yourself with your warehouse mod.

I can make it so the trader boat never appears by simply omitting the ComponentDescription _riverBoat within the template code of TradeDescription, also remove the sickness code.

now if we want to keep the desired product spinner we need the ObjectType _type = TradeUI within the template file UI ( I tried many times, hoping, but StorageUI does not work ).

and in the dialog/trade.rsc file you create you still need to include the whole UI... I'm not sure why, but it will crash, I'm guessing the hidden code we can't see is making another link between TradeUI and the dialog file.
So we are left with simply hiding the tab buttons we don't want:

Code: [Select]
ButtonDescription buttonInventory : "StandardDialog.rsc:buttonTab" { ElementDescription _content = "labelInventory"; }
ButtonDescription buttonPurchase : "StandardDialog.rsc:buttonTab" { Flags _flags = Hidden; ElementDescription _content = "labelPurchase"; }
ButtonDescription buttonTrades : "StandardDialog.rsc:buttonTab" { Flags _flags = Hidden; ElementDescription _content = "labelTrades"; }
ButtonDescription buttonOrder : "StandardDialog.rsc:buttonTab" { Flags _flags = Hidden; ElementDescription _content = "labelOrder"; }


there is another part...

it is possible to have laborers add products to the storage...
include the code for storagelocation - place in template file resource list above trade:

Code: [Select]
ComponentDescription resource
{
UpdatePriority _updatePriority = Fourth;
Description _descriptions
[
"ui",

"map",
"zone",
"toolbar",
"createplaced",
"decal",
"model",
"picking",
"highlight",
"interact",
"storage",
"work",
"statusicon",
"ambientemitter",
"Common.rsc:fireWoodBuilding",
"particle",

"statemachine",
"cleararea",
"build",
"workplace",
"destroy",
"storagelocation",
"trade",
]
}

StorageLocationDescription storagelocation { }


But they won't care for the limits placed within the UI and will add any resource to it regardless, as long as the storage flag is included within the StorageDescription code.
If a worker is employed also, they will still remove unwanted items and fill with wanted items.

Also, you cannot alter what the UI will show in the inventory, it will display all resources visible to the player :( this is disappointing as it makes the limiting of resources to the building not very pleasant as the UI will not match and show items that the building cannot store.

Online RedKetchup

  • Champion
  • Banished Expert
  • *****
  • Posts: 9469
  • Country: ca
Re: Discrepancy work in progress
« Reply #206 on: June 20, 2018, 03:55:14 AM »
i know the hidden flag trick. but if you would start from scratch, not basing yourself on the TP UI ?
like calling a tab, set the size of the tab, add a border all around, and then ... start to add the elements one by one or call a list ...

i know the TP UI is tightly made with the boat cannot be dissociated... but i was just wondering if a new full UI can be made from scratch.
like the way you added all those beautiful new "info" tab :)

it was just a question btw, not asking to do it, just knowing if something like this can be made :P
> > > Support Mods Creation developments with Paypal Donations < < <
Click here to PayPal Donate.

Offline rkelly17

  • Founder
  • Banished Expert
  • *****
  • Posts: 1553
  • Country: ca
Re: Discrepancy work in progress
« Reply #207 on: June 20, 2018, 10:53:20 AM »
also remove the sickness code.

Wait a minute! You can remove the sickness code from trading posts? Does this mean you could also remove the sickness code from nomad attracting buildings? [emoji of a devilish grin]

Offline schueler

  • Laborer
  • **
  • Posts: 17
Re: Discrepancy work in progress
« Reply #208 on: July 15, 2018, 09:11:54 PM »
I found a bit of an odd bug in your celtic campfire mod:

The cook runs back in forth in case i try to make a vegetable soup from onions+roots+mushrooms+firewood.
The venison stew recipe works fine so,and so does some other veggie soup. So it cannot be a storage/flag problem?

EDIT: Merely required a higher storage override. Now it can cook the stew. :)
« Last Edit: July 17, 2018, 08:17:37 PM by schueler »

Offline schueler

  • Laborer
  • **
  • Posts: 17
Re: Discrepancy work in progress
« Reply #209 on: July 23, 2018, 04:16:47 AM »
@Discrepancy

Another odd bug - upgrading from the small leather tent to the warm leather tent crashes my game - erratically. Once in a while the leather tent gets built.
I deactivated all other mods, re-installed banished, re-downloaded your pkm, checked the registry entries for activated mods... still, same result. Quite unexpected behavior.

Of course, the bug can be easily circumvented but I do still wonder...