uweachim
CoD2, 1.3, extreme2.6, modern weapons
Heute nur eine Kleinigkeit.
In welcher Datei kann ich das Geräusch beim (nach) dem Verlegen einer Granatensperre deaktivieren??
Danke und Gruß
Uwe
serthy
das "explosives planted" nach den 5 sekunden?
_ex_tripwires.gsc:
Code angehängt. Klicke hier zum Ein-/Ausblenden
| code: |
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
|
tripwireActivate(time)
{
level endon("ex_gameover");
self endon("disconnect");
self endon("ex_dead");
if(isPlayer(self))
{
self.ex_actimer = newClientHudElem(self);
self.ex_actimer.archived = false;
self.ex_actimer.horzAlign = "fullscreen";
self.ex_actimer.vertAlign = "fullscreen";
self.ex_actimer.alignX = "center";
self.ex_actimer.alignY = "middle";
self.ex_actimer.x = 320;
self.ex_actimer.y = 434;
self.ex_actimer.alpha = 0.8;
self.ex_actimer.fontScale = 1.2;
self.ex_actimer.label = &"TRIPWIRE_ACTIVATE";
self.ex_actimer.color = (0, 1, 0);
self.ex_actimer setTimer(5);
}
for(a = 0; a < 5; a++)
{
// hide WMD deployment
if(isDefined(self.ex_binocular_hint)) self.ex_binocular_hint.alpha = 0;
wait( [[level.ex_fpstime]](1) );
if(isPlayer(self) && isDefined(self.ex_actimer))
{
if((5 - a) == 3) self.ex_actimer .color = (1, 1, 0);
else if ( (5 - a) == 2) self.ex_actimer .color = (1, 0, 0);
}
if(isPlayer(self)) self playlocalsound("medi_use_high");
}
if(isPlayer(self))
{
self playlocalsound("medi_use_low");
if(isDefined(self.ex_actimer))
{
self.ex_actimer fadeovertime(1);
self.ex_actimer.alpha = 0;
}
}
wait( [[level.ex_fpstime]](1) );
if(isPlayer(self))
{
// self playlocalsound("planted");
self playlocalsound("MP_bomb_plant");
if(isDefined(self.ex_actimer)) self.ex_actimer destroy();
// show WMD deployment
if(isDefined(self.ex_binocular_hint)) self.ex_binocular_hint.alpha = 1;
}
} |
|
so ziemlich ganz unten hab ich zwei backslashes eingefügt '//' um
self playlocalsound("planted"); auszukommentieren
uweachim
Moin moin,
vielen Dank für deine schnelle Antwort.
Habe es ausprobiert und jetzt wird zwar der Text für die Aktivierung der Sperre nicht mehr angesagt, aber das Verlegegeräusch und die Aktivierung ist noch da.
Vielleicht habe ich mich mal wieder unklar ausgedrückt,
ich möchte, dass die anderen Mitspieler nicht das Geräusch hören, wenn ich die Sperre anlege.
Danke und Gruß
Uwe