About Store Forum Documentation Contact
Donations:
179$/mo



Post Reply 
How to add sound to RPG 2 SOURCE
Author Message
fhl41 Offline
Member

Post: #1
How to add sound to RPG 2 SOURCE
i am trying add sound to rpg 2 looking in c++ project for the names and folder
locations, i did different folders in the rpg 2 project but the sound is still not playing
(This post was last modified: 05-10-2015 06:20 PM by fhl41.)
05-10-2015 11:35 AM
Find all posts by this user Quote this message in a reply
Zervox Offline
Member

Post: #2
RE: How to add sound to RPG 2 SOURCE
You really should go through the normal tutorials before doing this.
Anyways,Right click the sound in the editor then properties, press the copy button at the side of the UID and pass the UID in your code so it says something like
SoundPlay(UID(xxxxxxxx,xxxxxxxx,xxxxxxxx,xxxxxxxx))
(This post was last modified: 05-10-2015 12:03 PM by Zervox.)
05-10-2015 12:02 PM
Find all posts by this user Quote this message in a reply
fhl41 Offline
Member

Post: #3
RE: How to add sound to RPG 2 SOURCE
yes that works ,if you play the demo there is everywhere sound
but they removed the sound from rpg source they can not sell that
but is the c++ code still not there or is that allso removed i mean if you add the right folders and the sound in the project then its good to go to play sound without c++ coding or do we have to add c++
05-10-2015 12:10 PM
Find all posts by this user Quote this message in a reply
fhl41 Offline
Member

Post: #4
RE: How to add sound to RPG 2 SOURCE
Restrictions:
Does not include sounds and music

is this allso for source c++ code did they removed it
05-10-2015 05:22 PM
Find all posts by this user Quote this message in a reply
Zervox Offline
Member

Post: #5
RE: How to add sound to RPG 2 SOURCE
It does not include the sound and music files.

Why don't you check? you've got the source.
its not about folders, it is about UID unless you have additional folders created alongside the .exe.
05-10-2015 05:29 PM
Find all posts by this user Quote this message in a reply
fhl41 Offline
Member

Post: #6
RE: How to add sound to RPG 2 SOURCE
yes i am just asking for a bit help thats the forum for i think
and i am just beginning with c++ so i dont understand everything
(just asking how the source is is that to much for you are you tired awnser the forum
05-10-2015 05:39 PM
Find all posts by this user Quote this message in a reply
RedcrowProd Offline
Bronze Supporter

Post: #7
RE: How to add sound to RPG 2 SOURCE
hey, no worries, zervox might be a little on the wreck today pfft

you should just have to replace the folder location by your UID ( he said that he removed the sounds and music, that means he only removed the actual music and sounds, so you cant re-use his music and sound, but the code is still there and works perfectly )
05-10-2015 06:03 PM
Find all posts by this user Quote this message in a reply
fhl41 Offline
Member

Post: #8
RE: How to add sound to RPG 2 SOURCE
oke thanks i much happer now i dont have to code it myself
its a very nice rpg 2 thanks you for that esenthel
now i can build a game
05-10-2015 06:13 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #9
RE: How to add sound to RPG 2 SOURCE
Hello,

Thank you for your purchase, yup, as others already said, all you need to do is drag and drop the sound files that you have (wav/ogg) into the project, and then use their ID in the SoundPlay function.
05-10-2015 10:39 PM
Find all posts by this user Quote this message in a reply
Post Reply