1 | ///////////////////////////////////////////////////////////////////////////////
|
---|
2 | //
|
---|
3 | // ## ######
|
---|
4 | // ###### ###
|
---|
5 | // ## ############### Shark 3D Engine (www.shark3d.com)
|
---|
6 | // ########## # # #
|
---|
7 | // ######## Copyright (c) 1996-2006 Spinor GmbH.
|
---|
8 | // ######### # # # All rights reserved.
|
---|
9 | // ## ##########
|
---|
10 | // ##
|
---|
11 | //
|
---|
12 | ///////////////////////////////////////////////////////////////////////////////
|
---|
13 |
|
---|
14 | actor_ident "kit_base.group"
|
---|
15 | actor_param
|
---|
16 | {
|
---|
17 | active 1
|
---|
18 | child_array
|
---|
19 | {
|
---|
20 | // Dispatcher handling messages for the level root.
|
---|
21 | ident "kit_base.dispatch"
|
---|
22 | param
|
---|
23 | {
|
---|
24 | name "dispatch_export"
|
---|
25 | entry_array
|
---|
26 | {
|
---|
27 | cmds "rawproduce_player"
|
---|
28 | targets "player_rawproducer"
|
---|
29 | newcmd "produce"
|
---|
30 | }
|
---|
31 | {
|
---|
32 | cmds "find_player"
|
---|
33 | targets "player_set"
|
---|
34 | newcmd "search_noinform"
|
---|
35 | }
|
---|
36 | {
|
---|
37 | cmds "net_traverse"
|
---|
38 | targets
|
---|
39 | "level_extern"
|
---|
40 | newcmd "traverse"
|
---|
41 | }
|
---|
42 | {
|
---|
43 | cmds "store_pre"
|
---|
44 | targets "player_set"
|
---|
45 | }
|
---|
46 | {
|
---|
47 | cmds "goto"
|
---|
48 | "goto_level1"
|
---|
49 | "goto_level2"
|
---|
50 | "goto_level3"
|
---|
51 | "goto_level4"
|
---|
52 | "goto_level5"
|
---|
53 | "goto_level6"
|
---|
54 | "goto_level7"
|
---|
55 | "goto_level8"
|
---|
56 | "goto_level9"
|
---|
57 | "goto_level0"
|
---|
58 | targets "levelmgr"
|
---|
59 | }
|
---|
60 | }
|
---|
61 | }
|
---|
62 | {
|
---|
63 | ident "kit_base.dispatch"
|
---|
64 | param
|
---|
65 | {
|
---|
66 | name "dispatch"
|
---|
67 | entry_array
|
---|
68 | {
|
---|
69 | cmds
|
---|
70 | "notice_level_load_pre"
|
---|
71 | "notice_level_load_post"
|
---|
72 | targets "outside"
|
---|
73 | }
|
---|
74 | }
|
---|
75 | }
|
---|
76 | {
|
---|
77 | // Stub object for the cfg actor.
|
---|
78 | // Delegates the commands to the real cfg actor
|
---|
79 | // outside the universe.
|
---|
80 | ident "kit_base.dispatch"
|
---|
81 | param
|
---|
82 | {
|
---|
83 | name "cfg"
|
---|
84 | entry_array
|
---|
85 | {
|
---|
86 | cmds "access_int_info"
|
---|
87 | targets "outside"
|
---|
88 | newcmd "cfg_access_int_info"
|
---|
89 | }
|
---|
90 | {
|
---|
91 | cmds "access_float_info"
|
---|
92 | targets "outside"
|
---|
93 | newcmd "cfg_access_float_info"
|
---|
94 | }
|
---|
95 | {
|
---|
96 | cmds "access_str_info"
|
---|
97 | targets "outside"
|
---|
98 | newcmd "cfg_access_str_info"
|
---|
99 | }
|
---|
100 | {
|
---|
101 | cmds "access_chunk_info"
|
---|
102 | targets "outside"
|
---|
103 | newcmd "cfg_access_chunk_info"
|
---|
104 | }
|
---|
105 | }
|
---|
106 | }
|
---|
107 | {
|
---|
108 | // Stub object for the cfg actor.
|
---|
109 | // Delegates the commands to the real cfg actor
|
---|
110 | // outside the universe.
|
---|
111 | ident "kit_base.dispatch"
|
---|
112 | param
|
---|
113 | {
|
---|
114 | name "setting_cfg"
|
---|
115 | entry_array
|
---|
116 | {
|
---|
117 | cmds "access_int_info"
|
---|
118 | targets "outside"
|
---|
119 | newcmd "universe_cfg_access_int_info"
|
---|
120 | }
|
---|
121 | {
|
---|
122 | cmds "access_float_info"
|
---|
123 | targets "outside"
|
---|
124 | newcmd "universe_cfg_access_float_info"
|
---|
125 | }
|
---|
126 | {
|
---|
127 | cmds "access_str_info"
|
---|
128 | targets "outside"
|
---|
129 | newcmd "universe_cfg_access_str_info"
|
---|
130 | }
|
---|
131 | {
|
---|
132 | cmds "access_chunk_info"
|
---|
133 | targets "outside"
|
---|
134 | newcmd "universe_cfg_access_chunk_info"
|
---|
135 | }
|
---|
136 | }
|
---|
137 | }
|
---|
138 | {
|
---|
139 | ident "kit_base.env"
|
---|
140 | param
|
---|
141 | {
|
---|
142 | name "env"
|
---|
143 | }
|
---|
144 | }
|
---|
145 | {
|
---|
146 | ident "kit_base.envcompsuppl"
|
---|
147 | param
|
---|
148 | {
|
---|
149 | name "envcompsuppl"
|
---|
150 | }
|
---|
151 | }
|
---|
152 | {
|
---|
153 | ident "kit_base.dispatch"
|
---|
154 | param
|
---|
155 | {
|
---|
156 | name "basesuppl"
|
---|
157 | entry_array
|
---|
158 | {
|
---|
159 | cmds "get_obj"
|
---|
160 | targets "outside"
|
---|
161 | newcmd "get_basesuppl"
|
---|
162 | }
|
---|
163 | }
|
---|
164 | }
|
---|
165 | {
|
---|
166 | ident "kit_perch.mgr"
|
---|
167 | param
|
---|
168 | {
|
---|
169 | name "perchmgr"
|
---|
170 | }
|
---|
171 | }
|
---|
172 | {
|
---|
173 | // Extern actor loading and holding the current level.
|
---|
174 | ident "kit_engbase.extern"
|
---|
175 | param
|
---|
176 | {
|
---|
177 | active 1
|
---|
178 | name "level_extern"
|
---|
179 | deleg_name "level"
|
---|
180 | res ""
|
---|
181 | allow_no_target 1
|
---|
182 | notify_target "dispatch"
|
---|
183 | notify_pre_cmd "notice_level_load_pre"
|
---|
184 | notify_post_cmd "notice_level_load_post"
|
---|
185 | }
|
---|
186 | }
|
---|
187 | {
|
---|
188 | ident "kit_base.dispatch"
|
---|
189 | param
|
---|
190 | {
|
---|
191 | name "levelloader"
|
---|
192 | entry_array
|
---|
193 | {
|
---|
194 | cmds "goto"
|
---|
195 | targets "level_extern"
|
---|
196 | newcmd "load"
|
---|
197 | }
|
---|
198 | }
|
---|
199 | }
|
---|
200 | {
|
---|
201 | // External files describing all levels:
|
---|
202 | ident "kit_base.extern"
|
---|
203 | param
|
---|
204 | {
|
---|
205 | active 1
|
---|
206 | res "universe/actor/levels.s3d_actor_run"
|
---|
207 | }
|
---|
208 | }
|
---|
209 | {
|
---|
210 | // External file describing the structure of each player:
|
---|
211 | ident "kit_base.extern"
|
---|
212 | param
|
---|
213 | {
|
---|
214 | active 1
|
---|
215 | res "universe/actor/settingplayer.s3d_actor_run"
|
---|
216 | }
|
---|
217 | }
|
---|
218 | } |
---|