Page 5 of 7

Re: Advanced tags for building plugins

Posted: Mon Apr 09, 2018 20:24
by cesareborgia94
@Lobby, sorry for bothering you, but can you explain more on recent plugin tags such as "rebuild" and "icon frames" attribute introduced recently? Just needed explainations on how to use them...

Re: Advanced tags for building plugins

Posted: Mon Apr 09, 2018 20:31
by CommanderABab

Code: Select all

"rebuild":true,
means the RCI building will rebuild instead of being replaced by another. Useful if your population drops suddenly, but you want the city to remain looking the same.

Code: Select all

"icon frames":[{"bmp":"file.png"}],
is probably 26x26 pixel icon to be used in the display box.

Re: Advanced tags for building plugins

Posted: Tue Apr 10, 2018 0:11
by BetterBear
CommanderABab wrote:
Mon Apr 09, 2018 20:31

Code: Select all

"rebuild":true,
means the RCI building will rebuild instead of being replaced by another. Useful if your population drops suddenly, but you want the city to remain looking the same.

Code: Select all

"icon frames":[{"bmp":"file.png"}],
is probably 26x26 pixel icon to be used in the display box.
Is there an option to set a building in rebuild mode in the game?

Re: Advanced tags for building plugins

Posted: Tue Apr 10, 2018 1:22
by CommanderABab
No, ...

Re: Advanced tags for building plugins

Posted: Tue Apr 10, 2018 8:01
by Lobby
Exactly @CommanderABab :bc

Rebuild mode is on my default for all buildings. To prevent rebuilding manually you can make them untouchable.

Re: Advanced tags for building plugins

Posted: Mon Apr 23, 2018 20:57
by KINGTUT10101
Would it be possible for me to make a road that can only be placed in water @Lobby ?

Re: Advanced tags for building plugins

Posted: Mon Apr 23, 2018 21:07
by CommanderABab
Roads can't be placed on water only bridges.

Re: Advanced tags for building plugins

Posted: Wed May 02, 2018 3:03
by FranchuFranchu
You should update the first post to make it a list of all tags
@Lobby

Re: Advanced tags for building plugins

Posted: Wed May 02, 2018 12:08
by Lobby
It is a list :bq

Re: Advanced tags for building plugins

Posted: Thu May 03, 2018 0:22
by FranchuFranchu
I mean, to add the new tags like "population", "droppable" and others.

Re: Advanced tags for building plugins

Posted: Sun May 20, 2018 10:45
by PrathamK
The Influence key words List is Whole repeated from "influence pollution".

Re: Advanced tags for building plugins

Posted: Sun May 20, 2018 17:22
by FranchuFranchu
Fixed :bc

Re: Advanced tags for building plugins

Posted: Tue May 22, 2018 10:46
by PrathamK
:json How to add Monthly Income?
:bd Diamonds as price instead of Theos?
:bb Negative Values of monthly Price don't work.

Re: Advanced tags for building plugins

Posted: Tue May 22, 2018 13:05
by JustAnyone
You cant add income because it could be used as a way to cheat.

Re: Advanced tags for building plugins

Posted: Tue May 22, 2018 15:38
by cesareborgia94
Then what if you want to add income to a building for instance? Maybe set game mechanics to only recognize plugins with monthly income to less than 100TT so that people would not cheat.

Re: Advanced tags for building plugins

Posted: Tue May 22, 2018 16:22
by JustAnyone
If you would want to have monthly income, you should contact Lobby.

Re: Advanced tags for building plugins

Posted: Sun Jun 24, 2018 7:20
by sairam
Please make a list of categories in theotown

Re: Advanced tags for building plugins

Posted: Sun Jun 24, 2018 23:37
by Lobby
Here you go:

Code: Select all

$cat_terrain00
  $cat_asphalt00

$cat_transport00
  $cat_road00
  $cat_roaddeco00
  $cat_bus00
  $cat_train00
  $cat_airport00
    
$cat_zone00
  $cat_residential00
  $cat_commercial00
  $cat_industrial00
    
$cat_supply00
  $cat_energy00
  $cat_water00
  $cat_wastedisposal00

$cat_public00
  $cat_park00
  $cat_sport00
  $cat_public00
  $cat_management00
  $cat_award00
  $cat_religion00
  $cat_decoration00
  $category_christmas00
  $category_firework00

$cat_service00
  $cat_firebrigade00
  $cat_education00
  $cat_medic00
  $cat_police00
  $cat_military00

$cat_landmark00

$cat_disaster00

Re: Advanced tags for building plugins

Posted: Wed Jun 27, 2018 17:32
by sairam
How can i use

Code: Select all

"ordinal":

Re: Advanced tags for building plugins

Posted: Wed Jun 27, 2018 17:34
by sairam
Can i get the list of types of buildings and influence ? Because i'm new to the world of plugins.