source: GTP/trunk/App/Demos/Illum/IBRBillboardCloudTrees/Shark3D/src/res/level_shmap/actor/world.s3d_actor @ 2517

Revision 2517, 6.6 KB checked in by igarcia, 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_world"
25            entry_array
26            {
27                cmds "net_traverse"
28                targets
29            }
30        }
31    }
32    {
33        // A position object.
34        // Define a player start position.
35        ident "kit_engobj.itemeye"
36        param
37        {
38            name "player_spawn"
39            item_actor "group_world"
40            item_name "simplepos:playerstart"
41        }
42    }
43    {
44        ident "kit_base.producer"
45        param
46        {
47            active 0
48            name "dragon_producer"
49            deleg_name "dragonset"
50            ident "kit_base.capsule"
51            param
52            {
53                active 0
54                scope "dragon"
55                local_name "capsule"
56                local_deleg_name "capsule_deleg"
57                deleg_target "dispatch_export"
58                child_ident "kit_base.group"
59                child_param
60                {
61                    // Delegate action calls to the children.
62                    active 1
63                    child_array
64                    {
65                        ident "kit_base.dispatch"
66                        param
67                        {
68                            name "dispatch_export"
69                            entry_array
70                            {
71                                cmds "destroy"
72                                targets "capsule"
73                            }
74                            {
75                                cmds "set_transf" "get_totaltransf"
76                                    "set_transf_transl_xyz"
77                                targets "pos_root"
78                            }
79                        }
80                    }
81                    {
82                        ident "kit_engobj.group"
83                        param
84                        {
85                            name "group_dragon"
86                            group_suppl "^stdsuppl"
87                            group_ident "group:"
88                            group_param
89                            {
90                                env "^^env"
91                                gensuppl "^stdsuppl"
92                                given_array
93                                {
94                                    item "^^env"
95                                    given_ident "env"
96                                }
97                                {
98                                    item "^stdsuppl"
99                                    given_ident "gensuppl"
100                                }
101                                {
102                                    item ""
103                                    given_ident "hook"
104                                }
105                                {
106                                    item "^state_world"
107                                    given_ident "state"
108                                }
109                                {
110                                    item "^sim_world"
111                                    given_ident "sim"
112                                }
113                                {
114                                    item "^sensorstate_world"
115                                    given_ident "sensorstate"
116                                }
117                                res "level_shmap/model/"
118                                    & "dragonmodel.s3d_inst_run"
119                            }
120                        }
121                    }
122                    {
123                        ident "kit_engobj.itemeye"
124                        param
125                        {
126                            name "pos_root"
127                            item_actor "group_dragon"
128                            item_name "simplepos:scene_root"
129                        }
130                    }
131                }
132            }
133        }
134    }
135    {
136        ident "kit_perch.script"
137        param
138        {
139            name ""
140            perchmgr "perchmgr"
141            notes_enabled 1
142            evtmgr "evtmgr"
143            res "level_shmap/actor/build.s3d_perch_run"
144            param
145            {
146                producer "dragon_producer"
147                base_x 0.0
148                base_y 0.0
149                base_z 0.0
150                step_xx 1.0
151                step_yx 0.0
152                step_zx 0.0
153                step_xy -0.5
154                step_yy 1.0
155                step_zy 0.0
156                step_xz 0.0
157                step_yz 0.0
158                step_zz 1.0
159
160                min_x 0
161                max_x 0
162                min_y 0
163                max_y 0
164                min_z 0
165                max_z 0
166
167                /*
168                min_x 0
169                max_x 1
170                min_y 0
171                max_y 1
172                min_z 0
173                max_z 0
174                */
175            }
176        }
177    }
178    // Lighting:
179    {
180        ident "kit_engobj.actu"
181        param
182        {
183            name "spot_actu1"
184            actu_suppl "stdsuppl"
185            actu_ident "actucyc:"
186            actu_param
187            {
188            }
189            clock "clock"
190            vel 0.071
191            auto_play_forw 1
192        }
193    }
194    {
195        ident "kit_engobj.posactu"
196        param
197        {
198            pos_actor "group_world"
199            pos_names "path:spotlight1"
200            slot 0
201            actu "spot_actu1"
202        }
203    }
204    {
205        ident "kit_engobj.actu"
206        param
207        {
208            name "spot_actu2"
209            actu_suppl "stdsuppl"
210            actu_ident "actucyc:"
211            actu_param
212            {
213            }
214            clock "clock"
215            vel 0.08
216            auto_play_forw 1
217        }
218    }
219    {
220        ident "kit_engobj.posactu"
221        param
222        {
223            pos_actor "group_world"
224            pos_names "path:spotlight2"
225            slot 0
226            actu "spot_actu2"
227        }
228    }
229}
Note: See TracBrowser for help on using the repository browser.