a script that adds the sound of a working straw chopper
you need add manual to your combine
moddesc:
<specializations>
<specialization name="EmeraldHound" className="EmeraldHound" filename="ScriptPath/EmeraldHound.lua"/>
</specializations>
vehicleTypes>
<type name="CombineChopperSound" className="Vehicle" filename="$dataS/scripts/vehicles/Vehicle.lua" parent="combineDrivable">
<specialization name="EmeraldHound"/>
</vehicleTypes>
XML:
<Chopper>
<sounds>
<work file="SoundPath/sieczkarnia.ogg" innerRadius="15.0" outerRadius="50.0" linkNode="nodeNearChopper">
<volume indoor="1.00" outdoor="1.5" />
<pitch indoor="1.00" outdoor="1.10" />
<lowpassGain indoor="1.00" outdoor="1.15" />
</work>
</sounds>
</Chopper>
you need add manual to your combine
moddesc:
<specializations>
<specialization name="EmeraldHound" className="EmeraldHound" filename="ScriptPath/EmeraldHound.lua"/>
</specializations>
vehicleTypes>
<type name="CombineChopperSound" className="Vehicle" filename="$dataS/scripts/vehicles/Vehicle.lua" parent="combineDrivable">
<specialization name="EmeraldHound"/>
</vehicleTypes>
XML:
<Chopper>
<sounds>
<work file="SoundPath/sieczkarnia.ogg" innerRadius="15.0" outerRadius="50.0" linkNode="nodeNearChopper">
<volume indoor="1.00" outdoor="1.5" />
<pitch indoor="1.00" outdoor="1.10" />
<lowpassGain indoor="1.00" outdoor="1.15" />
</work>
</sounds>
</Chopper>