Gamestudio Links
Zorro Links
Newest Posts
Removing outliers from files
by JeyKey II. 11/29/26 10:01
Experiences with cTrader
by JeyKey II. 11/27/26 09:04
make a complaint
by EW_bytes. 11/26/26 23:00
FXCM => AVA Trade Plugin???
by Martin_HH. 11/25/26 21:59
No connection to MT4
by Martin_HH. 11/23/26 06:38
MinMax function on History t6 file
by LucasJoshua. 11/21/26 14:28
What are you working on?
by rayp. 11/20/26 18:10
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
4 registered members (EvanTJ, Grant, LoT, EW_bytes), 8,561 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
EvanTJ, rht, MaliceTheMaker, Haitao_Ren, JimSimons
19250 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
How do you add Background Music in A5 Pro? #87388
08/24/06 19:52
08/24/06 19:52
Joined: Aug 2006
Posts: 15
T
typoking Offline OP
Newbie
typoking  Offline OP
Newbie
T

Joined: Aug 2006
Posts: 15
Hello. I own a copy of A5 Pro. I would like to know how you add background music to the levels.

Adding sounds is one thing..figuring out how to add music is another...I don't think the tutorial talks about it...

Re: How do you add Background Music in A5 Pro? [Re: typoking] #87389
08/24/06 20:03
08/24/06 20:03
Joined: Mar 2001
Posts: 3,298
Beverly, Massachusetts
Rhuarc Offline
Expert
Rhuarc  Offline
Expert

Joined: Mar 2001
Posts: 3,298
Beverly, Massachusetts
Wrong forum.


I no longer post on these forums, keep in touch with me via:
Linkedin.com
My MSDN blog
Re: How do you add Background Music in A5 Pro? [Re: typoking] #87390
08/24/06 20:03
08/24/06 20:03
Joined: Feb 2005
Posts: 3,687
Hessen, Germany
T
Tempelbauer Offline
Expert
Tempelbauer  Offline
Expert
T

Joined: Feb 2005
Posts: 3,687
Hessen, Germany
snd_LOOP (sound, var volume, var balance);

for example:
snd_loop("yourfile.wav",80, 0);


snd_loop plays a music in a endless loop (for background-music)
snd_play (has the same parameter) plays a file just one time

that´s all


please post such topis in "starting with gamestudio" or "scripting"

@mod: please move it

Re: How do you add Background Music in A5 Pro? [Re: Tempelbauer] #87391
08/24/06 20:04
08/24/06 20:04
Joined: Aug 2006
Posts: 15
T
typoking Offline OP
Newbie
typoking  Offline OP
Newbie
T

Joined: Aug 2006
Posts: 15
ah..thanks....but...uh....how do I do that?

Re: How do you add Background Music in A5 Pro? [Re: typoking] #87392
08/24/06 20:07
08/24/06 20:07
Joined: Feb 2005
Posts: 3,687
Hessen, Germany
T
Tempelbauer Offline
Expert
Tempelbauer  Offline
Expert
T

Joined: Feb 2005
Posts: 3,687
Hessen, Germany
- open your levelscript (you´ll find it in gstudio5\work\LEVELNAME.wdl)
- scroll down to "level_load(level_str);" and put the line after it in.
- save it
- copy the musicfile in \work
- start

edit: can i ask you something? why you have a pro-edition although you havn´t any experience with scripting?

Last edited by Tempelbauer; 08/24/06 20:08.
Re: How do you add Background Music in A5 Pro? [Re: Tempelbauer] #87393
08/24/06 20:08
08/24/06 20:08
Joined: Aug 2006
Posts: 15
T
typoking Offline OP
Newbie
typoking  Offline OP
Newbie
T

Joined: Aug 2006
Posts: 15
thank you very much...the reason I posted it here was the fact there were more peoplea ctually viewing files...so I figured I'd get a quicker response here..

Sorry for the inconvenience and thanks for the help. ^_^

Re: How do you add Background Music in A5 Pro? [Re: typoking] #87394
08/25/06 14:06
08/25/06 14:06
Joined: May 2002
Posts: 2,541
Berlin
EX Citer Offline
Expert
EX Citer  Offline
Expert

Joined: May 2002
Posts: 2,541
Berlin
got pro but don´t know how to script a music loop???

wav is by the way no background music. Maybe a short bg sound like animal sounds.

I would use the mp3 commands to play bgm music.

But 1. you don´t care where you post and 2. you got a pro (there is a illegal pro A5 version out there) but don´t know such easy stuff makes me think you are a rude person who got no legal copy of GS A5 pro.

Re: How do you add Background Music in A5 Pro? [Re: EX Citer] #87395
08/25/06 19:16
08/25/06 19:16
Joined: Jul 2003
Posts: 85
France
Gandalf Offline
Junior Member
Gandalf  Offline
Junior Member

Joined: Jul 2003
Posts: 85
France
Yes Ex Citer and Tempelbauer,
I asked the same question. Arrive as a newbies with a version A5 pro there, while they has there for a long time that we do not find her any more in downloading in demo version.
I tested the A5 version in demo and I waited for the release of the version A6 to buy a version com. Those who one a version legal A5, know the engine for a long time and are no more newbies.
Anyway, to begin with 3DGS with a version A5, even in demo today, seems to me
stupid. Because he must to re-learn the new commands and to forget those who are obsolete when this person will decide to buy itself a license, which will be a version A6.


Moderated by  adoado, checkbutton, mk_1, Perro 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1