Author | Message |
LesinCZ
Posts: 7
Location: Czech Republic Occupation: SALRR CREW Age: 33 V$: Tzepy |
#1 2016-10-30 21:56 |
I have made a pretty engine sound (not big work ,but helps). The sounds are without Turbo sound but i can add it here if u want . Here is the link for complete sound pack *LINK*
Here is the script for block.java (works on every engine) if (tab = the_car.getSfxTable(0))//on { tab.clear(); tab.addItem(new ResourceRef(EngineSoundPack:0x00000171r), 2000, 500.0, 2500.0, 0.3, 0.4);//200 tab.addItem(new ResourceRef(EngineSoundPack:0x00000172r), 3000, 2000.0, 3700.0, 0.5, 0.6);//3000 tab.addItem(new ResourceRef(EngineSoundPack:0x00000173r), 4000, 3000.0, 4700.0, 0.7, 0.8);//4000 tab.addItem(new ResourceRef(EngineSoundPack:0x00000174r), 5000, 4000.0, 5700.0, 0.9, 1.0);//5000 tab.addItem(new ResourceRef(EngineSoundPack:0x00000175r), 6000, 5000.0, 6700.0, 1.1, 1.2);//6000 tab.addItem(new ResourceRef(EngineSoundPack:0x00000176r), 7000, 6000.0, RPM_limit+600, 1.3, 1.4);//7000 tab.addItem(new ResourceRef(EngineSoundPack:0x00000169r), 8000, RPM_limit-600, 18000.0, 1.5, 1.6);//limmiter } if (tab = the_car.getSfxTable(1))//off { tab.clear(); tab.addItem(new ResourceRef(EngineSoundPack:0x0000016Ar), 1000, 500.0, 1250.0, 0.3, 0.4);//idle tab.addItem(new ResourceRef(EngineSoundPack:0x0000016Br), 4000, 750.0, 4000.0, 0.8, 0.5);//low tab.addItem(new ResourceRef(EngineSoundPack:0x0000016Cr), 6000, 2500.0, 5500.0, 1.0, 0.8);//mid tab.addItem(new ResourceRef(EngineSoundPack:0x0000016Dr), 6500, 4500.0, 8000.0, 1.0, 1.8);//rumble tab.addItem(new ResourceRef(EngineSoundPack:0x0000016Fr), 7000, 5000.0, 18000.0, 1.3, 1.2);//high } if (tab = the_car.getSfxTable(2)) { tab.clear(); the_car.setSfxExhaustMinVol(0.9); } This post was edited by LesinCZ (2016-10-31 19:30, ago) |
|
Holy Shit Man
Posts: 2554
Location: Poland Occupation: Faking skills like a pro Age: V$: No |
#2 2016-10-30 22:55 |
Won't work in 99% of cases. You forgot to mention (link) which sound pack it is for.
|
|
LesinCZ
Posts: 7
Location: Czech Republic Occupation: SALRR CREW Age: 33 V$: Tzepy |
#3 2016-10-31 19:29 |
thanks for the reminder
|
|