Jump to content
Sigma-6

No entry config.bin for a custom CarHorn

Recommended Posts

Can anyone shed some light on this?

I'm trying to add a custom horn to a vehicle. The CFGWeapons for it is almost exactly the same code as I used on the old ArmA version of this addon (I added sportcarhorn):

 

class cfgWeapons
{
 	class Default;
 	class CarHorn;
 	class SportCarHorn;
	class BeepBeepHorn  : SportCarHorn
	{
		cursor = "";
		cursorAim = "";
		scope = 1;
		displayName = "Voice of Road Runner";
		reloadTime = 0.000000;
		drySound[] = {"\roadrunner2\Sounds\beepbeep",.6,1 };
		canLock = 0;
		optics = 0;
		enableAttack = 0;
		magazines[] = {};
	};
};

And here's how it's called up in CFGvehicles:

weapons[]=
		{
			"BeepBeepHorn"
		};
magazines[]={}; 

It's telling me the old "No entry 'bin\config.bin/CfgWeapons/BeepBeepHorn.sounds'."

 

Any idea what I've done wrong?

Share this post


Link to post
Share on other sites

didn't you forget the file extension? beepbeep.ogg?

And since we're on that subject: The file IS mono and in OGG format, right?

Share this post


Link to post
Share on other sites

The file not only is a properly configured and converted .wss (and doesn't need the extension in the config), but the horn itself actually works ingame. It just throws up an error message. It's the last problem with this vehicle, which is otherwise ready to go. :(

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

×