File: exult_studio.html

package info (click to toggle)
exult 1.12.0-2
  • links: PTS, VCS
  • area: contrib
  • in suites: forky, sid
  • size: 43,608 kB
  • sloc: cpp: 169,917; xml: 7,400; yacc: 2,850; makefile: 2,419; java: 1,901; ansic: 1,654; lex: 673; sh: 539; objc: 416
file content (2166 lines) | stat: -rw-r--r-- 107,688 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
<!DOCTYPE html>
<html lang="en">
<!--This file is automatically generated. Do not edit!-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<title>Exult Studio Documentation</title>
<style>
	body {
		font-family: helvetica, sans-serif;
		font-size: medium;
		text-align: justify;
		line-height: 1.4em;
		background-color: #cccccc;
		color: #333366;
		background-image: url("images/back.gif");
	}
	:link { color: #666699; }
	:visited { color: #669966; }
	:link:active :visited:active { color: #ffcc33; }
	span.highlight { color: maroon; }
	tr.highlight { color: #62186f; }
	.non-selectable-comment {
		-webkit-user-select: none;
		-moz-user-select: none;
		-ms-user-select: none;
		user-select: none;
	}
	table.borderless {
		border-spacing: 0;
		border-width: 0;
	}
	table.borderless th, table.borderless td { padding: 0; }
	table.key_table {
		border-spacing: 2px;
		border-width: 0;
	}
	table.key_table th { padding: 0; }
	table.key_table td {
		padding: 0;
		vertical-align: top;
		white-space: nowrap;
	}
	table.site-width { width: 75%; }
	table.wide-table { width: 80%; }
	table.narrow-table { width: 20%; }
	td.blank-column { width: 0.75em; }
	*.full-width { width: 100%; }
	th.left-aligned, td.left-aligned { text-align: left; }
	th.left-aligned > *, td.left-aligned > * {
		margin-left: 0;
		margin-right: auto;
	}
	th.centered, td.centered { text-align: center; }
	th.centered > *, td.centered > * {
		margin-left: auto;
		margin-right: auto;
	}
		</style>
</head>
<body><div align="center"><table class="borderless site-width">
<tr><td class="centered"><table class="borderless full-width">
<tr><td class="centered"><img src="images/exult_logo_nice.svg" width="181" height="127" alt="Exult Logo"></td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td>&nbsp;</td></tr>
</table></td></tr>
<tr><td>
<h1>Exult Studio Documentation
								</h1>
<p>last changed:
									20 February 2021 (GMT)</p>
<hr>
<p> The latest version of this document can be found
									<a href="https://exult.info/studio.php">here</a></p>
<br><p><a href="#Introduction">1. Introduction</a><br><a href="#whatis_studio">1.1. What is <em>Exult Studio</em>?</a><br><a href="#about_doc">1.2. About this Documentation.</a><br><a href="#studio_terms">1.3. Terms we use in regard to Exult and Ultima VII</a><br></p>
<p><a href="#Configurations">2. Configurations</a><br><a href="#installation">2.1. Installation</a><br><a href="#studio_run">2.2. Running <em>Exult Studio</em></a><br><a href="#run_steps">2.3. Step-by-step instructions to run <em>Exult Studio</em></a><br><a href="#can_do_atm">2.4. What you can do at the moment</a><br><a href="#studio_cfg">2.5. Settings in exult.cfg.</a><br><a href="#command_line">2.6. Command line options</a><br></p>
<p><a href="#Exult-Studio-basics">3. Exult Studio basics</a><br><a href="#basics">3.1. Description</a><br><a href="#shape_files">3.2. Shape files</a><br><a href="#map_files">3.3. Map files</a><br><a href="#palettes_files">3.4. Palettes files</a><br><a href="#groups_files">3.5. Groups files</a><br><a href="#detail_window">3.6. The detail window</a><br></p>
<p><a href="#Exult-Studio's-menus">4. Exult Studio's menus</a><br><a href="#overview">4.1. An overview</a><br><a href="#file_menu">4.2. File</a><br><a href="#edit_menu">4.3. Edit</a><br><a href="#mode_menu">4.4. Mode</a><br><a href="#tools_menu">4.5. Tools</a><br><a href="#map_menu">4.6. Map</a><br><a href="#tool_bar">4.7. Tool bar</a><br></p>
<p><a href="#Basic-editors">5. Basic editors</a><br><a href="#shape_edit">5.1. The shape editor</a><br><a href="#combo_edit">5.2. Creating Combination files</a><br><a href="#usecode_edit">5.3. Custom Usecode</a><br></p>
<p><a href="#Egg-editing">6. Egg editing</a><br><a href="#eggs_explained">6.1. Explaining eggs</a><br><a href="#eggs_type">6.2. The different types of eggs</a><br><a href="#place_eggs">6.3. Add, remove and edit eggs</a><br><a href="#eggs_properties">6.4. Properties of eggs</a><br><a href="#place_monsters">6.5. Placing a monster spawning egg</a><br><a href="#creature_schedules">6.6. Schedules of Monsters and Creatures</a><br><a href="#audio_eggs">6.7. Jukebox, Sound Effects and Voice eggs</a><br><a href="#usecode_eggs">6.8. Usecode eggs</a><br><a href="#missile_eggs">6.9. Missile eggs</a><br><a href="#teleport_eggs">6.10. Teleport eggs</a><br><a href="#weather_eggs">6.11. Weather eggs</a><br><a href="#path_eggs">6.12. Path eggs</a><br><a href="#button_eggs">6.13. Button eggs</a><br><a href="#intermap_eggs">6.14. Intermap eggs</a><br><a href="#multi_map">6.15. Multi-map support</a><br></p>
<p><a href="#NPC-editing">7. NPC editing</a><br><a href="#npc_edit">7.1. Editing an existing NPC</a><br><a href="#npc_create">7.2. Creating a new NPC</a><br><a href="#npc_basic">7.3. Basic NPC settings</a><br><a href="#npc_properties">7.4. NPC Properties</a><br><a href="#npc_flags">7.5. NPC Flags</a><br><a href="#npc_schedules">7.6. NPC Schedules</a><br></p>
<p><a href="#Basic-map-editing">8. Basic map editing</a><br><a href="#learn_edit">8.1. Learning the basics of map editing</a><br><a href="#move_obj">8.2. Moving objects around</a><br><a href="#place_obj">8.3. How to place objects from Exult Studio</a><br><a href="#control_obj">8.4. Mark, delete, copy, make multiple objects</a><br><a href="#float_obj">8.5. Making floating objects like bridges</a><br><a href="#change_frame">8.6. How to change the frame of an object</a><br><a href="#change_chunks">8.7. How to change chunks (the big red outlined square)</a><br><a href="#multi_obj">8.8. How to make a structures consisting of multiple objects</a><br><a href="#other_combo">8.9. More things you can do with Combos</a><br><a href="#paint_forest">8.10. Use the paint feature to quickly create a forest</a><br></p>
<p><a href="#Miscellaneous">9. Miscellaneous</a><br><a href="#barge_edit">9.1. Creating a boat, flying carpet, or horse drawn carriage</a><br><a href="#custom_shapes">9.2. Importing and creating your own custom shapes</a><br><a href="#custom_font">9.3. How to create a custom font?</a><br><a href="#tools">9.4. Other tools that might be useful</a><br><a href="#port_platforms">9.5. Porting <em>Exult Studio</em> to other platforms</a><br><a href="#client_server_stuff">9.6. About this client/server stuff?</a><br><a href="#terrain_stuff">9.7. About this 'terrain-editing' stuff and why you can't just
				drag objects to where you want.</a><br><a href="#ifix_iregs">9.8. ifix and ireg reference chart</a><br><a href="#what_next">9.9. What's next?</a><br><a href="#linux_bugs">9.10. Known Bugs with the Linux port</a><br></p>
<p><a href="#Credits">10. Credits</a><br><a href="#thanks">10.1. Thanks</a><br></p>
<p><a href="#Changes-to-the-Documentation">11. Changes to the Documentation</a><br><a href="#20022021">11.1. - 20 February 2021</a><br><a href="#13032016">11.2. - 13 March 2016</a><br><a href="#21112013">11.3. - 21 November 2013</a><br><a href="#19022011">11.4. - 19 February 2011</a><br><a href="#23012011">11.5. - 23 January 2011</a><br><a href="#18122010">11.6. - 18 December 2010</a><br><a href="#11032010">11.7. - 11 March 2010</a><br><a href="#01032005">11.8. - 01 March 2005</a><br><a href="#23052004">11.9. - 23 May 2004</a><br><a href="#06022004">11.10. - 06 February 2004</a><br></p>
<hr class="full-width">
<table class="full-width">
<tr><th class="left-aligned"><a id="Introduction">1. Introduction</a></th></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="whatis_studio">1.1. What is <em>Exult Studio</em>?</a></strong></td></tr>
<tr><td>
				<p>
					<em>Exult</em> is not only capable of playing Ultima VII but it is also intended as
					an engine in the style of the one used by Ultima VII. <em>Exult Studio</em> started it's life
					as a simple map editor but it is slowly developing into a full fledged editor
					enabling users to create a new game. Tristan came up with the cool name!
				</p>
				<p>
					The main purpose of <em>Exult Studio</em> is the ability to create an entirely original
					game world without using the original Ultima VII data files. Its semi-possible
					already but still requires a lot of work. Not the least of which is that an entire
					games worth of art needs to be created.
				</p>
				<p>
					Editing a copyrighted game may or may not be allowed. Please exercise caution especially
					if you want to distribute your changes.
				</p>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="about_doc">1.2. About this Documentation.</a></strong></td></tr>
<tr><td>
				<p>
					<em>Exult Studio</em> is work in progress. How things work may change and new features are
					added very frequently. Due to that the maintainers (Jeffrey, Dominus) of this
					documentation may not have been able to update it. As we do not have an official
					release yet this documentation refers to recent snapshots.
				</p>
				<p>
					This guide is what we hope will be an ongoing effort to provide up to date and
					in-depth information on how to get the most out of <em>Exult Studio</em>. Accuracy is an
					essential part of this guide. If you find something that could be clearer or doesn't
					seem worded properly please tell us, we will be happy to change this guide. Tips and
					tricks by other users will be appreciated as well and will of course be credited.
				</p>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="studio_terms">1.3. Terms we use in regard to Exult and Ultima VII</a></strong></td></tr>
<tr><td>
				<p>
					Of course the terms explained in <a href="ReadMe.html#terms">ReadMe</a> are
					also used in this Documentation but we will list them along with the terms
					that additionally need to be explained for the usage of <em>Exult Studio</em>.
				</p>
				<ul>
					<li>
<strong>tile</strong>:<br>
						8x8 pixels</li>
					<li>
<strong>chunk</strong>:<br>
						16x16 tiles</li>
					<li>
<strong>superchunk</strong>:<br>
						16x16 chunks</li>
					<li>
<strong>world</strong>:<br>
						12x12 superchunks</li>
					<li>
<strong>NPC schedules</strong>:<br>
						NPCs can have schedules which make them do things at certain times and locations.</li>
					<li>
<strong>BG</strong>, <strong>SI</strong>, <strong>FoV</strong>
					or <strong>SS</strong>:<br>
						we refer to "Ultima VII: The Black Gate" as BG and to "Ultima VII - Part 2: Serpent Isle"
						as SI. The add-ons "Forge of Virtue" and "Silver Seed" are called FoV and SS.</li>
					<li>
<strong>eggs</strong>:<br>
						these are trip-wires that can cause monsters to spawn, execute scripts, play
						music, change weather, trigger traps or teleport when you get near them.</li>
					<li>
<strong>flex files</strong>:<br>
						also known as flexes, these are used by the original to store the data files.
						Also when you choose to not use compressed save games (see save_compression_level in
						<a href="ReadMe.html#exult_config">ReadMe</a>) our save games are also "flexed".</li>
					<li>
<strong>gumps</strong>:<br>
						the windows used in the game interface for containers, characters, menus, etc..</li>
					<li>
<strong>paperdoll</strong>:<br>
						when pressing '<span class="highlight">i</span>' you get the inventory display. It's the picture of your
						characters body (or the bodies of your party members) onto which you can drag all
						kinds of equipment. The way this is displayed in SI is what we call
						<strong>paperdoll</strong>. We integrated this for BG as well.
						(see <a href="faq.html#improvements">FAQ</a>).</li>
					<li>
<strong>shapes</strong>:<br>
						shape files are the format used for storage of all graphics elements (from UI buttons
						to terrain features) of the games Exult supports. Shapes may contain one or more
						frames (a frame is a single image).</li>
					<li>
<strong>snapshot</strong>:<br>
						see <a href="faq.html#whatis_snapshot">FAQ</a>.<br>
						Please note that our documentation usually refers to the latest snapshot.</li>
					<li>
<strong>usecode</strong>:<br>
						that's the scripting language that drives all of U7 (conversations, objects...).</li>
					<li>
<strong>Exult data folder</strong>:<br>
						that's the folder where Exult stores its data files (exult.flx, exult_bg.flx and
						exult_si.flx).</li>
				</ul>
			</td></tr>
</table>
<hr class="full-width">
<table class="full-width">
<tr><th class="left-aligned"><a id="Configurations">2. Configurations</a></th></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="installation">2.1. Installation</a></strong></td></tr>
<tr><td>
				<ul>
					<li>You need <em>Exult</em> and you need to install it properly
						(see <a href="ReadMe.html#installation">ReadMe</a>). Also make sure that
						you are using the <strong>latest snapshot</strong> of <em>Exult</em>.<br>
						<em>Exult Studio</em> <strong>only</strong> works with the latest snapshot, not the latest release.</li>
					<li>For U*ix platforms you need to build <em>Exult Studio</em> from the source available from our
						source snapshot at <a href="https://exult.info/download.php">https://exult.info/download.php</a>.</li>
					<li>For Windows platforms (XP,Vista,7,8,10) you need to download <em>Exult Studio</em> from our
						<a href="https://exult.info/download.php">download page</a>
						and install it in the same folder where you installed <em>Exult</em>.</li>
					<li>For macOS we also provide a snapshot on our
						<a href="https://exult.info/download.php">download page</a>. Download the disk image
						and move the app to the Applications.</li>
				</ul>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="studio_run">2.2. Running <em>Exult Studio</em></a></strong></td></tr>
<tr><td>
				<p>
					You can run <em>Exult Studio</em> all by itself, but it isn't useful that way,
					as it uses <em>Exult</em> as a server. What you really want to do is:
				</p>
				<ul>
					<li>Put 'exult_studio.glade' in the <em>Exult</em> 'data' folder (not needed if you use the
						snapshot for Windows or macOS).</li>
					<li>Be sure 'exult_studio' is in your path. (on Windows
						'exult_studio.exe' needs to be in the same folder as exult.exe)</li>
					<li>Run <em>Exult</em> in <strong>windowed mode</strong> (not fullscreen).</li>
					<li>Enable the <em>Exult</em> cheat mode (see <a href="ReadMe.html#gameplay_gump">ReadMe</a>).</li>
					<li>Press 'alt+ctrl+m' to go into 'map-editor' mode. If all is set
						up correctly, exult_studio will start up, and will have a list of files
						on the left side of its window.</li>
				</ul>
				<p>
					Starting up one or the other separately will reconnect them:
				</p>
				<ul>
					<li>If <em>Exult</em> isn't running, start it up. Then, in <em>Exult Studio</em>,
						use the 'File' menu to choose the static folder (for the game you're
						playing).</li>
					<li>If <em>Exult Studio</em> isn't running start it up and select the game to edit in the
						"File-Open Game" dialog.</li>
				</ul>
				<p>
					You can also reconnect by selecting "File-Connect" in <em>Exult Studio</em>'s
					menu.
				</p>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="run_steps">2.3. Step-by-step instructions to run <em>Exult Studio</em></a></strong></td></tr>
<tr><td>
				<p>
					The above instructions may still be too technical for everybody.
					You have to make sure all these steps are taken care of before you're going to get
					very far with your world building.
				</p>
				<ol>
					<li>While it is not explicitly needed it is useful to have a working copy of either
						BG or SI properly installed onto your computer.</li>
					<li>Next, you need to have the latest <em>Exult</em> snapshot installed properly
						onto your computer and working correctly. If you are currently playing either BG or SI
						on your machine this is probably done right. To make sure you have the correct version,
						ensure that it says X.XX GIT (X.XX stands for some version number) during <em>Exult</em>'s
						start-up screen (for example see
						<a href="https://exult.info/images/screenshots/mainmenu.png">https://exult.info/images/screenshots/mainmenu.png</a>).</li>
					<li>You need to make sure the newest version of <em>Exult Studio</em> is installed properly onto your
						computer as well. <em>Exult Studio</em> should be installed in the same folder as the <em>Exult</em>
						snapshot.</li>
					<li>The patch folder <strong>needs</strong> to be in folder which you are allowed to write,
						so <em>Exult Studio</em> can save any changes to existing games. See <a href="#can_do_atm">2.4. What you can do at the moment</a> on
						how to change exult.cfg accordingly.</li>
					<li>In order for <em>Exult Studio</em> to work properly, you need to have <em>Exult</em> running in windowed mode.
						If you can see your desktop while playing, then you're doing it right.</li>
					<li>Make sure you have Cheats enabled. This can be enabled in the Gameplay options of the Game
						see (see <a href="ReadMe.html#gameplay_gump">ReadMe</a>).</li>
					<li>While running <em>Exult</em> in windowed mode, hit '<span class="highlight">ctrl+alt+m</span>' to enter map-editing mode.
						<em>Exult Studio</em> should open up if you did everything correctly. In map-editing mode the world is
						frozen, but you are still able to move your characters around in order to place objects.
						You're now ready to start your world editing. You should be seeing something like this:</li>
				</ol>
				<p>
					<img alt="game window with red grid" src="images/studio01.png">
				</p>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="can_do_atm">2.4. What you can do at the moment</a></strong></td></tr>
<tr><td>
				<ul>
					<li>browse shapes in the main window.</li>
					<li>drag a shape from the shape browser to <em>Exult</em>, and that
						object will be placed in the game.</li>
					<li>edit an 'egg' by double-clicking on it. An edit box
						should appear.</li>
					<li>create a new 'egg' using the pull-down menu in <em>Exult Studio</em>.
						In the Egg edit box, after you hit 'Apply', you'll be prompted to
						click in <em>Exult</em> where you want the egg to appear.</li>
					<li>if editing a 'monster' egg, you can set the monster by dragging
						the shape from the browser to the area that displays the monster.</li>
					<li>edit an NPC by double-clicking on it, and also create a new
						NPC using the pull-down menu. Attributes, flags, and schedules can
						all be viewed and modified.</li>
					<li>edit other objects' position and quality by double-clicking on them.</li>
					<li>browse the 'u7chunks' file, and drag them into <em>Exult</em> to change
						the terrain. In this browser, you can also create new terrains and
						modify their order.</li>
					<li>select a chunk, choose 'Paint with chunks' from the 'Mode' menu, and then
						paint terrain with that whole chunk.</li>
					<li>edit a 'terrain' (stored in 'u7chunks') by clicking the "Edit
						terrain" checkbox in <em>Exult Studio</em>. This is a special mode where
						dragging with the left mouse button 'paints' the currently-selected
						shape (generally one of the flat tiles near the top of the shapes
						browser). Note that a 'terrain' is generally used in multiple places
						in the map and changing it in one place changes it in all the others as well.</li>
					<li>save the map using <em>Exult Studio</em>'s "File-Save map" pulldown menu.
						In order to avoid writing over files inadvertently, the files that
						would normally go into the 'static' folder, will, instead, go into
						a 'patch' folder that you specify in your 'exult.cfg' file. Here's
						an example for editing BG:</li>
				</ul>
				<table class="borderless">
<tr>
<td style="text-indent:0pt">&lt;game&gt;</td>
<td></td>
</tr>
<tr>
<td style="text-indent:16pt">&lt;blackgate&gt;</td>
<td></td>
</tr>
<tr>
<td style="text-indent:32pt">&lt;title&gt;</td>
<td rowspan="3"></td>
</tr>
<tr><td style="text-indent:32pt">
							blackgate
							</td></tr>
<tr><td style="text-indent:32pt">&lt;/title&gt;</td></tr>
<tr>
<td style="text-indent:32pt">&lt;path&gt;</td>
<td rowspan="3"></td>
</tr>
<tr><td style="text-indent:32pt">
							./blackgate
							</td></tr>
<tr><td style="text-indent:32pt">&lt;/path&gt;</td></tr>
<tr>
<td style="text-indent:32pt">&lt;patch&gt;</td>
<td rowspan="3"></td>
</tr>
<tr><td style="text-indent:32pt">
							./blackgate/patch
							</td></tr>
<tr><td style="text-indent:32pt">&lt;/patch&gt;</td></tr>
<tr><td style="text-indent:16pt">&lt;/blackgate&gt;</td></tr>
</table>
				<p>
					<b><i><span style="font-size: larger">IMPORTANT:</span></i></b> <em>Exult Studio</em> requires the "patch" folder to be writeable. If you don't have write access
					you need to place it somewhere you are allowed to write to and change the path accordingly in exult.cfg.
				</p>
				<p>
					<em>Exult</em> will also read files from 'patch' if it exists on starting a new game. The patch
					folder is expected to be within the main game folder, parallel to the static folder.
				</p>
				<p>
					In any mode, you can add the currently selected shape by shift-clicking.
				</p>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="studio_cfg">2.5. Settings in exult.cfg.</a></strong></td></tr>
<tr><td>
				<p>
					You can change the settings of <em>Exult Studio</em> either with the preferences dialog or
					via exult.cfg. Those settings are:
				</p>
				<table class="borderless">
<tr>
<td style="text-indent:0pt">&lt;config&gt;</td>
<td></td>
</tr>
<tr>
<td style="text-indent:16pt">&lt;estudio&gt;</td>
<td></td>
</tr>
<tr>
<td style="text-indent:32pt">&lt;main&gt;</td>
<td></td>
</tr>
<tr>
<td style="text-indent:48pt">&lt;width&gt;</td>
<td rowspan="3"><span class="non-selectable-comment">** width of the program window</span></td>
</tr>
<tr><td style="text-indent:48pt">
								640
								</td></tr>
<tr><td style="text-indent:48pt">&lt;/width&gt;</td></tr>
<tr>
<td style="text-indent:48pt">&lt;height&gt;</td>
<td rowspan="3"><span class="non-selectable-comment">** height of the program window</span></td>
</tr>
<tr><td style="text-indent:48pt">
								400
								</td></tr>
<tr><td style="text-indent:48pt">&lt;/height&gt;</td></tr>
<tr><td style="text-indent:32pt">&lt;/main&gt;</td></tr>
<tr>
<td style="text-indent:32pt">&lt;default_game&gt;</td>
<td rowspan="3">
<span class="non-selectable-comment">** default game to edit (games must be specified in</span><span class="non-selectable-comment">&lt;game&gt; part of exult.cfg)</span>
</td>
</tr>
<tr><td style="text-indent:32pt">
							gamename
							</td></tr>
<tr><td style="text-indent:32pt">&lt;/default_game&gt;</td></tr>
<tr>
<td style="text-indent:32pt">&lt;image_editor&gt;</td>
<td rowspan="3"><span class="non-selectable-comment">** command that calls the image editor.</span></td>
</tr>
<tr><td style="text-indent:32pt">
							gimp-remote -n
							</td></tr>
<tr><td style="text-indent:32pt">&lt;/image_editor&gt;</td></tr>
<tr>
<td style="text-indent:32pt">&lt;background_color&gt;</td>
<td rowspan="3">
<span class="non-selectable-comment">** background color for the shape-chooser. Use the preference</span><span class="non-selectable-comment">dialog of Exult Studio for this.</span>
</td>
</tr>
<tr><td style="text-indent:32pt">
							0
							</td></tr>
<tr><td style="text-indent:32pt">&lt;/background_color&gt;</td></tr>
<tr><td style="text-indent:16pt">&lt;/estudio&gt;</td></tr>
</table>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="command_line">2.6. Command line options</a></strong></td></tr>
<tr><td>
				<p>
					<em>Exult Studio</em> offers some "hidden" command line options:
				</p>
				<ul>
					<li>(--help) -h<br>
						Shows these command line options.</li>
					<li>(--silent) -s<br>
						Do not display the state of the games.</li>
					<li>(--config) -c configfile<br>
						Specify alternate config file (relative or absolute paths work).</li>
					<li>(--portable) -p<br>
						Portable option for Windows only. <em>Exult Studio</em> will read cfg file from the folder <em>Exult</em> got
						installed to.</li>
					<li>(--game) -g GAMENAME<br>
						specifies GAMENAME and <em>Exult Studio</em> will read the game base folder from exult.cfg.
						GAMENAME can be chosen from the games specified in &lt;game&gt; part of exult.cfg.</li>
					<li>(--mod) -m modname<br>
						Must be used together with '-g gamename'; runs the specified
						game using the mod with title equal to 'modname'. 'modname' is the name of the mod
						cfg file (e.g. keyring.cfg means 'modname' 'keyring'.</li>
					<li>(--xmldir) -x FOLDER<br>
						tells exult_studio to look in FOLDER for its user-interface specification
						(exult_studio.glade).<br>
						You can enter the full path (e.g. "exult_studio -xc:\exult\data") to the glade file
						or you can use the relative path (e.g. exult_studio -x./data).<br>
						This option is only useful to developers who want to edit exult_studio.glade
						themselves.</li>
					<li>(--cssdir) -y FOLDER<br>
						tells exult_studio to look in FOLDER for css file that customizes the look of <em>Exult Studio</em>
						(exult_studio.css).</li>
				</ul>
			</td></tr>
</table>
<hr class="full-width">
<table class="full-width">
<tr><th class="left-aligned"><a id="Exult-Studio-basics">3. Exult Studio basics</a></th></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="basics">3.1. Description</a></strong></td></tr>
<tr><td>
				<p>
					Once <em>Exult Studio</em> runs correctly , a tree of game files is displayed to the left of
					the main window, while the currently selected file is viewed in detail to the right.<br>
					<img alt="Exult Studio default view" src="images/studio02.png"><br>
					The types of files <em>Exult Studio</em> supports are described next.
				</p>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="shape_files">3.2. Shape files</a></strong></td></tr>
<tr><td>
				<p>
					Shapes are the basic graphical elements of the game. Each shape has one or more
					frames that typically represent different states or angles of the same thing.
					E.g. a button shape could have frames for pressed, and released; a character
					could have frames depicting her sitting, standing up facing one way, or another,
					swinging a punch, etc.<br>
					When a shape file is selected, the right part of the main window will show frame
					zero of the shapes contained therein. Shapes can be selected by clicking, which
					will show there number, number of frames, and name if known. Other frames can be
					viewed by changing the frame number.
				</p>
				<p>
					When the selected file contains shapes that have names in their info you can also use
					the find option to find shapes that have that name (e.g. in shapes.vga you can search
					for 'door' to find all shapes that have door frames). You can search down or up in the
					selected file.
				</p>
				<p>
					When viewing shapes you can press the button 'Frames' in the lower right corner of
					<em>Exult Studio</em> to show all the frames of a shape next to each others.
				</p>
				<p>
					Shape files also have a special right-click-menu. See <a href="#shape_edit">5.1. The shape editor</a>.
				</p>
				<p>
					Typical shape files are:
				</p>
				<ul>
					<li>
<strong>Sprites.vga</strong><br>
						displays all the animations that can be used to overlay the screen.</li>
					<li>
<strong>Shapes.vga</strong><br>
						displays the objects that can be placed onto the world.</li>
					<li>
<strong>Fonts.vga</strong><br>
						displays all text graphics used throughout the game.</li>
					<li>
<strong>Faces.vga</strong><br>
						contains all of the graphics for conversation pictures..</li>
					<li>
<strong>Pointers.shp</strong><br>
						contains the graphics for the mouse cursor.</li>
					<li>
<strong>Combos.flx</strong><br>
						where custom made combos will be stored.</li>
				</ul>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="map_files">3.3. Map files</a></strong></td></tr>
<tr><td>
				<p>
					These files contain so called chunks that serve as templates in the final map.
					The chunks of the selected map file are shown in the right part of the main window.<br>
					When a chunk is selected you have two options below:
				</p>
				<ul>
					<li>
<strong>Locate</strong><br>
						shows places in the <em>Exult</em> game where that chunk is used.</li>
					<li>
<strong>Move</strong><br>
						Moves a chunk in the chunk file. This does not effect the display on the map.</li>
				</ul>
				<p>
					Right clicking on a chunk gives you another two options
					(also the File-save/revert option):
				</p>
				<ul>
					<li>
<strong>New...</strong><br>
						<strong>Empty</strong><br>
						Creates a new chunk. Drag the new chunk onto the game and edit it by dragging
						shapes on it.<br>
						<strong>Duplicate</strong><br>
						Duplicates a chunk. Drag the duplicate chunk onto the map to edit it.</li>
					<li>
<strong>Delete</strong><br>
						Deletes that chunk. Be very careful with this option.</li>
				</ul>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="palettes_files">3.4. Palettes files</a></strong></td></tr>
<tr><td>
				<p>
					The palettes used by a game are stored in the files listed there.<br>
					When you select a palette with number zero is shown in the right part of the main
					window. Other palettes are shown by selecting another palettes number
					When a palettes file is selected you have some options:
				</p>
				<ul>
					<li>
<strong>Edit</strong><br>
						New/Remove adds or deletes a palettes.</li>
					<li>
<strong>Move</strong><br>
						Moves palettes in the file.</li>
					<li>
<strong>File</strong><br>
						<strong>Import</strong><br>
						Overwrites the current palettes with palette text file.<br>
						<strong>Export</strong><br>
						Exports the current palette to a text file.</li>
				</ul>
				<p>
					The palette text files are compatible with the Gimp.
				</p>
				<p>
					Right clicking on a palette only gives you the default File-save/revert option.
				</p>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="groups_files">3.5. Groups files</a></strong></td></tr>
<tr><td>
				<p>
					Editing a game can become quite cumbersome when you have to choose between a lot
					of shape files containing several frames. To make this task easier we have
					implemented so called groups to groups several shapes together. For example you can
					group all shapes containing door frames together in a group called 'doors'.<br>
					For this you have to select Groups and create a new group by writing the name in the
					lower part of the window and then click 'add'. You now have the option in the Shape
					Menu to add a shape to this group.<br>
					When you double-click a group the group window opens that shows the shapes in the group
					and by selecting a shape you see the shape info.
					You also have some options to edit the group:
				</p>
				<ul>
					<li>
<strong>Move</strong><br>
						Moves the shapes within the group.</li>
					<li>
<strong>Remove</strong><br>
						Removes the shape from the group.</li>
					<li>
<strong>Name</strong><br>
						Changes the name of the group.</li>
					<li>
<strong>Frame:</strong><br>
						select the frame displayed.</li>
					<li>
<strong>Frames</strong><br>
						shows all the frames of a shape next to each others.</li>
					<li>
<strong>Find</strong><br>
						Lets you search for a specified shape in the group.</li>
					<li>
<strong>Locate</strong><br>
						Locates the selected shape inside the game. It locates only the shape not a
						specific frame.</li>
				</ul>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="detail_window">3.6. The detail window</a></strong></td></tr>
<tr><td>
				<p>
					Below the detail windows you have the following options:
				</p>
				<ul>
					<li>
<strong>Frame:</strong><br>
						select the frame displayed.</li>
					<li>
<strong>Frames</strong><br>
						shows all the frames of a shape next to each others.</li>
					<li>
<strong>Find</strong><br>
						Lets you search for a specified shape in the group.</li>
					<li>
<strong>Locate</strong><br>
						Locates the selected shape inside the game. It locates only the shape not a
						specific frame.</li>
				</ul>
				<p>
					<strong>Right-clicking on the detailed view of any file gives these options</strong>
					(along with other options specific to the file):
				</p>
				<ul>
					<li>
<strong>File...</strong><br>
						<strong>Save</strong><br>
						Saves all the changes you made to it without saving any other file.<br>
						<strong>Revert</strong><br>
						Discards all changes..</li>
				</ul>
			</td></tr>
</table>
<hr class="full-width">
<table class="full-width">
<tr><th class="left-aligned"><a id="Exult-Studio's-menus">4. Exult Studio's menus</a></th></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="overview">4.1. An overview</a></strong></td></tr>
<tr><td>
				<p>
					Before you get started with constructing your own little world its important to know
					a little bit about the structure of <em>Exult Studio</em> and the arrangement of menus. An
					overview of some of the <em>Exult Studio</em> menus follows.<br>
				</p>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="file_menu">4.2. File</a></strong></td></tr>
<tr><td>
				<ul>
					<li>
<strong>New Game...</strong><br>
						This lets you begin the work on a new game. Jeff wrote an extensive description of
						how to use this and how it works.<br>
						See
						<a href="https://exult.info/newgame.txt">New Game manual</a>.</li>
					<li>
<strong>New Mod...</strong><br>
						Easily start a new mod for an existing game. The dialog that opens lets you select
						the game you want to mod, the name of the mod and its name in the Exult menu (menu string).</li>
					<li>
<strong>Open Game...</strong><br>
						Choose the Game folder of the game you that you have been working on.</li>
					<li>
<strong>Save all</strong>'<span class="highlight">Ctrl+S</span>'<br>
						Saves map, shape info and groups you edited. Saves all the changes you've made to
						the world you have been working on. If you're happy with your changes do this
						before you quit or all work will be lost.</li>
					<li>
<strong>New...</strong><br>
						<strong>Shapes file...</strong><br>
						Lets you choose the folder where you want to create a new vga file and requires
						you to enter a name for it (e.g. mygame.vga).<br>
						<strong>Single shape file...</strong><br>
						Lets you choose the folder where you want to create a new shape file and requires
						you to enter a name for it (e.g. mygame.shp).</li>
					<li>
<strong>Save...</strong><br>
						<strong>Map</strong><br>
						Saves the map of the edited game.<br>
						<strong>Shape info</strong><br>
						When you right click a shape in a vga file you can change the info of the shape.
						This saves this changed info.<br>
						<strong>Groups</strong><br>
						You can "bundle" shapes of vga files into groups to make world building easier.
						These groups get saved with this option.<br>
						<strong>Combos</strong><br>
						This saves the combination files.</li>
					<li>
<strong>Reload...</strong><br>
						<strong>Map</strong>'<span class="highlight">Ctrl+R</span>'<br>
						Reloads the map. All changes made since the last save get discarded.<br>
						<strong>Usecode</strong><br>
						Very useful when you edit the usecode of a game or add new usecode to an
						existing game. Normally this would require a restart of Exult.<br>
						<strong>Style CSS</strong><br>
						The interface of <em>Exult Studio</em> now supports customization via a CSS file (exult_studio.css) and if you
						changed that you can reload it without having to restart <em>Exult Studio</em>.</li>
					<li>
<strong>Connect</strong><br>
						Connects <em>Exult</em> and <em>Exult Studio</em> if one of them had to be restarted.</li>
					<li>
<strong>Preferences</strong><br>
						<strong>Image Editor Command:</strong><br>
						This executes the chosen image editor when you want to edit a shape when you
						right click it.<br>
						<strong>Image-Edit Filetype:</strong><br>
						Choose which filetype gets executed with the above chosen image editor.<br>
						<strong>Default Game Name:</strong><br>
						Choose the game <em>Exult Studio</em> opens by default. Use the name specified in exult.cfg.<br>
						<strong>Shape List Background:</strong><br>
						Sometimes the default black background may make certain shapes hard to see. Choose
						a different background color here.</li>
					<li>
<strong>Exit</strong>'<span class="highlight">Ctrl+Q</span>'<br>
						Exits <em>Exult Studio</em>.</li>
				</ul>
				<p>
					Note that the default location for saving and creation of new files is the PATCH folder
					of a game. If there is no PATCH folder specified <em>Exult Studio</em> will create one. See <a href="#can_do_atm">2.4. What you can do at the moment</a>.
				</p>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="edit_menu">4.3. Edit</a></strong></td></tr>
<tr><td>
				<ul>
					<li>
<strong>Cut  </strong>'<span class="highlight">Ctrl+X</span>'<br>
						Removes the selected object(s) and puts it into memory.</li>
					<li>
<strong>Copy  </strong>'<span class="highlight">Ctrl+C</span>'<br>
						Copies the selected object(s) into memory.</li>
					<li>
<strong>Paste  </strong>'<span class="highlight">Ctrl+V</span>'<br>
						Shows the crosshair cursor and copies the object(s) from the memory into the game
						where you left click the crosshair.</li>
					<li>
<strong>Properties...</strong><br>
						Shows the properties of the selected object. If more than one object is selected
						it shows the properties of the last selected object.<br>
						Only NPCs and eggs show different properties than if you select Basic properties.</li>
					<li>
<strong>Basic properties...</strong><br>
						Shows the properties of the selected object. If more than one object is selected
						it shows the properties of the last selected object.</li>
					<li>
<strong>Create egg...</strong><br>
						Create or edit eggs with this.
						See <a href="#Egg-editing">6. Egg editing</a> for detailed information.</li>
					<li>
<strong>Create NPC...</strong><br>
						Create or edit NPCs with this.
						See <a href="#NPC-editing">7. NPC editing</a> for more information.</li>
					<li>
<strong>Create Barge...</strong><br>
						Create a barge such as a magic carpet or a horse drawn carriage.
						See <a href="#barge_edit">9.1.</a> for more information.</li>
					<li>
<strong>Set Game Information</strong><br>
						Edit the game information shown in the Exult menu.</li>
				</ul>
				<p>
					When in map-edit mode, you can select shapes in Exult by left-clicking, or multiple shapes by
					ctrl+left-clicking.
				</p>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="mode_menu">4.4. Mode</a></strong></td></tr>
<tr><td>
				<p>
					It describes how the mouse behaves inside <em>Exult</em> when map-editing.
				</p>
				<ul>
					<li>
<strong>Move</strong><br>
						This is the normal mode where you can drag things with the mouse, or single-click
						to identify objects. In this mode you also select objects. A selected object is
						shown with a red outline. To select more than one object hold down '<span class="highlight">Ctrl</span>'
						while selecting. Move the selection '<span class="highlight">Ctrl+arrow</span>' (x,y coordinates) and
						'<span class="highlight">Ctrl+page</span>' keys (z coordinates).</li>
					<li>
<strong>Paint</strong><br>
						a single-left-click inserts the last-selected shape from 'shapes.vga', and dragging
						with the left-button inserts that shape in every tile (so you'd probably only want
						to do this with 8x8 flat shapes). Also, in 'Paint' mode, the footprint at ground
						level is shown (though this may be changed in the future).<br>
						If you hold the alt key down, random frames from the currently-selected shape will
						be painted (handy for grassy areas).</li>
					<li>
<strong>Paint with chunks</strong><br>
						works the same as the normal Paint mode only with chunks. Left-clicking the mouse
						paints the current chunk onto the map.<br>
						Take a look at <a href="#change_chunks">8.7. How to change chunks (the big red outlined square)</a>.</li>
					<li>
<strong>Pick for Combo</strong><br>
						Picks objects for a new combo file. Double-left-click to add objects to the combo,
						single-left-click to identify object. See <a href="#combo_edit">5.2. Creating Combination files</a>
</li>
					<li>
<strong>Select chunks</strong><br>
						You can select chunks and move them around with ctrl+arrow keys. This will leave
						generic chunks where the original chunks were, and is probably better used for moving
						parts of a map because you misjudged the position it needed to be in.</li>
				</ul>
				<p>
					Note that you can only drag objects in the game window when you are in "Move" mode.
				</p>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="tools_menu">4.5. Tools</a></strong></td></tr>
<tr><td>
				<ul>
					<li>
<strong>Locator...</strong>'<span class="highlight">Ctrl+L</span>'<br>
						shows where the current game window is within the entire map, and lets you move
						the view by double-clicking a location or by dragging the little box</li>
					<li>
<strong>New Combo..</strong><br>
						Creates a new Combo file. See <a href="#combo_edit">5.2. Creating Combination files</a>.</li>
					<li>
<strong>Unused shapes...</strong><br>
						searches the entire world being created to see if any of the shapes in shapes.vga
						are not in use. Have patience when doing this and treat the results with caution.</li>
					<li>
<strong>Compile Usecode...</strong><br>
						Compiles the usecode script usecode.uc in the patch folder
						(see <a href="#usecode_edit">5.3.</a>)</li>
					<li>
<strong>Fix old shape info</strong><br>
						Old versions of <em>Exult Studio</em> discarded some shape info data on saving. This option adds
						the discarded information back to old mods and patches.</li>
				</ul>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="map_menu">4.6. Map</a></strong></td></tr>
<tr><td>
				<ul>
					<li>
<strong>New</strong><br>
						Used to create a new map to use for multi-map support (see <a href="#multi_map">6.15. Multi-map support</a>).</li>
					<li>
<strong>Main/Map #xx</strong><br>
						The default map or the map that is currently being worked on. The game needs to be started in
						<em>Exult</em> to see the other maps.</li>
				</ul>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="tool_bar">4.7. Tool bar</a></strong></td></tr>
<tr><td>
				<ul>
					<li>
<strong>Play</strong><br>
						This is the same as pressing '<span class="highlight">Alt+Ctrl+M</span>' in Exult. It exits the Map Edit Mode
						and lets you play the game. By pressing it again you enter Map Edit Mode again.</li>
					<li>
<strong>Grid</strong><br>
						Shows a grid of white lines in the game window for better control on placing objects.</li>
					<li>
<strong>Edit lift:</strong><br>
						Changes the lift of a selected object in the game window. Lift means the distance of
						an object from the ground.</li>
					<li>
<strong>Hide lift:</strong><br>
						Hides objects that are above the chosen height.</li>
					<li>
<strong>Edit terrain</strong><br>
						See <a href="#can_do_atm">2.4. What you can do at the moment</a>. Note that a terrain is used in multiple instances of the
						map and changing it in one place changes it in all the others as well.</li>
				</ul>
			</td></tr>
</table>
<hr class="full-width">
<table class="full-width">
<tr><th class="left-aligned"><a id="Basic-editors">5. Basic editors</a></th></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="shape_edit">5.1. The shape editor</a></strong></td></tr>
<tr><td>
				<p>
					When you right click on a shape in the Shape browser (e.g. Files-Shapes.vga) you
					get some options of how to edit the shapes.
				</p>
				<ul>
					<li>
<strong>Info...</strong><br>
						Displays the information of an object. You can change a lot of stuff there and
						caution is advised. The information is saved by
						<a href="#file_menu">4.2. File</a>.</li>
					<li>
<strong>Edit...</strong>:<br>
						Brings up your image-editor on the chosen frame. When you save
						in the image-editor, ES will read the changes back within 5 seconds. This is
						especially convenient if you have 'gimp-remote', as it will open a window for
						the frame in an already-running gimp.</li>
					<li>
<strong>Edit tiled</strong>:<br>
						This is only for 'flat' (8x8) shapes. It forms an image
						from all the frames and brings it up in the image-editor. This is really
						handy for making lots of terrain frames like grass. A dialog lets you choose
						the dimensions.</li>
					<li>
<strong>New frame</strong>:<br>
						Creates a new frame after the currently-selected one. The 'insert' key
						also does this (and the 'del' key deletes a frame, though it's
						buggy if there's just one frame left).</li>
					<li>
<strong>Export/Import frame</strong>:<br>
						Let's you import a single frame from a .png file or
						export to a .png.</li>
					<li>
<strong>Export/Import all frames</strong>:<br>
						Let's you import all frames from .png files or
						export to a .png. To import the .png files need to be named with the same basename
						followed by the frame number (e.g. shape00.png, shape01.png). On export <em>Exult Studio</em>
						will ask you for a basename and folder to export to.</li>
					<li>
<strong>Export/Import shape</strong>:<br>
						Let's you import a single frame from a .png file or
						export to a .png.</li>
					<li>
<strong>New shape</strong>:<br>
						Gives you a dialog for choosing the shape #, as well as the
						initial # of frames.<br>
						You can also create a new font shape from TrueType or Type1 font files.
						It's mainly a convenience for someone creating a whole new game, as their
						only single-colored. Maybe in the future we'll have some functions to
						create two-colored fonts like the main one in Ultima VII, although it might take
						hand-editing to make the letters look that nice.</li>
				</ul>
				<p>
					<b><i><span style="font-size: larger">Note:</span></i></b> <strong>Edit...</strong> doesn't work on Windows system. It stores
					the shape as PNG file in GAMEDIR/itmp/ (e.g. blackgate/itmp). If you manually
					open the file with an image editor of your liking and then save it, ES doesn't
					read the changes back.
				</p>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="combo_edit">5.2. Creating Combination files</a></strong></td></tr>
<tr><td>
				<p>
					Create 'combination shapes', like a fence or an entire roof by selecting
					"Tools-New Combo" (see <a href="#tools_menu">4.5.</a>). When you run <em>Exult Studio</em> the first
					time a file called combos.flx gets automatically created in the "Patch" folder.
					Choose the 'Pick for Combo' choice in the 'Modes' menu, and an empty window should
					pop up. In the game window, double-click a group of objects, and they should appear
					in the window. You can then select an object there and tweak its position. When you
					are done hit apply and the combo gets temporally saved until you hit "Save all" or
					"Save - Save map".<br>
					You can drag and drop combinations into the game window.
				</p>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="usecode_edit">5.3. Custom Usecode</a></strong></td></tr>
<tr><td>
				<p>
					As hinted at (see <a href="#studio_terms">1.3.</a>) Usecode is actually what runs Ultima VII
					and therefore any game created with <em>Exult Studio</em>.<br>
					As of yet we do not have a Usecode editor/debugger. So writing your own Usecode is not
					that easy.
				</p>
				<p>
					For an example of how Usecode may look like download our SF Island mod for BG at
					<a href="https://exult.info/snapshots/SFisland.zip">https://exult.info/snapshots/SFisland.zip</a>.<br>
					In that zip you'll find a readme.txt which tells you how to run it.<br>
					You will also see two files called usecode.uc and usecode.
				</p>
				<p>
					Usecode.uc is the usecode script that will help you understand our usecode language.<br>
					When you run ucc (see <a href="#tools">9.4.</a>) with that file
					(e.g. "ucc -o usecode usecode.uc") you will get the file called usecode. This file
					'usecode' should be the same as the one in the zip file.
				</p>
				<p>
					Someone does have to write extensive documentation for this but I (Dominus) am not
					really up for that task.<br>
					Wizardry Dragon and Marzo made a good list of intrinsics
					<a href="http://www.thefeudallands.ca/srcdocs/files/intrinsics-uc.html">http://www.thefeudallands.ca/srcdocs/files/intrinsics-uc.html</a> and
					Pertex has written some documentation at
					<a href="http://web.archive.org/web/20071217233843/http://www.sophen.de/exult/">http://web.archive.org/web/20071217233843/http://www.sophen.de/exult/</a>
					(unfortunately Pertex' original documentation has vanished but at least the wayback machine
					can be of great help)
					that might be able help you.
				</p>
			</td></tr>
</table>
<hr class="full-width">
<table class="full-width">
<tr><th class="left-aligned"><a id="Egg-editing">6. Egg editing</a></th></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="eggs_explained">6.1. Explaining eggs</a></strong></td></tr>
<tr><td>
				<p>
					An egg in its simplest form is an object that is placed in the world, but is
					invisible to a normal user. When the player meets the requirements of an egg,
					it causes the egg to become activated. Eggs can activate anything from monster
					spawns, to changes in the current music, to the activation of custom usecode. You
					may want to place the eggs in map-editing mode because eggs don't activate in this
					mode. Then switch off map-editing mode to test how your egg will work during game
					play.
				</p>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="eggs_type">6.2. The different types of eggs</a></strong></td></tr>
<tr><td>
				<p>
					Currently <em>Exult Studio</em> supports the following types of eggs (more details follow):
				</p>
				<ul>
					<li>
<strong>Monster</strong>(spawning)<br>
						allows for the creation of a creature when certain conditions are met, usually
						when your character gets within a certain distance of the egg.
						It also allows for the creation of simple objects like walls or furniture to
						appear when the Avatar gets near. This could make for some interesting effects.</li>
					<li>
<strong>Jukebox</strong><br>
						sets the background music when the character enters a certain area.</li>
					<li>
<strong>Sound Effect</strong> and <strong>Voice</strong><br>
						will play a selected sound when the character meets the required values
						set in the egg creation menu.</li>
					<li>
<strong>Voice</strong> and <strong>Voice</strong><br>
						will play a speech track when the character meets the required values
						set in the egg creation menu.</li>
					<li>
<strong>Usecode</strong><br>
						allows for the activation of custom usecode when an egg's requirements are met.
						The creation of custom usecode is discussed (though not in depth) at
						<a href="#usecode_edit">5.3.</a>.</li>
					<li>
<strong>Missile</strong><br>
						create interesting objects like flamethrower traps.</li>
					<li>
<strong>Teleport</strong><br>
						transport the avatar anywhere on the map when certain conditions are met.</li>
					<li>
<strong>Weather</strong><br>
						temporarily set the in-game weather.</li>
					<li>
<strong>Path</strong><br>
						set the destination of a teleport egg to a specific object.</li>
					<li>
<strong>Button</strong><br>
						is used to activate eggs in the vicinity that are set to external</li>
					<li>
<strong>Intermap</strong><br>
						Now that Exult has multi-map support, this egg can be used to create a teleporter
						between maps.</li>
				</ul>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="place_eggs">6.3. Add, remove and edit eggs</a></strong></td></tr>
<tr><td>
				<p>
					The most convenient way to create an egg is to select <strong>Create new egg</strong>
					from the edit menu. This will pop up the <strong>Exult Egg</strong> window. Here you
					can select the type of egg you wish to create and the properties you are going to
					give it. When you are happy with the egg press <strong>apply</strong> and then enter
					<em>Exult</em> and place the egg wherever you like. To remove an egg, select it while in
					map-edit mode and press '<span class="highlight">ctrl+x</span>' to cut the egg. You can still paste it
					elsewhere if you like. To edit an egg, double click it in map editing mode. This
					will bring up the egg window where you will be able to change an existing egg's
					attributes.
				</p>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="eggs_properties">6.4. Properties of eggs</a></strong></td></tr>
<tr><td>
				<p>
					Before you select the type of egg you want you can edit basic properties of eggs.
					These are:
				</p>
				<ul>
					<li>
<strong>Probability</strong><br>
						of the egg being activated. By giving an egg a probability of 100 you can ensure
						that whenever the requirements necessary to make an egg activate are met, the egg
						will activate. With a probability of 0 nothing will ever happen when the egg's
						requirements are met. A probability anywhere between 0 and 100 will cause the
						activation of an egg to be a random event.</li>
					<li>
<strong>Distance</strong><br>
						allows you to set how far a character needs to be from an egg in order to activate
						it. Each distance unit is equal to one tile (8x8 pixel) of the map.</li>
					<li>
<strong>Criteria</strong><br>
						is very important as it sets what needs to be done to activate the egg. The
						options are:<br>
						<strong>Cached in</strong> - An egg with this characteristic is activated when
						the chunk it is on is loaded into memory. This usually happens from several screens
						away.<br>
						<strong>Party near</strong> - causes an egg to be activated whenever the player
						controlled character or any of his party members wander within the area specified
						by the distance option.<br>
						<strong>Avatar near</strong> - exactly the same as party near except only registers
						where the main character is moved, ignoring actions by the party members.<br>
						<strong>Avatar far</strong> - Its like Avatar near except with a twist. This
						property allows you to walk into the area specified by the distance property but then
						as you leave the area the egg will be activated as you distance yourself from it.
						Can be great for sneak attacks from behind.<br>
						<strong>Avatar footpad</strong> - In this case the distance property is ignored and
						the Avatar has to physically step onto the egg.<br>
						<strong>Party footpad</strong> - This option is identical to the Avatar footpad option
						except if either the main character or one of his companions stumbles onto the egg it
						will be activated.<br>
						<strong>Something on</strong> - This egg is activated whenever an object is placed
						<strong>AND</strong> removed within the area specified by an egg.<br>
						<strong>External</strong> - Eggs set to the external characteristic will be activated
						by button eggs in the vicinity.</li>
					<li>
<strong>Flag</strong><br>
						final attribute you can give an egg to determine whether it will be activated or not.
						As a note you can mix and match flags, you can set an egg to nocturnal once only or
						nocturnal auto-reset.Not that an egg will be reactivated after you walk about a
						screenful away and then return if the the flags "once-only" or "auto-reset" are not
						set.<br>
						<strong>Nocturnal</strong> - Any egg with this setting will only be activated during
						the nighttime. Great for setting the spawning of creatures of the night, or giving
						some nice night time music.<br>
						<strong>Hatched</strong> - This creates an egg that has already been activated. It
						is inactive and will not do anything.<br>
						<strong>Once-Only</strong> - Any egg with this flag applied will only hatch once and
						then disappear from the game world.<br>
						<strong>Auto-reset</strong> - Eggs with this flag attached will continue to activate
						every time the conditions set in the egg menu are met.</li>
				</ul>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="place_monsters">6.5. Placing a monster spawning egg</a></strong></td></tr>
<tr><td>
				<p>
					The first thing you want to consider before placing monster spawn is some of the basic egg
					attributes. What probability do you want? What distance? Will it be a nocturnal creature?
					Next you have to set the monster specific egg attributes. The first question is probably
					what type of monster you want to place. You can now switch to the main <em>Exult Studio</em> window,
					select shapes.vga and choose a shape. Drag and drop this on the "Exult Egg" window. Frame #
					isn't overly important when placing a monster, but for placing an object it can be very
					important. Enter these attributes into their respective form. You next have to set the
					monster's schedule. The various schedules that are important for a monster spawn are
					discussed next.<br>
					You also have to set the spawned monster's alignment.
					Any creature set to a <strong>Neutral</strong> alignment will ignore the Avatar and friends,
					following their schedule until attacked. Any creature set to <strong>Evil</strong> will
					immediately attack the Avatar if you get too close. A <strong>Good</strong> creature will
					help the avatar in fights, but will also attack the Avatar if he is caught stealing or
					killing "good" NPCs. It will also attack evil Monsters or NPCs regardless of the Avatar.
					And finally <strong>Chaotic</strong> creatures or monsters will attack anyone, regardless
					of their alignment<br>
					Next you can set the number of creatures you want to appear using the count option. You
					can set anywhere from 1 to 31 monsters.<br>
					Finally you can assign a Usecode number or name to the spawned monster (leave this blank if
					you don't want to set one).<br>
					When you're finished setting the egg the way you want, simply press "Apply" and place the
					egg on the world map.<br>
					<img alt="Exult Egg window" src="images/studio03.png"><br>
				</p>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="creature_schedules">6.6. Schedules of Monsters and Creatures</a></strong></td></tr>
<tr><td>
				<p>
					You can have the full set of schedules that NPCs can have but for a spawned  monster you will
					most like want to use one of the following schedules.<br>
				</p>
				<ul>
					<li>
<strong>Horiz. Pace</strong><br>
						Any creature given this schedule will pace back and forth in a horizontal manner. Great
						for guards and sentries</li>
					<li>
<strong>Vert. Pace</strong><br>
						Same as the horizontal pace, except in a vertical direction.</li>
					<li>
<strong>Hound</strong><br>
						Any creature given this schedule will slowly follow the main character wherever he goes.
						Good for creatures that won't take no for an answer.</li>
					<li>
<strong>Stand</strong><br>
						Creatures given this setting will stand in one place until given a better reason to move.</li>
					<li>
<strong>Loiter</strong><br>
						Creatures given this setting will wander aimlessly. They will move in random directions
						a bit at a time.</li>
					<li>
<strong>Wander</strong><br>
						Any creature given this setting will slowly move around a fairly large area.</li>
					<li>
<strong>Wait</strong><br>
						Creatures given this setting will complacently stay in one place.</li>
					<li>
<strong>Shy</strong><br>
						Creatures given this setting are afraid of the main character and will slowly wander away
						from the Avatar.</li>
					<li>
<strong>Waiter</strong><br>
						Give a creature this schedule and watch him run back and forth around a crowded area like
						he has a purpose.</li>
					<li>
<strong>Graze</strong><br>
						An awful lot like loiter except the character seems to stay a little more to one area.</li>
					<li>
<strong>Duel</strong><br>
						Doesn't do a whole lot by itself, but put two neutral creatures with these settings
						beside each other and its rumble time. This also works by placing them near training
						dummies or archery targets. For an extra laugh place 10 spawns each set for 31 guards
						to appear in dueling mode.</li>
					<li>
<strong>Patrol</strong><br>
						An NPC with this schedule will follow "path" markers (shape #607). The default behavior is to go
						to "1", then "2", etc., and return to "1" when no higher numbers are found. There are also some
						fairly complicated rules that depend on the "quality" that you give to each of the path markers.
						(<em>Exult Studio</em> should have a dialog to create these, so I wouldn't worry about them right now.)<br>
						<img alt="Guards duel" src="images/studio04.png"><br>
</li>
				</ul>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="audio_eggs">6.7. Jukebox, Sound Effects and Voice eggs</a></strong></td></tr>
<tr><td>
				<p>
					Using these eggs couldn't be more straightforward, select the sound effect, music score,
					or recorded digital voice you desire and then place them onto the map. When a character
					activates the egg they begin to play. You can set music and sound effects to play on a
					continuous loop for continuous effects such as water fountains or short pieces of
					background music that you don't want to quit until a new music egg is triggered.<br>
					In the game window you can test and find out the # of the audio by pressing
					'<span class="highlight">Alt+1</span>'.
				</p>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="usecode_eggs">6.8. Usecode eggs</a></strong></td></tr>
<tr><td>
				<p>
					Usecode eggs have many different functions that will be discussed later. The important
					thing to remember about the usecode egg menu is that function number is where you insert
					the hex value of the usecode function that this egg is going to execute.
				</p>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="missile_eggs">6.9. Missile eggs</a></strong></td></tr>
<tr><td>
				<p>
					When you place a missile egg, the first thing you have to set is the egg's activation
					attributes. Do you want an egg to activate when the Avatar is near a certain spot, or should
					someone have to directly step on the trap?<br>
					To choose the type of missile you want to shoot from your trap, select shape number 1 for a
					fireball that doesn't do damage, 3 for a lightning bolt, and 6 to shoot arrows. Select shape
					9 for a fireball that actually does damage. You can also set the direction you want the trap
					to fire when it is activated, you can choose any of the 8 cardinal directions.<br>
					You can also use the delay timer to set how steady you want the stream of projectiles to be.
					1 makes a constant stream of projectiles, while a value of 10 makes for the occasional danger.
					Don't set the timer to 0 seconds, <em>Exult</em> REALLY doesn't like this.<br>
					Using these options you can make some pretty dangerous obstacles for the Avatar to avoid.
				</p>
				<p>
					<strong>Note:</strong> Shape numbers assume you are using either BG or SI data. When making
					a new game you can set weapons info of shapes yourself and choose which shape numbers are
					used by each weapon.<br>
					<img alt="missiles" src="images/studio05.png"><br>
				</p>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="teleport_eggs">6.10. Teleport eggs</a></strong></td></tr>
<tr><td>
				<p>
					The primary purpose of the teleport egg is to simply move a character from one place to another
					instantly without forcing them to walk there. Think of any dungeon teleporter that moves you
					from one place to another.<br>
					The teleport egg has two primary modes. The first mode possessed by the teleport egg is to
					choose the location that the party will be warped to by specifying a location on the over world
					map using x and y co-ordinates. If you place an egg on the map and a character meets the
					criteria specified by the egg they will be whisked away to the x and y coordinates set by the
					egg. This option can't be used to move your character onto roofs because there is no z option
					provided.<br>
					To switch to the other mode of teleporting, press the use coordinates button.
					This directs the teleported towards a numbered path egg. By giving a path egg a unique number
					and then placing it on the map any teleporter set to this egg will transport the player there.
					The advantage of teleporting using a path egg is you can teleport your character onto the second
					floor of a building if the path egg is placed up there.
				</p>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="weather_eggs">6.11. Weather eggs</a></strong></td></tr>
<tr><td>
				<p>
					There are two attributes of the weather egg that one needs to worry about.
				</p>
				<ul>
					<li>
<strong>Weather</strong><br>
						The most important attribute as this sets the effect you can expect when an egg
						is activated.<br>
						<strong>Halt</strong> - Halts and current weather and set the world to a pleasant sunny
						default.<br>
						<strong>Storm</strong> - Lots of thunder and lightning and the world darkens.<br>
						<strong>Cloudy</strong> - Some rain, not a lot else going on<br>
						<strong>Magic storm</strong> - Lots of thunder and lightning and the world darkens. As
						well this type of storm eliminates the character's magic casting abilities while the
						storm is in affect.</li>
					<li>
<strong>Duration</strong><br>
						sets the how long the chosen weather will last. The time is measured in game time and can
						last up to 255 minutes.</li>
				</ul>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="path_eggs">6.12. Path eggs</a></strong></td></tr>
<tr><td>
				<p>
					The path egg is useful for placing an individual teleport location by hand. Give the path egg
					a unique number and then direct a teleport egg towards it. If the person steps on a teleporter
					set to the same number as the path egg, they will be teleported there.<br>
					Note that it only works up to a distance of 256 tiles in each direction (in a square, not a
					circle). It also doesn't world-wrap, meaning  a teleport egg at the far east edge won't find
					a path egg at the far west edge.
				</p>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="button_eggs">6.13. Button eggs</a></strong></td></tr>
<tr><td>
				<p>
					The button egg has the interesting ability to activate all eggs in the immediate vicinity that
					are set to external. You can set the area around the egg that will be affected by increasing
					the distance setting, keeping in mind that each distance setting is equal to 1 tile (8x8 pixel).
				</p>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="intermap_eggs">6.14. Intermap eggs</a></strong></td></tr>
<tr><td>
				<p>
					An intermap egg works precisely the same as a regular teleport egg except it can be used to
					teleport the main character between maps. The <strong>Coordinates</strong> options are used
					to set the precise tile the Avatar will be teleported to on the opposing map. The
					<strong>Map Number</strong> condition is used to set which map the main character will appear at.
				</p>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="multi_map">6.15. Multi-map support</a></strong></td></tr>
<tr><td>
				<p>
					Exult now supports multiple maps. To create new maps select <strong>New</strong> from the
					<strong>Map</strong> menu. You now have an option to copy information over from an existing map.
					The <strong>Terrain</strong> option allows you to retain the lay of the land. If this option
					isn't selected your new map will be entirely ocean. <strong>Fixed</strong> and
					<strong>Moveable objects</strong> allow you to retain the remaining objects from the previous map
					(Jeffrey's favourite idea is to entirely copy the current Exult map and create a new 'Bizarro-Brittania').
					You can quickly switch between maps in game using the command '<span class="highlight">ctrl-alt-t</span>'.
				</p>
			</td></tr>
</table>
<hr class="full-width">
<table class="full-width">
<tr><th class="left-aligned"><a id="NPC-editing">7. NPC editing</a></th></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="npc_edit">7.1. Editing an existing NPC</a></strong></td></tr>
<tr><td>
				<p>
					To edit an NPC with <em>Exult Studio</em> you need to be running a game in <em>Exult</em> and of course <em>Exult Studio</em>.
					Enable map editing and double click the NPC you want to edit. The <em>Exult Studio</em> NPC window will pop
					up with all the stats of the NPC.<br>
					<img alt="NPC window" src="images/studio10.png">
				</p>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="npc_create">7.2. Creating a new NPC</a></strong></td></tr>
<tr><td>
				<p>
					If you want to create a new NPC you have to select <strong>Create NPC</strong> in the edit menu.
					This will pop up the same NPC window as when you double click an NPC. Now enter all the properties
					of the new NPC as will be described in the following text. When you are satisfied with your new
					NPC hit Apply and you will be asked to choose a spot in <em>Exult</em> to place the NPC.
				</p>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="npc_basic">7.3. Basic NPC settings</a></strong></td></tr>
<tr><td>
				<ul>
					<li>
<strong>Face #</strong><br>
						Drag and drop a face from Faces.vga in the main <em>Exult Studio</em> window to the face field in
						the NPC window.</li>
					<li>
<strong>Name</strong><br>
						Choose a name for your NPC.</li>
					<li>
<strong>Usecode</strong><br>
						Here you enter the usecode that is associated with the NPC.</li>
					<li>
<strong>NPC #</strong><br>
						This cannot be changed.</li>
					<li>
<strong>Ident</strong><br>
						This is a number used in usecode in SI to differentiate between different NPC possibilities.
						It can be used to decide which set of conversation options some party members have, as well
						as making some "monster" NPCs have a more persistent identity despite not having a set NPC
						number</li>
					<li>
<strong>Shape #</strong><br>
						Either drag and drop a shape from shapes.vga into the line (or the black box to the
						right of it) or enter a shape number.</li>
					<li>
<strong>Frame #</strong><br>
						The frame of the above given shape the NPC starts with.</li>
					<li>
<strong>Alignment</strong><br>
						Any NPC set to a neutral alignment will ignore the Avatar and friends, following their
						schedule until attacked. A "good" NPC will help the avatar in fights, but will also attack
						the Avatar if he is caught stealing or killing "good" NPCs. It will also attack evil Monsters
						or NPCs regardless of the Avatar.<br>
						Any NPC set to hostile will immediately be attacked by the Avatar when you go into combat mode.
						Some NPCs will not talk to you or will even attack you on sight when set to hostile.<br>
					</li>
					<li>
<strong>Attack Mode</strong><br>
						You can choose the mode in which the NPC attacks when it goes into combat. Choose
						between Nearest, Weakest, Strongest, Berserk, Protect, Defend, Flank, Flee, Random
						and Manual. We don't advice using Manual as for most NPCs you will not be able to
						actually change the attack mode manually.</li>
				</ul>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="npc_properties">7.4. NPC Properties</a></strong></td></tr>
<tr><td>
				<p>
					The vital properties of an NPC are set in the Properties tab of the NPC Window.
				</p>
				<ul>
					<li><strong>Strength</strong></li>
					<li><strong>Dexterity</strong></li>
					<li><strong>Intelligence</strong></li>
					<li><strong>Health</strong></li>
					<li><strong>Combat</strong></li>
					<li>
<strong>Mana</strong><br>
						How much mana you have left for casting spells. Only useful for members of the party
						and if the game allows party members casting spells.</li>
					<li>
<strong>Max. Mana</strong><br>
						Maximum amount of mana you can have. Only useful for members of the party
						and if the game allows party members casting spells.</li>
					<li>
<strong>Training</strong><br>
						How much Training points the NPC has left and can use at trainers. Only useful for
						party members.</li>
					<li><strong>Experience</strong></li>
					<li>
<strong>Food Level</strong><br>
						How hungry is the NPC. Only relevant for party members. Normal NPCs don't starve
						and need to be fed.</li>
				</ul>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="npc_flags">7.5. NPC Flags</a></strong></td></tr>
<tr><td>
				<p>
					Here you can set special properties of NPCs. Some are only set for special NPCs, party members
					or just the Avatar. A lot are also only available in SI. Here a brief listing of the flags and
					when needed a short description.
				</p>
				<ul>
					<li><strong>Asleep</strong></li>
					<li><strong>Confused</strong></li>
					<li><strong>Dancing</strong></li>
					<li><strong>Fly</strong></li>
					<li><strong>In motion</strong></li>
					<li><strong>Invisible</strong></li>
					<li><strong>No Magic</strong></li>
					<li><strong>Petra</strong></li>
					<li>
<strong>Protection</strong><br>
						When you cast the protection spell on an NPC this flag gets set.</li>
					<li>
<strong>Swim</strong><br>
						Allows an NPC to walk on water.</li>
					<li>
<strong>Might</strong><br>
</li>
					<li>
<strong>Bleeding</strong><br>
						The NPC looses blood, and leaves a trail of blood when he moves.</li>
					<li><strong>Conjured</strong></li>
					<li>
<strong>Don't render (BG) - Don't move (SI)</strong><br>
						Causes an NPC to become invisible or can't move</li>
					<li>
<strong>Freeze</strong><br>
						The NPC is cold and needs warmer clothing.</li>
					<li>
<strong>In party</strong><br>
						The NPC is a member of the party.</li>
					<li>
<strong>Met</strong><br>
						The Avatar has previously spoken to the NPC.</li>
					<li>
<strong>Don't move (BG) - Don't render (SI)</strong><br>
						Causes an NPC to become invisible or can't move</li>
					<li><strong>Poisoned</strong></li>
					<li><strong>Female</strong></li>
					<li><strong>Tattooed</strong></li>
					<li>
<strong>Walk</strong><br>
						An NPC without this flag set cannot move</li>
					<li><strong>Charmed</strong></li>
					<li><strong>Cursed</strong></li>
					<li>
<strong>Ethereal</strong><br>
						This makes it possible for the NPC to behave like a ghost
						(walk through walls, walk on water...)</li>
					<li><strong>In action</strong></li>
					<li>
<strong>Read</strong><br>
					This NPC can read runic or ophidian (useful for the Avatar so
					signs can be read directly)</li>
					<li><strong>Naked</strong></li>
					<li><strong>Paralyzed</strong></li>
					<li><strong>Polymorph</strong></li>
					<li><strong>Summoned</strong></li>
					<li>
<strong>Tournament</strong><br>
						In combat this NPC is unable to die.</li>
					<li><strong>Zombie</strong></li>
				</ul>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="npc_schedules">7.6. NPC Schedules</a></strong></td></tr>
<tr><td>
				<p>
					In this Tab you can set the schedule the NPC follows normally.
				</p>
				<ul>
					<li>
<strong>Activity</strong><br>
						With the button Set you can choose the schedule. Keep in mind that some schedules also
						require items, e.g. for the Blacksmith activity you need a smithy to work in. If there
						is no such item near the location you set, the NPC will use the next near item in the
						vicinity, for example the sleep activity will have the NPC wander to the next available
						bed.<br>
						To clear the activity set it to --None--.</li>
					<li>
<strong>Location</strong><br>
						Enter the x and y coordinates of the place you want the NPC to follow his schedule at.
						Unfortunately you cannot (yet) set the z coordinate (on which floor of a house the
						schedule begins). By placing the Avatar at the spot for the scheduled activity and
						pressing the <strong>Game</strong> button, <em>Exult Studio</em> will fill out the coordinates.<br>
						Also by pressing '<span class="highlight">F2</span>' at a place, the cheat screen will show you the coordinates
						in hex and decimal and you can use either system to enter the location.</li>
				</ul>
			</td></tr>
</table>
<hr class="full-width">
<table class="full-width">
<tr><th class="left-aligned"><a id="Basic-map-editing">8. Basic map editing</a></th></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="learn_edit">8.1. Learning the basics of map editing</a></strong></td></tr>
<tr><td>
				<p>
					The first thing one will probably want to do once they have <em>Exult Studio</em> running is to begin
					creating their own little world. The first step towards this is learning how to move objects
					and chunks, and placing items from <em>Exult Studio</em> into the game world. And the best way to
					learn is by using an existing game like BG or SI.
				</p>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="move_obj">8.2. Moving objects around</a></strong></td></tr>
<tr><td>
				<p>
					Perhaps the simplest way of making your world truly unique is to start out by moving existing
					structures around. Move is the default option in <em>Exult Studio</em>, but to ensure you are in move
					mode select it from the mode menu. You know you are in map-editing mode when a red grid is
					highlighted across the world. You can select any object (notice the red highlighting of
					selected objects) with the mouse and move it around. This works using a simple drag and drop
					approach. Simply grab a tree with a right click and place it on the other side of your viewing
					area. The only thing you can't drag and drop are chucks, which are the large ground sections
					mapped by the red grid system. If you want to place one object on top of another, just drag it
					on top and release. If the object can be supported in that position it will stay there. For a
					brief guide on placing an object that won't have support, but will be floating see further down.
					You can also change an object's x and y coordinates by selecting the object and pressing
					'<span class="highlight">ctrl+arrow keys</span>'. An object's z coordinate can be changed by selecting the object and
					pressing '<span class="highlight">ctrl+page up</span>' or '<span class="highlight">ctrl+page down</span>'.
				</p>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="place_obj">8.3. How to place objects from Exult Studio</a></strong></td></tr>
<tr><td>
				<p>
					This could not be simpler in <em>Exult Studio</em>. Simply select a shape from the shapes.vga menu and
					drag it into <em>Exult</em>. In Windows I personally prefer to drag the item onto the taskbar, hovering
					over the <em>Exult</em> window, wait for the window to switch and then place the item. Once you
					found where you would like the object to appear, simply let go of the mouse and the object is
					placed. If you're unhappy where you placed the object, simply drag and drop it somewhere else.<br>
					On Windows you will get a green grid that will show you exactly where you can expect the object
					to show up. With the switch to SDL2's dropfile function we lost the green grid on other Operating
					Systems.<br>
					<img alt="green grid" src="images/studio06.png">
				</p>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="control_obj">8.4. Mark, delete, copy, make multiple objects</a></strong></td></tr>
<tr><td>
				<p>
					To mark multiple objects hold down '<span class="highlight">ctrl</span>' and click on the objects you want to mark.
					This is very useful when you want to handle a whole bunch of objects (like deleting, copying
					or multiplying objects).
				</p>
				<p>
					If you placed an object onto the world map that you now feel should be removed, select the
					object with your mouse and press '<span class="highlight">ctrl+x</span>' or select the cut option from the <em>Exult Studio</em>
					Menu.<br>
					This will remove the object from the world and place it into memory (if you don't want to keep
					the object in memory simply press '<span class="highlight">del</span>' when it is selected). If you want to the object
					somewhere else, press '<span class="highlight">ctrl+v</span>' or select the paste option, this will create a set of
					crosshairs that you can use to place your new object. To create multiple copies of an object,
					select an object so it has a red outline and press '<span class="highlight">ctrl+c</span>' or select the copy option.
					You can now paste another copy of the object on the world using paste.
				</p>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="float_obj">8.5. Making floating objects like bridges</a></strong></td></tr>
<tr><td>
				<p>
					So you want to create an unsupported section of balcony, or you want to make it look like that
					Kilrathi ship you just placed is actually hovering above the ground. To do this set the
					object's z height by changing the value in the grid height menu. If you want your character to
					be able to walk underneath an object it must be set 4 grid heights above the surface which your
					character is walking on. If you want your character to be able to walk on an object, the top of
					the object must be no more then 1-grid height above the surface the character is currently on.<br>
					<img alt="crate bridge" src="images/studio07.png">
				</p>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="change_frame">8.6. How to change the frame of an object</a></strong></td></tr>
<tr><td>
				<p>
					So you see an apple tree on the map, but you think you'd much rather have a palm tree. <em>Exult Studio</em>
					supports many different frames for each object. To change the frame of an object, select an
					object so it highlights red and select the "Basic Properties" option. The <em>Exult</em> Object box
					should appear. This gives you the option to select a different frame for the object to see what
					other frames this particular object has. The <em>Exult</em> Object option also allows you to manually set
					the height of an object that already exists on the map. Another way to select an objects frame,
					is to select the object from the shapes menu and then using the frames option in the lower right
					hand corner select just the frame you're looking for. Then you can then drag the object into your
					world normally.
				</p>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="change_chunks">8.7. How to change chunks (the big red outlined square)</a></strong></td></tr>
<tr><td>
				<p>
					To change the large pieces of map that are sandwiched between the red lines of the map-editing
					grid you have to place a chunk, instead of a shape. The various chunks available in <em>Exult Studio</em>
					are located under the heading U7chunks. The chunks are many large pieces of preformed landscape
					that help give the world a more consistent feel. They also make the job of editing the world
					somewhat easier. To place a chunk simply place it the same way that you would a shape, but keep
					in mind that chunks can only be placed within the red squared formed by the map-editing grid.<br>
					<img alt="chunk placing" src="images/studio08.png">
				</p>
				<p>
					There are a lot of interesting chunks already available in the chunks.vga file, but what if you
					want to make some minor changes to the design of a pre-made chunk? Maybe make the Britannia
					transport system a little more safe by painting a yellow line down the centre of each road chunk.
					By selecting the Edit terrain option you can change a chunk by placing objects directly onto a
					chunk, doing this permanently changes the chunk you are editing so be careful. It may not look it,
					but if you then select the chunk you edited from the chunks.vga menu the chunk you place will
					have the changes you made. Also be careful because when you edit a chunk you change every chunk
					in the game that is the same as the chunk you're editing. To solve this problem go into the chunks
					menu and right click the chunk you want to edit and select new, then duplicate. You now have two
					identical chunks. You can then place your new chunk onto the world and edit it how you like
					without editing the other chunks. You can now place this duplicate chunk wherever you like and
					it will have the changes you made.
				</p>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="multi_obj">8.8. How to make a structures consisting of multiple objects</a></strong></td></tr>
<tr><td>
				<p>
					Many structures present in <em>Exult</em> consist of multiple objects. Examples of these are roofs,
					long sections of wall or fence. Constructing a roof can be a long and difficult process
					because it involves properly positioning multiple small objects and then manually setting
					each object's height. That's where the New Combos option located in the Tools menu comes in
					handy. Select the New Combos option and then enter the window where Exult is running. Your
					mouse will have become a cross hair. Double click on all the objects you plan on adding to
					your new object. In this example we're making a roof by double-clicking all sections of the
					roof.<br>
					<img alt="combo builder" src="images/studio09.png">
				</p>
				<p>
					As you double-click each object, the selection appears in the combo window showing you exactly
					what you have selected. Now give the object a name and select Okay. The object will now be
					temporarily saved in the combos.flx menu. The object can now be placed on the map normally. If
					you make a combo you want to keep, make sure to save before quitting <em>Exult Studio</em>. You can
					continue editing your combos even after you originally finish them, by double right clicking
					them from the combo menu.
				</p>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="other_combo">8.9. More things you can do with Combos</a></strong></td></tr>
<tr><td>
				<p>
					One problem with the <em>Exult Studio</em> combo option is that when the combo is created many of the
					items are not in the rendering order you would want them to appear in game. To fix this problem,
					you can select individual items in the combo-builder window and by changing their viewing order
					you can make sure that all items appear exactly how you want them. You can also use the x,y,z
					coordinates to move individual items in your combo around to make sure that your combo looks
					exactly how you want. If you added an object to your combo that you don't wish to keep, simply
					select the item from the combo menu and press remove.
				</p>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="paint_forest">8.10. Use the paint feature to quickly create a forest</a></strong></td></tr>
<tr><td>
				<p>
					The best way to create multiple objects fast and conveniently is to use the paint option. If
					you want to make a forest of trees fast, select the tree from the shapes menu and then select
					the paint option from the mode menu. Select the <em>Exult</em> window and you can now quickly place
					multiple objects with the green grid.
				</p>
			</td></tr>
</table>
<hr class="full-width">
<table class="full-width">
<tr><th class="left-aligned"><a id="Miscellaneous">9. Miscellaneous</a></th></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="barge_edit">9.1. Creating a boat, flying carpet, or horse drawn carriage</a></strong></td></tr>
<tr><td>
				<p>
					By double clicking on a barge (horse drawn carriage/magic carpet) in map editing mode one can
					alter the properties of the barge through the barge editor. The Barge Editor allows one to alter
					the size of a currently existing barge. By increasing the size of the Magic Carpet you can use
					the added space to create some sort of a flying battleship. Theoretically the maximum size of a
					barge is 100x100, but an object that large will fill the entire screen and become extremely
					difficult to steer.
				</p>
				<p>
					To create your own barge, you first need to chose Create Barge, select the dimensions of your
					barge and place them in the map. To create a magic carpet, place the small blue tiles from the
					magic carpet (shape# 840, frame 57) within the barge area and place the required number of seats
					on top of the magic carpet tiles. You now have your own custom carpet. Magic carpet tiles are only
					required for the seats your party will sit on, by expanding the area of the barge further you can
					create a custom area where you can place walls and other flooring tiles. Unfortunately there are
					limitations, all objects must be placed no more than four values in the vertical direction from the
					floor. <strong>For a craft to work you must have at least as many seats as party members</strong>.
				</p>
				<p>
					To create a cart you need only place a floor tile from the carriage (shape 652, frame 7) within the
					barge area and place a seat on top of it but you must have a deed from one of the carriage vendors.
					If you place a draft horse on your cart then you will need a cart deed (shape 797, frame 0) that had
					the same quality set as the draft horse. The quality for an object can be set using the <em>Exult Studio</em>
					object tool.
				</p>
				<p>
					You can also create a ship by placing the deck (shape 700, frame 2) a chair, and an unfurled sail within
					a barge created on the water. You also need a deed for the boat. To create a boat deed need a scroll that
					has the same quality value as the sail of your boat.
				</p>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="custom_shapes">9.2. Importing and creating your own custom shapes</a></strong></td></tr>
<tr><td>
				<p>
					Importing a shape into <em>Exult Studio</em> is quite easy. Simply select the type of object you wish to
					create (shape, chunk, gump, etc.) and right-click on the display window and select <strong>New Shape</strong>
					or <strong>New Frame</strong> depending on which is pertinent. Once the new shape is created, right
					click on the new shape and select <strong>Import frame</strong>. Now select the desired shape from
					the folder. You must now save all in <em>Exult Studio</em> and both <em>Exult Studio</em> and <em>Exult</em> need to be restarted
					before the newly imported shape can be used in a game.
				</p>
				<p>
					<b><i><span style="font-size: larger">Note</span></i></b><br>
					All shapes imported into <em>Exult Studio</em> must be in either .png or .shp format. .png is a standard format
					while .shp is an <em>Exult</em> specific file format. We recommend
					<a href="http://www.gimp.org">The Gimp (The GNU Image Manipulation Program)</a> for editing
					graphic files for several reasons. It is free, it is relatively easy on hardware, and it has all the
					necessary functions for creating and importing shapes into <em>Exult Studio</em>.
				</p>
				<p>
					<b><i><span style="font-size: larger">Important</span></i></b><br>
					For a shape to be compatible with <em>Exult Studio</em> it must be saved as a 255 colour interlaced .png/.shp file.
					RGB or grayscale images are not compatible. Transparent sections will remain transparent in <em>Exult</em>.
				</p>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="custom_font">9.3. How to create a custom font?</a></strong></td></tr>
<tr><td>
				<p>
					For your convenience <em>Exult Studio</em> accepts .ttf (true type font) files, which is the standard file
					format for text in a Windows machine. Select new shape from fonts.vga, here you can either
					manually overwrite a single frame of a font or you can import an entire .ttf file by selecting
					the <strong>From font</strong> option. To overwrite an existing font set the shape of your
					newly imported font to that of a preexisting font. Unfortunately newly imported .ttf files
					don't have the correct offsets and you letters will look stuck together. To fix that you will
					have to manually edit all font frames to give them proper spacing.
				</p>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="tools">9.4. Other tools that might be useful</a></strong></td></tr>
<tr><td>
				<p>
					In the process of creating <em>Exult</em> the team came up with some useful
					tools that might help in editing/making a game.<br>
					These can be built from the <em>Exult</em> source or you can download
					the Windows binary snapshot. The source and binary snapshot can be found at
					<a href="https://exult.info/download.php">https://exult.info/download.php</a>.<br>
					The tools are:
				</p>
				<ul>
					<li>
<strong>mockup</strong>:<br>
						This is a simple program that converts a 8 bpp indexed file into a u7map based on a colour and u7chunk association.
						See the
						<a href="https://raw.githubusercontent.com/exult/exult/master/mapedit/tools/mockup/README">manual</a>.</li>
					<li>
<strong>smooth</strong>:<br>
						More advanced companion of mockup.
						See the
						<a href="https://raw.githubusercontent.com/exult/exult/master/mapedit/tools/smooth/README">manual</a>.</li>
					<li>
<strong>expack</strong>:<br>
						lets you extract and create Flex files.
						See the
						<a href="https://raw.githubusercontent.com/exult/exult/master/tools/expack.txt">manual</a>.</li>
					<li>
<strong>ipack</strong>:<br>
						a tool for creating and updating <em>Exult</em> and Ultima VII image archives, such as 'shapes.vga'.
						See the
						<a href="https://raw.githubusercontent.com/exult/exult/master/tools/ipack.txt">manual</a>.</li>
					<li>
<strong>shp2pcx</strong>:<br>
						converts all frames contained in a Shape file into PCX-format image files.
						See the
						<a href="https://raw.githubusercontent.com/exult/exult/master/tools/shp2pcx.txt">manual</a>.</li>
					<li>
<strong>splitshp</strong>:<br>
						can be used to combine frames of a Shape file into one file, or split a Shape
						file into its component frames.
						See the
						<a href="https://raw.githubusercontent.com/exult/exult/master/tools/splitshp.txt">manual</a>.</li>
					<li>
<strong>textpack</strong>:<br>
						can be used edit text flex files.
						See <a href="https://raw.githubusercontent.com/exult/exult/master/tools/textpack.txt">manual</a>.</li>
					<li>
<strong>ucc</strong>:<br>
						can be used to create custom usecode (see <a href="#usecode_edit">5.3.</a>).<br>
						See the
						<a href="https://raw.githubusercontent.com/exult/exult/master/docs/ucc.txt">manual</a>.</li>
					<li>
<strong>The GIMP Plug-in</strong>:<br>
						can be used for editing shapes in the GIMP. Handles multiframe Shape files.
						See <a href="http://www.gimp.org">http://www.gimp.org</a> for information on the GIMP.</li>
					<li>
<strong>Photoshop Plug-in</strong>:<br>
						can be used for editing shapes in Photoshop. Can't handle multiframe Shape files. And
						also can't handle indexed images with Alpha correctly.</li>
				</ul>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="port_platforms">9.5. Porting <em>Exult Studio</em> to other platforms</a></strong></td></tr>
<tr><td>
				<p>
					Currently <em>Exult Studio</em> runs on U*ix and Windows platforms. First it only
					ran on U*ix but with some effort by Colourless, Kirben and Mark Siewart
					it was successfully ported to Windows.
				</p>
				<p>
					A port to other platforms depends on when someone volunteers to do the work.
					There are three issues:
				</p>
				<ul>
					<li>GTK+3 has to be ported to the platform.</li>
					<li>
<em>Exult Studio</em> uses sockets to communicate with <em>Exult</em>.</li>
					<li>Recently we switched from using X drag'n'drop to SDL2's DropFile. For Windows
						<em>Exult</em> we are still using our own code.<br>
						As an alternative to dragging objects, you can now select a shape,
						then insert it into the game window by left-clicking while holding the
						Shift key down.</li>
				</ul>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="client_server_stuff">9.6. About this client/server stuff?</a></strong></td></tr>
<tr><td>
				<p>
					A map-editor needs to provide the ability to display the game, place
					objects on the map, and move objects around. That functionality is already in
					<em>Exult</em>, and it makes sense to reuse it. So we could have made <em>Exult</em> a part of
					<em>Exult Studio</em>. However, <em>Exult</em> is already a huge program, and is getting
					unwieldy to work on.
				</p>
				<p>
					With this architecture, <em>Exult Studio</em> can have all the messy code for
					displaying/editing dialog boxes, while <em>Exult</em> only needs a little bit
					of work to handle requests.
				</p>
				<p>
					Also, I (Jeff) wanted to get a little experience programming with
					sockets:-)
				</p>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="terrain_stuff">9.7. About this 'terrain-editing' stuff and why you can't just
				drag objects to where you want.</a></strong></td></tr>
<tr><td>
				<p>
					This confused me too, and I originally planned on doing away with it.
					But do a little arithmetic:  Ultima VII's world has 3072x3072 tiles; that's
					over 9 million that need to be set. My guess is that they came up
					with the idea behind 'u7chunks' to save artists time and to give the
					map a consistent look.
				</p>
				<p>
					The basic idea is that each 'chunk' of flat terrain, 16x16 tiles, is
					stored in 'u7chunks', and is indexed by its position in this file (0,
					1, 2, ...). The 'u7map' file specifies, for each 'chunk' in the Ultima VII
					map, which of the terrains is to be used. Since the entire map has
					192x192 chunks, or a total of 36,864, and since 'u7chunks' has 3072
					entries, each terrain is shared an average of over 10 times. When you
					go into map-editing mode in <em>Exult</em>, the numbers displayed are the
					indices from 'u7chunks'.
				</p>
				<p>
					So here are the three sorts of scenery that you can see and edit:
				</p>
				<ol>
					<li>The 'terrain' (flat landscape, rocks, shrubs, and first-story
						buildings) specified in 'u7chunks' and 'u7map'.</li>
					<li>Other non-moveable objects (second-floor structures, trees) specified in
						the 'ifixnn' files.</li>
					<li>Moveable and changeable objects specified in the 'iregnn' files.</li>
				</ol>
				<p>
					The challenge of writing a map-editor is keeping the above straight,
					and reading/storing from/to the correct files. It's sorta-kinda
					working now :-)
				</p>
				<p>
					For a more detailed explanation, see Gary Thompson's paper,
					<a href="https://raw.githubusercontent.com/exult/exult/master/docs/u7edit.txt">u7edit.txt</a>,
					in our 'docs' folder.
				</p>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="ifix_iregs">9.8. ifix and ireg reference chart</a></strong></td></tr>
<tr><td>
				<p>
					Crowley from our forum made this chart to easily reference the u7iregnn
					and u7ifixnn files in both BG and SI. Thanks a lot!
				</p>
				<p>
					<img alt="green grid" src="images/studiobgiregs.png"><br>
				</p>
				<p>
					<img alt="green grid" src="images/studiosiiregs.png"><br>
				</p>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="what_next">9.9. What's next?</a></strong></td></tr>
<tr><td>
				<p>
					The next things to be implemented are:
				</p>
				<ul>
					<li>
<em>Exult Studio</em> needs to be able to automatically create palettes 1-n from palette 0
						using the code from ipack.</li>
					<li>It will also be very nice to have a Usecode debugger someday as well
						(Willem is actually working on it).</li>
					<li>A 'flags' editor for viewing and editing the global Usecode flags by name.</li>
				</ul>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="linux_bugs">9.10. Known Bugs with the Linux port</a></strong></td></tr>
<tr><td>
				<ul>
					<li>when you load games or mods with more than one map, <em>Exult Studio</em> has problems
						creating and saving the extra maps. This may no longer be an issue.</li>
				</ul>
			</td></tr>
</table>
<hr class="full-width">
<table class="full-width">
<tr><th class="left-aligned"><a id="Credits">10. Credits</a></th></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="thanks">10.1. Thanks</a></strong></td></tr>
<tr><td>
				<ul>
					<li>Colourless, Kirben and Mark Siewart invested a lot of effort to port
						<em>Exult Studio</em> to Windows.</li>
				</ul>
			</td></tr>
</table>
<hr class="full-width">
<table class="full-width">
<tr><th class="left-aligned"><a id="Changes-to-the-Documentation">11. Changes to the Documentation</a></th></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="20022021">11.1. - 20 February 2021</a></strong></td></tr>
<tr><td>
				<ul>
					<li>Changed links to our homepage to exult.info, SDL to SDL2, Mac OS X to macOS.</li>
					<li>Updated all the menus and editors descriptions.</li>
					<li>Many little changes to wordings and indentation.</li>
				</ul>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="13032016">11.2. - 13 March 2016</a></strong></td></tr>
<tr><td>
				<ul>
					<li>
<a href="#run_steps">2.3. Step-by-step instructions to run <em>Exult Studio</em></a> GIT vs SVN.</li>
				</ul>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="21112013">11.3. - 21 November 2013</a></strong></td></tr>
<tr><td>
				<ul>
					<li>
<a href="#ifix_iregs">9.8. ifix and ireg reference chart</a> finally added Crowley's ifix/ireg chart.</li>
				</ul>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="19022011">11.4. - 19 February 2011</a></strong></td></tr>
<tr><td>
				<ul>
					<li>
<a href="#command_line">2.6. Command line options</a> added -c -m, added space between -x -g,
					even though it works without space as well.</li>
				</ul>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="23012011">11.5. - 23 January 2011</a></strong></td></tr>
<tr><td>
				<ul>
					<li>
<a href="#Changes-to-the-Documentation">11. Changes to the Documentation</a> moved to the bottom.</li>
					<li>
<a href="#command_line">2.6. Command line options</a> added portable option.</li>
				</ul>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="18122010">11.6. - 18 December 2010</a></strong></td></tr>
<tr><td>
				<ul>
					<li>
<a href="#usecode_edit">5.3. Custom Usecode</a> added intriniscs docs from TFL and fixed the link to Pertex' site.</li>
					<li>
<a href="#linux_bugs">9.10. Known Bugs with the Linux port</a> the patch folder NEEDS to be writeable.</li>
				</ul>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="11032010">11.7. - 11 March 2010</a></strong></td></tr>
<tr><td>
				<ul>
					<li>
<a href="#installation">2.1. Installation</a> added Vista/W7 to the Windows list, Windows 95 is not supported.</li>
					<li>
<a href="#can_do_atm">2.4. What you can do at the moment</a> the patch folder NEEDS to be writeable.</li>
					<li>
<a href="#win32_bugs">1.1. </a> Windows 95 is not supported.</li>
				</ul>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="01032005">11.8. - 01 March 2005</a></strong></td></tr>
<tr><td>
				<ul>
					<li>
<a href="#edit_menu">4.3. Edit</a> Create Barg added.</li>
					<li>
<a href="#map_menu">4.6. Map</a> added this menu option.</li>
					<li>
<a href="#eggs_type">6.2. The different types of eggs</a> intermap egg added.</li>
					<li>
<a href="#intermap_eggs">6.14. Intermap eggs</a> explains how to use this egg type.</li>
					<li>
<a href="#multi_map">6.15. Multi-map support</a> explained.</li>
					<li>
<a href="#barge_edit">9.1. Creating a boat, flying carpet, or horse drawn carriage</a> added.</li>
					<li>
<a href="#custom_shapes">9.2. Importing and creating your own custom shapes</a> added.</li>
					<li>
<a href="#custom_font">9.3. How to create a custom font?</a> explained.</li>
				</ul>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="23052004">11.9. - 23 May 2004</a></strong></td></tr>
<tr><td>
				<ul>
					<li>
<a href="#palettes_files">3.4. Palettes files</a> palette files are compatible with the Gimp.</li>
					<li>
<a href="#edit_menu">4.3. Edit</a> note about map-editing operations.</li>
					<li>
<a href="#eggs_properties">6.4. Properties of eggs</a> some more infos.</li>
					<li>
<a href="#creature_schedules">6.6. Schedules of Monsters and Creatures</a> more on the patrol schedule.</li>
					<li>
<a href="#npc_flags">7.5. NPC Flags</a> removed some unused flags.</li>
				</ul>
			</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><strong><a id="06022004">11.10. - 06 February 2004</a></strong></td></tr>
<tr><td>
				<ul>
					<li>
<a href="#studio_terms">1.3. Terms we use in regard to Exult and Ultima VII</a> some corrections by Willem.</li>
					<li>
<a href="#run_steps">2.3. Step-by-step instructions to run <em>Exult Studio</em></a> some corrections.</li>
					<li>
<a href="#studio_run">2.2. Running <em>Exult Studio</em></a> some corrections.</li>
					<li>
<a href="#map_files">3.3. Map files</a> More right click options.</li>
					<li>
<a href="#NPC-editing">7. NPC editing</a> finally took on that task.</li>
				</ul>
			</td></tr>
</table>
</td></tr>
<tr><td>
<br><hr>
</td></tr>
<tr><td><table class="borderless full-width">
<tr><td class="centered">&nbsp;</td></tr>
<tr><td class="centered">&nbsp;</td></tr>
<tr><td class="centered"><address><span style="font-size: smaller">Problems with Exult or this webpage?
									<a href="https://github.com/exult/exult/discussions">Contact us.</a></span></address></td></tr>
</table></td></tr>
<tr><td class="centered"><address><span style="font-size: smaller">Last modified:
						20 February 2021 (GMT)</span></address></td></tr>
<tr><td class="centered"><div align="center"><!--#exec cgi="cgi-bin/vipcounter_xml.pl"--></div></td></tr>
</table></div></body>
</html>