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