Frictional Games Forum (read-only)

Full Version: Music Won't Play [solved]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey I have been working on a remake of Resident Evil 3 however the music will not play even after being converted on audacity so does anyone know what's wrong with this script?

void OnStart()
{
PlayMusic("12_The_City_of_Ruin.ogg", true, 100.0, 0.0, 1, true);
}
//===========================================
// This runs when the player enters the map
void OnEnter()
{
}

//===========================================
// This runs when the player leaves the map
void OnLeave()
{
}

[Edit]
fixed. turns out I had to put it in the games audio directory lol noobism kicking in
PlayMusic("12_The_City_of_Ruin.ogg", true, 100.0, 0.0, 1, true);

Not needed.
(05-01-2011, 06:31 PM)Tanshaydar Wrote: [ -> ]PlayMusic("12_The_City_of_Ruin.ogg", true, 100.0, 0.0, 1, true);

Not needed.

It's alright I fixed it I just needed to drag it into the games proper audio directory Big Grin
BTW if you can show us a couple of in-game image Smile I'm really intrigued by the idea. Especially if someone manages to convert Nemesis - Brute Smile
(05-01-2011, 06:42 PM)Tanshaydar Wrote: [ -> ]BTW if you can show us a couple of in-game image Smile I'm really intrigued by the idea. Especially if someone manages to convert Nemesis - Brute Smile
Yeah it's looking good so far Big Grin