Page 1 of 2
Music in mp
Posted: Mon Nov 19, 2007 4:58 pm
by wistlepig
is it possible to get music to play in an mp map. Maybe you could do it with scripts??
Posted: Mon Nov 19, 2007 5:44 pm
by grimdoomer
I have tryed once but I relly dident put any effort into it Ill give you a script that should work,
Code: Select all
(script dormant looping_music
(begin
(sound_looping_start sound_here.sound)
)
)
That should work im not 100% sure though but if no then let me know.
Posted: Mon Nov 19, 2007 5:58 pm
by wistlepig
how would i get the song in the map as a sound
thanks man for offering some help
are u stalking me

Posted: Mon Nov 19, 2007 6:39 pm
by grimdoomer
each MP map has the main menu music in it, just extract and edit it with your song then reinject it, although the process is a little more complicated then that. Use H2sound tools, and look up a tut on it.
Posted: Mon Nov 19, 2007 6:45 pm
by DemonicSandwich
It can be done without scripts...
1) Follow
>THIS< tutorial for injecting music.
2) Once your sounds are in, open the
[sbsp] tag, right-click in the area to the right to display indents, scroll all the way down till you see some indents that point toward
[lsnd] tags.
3) Pick one of those indents and swap it with
sound\ui\main_menu_music\main_menu_music.
Your music should now play during gameplay.
Posted: Mon Nov 19, 2007 6:49 pm
by grimdoomer
yes but it will only be in a certain area.
Posted: Mon Nov 19, 2007 6:51 pm
by wistlepig
alot of my programs dont work scince i moved them to my computer with vista including sound tools
they do work on my xp computer. it is just a pain
Thanks sandwich ill try this out but ill have to do it tomorrow because i am going to bed

Posted: Mon Nov 19, 2007 7:01 pm
by DemonicSandwich
grimdoomer wrote:yes but it will only be in a certain area.
True, its a simple way though.
Posted: Tue Nov 20, 2007 4:08 am
by wistlepig
ill try both
Posted: Tue Nov 20, 2007 11:18 am
by grimdoomer
if you script it will be every where, you can even duplicated the main menu music and have like 3 songs, then just play one after the other.
Posted: Tue Nov 20, 2007 3:35 pm
by wistlepig
how would i get the script to play
Posted: Tue Nov 20, 2007 3:39 pm
by grimdoomer
use the same one i posted above but change "dormant" to "start_up" then you should be good, dont put the quotes. If it doesent work for some reason then let me know.
Posted: Tue Nov 20, 2007 3:52 pm
by wistlepig
i mean if i just make it with script tools then that is all i have to do
*EDIT* How do i save over the main menu clips because in the tut it is very unclear?
Posted: Tue Nov 20, 2007 5:32 pm
by wistlepig
in script tools how do i add a script without writting over another one
Posted: Tue Nov 20, 2007 5:39 pm
by latinomodder
wistlepig wrote:in script tools how do i add a script without writting over another one
you don't you just write over it
Posted: Tue Nov 20, 2007 5:46 pm
by wistlepig
its an mp map with no scripts in it to begin with
Posted: Tue Nov 20, 2007 5:51 pm
by grimdoomer
copy the script relfexive from a map that only has like 3-4 scripts.
Posted: Tue Nov 20, 2007 5:54 pm
by wistlepig
you mean like right click copy??
cause that didnt work for me
*EDIT* expalin in more detail
Posted: Tue Nov 20, 2007 6:08 pm
by grimdoomer
do you know how to clone chunks in entity?
Posted: Tue Nov 20, 2007 6:10 pm
by wistlepig
yes
*EDIT* ill tell u if it works