| 8 |
lars |
1 |
//Generated by BehavEd
|
|
|
2 |
|
|
|
3 |
rem ( "kirk gets dressed" );
|
|
|
4 |
|
|
|
5 |
if ( $get( FLOAT, "SET_OBJECTIVEODELL")=1.000000$ )
|
|
|
6 |
{
|
|
|
7 |
rem ( "He has is pants. No need to change again." );
|
|
|
8 |
}
|
|
|
9 |
|
|
|
10 |
|
|
|
11 |
else ( )
|
|
|
12 |
{
|
|
|
13 |
|
|
|
14 |
affect ( "dress_kirk1", /*@AFFECT_TYPE*/ FLUSH )
|
|
|
15 |
{
|
|
|
16 |
set ( /*@SET_TYPES*/ "SET_INVISIBLE", /*@BOOL_TYPES*/ "false" );
|
| 9 |
lars |
17 |
set ( /*@SET_TYPES*/ "SET_BOLTON_ON", "towel2" );
|
| 8 |
lars |
18 |
}
|
|
|
19 |
|
|
|
20 |
|
|
|
21 |
affect ( "dress_kirk3", /*@AFFECT_TYPE*/ FLUSH )
|
|
|
22 |
{
|
|
|
23 |
set ( /*@SET_TYPES*/ "SET_ANIM_BOTH", /*@ANIM_NAMES*/ "BOTH_SIT3TO2" );
|
|
|
24 |
set ( /*@SET_TYPES*/ "SET_ANIM_HOLDTIME_BOTH", -1 );
|
|
|
25 |
}
|
|
|
26 |
|
|
|
27 |
camera ( /*@CAMERA_COMMANDS*/ ENABLE );
|
|
|
28 |
camera ( /*@CAMERA_COMMANDS*/ MOVE, $tag( "dress_cam2", ORIGIN)$, 0 );
|
|
|
29 |
camera ( /*@CAMERA_COMMANDS*/ PAN, < 0.000 225.000 0.000 >, < 0.000 0.000 0.000 >, 0 );
|
|
|
30 |
camera ( /*@CAMERA_COMMANDS*/ FADE, < 0.000 0.000 0.000 >, 1.000, < 0.000 0.000 0.000 >, 0.000, 1000 );
|
|
|
31 |
wait ( 500.000 );
|
|
|
32 |
|
|
|
33 |
affect ( "dress_kirk1", /*@AFFECT_TYPE*/ FLUSH )
|
|
|
34 |
{
|
|
|
35 |
set ( /*@SET_TYPES*/ "SET_ANIM_BOTH", /*@ANIM_NAMES*/ "BOTH_STANDTOCONSOLE1" );
|
|
|
36 |
set ( /*@SET_TYPES*/ "SET_ANIM_HOLDTIME_BOTH", 3000 );
|
|
|
37 |
wait ( 1000.000 );
|
|
|
38 |
camera ( /*@CAMERA_COMMANDS*/ MOVE, $tag( "dress_cam3", ORIGIN)$, 0 );
|
|
|
39 |
camera ( /*@CAMERA_COMMANDS*/ PAN, < 0.000 225.000 0.000 >, < 0.000 0.000 0.000 >, 0 );
|
|
|
40 |
camera ( /*@CAMERA_COMMANDS*/ ZOOM, 50.000, 0 );
|
|
|
41 |
wait ( 500.000 );
|
|
|
42 |
set ( /*@SET_TYPES*/ "SET_ANIM_BOTH", /*@ANIM_NAMES*/ "BOTH_CROUCH1" );
|
|
|
43 |
set ( /*@SET_TYPES*/ "SET_ANIM_HOLDTIME_BOTH", -1 );
|
|
|
44 |
wait ( 1500.000 );
|
|
|
45 |
set ( /*@SET_TYPES*/ "SET_ANIM_BOTH", /*@ANIM_NAMES*/ "BOTH_UNCROUCH1" );
|
|
|
46 |
set ( /*@SET_TYPES*/ "SET_ANIM_HOLDTIME_BOTH", -1 );
|
|
|
47 |
wait ( 3000.000 );
|
|
|
48 |
|
|
|
49 |
affect ( "dress_kirk2", /*@AFFECT_TYPE*/ FLUSH )
|
|
|
50 |
{
|
|
|
51 |
|
|
|
52 |
affect ( "wetclothes", /*@AFFECT_TYPE*/ FLUSH )
|
|
|
53 |
{
|
|
|
54 |
set ( /*@SET_TYPES*/ "SET_ORIGIN", $tag( "wetclothes_moved", ORIGIN)$ );
|
|
|
55 |
}
|
|
|
56 |
|
|
|
57 |
remove ( "kirkq_boots" );
|
|
|
58 |
camera ( /*@CAMERA_COMMANDS*/ FADE, < 0.000 0.000 0.000 >, 0.000, < 0.000 0.000 0.000 >, 1.000, 250 );
|
|
|
59 |
wait ( 1500.000 );
|
|
|
60 |
|
|
|
61 |
affect ( "dress_kirk1", /*@AFFECT_TYPE*/ FLUSH )
|
|
|
62 |
{
|
|
|
63 |
set ( /*@SET_TYPES*/ "SET_INVISIBLE", /*@BOOL_TYPES*/ "true" );
|
|
|
64 |
}
|
|
|
65 |
|
|
|
66 |
set ( /*@SET_TYPES*/ "SET_INVISIBLE", /*@BOOL_TYPES*/ "false" );
|
|
|
67 |
set ( /*@SET_TYPES*/ "SET_ANIM_BOTH", /*@ANIM_NAMES*/ "BOTH_SIT3TO2" );
|
|
|
68 |
set ( /*@SET_TYPES*/ "SET_ANIM_HOLDTIME_BOTH", -1 );
|
|
|
69 |
|
|
|
70 |
affect ( "kirkq_boots", /*@AFFECT_TYPE*/ FLUSH )
|
|
|
71 |
{
|
|
|
72 |
remove ( "self" );
|
|
|
73 |
}
|
|
|
74 |
|
|
|
75 |
|
|
|
76 |
affect ( "kirkq_uniform", /*@AFFECT_TYPE*/ FLUSH )
|
|
|
77 |
{
|
|
|
78 |
remove ( "self" );
|
|
|
79 |
}
|
|
|
80 |
|
|
|
81 |
wait ( 500.000 );
|
|
|
82 |
set ( /*@SET_TYPES*/ "SET_ANIM_BOTH", /*@ANIM_NAMES*/ "BOTH_BENCHSIT1_FIXBOOT" );
|
|
|
83 |
set ( /*@SET_TYPES*/ "SET_ANIM_HOLDTIME_BOTH", -1 );
|
|
|
84 |
camera ( /*@CAMERA_COMMANDS*/ ZOOM, 80.000, 0 );
|
|
|
85 |
camera ( /*@CAMERA_COMMANDS*/ FADE, < 0.000 0.000 0.000 >, 1.000, < 0.000 0.000 0.000 >, 0.000, 0 );
|
|
|
86 |
camera ( /*@CAMERA_COMMANDS*/ MOVE, $tag( "cam1", ORIGIN)$, 0 );
|
|
|
87 |
camera ( /*@CAMERA_COMMANDS*/ PAN, $tag( "cam1", ANGLES)$, < 0.000 0.000 0.000 >, 0 );
|
|
|
88 |
camera ( /*@CAMERA_COMMANDS*/ MOVE, $tag( "cam2", ORIGIN)$, 4000 );
|
|
|
89 |
camera ( /*@CAMERA_COMMANDS*/ PAN, $tag( "cam2", ANGLES)$, < 0.000 0.000 0.000 >, 4000 );
|
|
|
90 |
wait ( 4000.000 );
|
|
|
91 |
set ( /*@SET_TYPES*/ "SET_INVISIBLE", /*@BOOL_TYPES*/ "true" );
|
|
|
92 |
|
|
|
93 |
affect ( "dress_kirk3", /*@AFFECT_TYPE*/ FLUSH )
|
|
|
94 |
{
|
|
|
95 |
set ( /*@SET_TYPES*/ "SET_INVISIBLE", /*@BOOL_TYPES*/ "false" );
|
|
|
96 |
}
|
|
|
97 |
|
|
|
98 |
camera ( /*@CAMERA_COMMANDS*/ MOVE, $tag( "cam3", ORIGIN)$, 0 );
|
|
|
99 |
camera ( /*@CAMERA_COMMANDS*/ PAN, $tag( "cam3", ANGLES)$, < 0.000 0.000 0.000 >, 0 );
|
|
|
100 |
wait ( 1.000 );
|
|
|
101 |
|
|
|
102 |
affect ( "dress_kirk3", /*@AFFECT_TYPE*/ FLUSH )
|
|
|
103 |
{
|
|
|
104 |
set ( /*@SET_TYPES*/ "SET_ANIM_BOTH", /*@ANIM_NAMES*/ "BOTH_TABLE_GETUP1" );
|
|
|
105 |
set ( /*@SET_TYPES*/ "SET_ANIM_HOLDTIME_BOTH", -1 );
|
|
|
106 |
}
|
|
|
107 |
|
|
|
108 |
wait ( 3000.000 );
|
|
|
109 |
camera ( /*@CAMERA_COMMANDS*/ FADE, < 0.000 0.000 0.000 >, 0.000, < 0.000 0.000 0.000 >, 1.000, 250 );
|
|
|
110 |
wait ( 750.000 );
|
|
|
111 |
|
|
|
112 |
affect ( "dress_kirk3", /*@AFFECT_TYPE*/ FLUSH )
|
|
|
113 |
{
|
|
|
114 |
set ( /*@SET_TYPES*/ "SET_INVISIBLE", /*@BOOL_TYPES*/ "true" );
|
|
|
115 |
}
|
|
|
116 |
|
|
|
117 |
|
|
|
118 |
affect ( "munro", /*@AFFECT_TYPE*/ FLUSH )
|
|
|
119 |
{
|
|
|
120 |
set ( /*@SET_TYPES*/ "SET_ORIGIN", $tag( "dress_pos", ORIGIN)$ );
|
|
|
121 |
set ( /*@SET_TYPES*/ "SET_ANGLES", < 0.000 270.000 0.000 > );
|
|
|
122 |
}
|
|
|
123 |
|
|
|
124 |
use ( "drawer_activate" );
|
|
|
125 |
set ( /*@SET_TYPES*/ "SET_CON_COMMAND", "torsomodel hazard" );
|
|
|
126 |
set ( /*@SET_TYPES*/ "SET_CON_COMMAND", "legsmodel hazard" );
|
|
|
127 |
set ( /*@SET_TYPES*/ "SET_CON_COMMAND", "bolton remove towel" );
|
|
|
128 |
camera ( /*@CAMERA_COMMANDS*/ DISABLE );
|
|
|
129 |
camera ( /*@CAMERA_COMMANDS*/ FADE, < 0.000 0.000 0.000 >, 1.000, < 0.000 0.000 0.000 >, 0.000, 250 );
|
|
|
130 |
}
|
|
|
131 |
|
|
|
132 |
}
|
|
|
133 |
|
|
|
134 |
set ( /*@SET_TYPES*/ "SET_OBJECTIVE_SUCCEEDED", /*@OBJECTIVES*/ "OBJ_ODELLLIVES" );
|
|
|
135 |
}
|
|
|
136 |
|