Custom zones (RCI only tutorial)
Posted: 09 Dec 2017, 15:11
These are my zones:
If you have the commanderAbab.plugin, you already have these.
Some additional zoning tags are used:
These are:
You saw above.
zone stays even if you build a road and then remove it. Only roads to build in the embassy zone are military and airport roads.
I believe the airport and military zones use thetag.
This along with allows the base buildings to build here automatically.
If you have the commanderAbab.plugin, you already have these.
Some additional zoning tags are used:
These are:
Code: Select all
"base":"$zonecommercial",
Code: Select all
"persistent":true
I believe the airport and military zones use the
Code: Select all
"superior to all":true
Code: Select all
"superior to base":true,
Code: Select all
"rci":true
Code: Select all
[
{
"id": "$zoneembassy",
"title":"Embassy Zone",
"text":"hopefully get this working!",
"type": "zone",
"rci":true,
"separator":true,
"base":"$zonecommercial",
"requirement":{"requirements":[{"type":"RANK", "data":{"lvl":5}}]},
"frames":[{"bmp":"zones510.png","w":32,"h":16,"x":96,"count":1}],
"preview frames":[{"bmp":"zones510.png","w":32,"h":16,"x":96,"target w":64,"target h":32,"count":1} ],
"price":400,
"map color":{"r":77,"g":206,"b":76},
"superior to base":true,
"placeable":true,
"persistent":true
},
{
"id": "$zonedeltares",
"title":"Delta Residential Zone",
"text":"hopefully get this working!",
"type": "zone",
"rci":true,
"separator":true,
"base":"$zoneresidential",
"frames":[{"bmp":"zones511.png","w":32,"h":16,"x":0,"count":1}],
"preview frames":[{"bmp":"zones511.png","w":32,"h":16,"x":0,"target w":64,"target h":32,"count":1} ],
"price":200,
"superior to base":true,
"placeable":true
},
{
"id": "$zonedeltacom",
"title":"Delta Commercial Zone",
"text":"hopefully get this working!",
"type": "zone",
"rci":true,
"separator":true,
"base":"$zonecommercial",
"frames":[{"bmp":"zones511.png","w":32,"h":16,"x":32,"count":1}],
"preview frames":[{"bmp":"zones511.png","w":32,"h":16,"x":32,"target w":64,"target h":32,"count":1} ],
"price":200,
"superior to base":true,
"placeable":true
},
{
"id": "$zonedeltaind",
"title":"Delta Industrial Zone",
"text":"hopefully get this working!",
"type": "zone",
"rci":true,
"separator":true,
"base":"$zoneindustrial",
"frames":[{"bmp":"zones511.png","w":32,"h":16,"x":64,"count":1}],
"preview frames":[{"bmp":"zones511.png","w":32,"h":16,"x":64,"target w":64,"target h":32,"count":1} ],
"price":200,
"superior to base":true,
"placeable":true
},
{
"id": "ab.version.mexico.embassy",
"type": "commercial",
"author": "CommanderABab, Mg3094066",
"width": 4,
"height": 4,
"frames": [
{
"bmp": "Mexico embassy.png"
}
],
"zone":"$zoneembassy",
"power": -20,
"water": -13,
"level":3,
"radius":3,
"zone radius":3
},
{
"id": "ab.version.mexico.embassy.delta",
"type": "commercial",
"author": "CommanderABab, Mg3094066",
"width": 4,
"height": 4,
"frames": [
{
"bmp": "Mexico embassy.png"
}
],
"zone":"$zonedeltacom",
"power": -20,
"water": -13,
"level":3,
"radius":3,
"zone radius":3
}
]