DML limitationsHow to make DMLsHow do I edit properties with DMLs?How to assign custom scripts to archetypesalso, NewDark includes some other nice stuff, for example, the ability to load scripts via dml, this allows dml fixes that require extra scripts like NVscript to work with maps that don't have it loaded, meaning the rather user unfriendly process of manually adding NVscript into an orig map is not required anymore. example;
DML1
//load NVscript
#script "NVScript"
very useful for the
battery bugfix mod, for example.
next useful addition is called dml fingerprinting, it conveniently solves the issue with dmls meant for orig SS2 missions getting applied to FMs (the missing elevator switch on Ponterbee when Rebirth is used). it allows you to specify a set of objects and their locations, and unless these objects are found at the specified spots when the mission is started, the dml will not be applied. just tested this (with already uploaded Rebirth 03a), and it works nicely. example (Rebirth earth);
DML1
// OM earth fingerprint
FINGERPRINT
{
543 [43.53 -102.25 5]
243 [-26.72 -28.26 4.27]
448 [-26.76 -22.68 6.5]
434 [23.84 -0.92 5.95]
442 [-26.03 28.21 5]
447 [43.73 190.15 60]
604 [64.76 158.5 60.48]
606 [64.47 142.57 60.48]
607 [64.62 126.82 60.48]
437 [36.34 170.4 60.48]
}
see dbmod-sample.dml in NewDark doc folder for more details.
//adding the rest of OM fingerprint blocks - anyone making a mod for the original game that uses dmls to move or change objects is strongly encouraged to add the fingerprint block to their dmls, this will make sure that nothing bad happens when playing FMs with the mod active (like moving a quest item out of player's reach).
FINGERPRINT
{
314 [-38 10 -42]
462 [-42 10 -42]
463 [-46 10 -42]
464 [-50 10 -42]
468 [-42 2 -36.5]
469 [-46 2 -36.5]
470 [-50 2 -36.5]
313 [-38 6 -39]
365 [-42 6 -39]
466 [-46 6 -39]
}
FINGERPRINT
{
156 [-14 82 -28]
158 [-14 72 -28]
878 [-14 62 -28]
155 [-14 52 -28]
876 [-5 52 -28]
877 [-5 62 -28]
1156 [-5 72 -28]
325 [4 52 -28]
879 [4 62 -28]
934 [4 72 -28]
}
FINGERPRINT
{
852 [119.58 -610.71 -27.35]
857 [121.51 -604.94 -27.35]
861 [124.51 -594.94 -27.35]
856 [131.63 -599.69 -27.35]
858 [131.72 -589.75 -27.35]
862 [125.51 -581.94 -27.35]
859 [127.68 -576.44 -27.35]
864 [121.51 -569.94 -27.35]
865 [118.51 -560.94 -27.35]
860 [126.45 -560.13 -28.35]
}
FINGERPRINT
{
1892 [105.14 -5.11 -2]
870 [104.99 -0.17 -2]
1131 [97.79 0.96 -2]
1939 [94.26 4.32 -2]
361 [90.57 9.52 -2]
392 [101.62 18.81 -2]
1087 [122.71 69.42 -2]
388 [127.93 65.88 -2]
476 [128.1 61.64 -2]
365 [127.73 57.51 -2]
}
FINGERPRINT
{
1209 [-67.27 -126.62 2]
536 [-101.9 -168.81 0]
1144 [-56.57 -280.48 2]
218 [-109 -282.48 1.17]
224 [-9.01 -197.53 5.78]
1250 [53.51 -171.86 -2.05]
480 [74.08 -280.33 4.35]
726 [43.31 -268.7 -2]
478 [43.09 -274.22 -2]
727 [42.98 -281.24 -2]
}
FINGERPRINT
{
1155 [-114 121 -12]
1154 [-121 121 -12]
144 [-73 -175.5 20]
569 [-67 -179.5 20]
76 [-60.5 -182 20]
140 [-60.5 -179.5 20]
1101 [-60.5 -177 20]
75 [-63 -175.5 20]
74 [-65 -175.5 15]
73 [-67 -175.5 10]
}
FINGERPRINT
{
1647 [-241 -12 0]
1646 [-241 -18 0]
1645 [-241 -24 0]
1489 [-241 -30 0]
1644 [-249 -12 0]
1643 [-249 -18 0]
1642 [-249 -24 0]
1494 [-249 -30 0]
426 [-249 -36 0]
425 [-249 -42 0]
}
FINGERPRINT
{
244 [-97 -103.5 50]
158 [-97 -109.5 50]
147 [-97 -112.5 50]
152 [-100 -112.5 50]
383 [-108 -109.5 50]
153 [-100 -106.5 40]
154 [-102 -106.5 30]
384 [-104 -109.5 20]
155 [-104 -106.5 20]
248 [-108 -106.5 20]
}
FINGERPRINT
{
159 [70.5 -29.5 -15]
158 [65.5 -29.5 -15]
95 [65.5 -24.5 -15]
157 [60.5 -29.5 -15]
156 [53.5 -29.5 -15]
111 [53.5 -34 -15]
112 [48.5 -38.5 -15]
110 [48.5 -34 -15]
155 [48.5 -29.5 -15]
141 [48.5 -24.5 -15]
}
FINGERPRINT
{
122 [-244 85 -22]
123 [-244 90 -22]
125 [-244 95 -22]
341 [-244 100 -22]
540 [-66.44 38.9 -18.84]
538 [-71.73 38.92 -21.98]
995 [-69.86 49.07 -21.98]
993 [-74.98 48.94 -19.75]
542 [-45.49 29.57 -18.84]
1000 [-45.39 35.26 -22]
}
FINGERPRINT
{
1369 [-75.6622 478.468 -18.5647]
1370 [-69.1622 478.468 -18.5647]
1371 [-62.6622 478.468 -18.5647]
1372 [-56.1622 478.468 -18.5647]
1373 [-49.4084 482.74 -18.5647]
1374 [-49.4412 474.365 -18.5647]
1383 [-43.0707 464.585 -12.5578]
1380 [-43.4606 491.324 -12.5578]
1379 [-38.4532 483.08 -12.5578]
1378 [-38.5104 473.873 -12.5578]
}
FINGERPRINT
{
811 [38 -222 -28]
812 [43 -222 -28]
813 [48 -222 -28]
814 [53 -222 -28]
815 [58 -222 -28]
816 [64 -225 -28]
817 [64 -219 -28]
835 [47.7996 -213.929 -28]
836 [55.8961 -210.736 -28]
483 [63.1055 -208.245 -28]
}
FINGERPRINT
{
162 [33.4487 -554.949 4.91395]
796 [37.6137 -554.605 4.91395]
307 [41.7694 -554.159 4.91395]
120 [44.2092 -554.334 4.91395]
839 [42.9643 -544.603 4.91395]
118 [41.6347 -533.931 4.91395]
814 [38.2317 -531.325 4.91395]
813 [34.3838 -530.806 4.91395]
161 [30.9866 -527.87 4.91395]
158 [26.4369 -532.171 4.91395]
}
{
503 [-233.682 -212.545 -23]
1289 [-239.076 -202.044 -21.9052]
1333 [-201.658 -177.397 -19.1932]
1293 [-254.531 -140.747 -24.928]
714 [-258.127 -135.928 -19.8609]
233 [8.15881 -163.446 -3.16406]
171 [-239.419 -134.798 -23]
721 [-244.437 -144.387 -6.56267]
760 [-78.9117 -52.1386 -19.5113]
761 [-85.0766 -52.0627 -19.5113]
}
FINGERPRINT
{
306 [-172.1 -516.553 4.75]
307 [-173.146 -531.749 4.75]
308 [-171.055 -543.889 4.75]
176 [-131.124 -526.953 8.91155]
170 [-215.822 -502.854 2.78125]
305 [-172.824 -482.623 4.75]
186 [-183.935 -451.218 0.485492]
212 [-200.637 -438.315 0.833361]
514 [-209.873 -436.506 -11]
492 [-190.469 -251.048 -11]
}
FINGERPRINT
{
327 [822.249 235.744 -1.4402]
328 [815.249 229.744 -1.4402]
326 [818.249 230.744 -1.4402]
116 [814.839 225.321 -1.4402]
120 [824.014 224.14 -1.4402]
117 [742.692 223.717 -1.4402]
284 [833.998 224.658 -15.6902]
119 [829.014 225.14 -1.4402]
647 [845.141 244.272 -20.0397]
1306 [943.668 86.0644 -43.5]
}
FINGERPRINT
{
830 [15.7867 -185.556 -37.0402]
186 [9.40433 -208.802 -43]
811 [31.2836 -208.708 -31]
220 [14.8879 -208.721 -22.2407]
503 [25.7041 -208.768 -17.2902]
529 [3.83202 -208.804 -15.25]
836 [-65.4684 -176.147 -23.4186]
446 [-68.4684 -176.147 -23.4186]
509 [-70.024 -165.577 -22.4186]
162 [-69.4684 -173.397 -23.4186]
}
FINGERPRINT
{
1391 [-15.5391 -67.2955 -63]
1392 [-15.5391 -61.2955 -63]
1421 [-15.5391 -55.2955 -63]
1422 [-15.5391 -49.2955 -63]
1423 [-15.5391 -43.2955 -63]
1416 [-20.3978 -62.4597 -63]
1417 [-20.3978 -56.4597 -63]
1418 [-20.3978 -50.4597 -63]
1419 [-20.3978 -44.4597 -63]
1420 [-20.3978 -38.4597 -63]
}
FINGERPRINT
{
249 [-497.87 -31.9472 290.5]
743 [-506.344 -19.3096 287.872]
697 [-312.566 1.89874 230.487]
253 [-312.857 12.9559 232.5]
83 [-420.175 -7.64825 224.759]
731 [-411.819 -3.0144 232]
730 [-410.693 -7.35611 232]
247 [-295.203 8.33517 225]
729 [-399.194 9.04406 232]
732 [-498.056 -16.9528 287.872]
}
FINGERPRINT
{
499 [-731.053 53.301 263]
1075 [-704.277 58.6011 276]
1074 [-701.671 57.305 276]
1071 [-704.277 51.1011 276]
1066 [-701.671 49.805 276]
1067 [-704.277 44.1011 276]
1065 [-701.671 42.805 276]
754 [-704.277 38.1011 276]
753 [-701.671 37.805 276]
1064 [-688.277 41.6011 276]
}
FINGERPRINT
{
1493 [-690.081 411.329 45.7212]
1402 [113.153 -132.321 4.07417]
1401 [112.832 -135.377 4.07417]
154 [-101.314 46.3092 15.5092]
750 [-37.6059 33.6295 5.12103]
400 [-28.6458 32.3455 5.12103]
1488 [-721.837 410.683 45.7212]
749 [-763.789 341.653 40.4907]
904 [-760.939 372.604 23.7362]
496 [-692.581 356.683 36.7531]
}
FINGERPRINT
{
570 [12 262 -8]
655 [11.5 257 -8]
1240 [6.5 253.5 -8]
402 [-4.5 4.5 3]
734 [-80 16 -118]
288 [-43.5 -140 4]
642 [-92 -36 -8]
128 [-132 44 19.5]
127 [-124 44 19.5]
126 [-124 36 19.5]
}