Menu

#57 More structured data sorting for saved scenarios in Map Editor

open
map editor (1)
6
2021-04-29
2021-04-29
No

So that there'll be no necessity in adjusting it manually for easier readability & proper scenario functioning in case it's played in the original Dune 2, which has fairly-restricted limit on the number of allocated structures and units, and thus, they have to be accurately counted in every scenario.

The desired format would be every faction following one after another, with coordinates of objects sorted in ascending order.

For Reinforcements section, the sorting criteria should be based on unit's drop off time.

For Teams assignation, the basic factor should be Faction, and subsidiary - the team's type of movement and behavior.

As concluding measure, the IDs of every object should be put in order so that the first one is given ID000 and the pattern is upheld by incrementing it a single value for subsequent ones.

Here's an example of how it preferably should look like:

{TEAMS}
1=Faction 1,Normal,Foot,2,3
2=Faction 1,Kamikaze,Foot,2,3
3=Faction 1,Normal,Wheeled,3,4
4=Faction 1,Kamikaze,Wheeled,3,4
5=Faction 1,Normal,Tracked,4,5
6=Faction 1,Kamikaze,Tracked,4,5
7=Faction 2,Normal,Foot,2,3
8=Faction 2,Kamikaze,Foot,2,3
9=Faction 2,Normal,Wheeled,3,4
10=Faction 2,Kamikaze,Wheeled,3,4
11=Faction 2,Normal,Tracked,4,5
12=Faction 2,Kamikaze,Tracked,4,5

{UNITS}
ID000=Faction 1,Launcher,256,238,64,Guard
ID001=Faction 1,Launcher,256,243,64,Guard
ID002=Faction 1,Quad,256,308,64,Guard
ID003=Faction 2,Sandworm,256,1065,64,Guard
ID004=Faction 3,Devastator,256,2167,64,Guard
ID005=Faction 3,Devastator,256,2226,64,Guard
ID006=Faction 3,Devastator,256,2285,64,Guard
ID007=Faction 4,Siege Tank,256,3241,64,Guard
ID008=Faction 4,Siege Tank,256,3375,64,Guard
ID009=Faction 4,Siege Tank,256,3510,64,Guard
ID010=Faction 5,Sandworm,256,157,64,Guard
ID011=Faction 5,Siege Tank,256,1166,64,Guard
ID012=Faction 5,Siege Tank,256,1171,64,Guard
ID013=Faction 6,Siege Tank,256,2825,64,Guard
ID014=Faction 6,Siege Tank,256,2837,64,Guard
ID015=Faction 6,Siege Tank,256,2846,64,Guard

{STRUCTURES}
GEN199=Owner,Concrete
GEN200=Owner,Wall
GEN201=Owner,Wall
ID000=Faction 1,Const Yard,256,240
ID001=Faction 2,Windtrap,256,2601
ID002=Faction 2,Repair,256,2603
ID003=Faction 2,Const Yard,256,2615
ID004=Faction 2,IX,256,2617
ID005=Faction 2,Refinery,256,2743
ID006=Faction 3,Repair,256,3562
ID007=Faction 3,Windtrap,256,3566
ID008=Faction 3,Refinery,256,3568
ID009=Faction 3,WOR,256,3571
ID010=Faction 3,Const Yard,256,3683
ID011=Faction 4,Repair,256,2123
ID012=Faction 4,Palace,256,2128
ID013=Faction 4,Windtrap,256,2133
ID014=Faction 4,Heavy Fctry,256,2251
ID015=Faction 4,Refinery,256,2261
ID016=Faction 5,Const Yard,256,3084
ID017=Faction 5,Refinery,256,3211
ID018=Faction 5,Palace,256,3221
ID019=Faction 5,R-Turret,256,3226
ID020=Faction 5,Refinery,256,3540

{REINFORCEMENTS}
1=Faction 4,Launcher,Enemybase,12
2=Faction 5,Siege Tank,Enemybase,12
3=Faction 2,Devastator,Enemybase,14
4=Faction 3,Siege Tank,Enemybase,14
5=Faction 2,Devastator,Enemybase,18
6=Faction 3,Launcher,Enemybase,18

Discussion


Log in to post a comment.