Debian Codegraph @

res/editor_examples/example_custom_messages.xml

raw
1 <?xml version="1.0"?>
2 <!DOCTYPE messages>
3 <messages version="1" language="english">
4 <!-- All messages must have a unique identifier (uid) that can be used to reference them.
5 Unique identifiers must be unique, there cannot be duplicates -->
6 <message uid="scenario briefing">
7 <!-- This is the text that will be displayed when the message is shown. Note that text uses Rich Text formatting, so it is possible to define new lines, paragraphs or built-in images.
8 @L will start a new line.
9 @P will start a new paragraph.
10 @G### will show an image where ### is the id of the image.-->
11 <title>Toga puer iratus est</title>
12 <subtitle>An assignment from a slightly fuming Caesar</subtitle>
13 <text>I am most displeased.@L
14 I ask you to give me a prosperous city, and what did you give me? A single palace and tent squalor as far as the eye can see.@L
15 I expected defending legions and you gave me winding roads and lion tamers running marathons.@L
16 I requested wheat and wine to test your industry, but you tore it down the day after.@P
17
18 You shall find my favour hard to come by on your next assignment.@L
19 I shall be watching closely.@P
20
21 My dearest governor.@L
22 My most beloved governor.@L
23 I am most displeased... and my wrath is palpable.@L
24 @G1</text>
25 <!-- For sound files, it will look for the file in the following directories (in order):
26 ./community/audio/
27 ./mp3/
28 ./wavs/
29
30 It will play the file that matches the filename as soon as it finds it.
31 If it cannot find it at all, then it will simply not play anything. -->
32 <media type="sound" filename="fanfare_nu3.wav"/>
33 <!-- For background music files, it will look for the file in the following directories (in order):
34 ./community/audio/
35 ./mp3/
36 ./wavs/
37
38 It will play the file that matches the filename as soon as it finds it.
39 If it cannot find it at all, then it will simply not play anything. -->
40 <background_music filename="ROME1.WAV"/>
41 </message>
42 <message uid="caesar gives large slums warning">
43 <title>Message from Caesar</title>
44 <text>My dearest governor.@L
45 Did I not say I wish to see no sprawling slums in your city?@P
46
47 I shall not warn you again.@L
48 My anger is growing, and the whips sing the songs of rowing.</text>
49 <!-- For video files, it will look for the file in the following directories (in order):
50 ./community/video/
51 ./smk/
52
53 It will play the file that matches the filename as soon as it finds it.
54 If it cannot find it at all, then it will simply not play anything. -->
55 <media type="video" filename="Urgent_message1.smk"/>
56 </message>
57 <message uid="Message images 0 to 49">
58 <text>0 = @G0
59 1 = @G1
60 2 = @G2
61 3 = @G3
62 4 = @G4
63 5 = @G5
64 6 = @G6
65 7 = @G7
66 8 = @G8
67 9 = @G9
68 10 = @G10
69 11 = @G11
70 12 = @G12
71 13 = @G13
72 14 = @G14
73 15 = @G15
74 16 = @G16
75 17 = @G17
76 18 = @G18
77 19 = @G19
78 20 = @G20
79 21 = @G21
80 22 = @G22
81 23 = @G23
82 24 = @G24
83 25 = @G25
84 26 = @G26
85 27 = @G27
86 28 = @G28
87 29 = @G29
88 30 = @G30
89 31 = @G31
90 32 = @G32
91 33 = @G33
92 34 = @G34
93 35 = @G35
94 36 = @G36
95 37 = @G37
96 38 = @G38
97 39 = @G39
98 40 = @G30
99 41 = @G41
100 42 = @G42
101 43 = @G43
102 44 = @G44
103 45 = @G45
104 46 = @G46
105 47 = @G47
106 48 = @G48
107 49 = @G49</text>
108 </message>
109 <message uid="Message audio fanfare1">
110 <text>fanfare_nu1.wav</text>
111 <media type="sound" filename="fanfare_nu1.wav"/>
112 </message>
113 <message uid="Message audio fanfare2">
114 <text>fanfare_nu2.wav</text>
115 <media type="sound" filename="fanfare_nu2.wav"/>
116 </message>
117 <message uid="Message audio fanfare3">
118 <text>fanfare_nu3.wav</text>
119 <media type="sound" filename="fanfare_nu3.wav"/>
120 </message>
121 <message uid="Message audio fanfare4">
122 <text>fanfare_nu4.wav</text>
123 <media type="sound" filename="fanfare_nu4.wav"/>
124 </message>
125 <message uid="Message audio fanfare5">
126 <text>fanfare_nu5.wav</text>
127 <media type="sound" filename="fanfare_nu5.wav"/>
128 </message>
129 </messages>