source: GTP/trunk/App/Demos/Geom/Shark3D/clod_head_demo_win32/src/res/level/actor/levelplayerbasis.s3d_actor @ 2236

Revision 2236, 2.5 KB checked in by gumbau, 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
14// Definition of the player.
15//
16// In this case, the player is a player having a walk collision detection
17// and can be controlled by the human player.
18//
19// The player is not defined directly, but only a suppl for the player.
20// The reason for this is that not only one player must be created,
21// but a new player for every player which logs into the server.
22// As long as no client logs into a server, no player is created.
23// Each time a player logs into the server, the player suppl
24// is used to create a player.
25
26
27// Since each dsc-file formally can only contain a single actor,
28// we use the group actor to define more than one actor.
29actor_ident "kit_base.group"
30actor_param
31{
32    active 1
33    child_array
34    {
35        ident "kit_base.deleg"
36        param
37        {
38            name ""
39            deleg_name "env"
40            deleg_target "^env"
41            allow_no_target 0
42            enabled 1
43        }
44    }
45    {
46        ident "kit_base.deleg"
47        param
48        {
49            name ""
50            deleg_name "stdsuppl"
51            deleg_target "^stdsuppl"
52            allow_no_target 0
53            enabled 1
54        }
55    }
56    {
57        ident "kit_base.deleg"
58        param
59        {
60            name ""
61            deleg_name "state_world"
62            deleg_target "^state_world"
63            allow_no_target 0
64            enabled 1
65        }
66    }
67    {
68        ident "kit_base.deleg"
69        param
70        {
71            name ""
72            deleg_name "sim_world"
73            deleg_target "^sim_world"
74            allow_no_target 0
75            enabled 1
76        }
77    }
78    {
79        // Include the character actors for this level.
80        // It is defined after the character bag
81        // since this dsc file refers the bag actor.
82        ident "kit_base.extern"
83        param
84        {
85            active 1
86            name "levelplayer_extern"
87            res "level/actor/levelplayer.s3d_actor_run"
88            watch_target "levelplayer_extern"
89            watch_cmd "load_current"
90        }
91    }
92}
Note: See TracBrowser for help on using the repository browser.