Line | |
---|
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 | ident "kit_base.dispatch"
|
---|
22 | param
|
---|
23 | {
|
---|
24 | name "dispatch_content"
|
---|
25 | entry_array
|
---|
26 | {
|
---|
27 | cmds "net_traverse"
|
---|
28 | targets
|
---|
29 | "group_world"
|
---|
30 | "group_sky"
|
---|
31 | newcmd "traverse"
|
---|
32 | }
|
---|
33 | {
|
---|
34 | cmds "net_traverse"
|
---|
35 | targets
|
---|
36 | "dispatch_world"
|
---|
37 | "dispatch_sky"
|
---|
38 | }
|
---|
39 | }
|
---|
40 | }
|
---|
41 | {
|
---|
42 | ident "kit_engobj.noise"
|
---|
43 | param
|
---|
44 | {
|
---|
45 | active 1
|
---|
46 | name "noise_world"
|
---|
47 | noise_suppl "stdsuppl"
|
---|
48 | noise_ident "noise:"
|
---|
49 | noise_param
|
---|
50 | {
|
---|
51 | env "env"
|
---|
52 | state "state_world"
|
---|
53 | sim "sim_world"
|
---|
54 | clock "clock"
|
---|
55 | insp_ident "shownoise"
|
---|
56 | insp_point_color 1.0 1.0 0.5
|
---|
57 | insp_ext_color 0.5 1.0 0.5
|
---|
58 | insp_default_radius 0.5
|
---|
59 | pos_suppl "stdsuppl"
|
---|
60 | pos_ident "simplepos:"
|
---|
61 | speaker_suppl "stdsuppl"
|
---|
62 | speaker_ident "speaker:"
|
---|
63 | wave_suppl "stdsuppl"
|
---|
64 | attr_array
|
---|
65 | {
|
---|
66 | mtl_array "character"
|
---|
67 | dominance 10
|
---|
68 | bump
|
---|
69 | {
|
---|
70 | share_range 0.0
|
---|
71 | share_period 0.0
|
---|
72 | min_vel 0.0
|
---|
73 | max_vel 0.0
|
---|
74 | max_volume 1.0
|
---|
75 | wave ""
|
---|
76 | speaker_range 50.0
|
---|
77 | speaker_size 5.0
|
---|
78 | }
|
---|
79 | slide
|
---|
80 | {
|
---|
81 | share_range 0.0
|
---|
82 | share_period 0.0
|
---|
83 | min_vel 0.0
|
---|
84 | max_vel 0.0
|
---|
85 | max_volume 1.0
|
---|
86 | wave ""
|
---|
87 | speaker_range 50.0
|
---|
88 | speaker_size 5.0
|
---|
89 | }
|
---|
90 | }
|
---|
91 | }
|
---|
92 | }
|
---|
93 | }
|
---|
94 | {
|
---|
95 | ident "kit_engobj.group"
|
---|
96 | param
|
---|
97 | {
|
---|
98 | name "group_world"
|
---|
99 | group_suppl "stdsuppl"
|
---|
100 | group_ident "group:"
|
---|
101 | group_param
|
---|
102 | {
|
---|
103 | env "env"
|
---|
104 | gensuppl "stdsuppl"
|
---|
105 | given_array
|
---|
106 | {
|
---|
107 | item "env"
|
---|
108 | given_ident "env"
|
---|
109 | }
|
---|
110 | {
|
---|
111 | item "stdsuppl"
|
---|
112 | given_ident "gensuppl"
|
---|
113 | }
|
---|
114 | {
|
---|
115 | item ""
|
---|
116 | given_ident "hook"
|
---|
117 | }
|
---|
118 | {
|
---|
119 | item "state_world"
|
---|
120 | given_ident "state"
|
---|
121 | }
|
---|
122 | {
|
---|
123 | item "sim_world"
|
---|
124 | given_ident "sim"
|
---|
125 | }
|
---|
126 | {
|
---|
127 | item "sensorstate_world"
|
---|
128 | given_ident "sensorstate"
|
---|
129 | }
|
---|
130 | res "level_shmap/model/worldmodel.s3d_inst_run"
|
---|
131 | }
|
---|
132 | }
|
---|
133 | }
|
---|
134 | {
|
---|
135 | ident "kit_engobj.group"
|
---|
136 | param
|
---|
137 | {
|
---|
138 | name "group_sky"
|
---|
139 | group_suppl "stdsuppl"
|
---|
140 | group_ident "group:"
|
---|
141 | group_param
|
---|
142 | {
|
---|
143 | env "env"
|
---|
144 | gensuppl "stdsuppl"
|
---|
145 | given_array
|
---|
146 | {
|
---|
147 | item "env"
|
---|
148 | given_ident "env"
|
---|
149 | }
|
---|
150 | {
|
---|
151 | item "stdsuppl"
|
---|
152 | given_ident "gensuppl"
|
---|
153 | }
|
---|
154 | {
|
---|
155 | item ""
|
---|
156 | given_ident "hook"
|
---|
157 | }
|
---|
158 | {
|
---|
159 | item "state_sky"
|
---|
160 | given_ident "state"
|
---|
161 | }
|
---|
162 | {
|
---|
163 | item ""
|
---|
164 | given_ident "sim"
|
---|
165 | }
|
---|
166 | {
|
---|
167 | item ""
|
---|
168 | given_ident "sensorstate"
|
---|
169 | }
|
---|
170 | res "level_shmap/model/skymodel.s3d_inst_run"
|
---|
171 | }
|
---|
172 | }
|
---|
173 | }
|
---|
174 | {
|
---|
175 | // Include the actors for the main level.
|
---|
176 | // Note that the level is defined before the character bag,
|
---|
177 | // so that the characters are updated after updating the level
|
---|
178 | // each frame.
|
---|
179 | ident "kit_base.extern"
|
---|
180 | param
|
---|
181 | {
|
---|
182 | // Delegate action calls to the child:
|
---|
183 | active 1
|
---|
184 | name "world_extern"
|
---|
185 | res "level_shmap/actor/world.s3d_actor_run"
|
---|
186 | watch_target "world_extern"
|
---|
187 | watch_cmd "load_current"
|
---|
188 | }
|
---|
189 | }
|
---|
190 | {
|
---|
191 | // Include the actors for the sky.
|
---|
192 | ident "kit_base.extern"
|
---|
193 | param
|
---|
194 | {
|
---|
195 | // Delegate action calls to the child:
|
---|
196 | active 1
|
---|
197 | name "sky_extern"
|
---|
198 | res "level_shmap/actor/sky.s3d_actor_run"
|
---|
199 | watch_target "sky_extern"
|
---|
200 | watch_cmd "load_current"
|
---|
201 | }
|
---|
202 | }
|
---|
203 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.