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 <tangible>0</tangible>
21 This, at the moment, can be camera, light, static {mesh}
22 particle {system}, skybox, skydome, terrain, text, empty.
24 Although not all options are implemented yet. And these
25 only apply for the intangibles. All the tangibles can be
36 <image name="background_image"
45 <button name="go_back"
50 parent="background_image"
51 target="the_engine.setMenu('main_menu')"
52 text="Back to main menu...">
60 parent="background_image"
69 parent="background_image"
70 text="Project Lead: Joe Lopatta">
72 <label name="modeling"
78 parent="background_image"
79 text="Modeling Lead: Joe Lopatta Modeling: Calvin Strumsky">
87 parent="background_image"
88 text="Imaging Lead: Joe Lopatta Imaging: Calvin Strumsky">
91 <label name="programming"
97 parent="background_image"
98 text="Programming Lead: Brian Caine Programming: Brian Caine">
106 parent="background_image"
107 text="Prince of Programming, his majesty: Brian Caine">
109 <label name="origins"
115 parent="background_image"
116 text="Original Universe Creators: Matt Dell / Joe Lopatta">
118 <label name="webhost"
124 parent="background_image"
125 text="Web Host: Brandon Brizzi">
133 parent="background_image"
134 text="Design Consultants: Brandon Brizzi, Michael Bender,">
136 <label name="designcont"
142 parent="background_image"
143 text="Brandon Herlock, Jarred Fritz">
145 <label name="gamer_tag"
151 parent="background_image"
152 text="Gamer Tag - Joe Lopatta - XSOULSTEALERX">
154 <label name="pseudonym"
160 parent="background_image"
161 text="Internet Pseudonym - Brian Caine - canine">
163 <label name="most_important"
169 parent="background_image"
170 text="Thanks to the teacher whose classroom we used to make the game - Thank you Mrs. Wood">
177 <name>initial_script</name>
178 <script>main.sq</script>
180 <tangible>0</tangible>
189 <tangible>1</tangible>
190 <model>guy.3ds</model>
195 <texture idx="1"></texture>
198 The type tag is acquired from the Irrlicht documentation.
199 In this case, 0 means EMT_SOLID
205 <name>main_menu</name>
208 <image name="background_image"
215 text="Titlescreen_texturized.png">
219 <button name="lan_match"
224 target="self.engine.setMenu('lan_menu')"
225 parent="background_image"
234 target="exec('the_engine.addFile("a_map.xml", "run.xml")\nthe_engine.setMenu("game")')"
239 <button name="internet_match"
244 target="print 'Internet Match: Not implemented yet.'"
245 parent="background_image"
246 text="Internet Match">
248 <button name="options"
253 target="print 'Options: Not implemented yet.'"
254 parent="background_image"
257 <button name="credits"
262 parent="background_image"
263 target="self.engine.setMenu('credits')"
271 parent="background_image"
272 target="self.engine.killGame()"
281 <name>not_implemented</name>
285 <window name="message_box"
295 <label name="information"
302 text="Whatever you clicked on isn't implemented yet. Sorry">d
305 <button name="return_button"
310 target="::hideAll();::addMenu(::return_string);"
315 <button name="secret"
320 target="::hideMenu("not_implemented");
321 ::addMenu("squirrel");"
333 <name>lan_menu</name>
337 <image name="background_image"
352 parent="background_image"
354 text="LAN Server List...">d
356 <button name="refresh_button"
361 parent="background_image"
363 text="Refresh Server List">d
365 <button name="back_button"
370 parent="background_image"
371 target="the_engine.setMenu('main_menu')"
372 text="Return to Main Menu">d
374 <button name="join_button"
379 parent="background_image"
383 <listbox name="server_list"
388 parent="background_image"
392 <label name="info_label"
397 parent="background_image"
399 text="Server Information...">d
401 <listbox name="list_server"
406 parent="background_image"
408 text="Server Information...">d
414 <name>net_script</name>
415 <script>net_script.py</script>
416 <tangible>0</tangible>
421 <name>searching</name>
424 <window name="searching_window"
431 text="Searching...">d
433 <label name="info_label"
438 parent="searching_window"
440 text="Searching for servers...">d
446 <name>net_menu</name>
454 parent="background_image"
458 <listbox name="player_list"
463 parent="background_image"
467 <listbox name="chat_list"
472 parent="background_image"
481 parent="background_image"
485 <button name="back_button"
490 parent="background_image"
492 text="Leave Server">d
494 <button name="ready_button"
499 parent="background_image"
503 <button name="start_button"
508 parent="background_image"
513 <image name="background_image"
531 <button name="return_button"
536 parent="background_image"
537 target="exec('the_engine.app.remove(the_engine.main_container)\nthe_engine.removeFile("a_map.xml")')"
547 <object name="net_script">net_script</object>
550 This is an example of a person instantiated, but we don't want that
553 <object name="person" position="1 0 1" torque="0 0 0" > </object>
556 <menu>main_menu</menu>