Forum

> > Stranded II > Scripts > custom music not working
Forums overviewStranded II overview Scripts overviewLog in to reply

English custom music not working

3 replies
To the start Previous 1 Next To the start

old custom music not working

Xephoriah
User Off Offline

Quote
i made a song and converted it to a .wav file and put it into the sfx folder, then when i tried to use it in the game, nothing happened, btw its an invincibility theme i made, and i used the immortal potion. heres the script:

script=start
     on:eat {
          process "drinking",300;
          drink 0,0,30,0;
          addstate "unit",1,17;
          freetimers "unit",1,"cease_immortalpotion";
          timer"unit",1,36000,1,"cease_immortalpotion";
          play "(CUSTOM SONG HERE)";
          msg "You are invincible, nothing can hurt you!",4;
          closemenu;
     }
     on:use {
          event "eat";
     }
script=end

as you can see i slightly modified the message and the name, but it worked before without any errors.

old Re: custom music not working

Xephoriah
User Off Offline

Quote
user Assassin moder has written
Maybe something is wrong here:

1 - Where is placed custom sound?
2 - What extension of file is?


I placed the file in the the Stranded II - sfx folder.
and it was a .Wav file
To the start Previous 1 Next To the start
Log in to reply Scripts overviewStranded II overviewForums overview