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
0 registered members (), 8,209 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EvanTJ, rht, MaliceTheMaker, Haitao_Ren, JimSimons
19250 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 3 1 2 3
Re: Hi George, intelligent music...? [Re: George] #143613
08/17/07 01:50
08/17/07 01:50
Joined: Jan 2006
Posts: 2,157
Connecticut, USA
Blink Offline OP

Expert
Blink  Offline OP

Expert

Joined: Jan 2006
Posts: 2,157
Connecticut, USA
see the problem is, i am using the templates and the 100 plus levels code from the AUM, and i wasnt sure how to get in game music to work without using the entity, every attempt at using it had the same effect, the music continued on the next level. so your saying, each new level should have the instruction in it before the level loads?


My Famous Quotes: "Hip hop is like a virus, infecting everyone and everything around it. Every form of media has some way,shape or form, assimilated hip hop into it." It has also mutated into other strains like, trip hop, house, rap, gangster, and conscious forms. Once you are infected with it, its with you for life."
Re: Hi George, intelligent music...? [Re: George] #143614
08/17/07 02:30
08/17/07 02:30
Joined: Jan 2006
Posts: 2,157
Connecticut, USA
Blink Offline OP

Expert
Blink  Offline OP

Expert

Joined: Jan 2006
Posts: 2,157
Connecticut, USA
didnt work, i added it to the instuction in the templates, but nothing happened, the music continued.


My Famous Quotes: "Hip hop is like a virus, infecting everyone and everything around it. Every form of media has some way,shape or form, assimilated hip hop into it." It has also mutated into other strains like, trip hop, house, rap, gangster, and conscious forms. Once you are infected with it, its with you for life."
Re: Hi George, intelligent music...? [Re: Blink] #143615
08/17/07 18:30
08/17/07 18:30
Joined: Aug 2003
Posts: 2,011
Bucharest, Romania
George Offline

Expert
George  Offline

Expert

Joined: Aug 2003
Posts: 2,011
Bucharest, Romania
If you are starting the music with an instruction that looks like this:

music_handle = snd_loop (niceloop_wav, 50, 0);

then you should be able to stop it using an instruction like this:

snd_stop (music_handle);

If this doesn't work for you, then the problem is somewhere else (as an example, you are starting the music several times, etc).

Re: Hi George, intelligent music...? [Re: George] #143616
08/17/07 22:30
08/17/07 22:30
Joined: Jan 2006
Posts: 2,157
Connecticut, USA
Blink Offline OP

Expert
Blink  Offline OP

Expert

Joined: Jan 2006
Posts: 2,157
Connecticut, USA
each entity that starts the music on each level is coded exactly the way it is in the example that i posted. they all start and stop the music the way i posted. i didnt change the intellegent music code,i just customized it for my needs.


My Famous Quotes: "Hip hop is like a virus, infecting everyone and everything around it. Every form of media has some way,shape or form, assimilated hip hop into it." It has also mutated into other strains like, trip hop, house, rap, gangster, and conscious forms. Once you are infected with it, its with you for life."
Re: Hi George, intelligent music...? [Re: Blink] #143617
08/18/07 08:47
08/18/07 08:47
Joined: Aug 2003
Posts: 2,011
Bucharest, Romania
George Offline

Expert
George  Offline

Expert

Joined: Aug 2003
Posts: 2,011
Bucharest, Romania
If a "snd_stop (music_handle);" (without the quotes) typed at the console doesn't stop the music, you have an error somewhere else (not in the music-related code)

Re: Hi George, intelligent music...? [Re: George] #143618
08/18/07 16:48
08/18/07 16:48
Joined: Jan 2006
Posts: 2,157
Connecticut, USA
Blink Offline OP

Expert
Blink  Offline OP

Expert

Joined: Jan 2006
Posts: 2,157
Connecticut, USA
thanks for your time George, I dont know what to do to fix this problem, so i have to seek out a plan B. maybe I can get it working for a future project. your AUM's are incredible, keep up the great work!


My Famous Quotes: "Hip hop is like a virus, infecting everyone and everything around it. Every form of media has some way,shape or form, assimilated hip hop into it." It has also mutated into other strains like, trip hop, house, rap, gangster, and conscious forms. Once you are infected with it, its with you for life."
Re: Hi George, intelligent music...? [Re: Blink] #143619
08/18/07 18:30
08/18/07 18:30
Joined: Aug 2003
Posts: 2,011
Bucharest, Romania
George Offline

Expert
George  Offline

Expert

Joined: Aug 2003
Posts: 2,011
Bucharest, Romania
Don't give up yet. Did you try to stop the music by typing that line of code at the console?

Re: Hi George, intelligent music...? [Re: George] #143620
08/18/07 20:27
08/18/07 20:27
Joined: Jan 2006
Posts: 2,157
Connecticut, USA
Blink Offline OP

Expert
Blink  Offline OP

Expert

Joined: Jan 2006
Posts: 2,157
Connecticut, USA
yes, for some strange reason, the music still continues. i used the code exactly, the way it is from the AUM, and i tried the one from AUM 38 as well, same problem.


My Famous Quotes: "Hip hop is like a virus, infecting everyone and everything around it. Every form of media has some way,shape or form, assimilated hip hop into it." It has also mutated into other strains like, trip hop, house, rap, gangster, and conscious forms. Once you are infected with it, its with you for life."
Re: Hi George, intelligent music...? [Re: Blink] #143621
08/19/07 16:30
08/19/07 16:30
Joined: Jan 2006
Posts: 2,157
Connecticut, USA
Blink Offline OP

Expert
Blink  Offline OP

Expert

Joined: Jan 2006
Posts: 2,157
Connecticut, USA
ok, plan b didnt work. i was trying to use code from the resources by robert-jan-drenth, attach the music to a camera, it worked, but the same music from the first level appeared on all of the levels, so i dont know what to do next.


My Famous Quotes: "Hip hop is like a virus, infecting everyone and everything around it. Every form of media has some way,shape or form, assimilated hip hop into it." It has also mutated into other strains like, trip hop, house, rap, gangster, and conscious forms. Once you are infected with it, its with you for life."
Re: Hi George, intelligent music...? [Re: Blink] #143622
08/19/07 18:59
08/19/07 18:59
Joined: Aug 2003
Posts: 2,011
Bucharest, Romania
George Offline

Expert
George  Offline

Expert

Joined: Aug 2003
Posts: 2,011
Bucharest, Romania
If "snd_stop(music_handle);" doesn't stop the music then you aren't using music_handle as a handle to the music file played by snd_loop or you are starting the music several times (and trying to stop it only once).

Page 2 of 3 1 2 3

Moderated by  George 

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