From now on i will post all of my errors / helps / needs in here so i won't keep posting a thread every problem i get.
And also i will post the solution , so other newbies like me , will know how to fix it if they got the same problem
Thank you.
Problem 1 : ( Playing a song ) *SOLVED*
Spoiler below!
Problem:How can i add a song/tune to play through the level all the time and keep rewinding?
stone_hammer_chipper: Change it to you'r items name
stone_hammer_chipper.tga: The image of the item inside the inventory
Problem 4 : ( Playing music not working ) *SOLVED*
Spoiler below!
Problem: The function: PlaySoundAtEntity( Scream1 , Scream1.ogg, Deadbody_1 , 2.0f, false);
is not working , i get an error " Scream1 is not declared and Deadbody_1 is not declared.
Solution: Function: PlaySoundAtEntity( "Scream1" , "Scream1.snt", "Deadbody_1" , 2.0f, false);
Scream1: The sound's name
Scream1.snt: The sound file's .snt file
Deadbody_1: The entity to play the sound from
2.0f: Time til the sound fades
To play you'r .ogg files you need a .snt file so create a new text document and write this in:
Well, that's what I do with custom music. But you can play normal music from the game itself, without having to place it in a custom "Music" folder. Just be sure the name is correct.
Infrequently active. Don't expect an immediate response. Best to contact me at a different locale. If I create a thread, expect me to be quite active.
(10-14-2012, 08:43 AM)Nemet Robert Wrote: Well, that's what I do with custom music. But you can play normal music from the game itself, without having to place it in a custom "Music" folder. Just be sure the name is correct.