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="self.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#1"
78 parent="background_image"
79 text="Modeling Lead: Joe Lopatta">
81 <label name="modeling#2"
87 parent="background_image"
88 text="Modeling: Calvin Strumsky">
96 parent="background_image"
97 text="Imaging Lead: Joe Lopatta Imaging: Calvin Strumsky">
100 <label name="programming"
106 parent="background_image"
107 text="Programming Lead: Brian Caine Programming: Brian Caine">
115 parent="background_image"
116 text="Prince of Programming, his majesty: Brian Caine">
118 <label name="origins"
124 parent="background_image"
125 text="Original Universe Creators: Matt Dell / Joe Lopatta">
127 <label name="webhost"
133 parent="background_image"
134 text="Web Host: Brandon Brizzi">
142 parent="background_image"
143 text="Design Consultants: Brandon Brizzi, Michael Bender,">
145 <label name="designcont"
151 parent="background_image"
152 text="Brandon Herlock, Jarred Fritz">
154 <label name="gamer_tag"
160 parent="background_image"
161 text="Gamer Tag - Joe Lopatta - XSOULSTEALERX">
163 <label name="pseudonym"
169 parent="background_image"
170 text="Internet Pseudonym - Brian Caine - canine">
172 <label name="most_important"
178 parent="background_image"
179 text="Thanks to the teacher whose classroom we used to make the game - Thank you Mrs. Wood">
186 <name>initial_script</name>
187 <script>main.sq</script>
189 <tangible>0</tangible>
198 <tangible>1</tangible>
199 <model>guy.3ds</model>
204 <texture idx="1"></texture>
207 The type tag is acquired from the Irrlicht documentation.
208 In this case, 0 means EMT_SOLID
214 <name>main_menu</name>
217 <image name="background_image"
224 text="Titlescreen_texturized.png">
228 <button name="lan_match"
233 target="self.engine.setMenu('lan_menu')"
234 parent="background_image"
243 target="exec('the_engine.addFile("a_map.xml", "run.xml")\nthe_engine.setMenu("game")')"
248 <button name="internet_match"
253 target="print 'Internet Match: Not implemented yet.'"
254 parent="background_image"
255 text="Internet Match">
257 <button name="options"
262 target="print 'Options: Not implemented yet.'"
263 parent="background_image"
266 <button name="credits"
271 parent="background_image"
272 target="self.engine.setMenu('credits')"
280 parent="background_image"
281 target="self.engine.killGame()"
290 <name>not_implemented</name>
294 <window name="message_box"
304 <label name="information"
311 text="Whatever you clicked on isn't implemented yet. Sorry">d
314 <button name="return_button"
319 target="::hideAll();::addMenu(::return_string);"
324 <button name="secret"
329 target="::hideMenu("not_implemented");
330 ::addMenu("squirrel");"
342 <name>lan_menu</name>
346 <image name="background_image"
361 parent="background_image"
363 text="LAN Server List...">d
365 <button name="refresh_button"
370 parent="background_image"
372 text="Refresh Server List">d
374 <button name="back_button"
379 parent="background_image"
380 target="self.engine.setMenu('main_menu')"
381 text="Return to Main Menu">d
383 <button name="join_button"
388 parent="background_image"
392 <listbox name="server_list"
397 parent="background_image"
401 <label name="info_label"
406 parent="background_image"
408 text="Server Information...">d
410 <listbox name="list_server"
415 parent="background_image"
417 text="Server Information...">d
423 <name>net_script</name>
424 <script>net_script.py</script>
425 <tangible>0</tangible>
430 <name>searching</name>
433 <window name="searching_window"
440 text="Searching...">d
442 <label name="info_label"
447 parent="searching_window"
449 text="Searching for servers...">d
455 <name>net_menu</name>
463 parent="background_image"
467 <listbox name="player_list"
472 parent="background_image"
476 <listbox name="chat_list"
481 parent="background_image"
490 parent="background_image"
494 <button name="back_button"
499 parent="background_image"
501 text="Leave Server">d
503 <button name="ready_button"
508 parent="background_image"
512 <button name="start_button"
517 parent="background_image"
522 <image name="background_image"
540 <button name="return_button"
545 parent="background_image"
546 target="exec('the_engine.app.remove(the_engine.main_container)\nthe_engine.removeFile("a_map.xml")')"
556 <object name="net_script">net_script</object>
559 This is an example of a person instantiated, but we don't want that
562 <object name="person" position="1 0 1" torque="0 0 0" > </object>
565 <menu>main_menu</menu>