Music in mp

Discuss Halo 2 modding, progress on figuring things out, mapfiles...you know the drill. Cheating discussion not allowed.
User avatar
wistlepig





Posts: 51
Joined: Thu Feb 02, 2006 12:44 pm

Music in mp

Post by wistlepig »

is it possible to get music to play in an mp map. Maybe you could do it with scripts??
Image
wistlepig=groundhog
92% of teenagers have moved on to rap. Put this in your signature if you are in the 8% that listen to REAL music.
User avatar
grimdoomer




System Engineer

Posts: 1440
Joined: Mon Oct 09, 2006 4:36 pm

Post 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.
Image
AI Zones in MP | Ambiance | Gravemind Beta v1.1
Aumaan Anubis wrote:Grimdoomer. The first person ever to mod Halo 2 Vista.
User avatar
wistlepig





Posts: 51
Joined: Thu Feb 02, 2006 12:44 pm

Post by wistlepig »

how would i get the song in the map as a sound
thanks man for offering some help
are u stalking me :wink:
Image
wistlepig=groundhog
92% of teenagers have moved on to rap. Put this in your signature if you are in the 8% that listen to REAL music.
User avatar
grimdoomer




System Engineer

Posts: 1440
Joined: Mon Oct 09, 2006 4:36 pm

Post 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.
Image
AI Zones in MP | Ambiance | Gravemind Beta v1.1
Aumaan Anubis wrote:Grimdoomer. The first person ever to mod Halo 2 Vista.
User avatar
DemonicSandwich




Advisor Connoisseur

Posts: 1198
Joined: Sat Sep 30, 2006 6:10 pm
Location:

Post 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.
Image
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.
AIM wrote:Demonic5andwich (6:10:10 PM): structure of a first person weapon animation:
Demonic5andwich (6:10:43 PM): mess, mess, maybe a node?, another header?! wtf!, more mess, tacos, more shit
User avatar
grimdoomer




System Engineer

Posts: 1440
Joined: Mon Oct 09, 2006 4:36 pm

Post by grimdoomer »

yes but it will only be in a certain area.
Image
AI Zones in MP | Ambiance | Gravemind Beta v1.1
Aumaan Anubis wrote:Grimdoomer. The first person ever to mod Halo 2 Vista.
User avatar
wistlepig





Posts: 51
Joined: Thu Feb 02, 2006 12:44 pm

Post 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 :x

Thanks sandwich ill try this out but ill have to do it tomorrow because i am going to bed :) :)
Image
wistlepig=groundhog
92% of teenagers have moved on to rap. Put this in your signature if you are in the 8% that listen to REAL music.
User avatar
DemonicSandwich




Advisor Connoisseur

Posts: 1198
Joined: Sat Sep 30, 2006 6:10 pm
Location:

Post by DemonicSandwich »

grimdoomer wrote:yes but it will only be in a certain area.
True, its a simple way though.
AIM wrote:Demonic5andwich (6:10:10 PM): structure of a first person weapon animation:
Demonic5andwich (6:10:43 PM): mess, mess, maybe a node?, another header?! wtf!, more mess, tacos, more shit
User avatar
wistlepig





Posts: 51
Joined: Thu Feb 02, 2006 12:44 pm

Post by wistlepig »

ill try both
Image
wistlepig=groundhog
92% of teenagers have moved on to rap. Put this in your signature if you are in the 8% that listen to REAL music.
User avatar
grimdoomer




System Engineer

Posts: 1440
Joined: Mon Oct 09, 2006 4:36 pm

Post 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.
Image
AI Zones in MP | Ambiance | Gravemind Beta v1.1
Aumaan Anubis wrote:Grimdoomer. The first person ever to mod Halo 2 Vista.
User avatar
wistlepig





Posts: 51
Joined: Thu Feb 02, 2006 12:44 pm

Post by wistlepig »

how would i get the script to play
Image
wistlepig=groundhog
92% of teenagers have moved on to rap. Put this in your signature if you are in the 8% that listen to REAL music.
User avatar
grimdoomer




System Engineer

Posts: 1440
Joined: Mon Oct 09, 2006 4:36 pm

Post 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.
Image
AI Zones in MP | Ambiance | Gravemind Beta v1.1
Aumaan Anubis wrote:Grimdoomer. The first person ever to mod Halo 2 Vista.
User avatar
wistlepig





Posts: 51
Joined: Thu Feb 02, 2006 12:44 pm

Post 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?
Image
wistlepig=groundhog
92% of teenagers have moved on to rap. Put this in your signature if you are in the 8% that listen to REAL music.
User avatar
wistlepig





Posts: 51
Joined: Thu Feb 02, 2006 12:44 pm

Post by wistlepig »

in script tools how do i add a script without writting over another one
Image
wistlepig=groundhog
92% of teenagers have moved on to rap. Put this in your signature if you are in the 8% that listen to REAL music.
User avatar
latinomodder





Posts: 1040
Joined: Tue Sep 20, 2005 5:51 pm
Location: Costa Rica

Post 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
Image
User avatar
wistlepig





Posts: 51
Joined: Thu Feb 02, 2006 12:44 pm

Post by wistlepig »

its an mp map with no scripts in it to begin with
Image
wistlepig=groundhog
92% of teenagers have moved on to rap. Put this in your signature if you are in the 8% that listen to REAL music.
User avatar
grimdoomer




System Engineer

Posts: 1440
Joined: Mon Oct 09, 2006 4:36 pm

Post by grimdoomer »

copy the script relfexive from a map that only has like 3-4 scripts.
Image
AI Zones in MP | Ambiance | Gravemind Beta v1.1
Aumaan Anubis wrote:Grimdoomer. The first person ever to mod Halo 2 Vista.
User avatar
wistlepig





Posts: 51
Joined: Thu Feb 02, 2006 12:44 pm

Post by wistlepig »

you mean like right click copy??
cause that didnt work for me

*EDIT* expalin in more detail
Image
wistlepig=groundhog
92% of teenagers have moved on to rap. Put this in your signature if you are in the 8% that listen to REAL music.
User avatar
grimdoomer




System Engineer

Posts: 1440
Joined: Mon Oct 09, 2006 4:36 pm

Post by grimdoomer »

do you know how to clone chunks in entity?
Image
AI Zones in MP | Ambiance | Gravemind Beta v1.1
Aumaan Anubis wrote:Grimdoomer. The first person ever to mod Halo 2 Vista.
User avatar
wistlepig





Posts: 51
Joined: Thu Feb 02, 2006 12:44 pm

Post by wistlepig »

yes

*EDIT* ill tell u if it works
Last edited by wistlepig on Tue Nov 20, 2007 7:14 pm, edited 1 time in total.
Image
wistlepig=groundhog
92% of teenagers have moved on to rap. Put this in your signature if you are in the 8% that listen to REAL music.
Post Reply