1 <?xml version="1.0" encoding="UTF-8"?>
5 The way this will work, is that various objects are defined in the
6 <def> section. Each of those can be instantiated multiple times, unless
7 defined to be single. There may be game objects or menu objects in there.
16 <image name="background_image"
25 <button name="go_back"
30 parent="background_image"
31 target="self.engine.setMenu('main_menu')"
32 text="Back to main menu...">
40 parent="background_image"
49 parent="background_image"
50 text="Project Lead: Joe Lopatta">
52 <label name="modeling#1"
58 parent="background_image"
59 text="Modeling Lead: Joe Lopatta">
61 <label name="modeling#2"
67 parent="background_image"
68 text="Modeling: Calvin Strumsky">
76 parent="background_image"
77 text="Imaging Lead: Joe Lopatta Imaging: Calvin Strumsky">
80 <label name="programming"
86 parent="background_image"
87 text="Programming Lead: Brian Caine Programming: Brian Caine">
95 parent="background_image"
96 text="Prince of Programming, his majesty: Brian Caine">
104 parent="background_image"
105 text="Original Universe Creators: Matt Dell / Joe Lopatta">
107 <label name="webhost"
113 parent="background_image"
114 text="Web Host: Brandon Brizzi">
122 parent="background_image"
123 text="Design Consultants: Brandon Brizzi, Michael Bender,">
125 <label name="designcont"
131 parent="background_image"
132 text="Brandon Herlock, Jarred Fritz">
134 <label name="gamer_tag"
140 parent="background_image"
141 text="Gamer Tag - Joe Lopatta - XSOULSTEALERX">
143 <label name="pseudonym"
149 parent="background_image"
150 text="Internet Pseudonym - Brian Caine - canine">
152 <label name="most_important"
158 parent="background_image"
159 text="Thanks to the teacher whose classroom we used to make the game - Thank you Mrs. Wood">
170 <tangible>1</tangible>
171 <model>guy.3ds</model>
176 <texture idx="1"></texture>
179 The type tag is acquired from the Irrlicht documentation.
180 In this case, 0 means EMT_SOLID
186 <name>main_menu</name>
189 <image name="background_image"
196 text="Titlescreen_texturized.png">
200 <button name="lan_match"
205 target="self.engine.setMenu('lan_menu')"
206 parent="background_image"
215 target="exec('the_engine.addFile("a_map.xml", "run.xml")\nthe_engine.setMenu("game")')"
220 <button name="internet_match"
225 target="print 'Internet Match: Not implemented yet.'"
226 parent="background_image"
227 text="Internet Match">
229 <button name="options"
234 target="print 'Options: Not implemented yet.'"
235 parent="background_image"
238 <button name="credits"
243 parent="background_image"
244 target="self.engine.setMenu('credits')"
252 parent="background_image"
253 target="self.engine.killGame()"
262 <name>not_implemented</name>
266 <window name="message_box"
276 <label name="information"
283 text="Whatever you clicked on isn't implemented yet. Sorry">d
286 <button name="return_button"
291 target="::hideAll();::addMenu(::return_string);"
296 <button name="secret"
301 target="::hideMenu("not_implemented");
302 ::addMenu("squirrel");"
314 <name>lan_menu</name>
318 <image name="background_image"
333 parent="background_image"
335 text="LAN Server List...">d
337 <button name="refresh_button"
342 parent="background_image"
344 text="Refresh Server List">d
346 <button name="back_button"
351 parent="background_image"
352 target="self.engine.setMenu('main_menu')"
353 text="Return to Main Menu">d
355 <button name="join_button"
360 parent="background_image"
364 <listbox name="server_list"
369 parent="background_image"
373 <label name="info_label"
378 parent="background_image"
380 text="Server Information...">d
382 <listbox name="list_server"
387 parent="background_image"
389 text="Server Information...">d
395 <name>net_script</name>
396 <script>net_script.py</script>
397 <tangible>0</tangible>
402 <name>searching</name>
405 <window name="searching_window"
412 text="Searching...">d
414 <label name="info_label"
419 parent="searching_window"
421 text="Searching for servers...">d
427 <name>net_menu</name>
435 parent="background_image"
439 <listbox name="player_list"
444 parent="background_image"
448 <listbox name="chat_list"
453 parent="background_image"
462 parent="background_image"
466 <button name="back_button"
471 parent="background_image"
473 text="Leave Server">d
475 <button name="ready_button"
480 parent="background_image"
484 <button name="start_button"
489 parent="background_image"
494 <image name="background_image"
512 <button name="return_button"
517 parent="background_image"
518 target="exec('the_engine.app.remove(the_engine.main_container)\nthe_engine.removeFile("a_map.xml")')"
528 <object position="0,0,0" name="net">net_script</object>
531 This is an example of a person instantiated, but we don't want that
532 for the run.xml file-->
534 <object name="person" position="1, 0,1" rotation="0,0,0">person</object>
535 <menu>main_menu</menu>