|
|
(243 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
| {{Informative|Types which are missing are not present in the given world. [[Virtual Reality]] has no terrain objects.}}
| | = Mobile To-Do = |
| <spoiler text="Terrain object counts">
| | ''A list of things that would improve mobile compatibility'' |
| <big>[[Stratis]]</big>
| |
| <div style="columns: 5">
| |
| * TREE: 40110
| |
| * BUSH: 47974
| |
| * HOUSE: 684
| |
| * CHAPEL: 2
| |
| * CROSS: 1
| |
| * LIGHTHOUSE: 3
| |
| * FUELSTATION: 3
| |
| * FENCE: 1728
| |
| * WALL: 1355
| |
| * HIDE: 70975
| |
| * ROAD: 143
| |
| * TRANSMITTER: 11
| |
| * WATERTOWER: 1
| |
| * TRACK: 2063
| |
| * ROCK: 820
| |
| * SHIPWRECK: 11
| |
| </div>
| |
|
| |
|
| <big>[[Altis]]</big>
| |
| <div style="columns: 5">
| |
| * TREE: 263630
| |
| * BUSH: 747193
| |
| * HOUSE: 17472
| |
| * CHURCH: 54
| |
| * CHAPEL: 165
| |
| * CROSS: 48
| |
| * LIGHTHOUSE: 7
| |
| * FUELSTATION: 32
| |
| * HOSPITAL: 1
| |
| * FENCE: 47940
| |
| * WALL: 38943
| |
| * HIDE: 655958
| |
| * ROAD: 4849
| |
| * TRANSMITTER: 23
| |
| * RUIN: 3
| |
| * TOURISM: 1
| |
| * WATERTOWER: 10
| |
| * TRACK: 26823
| |
| * MAIN ROAD: 2061
| |
| * ROCK: 5483
| |
| * POWER LINES: 2224
| |
| * POWERSOLAR: 10
| |
| * POWERWAVE: 51
| |
| * POWERWIND: 128
| |
| * SHIPWRECK: 43
| |
| </div>
| |
|
| |
|
| <big>[[Malden 2035]]</big>
| | ''Lou thinks just because the list is empty there is nothing left to improve. Only if he knew.'' |
| <div style="columns: 5">
| |
| * TREE: 101960
| |
| * BUSH: 288461
| |
| * HOUSE: 4062
| |
| * CHURCH: 14
| |
| * CHAPEL: 14
| |
| * CROSS: 16
| |
| * LIGHTHOUSE: 15
| |
| * FUELSTATION: 24
| |
| * FENCE: 11189
| |
| * WALL: 14189
| |
| * HIDE: 192553
| |
| * BUSSTOP: 45
| |
| * ROAD: 1442
| |
| * TRANSMITTER: 7
| |
| * WATERTOWER: 63
| |
| * TRACK: 3489
| |
| * MAIN ROAD: 1050
| |
| * ROCK: 3513
| |
| * POWER LINES: 3427
| |
| * POWERSOLAR: 1
| |
| * SHIPWRECK: 23
| |
| </div>
| |
|
| |
|
| <big>[[Tanoa]]</big>
| | = Done = |
| <div style="columns: 5">
| |
| * TREE: 506993
| |
| * BUSH: 754347
| |
| * HOUSE: 13389
| |
| * CHURCH: 21
| |
| * FUELSTATION: 85
| |
| * FENCE: 2912
| |
| * WALL: 20526
| |
| * HIDE: 356904
| |
| * ROAD: 1485
| |
| * TRANSMITTER: 16
| |
| * TOURISM: 35
| |
| * WATERTOWER: 73
| |
| * TRACK: 9419
| |
| * MAIN ROAD: 2921
| |
| * ROCK: 8909
| |
| * POWER LINES: 3985
| |
| * RAILWAY: 2138
| |
| * POWERSOLAR: 2
| |
| * POWERWIND: 19
| |
| * SHIPWRECK: 58
| |
| * TRAIL: 6936
| |
| </div>
| |
|
| |
|
| <syntaxhighlight lang="cpp">private _types = ["TREE", "SMALL TREE", "BUSH", "BUILDING", "HOUSE", "FOREST BORDER", "FOREST TRIANGLE", "FOREST SQUARE", "CHURCH", "CHAPEL",
| | * Creator dlc template needs a noresize. |
| "CROSS", "BUNKER", "FORTRESS", "FOUNTAIN", "VIEW-TOWER", "LIGHTHOUSE", "QUAY", "FUELSTATION", "HOSPITAL", "FENCE", "WALL", "HIDE", "BUSSTOP",
| | ** {{Link|Spearhead_1944}} |
| "ROAD", "FOREST", "TRANSMITTER", "STACK", "RUIN", "TOURISM", "WATERTOWER", "TRACK", "MAIN ROAD", "ROCK", "ROCKS", "POWER LINES", "RAILWAY",
| | * Long command names should wrap |
| "POWERSOLAR", "POWERWAVE", "POWERWIND", "SHIPWRECK", "TRAIL"];
| | ** {{Link|removeAllUserActionEventHandlers}} |
|
| |
|
| private _counts = [];
| | * See also entries on command and function pages are broken |
| private _countTypes = count _types;
| | ** {{Link|parsingNamespace}} |
|
| |
|
| ["R3vo_GetNearestTerrainObjects",""] call BIS_fnc_startLoadingScreen;
| | * Command and function template layout wastes a lot of space due to the two column design |
|
| |
|
| { | | * Tables with fixed widths need to be avoided. If they are too wide use noresize class wrapper |
| private _terrainObjects = nearestTerrainObjects
| | ** {{Link|Arma_3:_Visual_Upgrade}} |
| [
| |
| [worldSize / 2, worldSize / 2],
| |
| [_x],
| |
| worldSize,
| |
| false
| |
| ];
| |
|
| |
|
| if (count _terrainObjects > 0) then
| | * YouTube embeds and images should not have a fixed width |
| {
| | ** {{Link|Category:DayZ}} |
| _counts pushBack [_x,count _terrainObjects];
| | ** {{Link|Spearhead_1944_Frontline_Function}} |
| };
| | ** It is because the youtube template has a hardcoded minimum width. This should get removed |
| ((_forEachIndex + 1) / _countTypes) call BIS_fnc_progressLoadingScreen;
| |
| } forEach _types; | |
| | |
| | |
| "R3vo_GetNearestTerrainObjects" call BIS_fnc_endLoadingScreen;
| |
| | |
| private _export = "<big>" + getText (configFile >> "CfgWorlds" >> worldName >> "description") + "</big>" + endl + '<div style="columns: 5">';
| |
| | |
| { | |
| _export = _export + endl + "* " + (_x # 0) + ": " + (str (_x # 1));
| |
| } forEach _counts;
| |
| | |
| _export = _export + endl + "</div>";
| |
| | |
| copyToClipboard _export;</syntaxhighlight>
| |
| </spoiler>
| |