Subversion-Projekte sthq.gbs

Revision

Revision 900 | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 900 Revision 902
Zeile 21... Zeile 21...
21
void doorLocked3();
21
void doorLocked3();
22
void main(); // needed by ALL scripts
22
void main(); // needed by ALL scripts
Zeile 23... Zeile 23...
23
 
23
 
24
void main()
24
void main()
-
 
25
{
-
 
26
	
-
 
27
	setup_world();
25
{
28
	thread intro_cin();
26
	//PLAYER WEAPON LOADOUT
29
	//PLAYER WEAPON LOADOUT
27
    $player.give( "models/weapons/worldmodel-phaser-STX.tik" ); 
30
    $player.give( "models/weapons/worldmodel-phaser-STX.tik" ); 
28
    $player.give( "models/weapons/worldmodel-compressionrifle.tik" ); 
-
 
29
	setup_world();
-
 
30
	thread intro_cin();
31
    $player.give( "models/weapons/worldmodel-compressionrifle.tik" ); 
31
	$mistvieh.ai_off();
32
	$mistvieh.ai_off();
32
	$mistvieh.model( "char/alien-type1a-lurker-autopsy.tik" );
33
	$mistvieh.model( "char/alien-type1a-lurker-autopsy.tik" );
Zeile 33... Zeile 34...
33
}
34
}
34
 
35
 
-
 
36
void setup_world()
35
void setup_world()
37
{
36
{
38
cam_fadeOut( .1, 0, 0, 0, 1, 0 );
37
	$illia_prisoner.ai_off();
39
	$illia_prisoner.ai_off();
38
	$illia_prisoner.anim( "cin-m8_situp" );
40
	$illia_prisoner.anim( "cin-m8_situp" );
39
	$illia_prisoner.removeactorweapon ( "CompressionRifle" );
41
	$illia_prisoner.removeactorweapon ( "CompressionRifle" );
Zeile 43... Zeile 45...
43
	$illia_bridge.hide();
45
	$illia_bridge.hide();
44
	$illia_bridge2.ai_off();
46
	$illia_bridge2.ai_off();
45
	$illia_bridge2.hide();
47
	$illia_bridge2.hide();
46
	$illia_shuttle.ai_off();
48
	$illia_shuttle.ai_off();
47
	$illia_shuttle.hide();
49
	$illia_shuttle.hide();
-
 
50
	$karq.allowfall(1);
48
	$warbird.forcealpha( 1 );
51
	$warbird.forcealpha( 1 );
49
	$warbird.alpha( 0 );
52
	$warbird.alpha( 0 );
50
	$warbird.hide();
53
	$warbird.hide();
51
	$scan_beam1.hide();
54
	$scan_beam1.hide();
52
	$scan_beam2.hide();
55
	$scan_beam2.hide();
Zeile 61... Zeile 64...
61
	number_weapons_taken = 0;
64
	number_weapons_taken = 0;
62
	$weapon1_steam.hide();
65
	$weapon1_steam.hide();
63
	$weapon2_steam.hide();
66
	$weapon2_steam.hide();
64
	$weapon3_steam.hide();
67
	$weapon3_steam.hide();
65
	waitforplayer();
68
	waitforplayer();
66
	$player.use("compressionrifle");
-
 
67
	
-
 
68
}
69
}
Zeile 69... Zeile 70...
69
 
70
 
70
void warbird_cin()
71
void warbird_cin()
71
{
72
{
-
 
73
	spawn ( "Camera" , "targetname" , "cam2" );
72
	spawn ( "Camera" , "targetname" , "cam2" );
74
	waitforplayer();
73
	freezeplayer();
75
	freezeplayer();
74
	cinematic();
76
	cinematic();
75
	//cam_fadein( 1, 0, 0, 0, 1, 0 );
77
	//cam_fadein( 1, 0, 0, 0, 1, 0 );
76
	letterbox ( .1 );
78
	letterbox ( .1 );
77
	wait( .05 );
79
	wait( .05 );
78
	$cam2.follow( $map6_warbird );
80
	$cam2.follow( $map6_warbird );
-
 
81
	$cam2.cut();
79
	$cam2.cut();
82
	cam_fadein( 2, 0, 0, 0, 1, 0 );
80
	wait( .5);
83
	wait( .5);
81
	cuecamera($cam2);
84
	cuecamera($cam2);
82
	wait(.5);
85
	wait(.5);
83
	$warbird.playsound( "sound/cloak.wav", 0, 4, 20000 );
86
	$warbird.playsound( "sound/cloak.wav", 0, 4, 20000 );
Zeile 93... Zeile 96...
93
void intro_cin()
96
void intro_cin()
94
{
97
{
95
	spawn ( "Camera" , "targetname" , "cam1" );
98
	spawn ( "Camera" , "targetname" , "cam1" );
96
	$illia_shuttle.show();
99
	$illia_shuttle.show();
97
	$illia_shuttle.anim("cin-m7-end-sydney");
100
	$illia_shuttle.anim("cin-m7-end-sydney");
-
 
101
	waitforplayer();
98
	freezeplayer();
102
	freezeplayer();
99
	cinematic();
103
	cinematic();
100
	//cam_fadein( 1, 0, 0, 0, 1, 0 );
104
	//cam_fadein( 1, 0, 0, 0, 1, 0 );
101
	letterbox ( .1 );
105
	letterbox ( .1 );
102
	skipthread("skip_intro_cin");
106
	skipthread("skip_intro_cin");
103
	wait( .05 );
107
	wait( .05 );
104
	$cam1.follow( $map6_planet );
108
	$cam1.follow( $map6_planet );
105
	$cam1.cut();
109
	$cam1.cut();
106
	wait( .5);
110
	wait( .5);
107
	cuecamera($cam1);
111
	cuecamera($cam1);
-
 
112
	cam_fadein( .5, 0, 0, 0, 1, 0 );
108
	$shuttle.bind( $shuttle_origin );
113
	$shuttle.bind( $shuttle_origin );
109
	$shuttle_door.bind( $shuttle_origin );
114
	$shuttle_door.bind( $shuttle_origin );
110
	$shuttle.playsound( "sound/vehicles/shuttlecraft/shuttle_decelerate.wav", 0, 4, 256 );
115
	$shuttle.playsound( "sound/vehicles/shuttlecraft/shuttle_decelerate.wav", 0, 4, 256 );
111
	$shuttle_origin.time(10);
116
	$shuttle_origin.time(10);
112
	wait(.1);
117
	wait(.1);
Zeile 152... Zeile 157...
152
	if(doesEntityExist($illia_prisoner)){//chrisstrahl remove useless char 2007.06.20
157
	if(doesEntityExist($illia_prisoner)){//chrisstrahl remove useless char 2007.06.20
153
		$illia_prisoner.remove();
158
		$illia_prisoner.remove();
154
	}
159
	}
155
	clearletterbox(.1);
160
	clearletterbox(.1);
156
	cam_fadein( 1, 0, 0, 0, 1, 0 );
161
	cam_fadein( 1, 0, 0, 0, 1, 0 );
-
 
162
	wait(.1);
-
 
163
	$player.use("compressionrifle");
157
}
164
}
Zeile 158... Zeile 165...
158
 
165
 
159
void final_cin()
166
void final_cin()
160
{
167
{