The online racing simulator
Add a sound in InSim
(6 posts, started )
Add a sound in InSim
Hi!... I want to know how can I add a Sound in InSim.

I have read in InSim.txt, that exists a SND packet for sounds, but I don't know how it works.

Somebody knows how can I add a sound in InSim??

Thanks.
You cannot play sounds using InSim apart from the preset chat message, system message, invalid key and error sounds and even those can only be played with a local InSim by sending an IS_MSL
Is the car horn a system sound?

Seems to be a number of choices on horn sound.
Quote from sinanju :Is the car horn a system sound?

Seems to be a number of choices on horn sound.

No, it isn't.
Quote from morpha :those can only be played with a local InSim by sending an IS_MSL

Somebody can make me an example of use of "IS_MSL" please??

InSim.Send_MSL_LocalMessage(??????);

Thanks for inconveniences.
struct IS_MSL // MSg Local - message to appear on local computer only
{
byte Size; // 132
byte Type; // ISP_MSL
byte ReqI; // 0
byte Sound; // sound effect (see Message Sounds below)

char Msg[128]; // last byte must be zero
};

I'm not sure if you send it with Msg blank does the sound still play, it should do though, if you wanted just the sound. It can only be sent to the host InSim is connected to though, you can't send it to clients.
Attached images
IS_MSL.png

Add a sound in InSim
(6 posts, started )
FGED GREDG RDFGDR GSFDG