News:

Welcome to World of Banished!

Main Menu

A8 America City Living V3.0

Started by angainor88, June 06, 2022, 06:12:11 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

angainor88

Huh, very interesting. I will have to investigate further.

Somewhat related, but do your upper floors deconstruct with the remove building tool, or do you have to have a separate button (like with ghosted items)?

kid1293

Hi.
I do not know if I MUST have a button, but I included one to be safe.



Here is the Dialog code for that button. 16 pixels icon!

ButtonDescription RemoveOTCabin : "SharedElements.rsc:borderButton"
{
int _topPad = 4;
int _rightPad = 2;
Alignment _alignment = TopRight;
ElementDescription _content = "imageUpgrade";

Dialog _toolTipDialog = "ToolTipUpgrade.rsc";
StringTable _toolTipStringTable = "UI/OldTownStringTable.rsc";
String _toolTipText = "RemoveOTCabin";

}

ImageDescription imageUpgrade
{
int _leftPad = 4;
int _rightPad = 4;
int _bottomPad = 4;
int _topPad = 4;

int _width = 16;
int _height = 16;
}


in UI - Observe I have placed it in "pageTabGroup"

UIDescription UI

{
int _displayPage = 1; // set to 1 for tab layout
Dialog _dialog = "Dialog/StandardDialog.rsc:entity";

ElementController _controllers
[
{
ObjectType _type = ResidenceUI;
ElementDescription _element = "Dialog/Residence.rsc:residence";
String _insertAt = "pageTab";
ElementDescription _tabButton = "Dialog/Residence.rsc:buttonTabResidence";
}
{
ObjectType _type = UpgradeUI;
ElementDescription _element = "Dialog/RemoveOTCabin.rsc:RemoveOTCabin";
String _insertAt = "pageTabGroup";
DialogControllerConfig _config = "upgradeConfig";
}

...more code

The remove template is the same as usual.

I hope this helps. :)

Let me know if you need more code.

angainor88

Figured out the fire problem! Accidentally removed all particle systems instead of just smoke *facepalm*

Just need to add the remove icons now, and I will be finished (I hope)!

kid1293

Great!
It pays off to be stubborn. :) :)

angainor88

The full release is finally out!

Changes:

1. Added 7 new houses, all with F variants, plus their extensions.
2. Removed sidewalks from houses that had them before.
3. Added ghosted sidewalks for more versatility.
4. Fixed some graphical errors for older houses.
5. Added some deco small planters with plants.
6. Adjusted the building costs and building occupancies for better balance.
7. Added remove buttons for upper story buildings so they could be deconstructed.

https://worldofbanished.com/index.php?action=downloads;sa=view;id=653

brads3

guess now i have work to do to test all these out. :)

do you plan to do more with your American series sets?  any factory workplaces being planned?

just curious. I use several of KID mods ,the RKEC, and DS IND.

angainor88

I don't have anything planned for now. Not sure what I will do next, though I probably won't do factories (they're not as interesting to do, especially for the same time period).

kid1293

You have done well. They are some amazing buildings!

A big thank you for keeping the game alive! :) :)

Abandoned

Congrats on another mod completed, @angainor88   Well done.  I hope that some of our "city" builders will post pictures of these fantastic buildings.  :)

angainor88

Thank you all! I couldn't have done it without your support and help, especially you @kid1293

scoutae4

These are so wonderful angainor88, I love them!!  :star Brava!! :star

taniu

@angainor88 :)  ;) Beautiful buildings, various details and decorations, I like them very much. Thank you very much for this mod, I am glad that you managed to finish it so beautifully. Regards :thumbsup  :star  :star

catty-cb

Great looking buildings, thank you for all your work reaching this point ... it's very much appreciated  :thumbsup