|
3 registered members (Quad, EvanTJ, AndrewAMD),
4,220
guests, and 2
spiders. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
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
OP

Expert
|
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
OP

Expert
|
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

Expert
|

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
OP

Expert
|
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: George]
#143618
08/18/07 16:48
08/18/07 16:48
|
Joined: Jan 2006
Posts: 2,157 Connecticut, USA
Blink
OP

Expert
|
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: George]
#143620
08/18/07 20:27
08/18/07 20:27
|
Joined: Jan 2006
Posts: 2,157 Connecticut, USA
Blink
OP

Expert
|
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
OP

Expert
|
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."
|
|
|
|