source: GTP/trunk/App/Demos/Illum/Shark3D/version164x12u/IllumDemoApplication/bin/res/level/actor/content.s3d_actor_run @ 2269

Revision 2269, 7.4 KB checked in by barsi, 17 years ago (diff)
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
14actor_ident "kit_base.group"
15actor_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                    mtl_array "solid"
93                    dominance 1
94                    bump
95                    {
96                        share_range 5.0
97                        share_period 0.02
98                        min_vel 1.0
99                        max_vel 10.0
100                        max_volume 1.0
101                        wave "wave:level/snd/solid_bump.wav"
102                        speaker_range 50.0
103                        speaker_size 5.0
104                    }
105                    slide
106                    {
107                        share_range 5.0
108                        share_period 0.2
109                        min_vel 0.1
110                        max_vel 5.0
111                        max_volume 1.0
112                        wave "wave:level/snd/solid_slide.wav"
113                        speaker_range 50.0
114                        speaker_size 5.0
115                    }
116                }
117                {
118                    mtl_array "glass"
119                    dominance 2
120                    bump
121                    {
122                        share_range 5.0
123                        share_period 0.02
124                        min_vel 1.0
125                        max_vel 10.0
126                        max_volume 1.0
127                        wave "wave:level/snd/glass_bump.wav"
128                        speaker_range 50.0
129                        speaker_size 5.0
130                    }
131                    slide
132                    {
133                        share_range 5.0
134                        share_period 0.2
135                        min_vel 0.1
136                        max_vel 5.0
137                        max_volume 1.0
138                        wave "wave:level/snd/glass_slide.wav"
139                        speaker_range 50.0
140                        speaker_size 5.0
141                    }
142                }*/
143            }
144        }
145    }
146    {
147        ident "kit_engobj.group"
148        param
149        {
150            name "group_world"
151            group_suppl "stdsuppl"
152            group_ident "group:"
153            group_param
154            {
155                env "env"
156                gensuppl "stdsuppl"
157                given_array
158                {
159                    item "env"
160                    given_ident "env"
161                }
162                {
163                    item "stdsuppl"
164                    given_ident "gensuppl"
165                }
166                {
167                    item ""
168                    given_ident "hook"
169                }
170                {
171                    item "state_world"
172                    given_ident "state"
173                }
174                {
175                    item "sim_world"
176                    given_ident "sim"
177                }
178                {
179                    item "sensorstate_world"
180                    given_ident "sensorstate"
181                }
182                res "level/model/worldmodel.s3d_inst_run"
183            }
184        }
185    }
186    {
187        ident "kit_engobj.group"
188        param
189        {
190            name "group_sky"
191            group_suppl "stdsuppl"
192            group_ident "group:"
193            group_param
194            {
195                env "env"
196                gensuppl "stdsuppl"
197                given_array
198                {
199                    item "env"
200                    given_ident "env"
201                }
202                {
203                    item "stdsuppl"
204                    given_ident "gensuppl"
205                }
206                {
207                    item ""
208                    given_ident "hook"
209                }
210                {
211                    item "state_sky"
212                    given_ident "state"
213                }
214                {
215                    item ""
216                    given_ident "sim"
217                }
218                {
219                    item ""
220                    given_ident "sensorstate"
221                }
222                res "level/model/skymodel.s3d_inst_run"
223            }
224        }
225    }
226    {
227        // Include the actors for the main level.
228        // Note that the level is defined before the character bag,
229        // so that the characters are updated after updating the level
230        // each frame.
231        ident "kit_base.extern"
232        param
233        {
234            active 1
235            name "world_extern"
236            res "level/actor/world.s3d_actor_run"
237            watch_target "world_extern"
238            watch_cmd "load_current"
239        }
240    }
241    {
242        // Include the actors for the sky.
243        ident "kit_base.extern"
244        param
245        {
246            active 1
247            name "sky_extern"
248            res "level/actor/sky.s3d_actor_run"
249            watch_target "sky_extern"
250            watch_cmd "load_current"
251        }
252    }
253}
Note: See TracBrowser for help on using the repository browser.