Przesunięty przez: fallout Pon 22 Sie, 2011 14:26 |
Tagi tematu: kabina., ls mody 2013wyciszona, poradnik
|
| Autor |
Wiadomość
|
CoowBooy
NieSpamowaćMiNaPW


Dołączył: 11 Paź 2009 Posty: 783
|
Wysłany: Pon 22 Sie, 2011 13:59 • 1 post w temacie
|
|
|
Witam.
Znalazłem fajny skrypt, który sprawia, że przełączając na kamerę ze środka pojazdu dźwięki są cichsze, wytłumione.
Co prawda nie znajdzie to zastosowania w modach starszych maszyn, ale jak ktoś chce - do nowszych będzie jak znalazł.
Więc, ściągamy scrypt: http://dl.dropbox.com/u/3...21/unisound.lua i wrzucamy go do folderu/archiwum z modem.
W pliku modDesc.xml wystarczy dopisać | Kod: | | <specialization name="unisound" className="unisound" filename="unisound.lua"/> | i | Kod: | | <specialization name="unisound" /> | Nie będę się rozpisywał gdzie to i jak wkleić - jeżeli sobie nie dasz rady - błagam, nie zakładaj wątku, pomyśl trochę sam.
I w zasadzie to tyle. Ale komuś może wyciszenie nie wystarczyć - jak na przykład dla mnie różnica była nie wielka. Więc otwieramy unisound.lua (polecam Notepad++ - koloruje składnie przez co skrypt jest bardzo czytelny).
W tym wycinku (linijki 38-64): | Kod: | if self.motorSound ~= nil then
setSampleVolume(self.motorSound, self.motorSoundVolume/2.9);
end;
if self.motorSoundRun ~= nil then
setSampleVolume(self.motorSoundRun, self.motorSoundRunVolume/2.9);
end;
if self.motorStartSound ~= nil then
setSampleVolume(self.motorStartSound, self.motorStartSoundVolume/2.5);
end;
if self.motorStopSound ~= nil then
setSampleVolume(self.motorStopSound, self.motorStopSoundVolume/2.5);
end;
if self.reverseDriveSound ~= nil then
setSampleVolume(self.reverseDriveSound, self.reverseDriveSoundVolume/2.5);
end;
if self.compressedAirSound ~= nil then
setSampleVolume(self.compressedAirSound, self.compressedAirSoundVolume/2.5);
end;
if self.compressionSound ~= nil then
setSampleVolume(self.compressionSound, self.compressionSoundVolume/2.5);
end;
if self.aiMotorSound ~= nil then
setSampleVolume(self.aiMotorSound, self.aiMotorSoundVolume/2.5);
end;
if self.aiThreshingSound ~= nil then
setSampleVolume(self.aiThreshingSound, self.aiThreshingSoundVolume/2.5);
end; | Zamień liczby2.5 na 2.9 na większe. W moim przypadku zamiana dwójek na czwórki dała pożądany efekt.
Pozdro.
|
_________________
Chciałbym nic nie robić... Jak to się robi?
Tadeusz Kotarbiński
 |
Ten użytkownik dostał za ten post 3 piw/piwa |
|
|
|
 |
|
|
 |
|
|
|
|