Jump to content

Recommended Posts

Truck Reverse Parking Sound

 

this little addon adds reverse parking sound for trucks .
works for both Ai and player vehicles

so far tested with vanilla and RHS trucks

 

 


Download:

Truck Reverse Parking Sound

 

 

  • Like 3

Share this post


Link to post
Share on other sites
3 hours ago, WarhammerActual said:

This is great , possible to run it as a script? instead of a mod ?Ty in advance and ty for sharing this ...

Script Version
,enjoy ;)

Share this post


Link to post
Share on other sites
12 hours ago, AirShark said:

Script Version
,enjoy 😉

thank you so very much .. I love this small but outstanding addition.. 

I tested the mod  work's great , but for some reason the script version is not working .. 

Any thought's?

Share this post


Link to post
Share on other sites
2 hours ago, WarhammerActual said:

thank you so very much .. I love this small but outstanding addition.. 

I tested the mod  work's great , but for some reason the script version is not working .. 

Any thought's?

ah sorry, i forget to change the path in the init.sqf
change both:

call compile preprocessFileLineNumbers "\Truck_Reverse_beeping_Sound\Script\fn_truck_reverse.sqf"; 

with:
 

call compile preprocessFileLineNumbers "\Script\fn_truck_reverse.sqf";

 

Share this post


Link to post
Share on other sites
1 hour ago, AirShark said:

ah sorry, i forget to change the path in the init.sqf
change both:


call compile preprocessFileLineNumbers "\Truck_Reverse_beeping_Sound\Script\fn_truck_reverse.sqf"; 

with:
 


call compile preprocessFileLineNumbers "\Script\fn_truck_reverse.sqf";

 

I just tried it here: For some reason it's just not working. But when I run the PBO it is.. Anything stand out to you ?


//Radio Programming
_nop = [] execVM "irRadio_Nofreq.sqf";
// JIP Check (This code should be placed first line of init.sqf file)
if (!isServer && isNull player) then
{
    isJIP=true;
    waitUntil {!(isNull player)};
} else {
    isJIP=false;
};

waituntil {!isnil "bis_fnc_init"};

// Precompile code
execVM "precompile.sqf";

//Initialization
call compile preprocessFileLineNumbers "\Script\fn_truck_reverse.sqf";  

{
  _x addEventHandler ["GetIn", {[_this select 0]
	  call compile preprocessFileLineNumbers "\Script\fn_truck_reverse.sqf";
	}];
} forEach vehicles;

 

Share this post


Link to post
Share on other sites
4 hours ago, WarhammerActual said:

I just tried it here: For some reason it's just not working. But when I run the PBO it is.. Anything stand out to you ?

weird i have encountered the same issue, its a pathing issue, i made the init.sqf runs the script successfuly by this

[] execVM "script\fn_truck_reverse.sqf"

however i couldnt make it to play the sound even though i have corrected its path inside the fn_truck_reverse.sqf and it should be something like this when you move the sound folder inside the script folder

playSound3D ["sound\Veh_Truck_reverse_beep.ogg", _x, false, getPosASL _x, 3, 1, 100]; 

 

Share this post


Link to post
Share on other sites
1 hour ago, AirShark said:

weird i have encountered the same issue, its a pathing issue, i made the init.sqf runs the script successfuly by this


[] execVM "script\fn_truck_reverse.sqf"

however i couldnt make it to play the sound even though i have corrected its path inside the fn_truck_reverse.sqf and it should be something like this when you move the sound folder inside the script folder


playSound3D ["sound\Veh_Truck_reverse_beep.ogg", _x, false, getPosASL _x, 3, 1, 100]; 

 

thank you for this , I will test and advise.. 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×