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="the_engine.setMenu('lan_menu')"
225 parent="background_image"
228 <button name="internet_match"
233 target="print 'Internet Match: Not implemented yet.'"
234 parent="background_image"
235 text="Internet Match">
237 <button name="options"
242 target="print 'Options: Not implemented yet.'"
243 parent="background_image"
246 <button name="credits"
251 parent="background_image"
252 target="the_engine.setMenu('credits')"
260 parent="background_image"
261 target="the_engine.running = 0"
270 <name>not_implemented</name>
274 <window name="message_box"
284 <label name="information"
291 text="Whatever you clicked on isn't implemented yet. Sorry">d
294 <button name="return_button"
299 target="::hideAll();::addMenu(::return_string);"
304 <button name="secret"
309 target="::hideMenu("not_implemented");
310 ::addMenu("squirrel");"
321 <name>squirrel</name>
323 <window name="squirrel_window"
330 text="Squirrel Console...">d
332 <editbox name="sq_command"
338 parent="squirrel_window"
339 text="Type command here...">d
342 <button name="execute"
347 target="::executeBuffer(
348 ::getElementText("squirrel", "sq_command"),
350 ::hideMenu("squirrel");"
351 parent="squirrel_window"
359 <name>lan_menu</name>
363 <image name="background_image"
378 parent="background_image"
380 text="LAN Server List...">d
382 <button name="refresh_button"
387 parent="background_image"
389 text="Refresh Server List">d
391 <button name="back_button"
396 parent="background_image"
397 target="the_engine.setMenu('main_menu')"
398 text="Return to Main Menu">d
400 <button name="join_button"
405 parent="background_image"
409 <listbox name="server_list"
414 parent="background_image"
418 <label name="info_label"
423 parent="background_image"
425 text="Server Information...">d
427 <listbox name="list_server"
432 parent="background_image"
434 text="Server Information...">d
440 <name>net_script</name>
441 <script>net_script.py</script>
442 <tangible>0</tangible>
447 <name>searching</name>
450 <window name="searching_window"
457 text="Searching...">d
459 <label name="info_label"
464 parent="searching_window"
466 text="Searching for servers...">d
472 <name>net_menu</name>
480 parent="background_image"
484 <listbox name="player_list"
489 parent="background_image"
493 <listbox name="chat_list"
498 parent="background_image"
507 parent="background_image"
510 <button name="back_button"
515 parent="background_image"
517 text="Leave Server">d
519 <button name="ready_button"
524 parent="background_image"
528 <button name="start_button"
533 parent="background_image"
538 <image name="background_image"
554 <object name="net_script">net_script</object>
557 This is an example of a person instantiated, but we don't want that
560 <object name="person" position="1 0 1" torque="0 0 0" > </object>
563 <menu>main_menu</menu>