Grim Squeaker Posted January 25, 2005 Share Posted January 25, 2005 It is common knowledge that there's very little point ACMing your music for mods anymore. Its better to run a blank music file and then play a wav instead. What I'm trying to figure out is how to code the following (if it's possible). Psuedocode: IF (Kelsey's blank music file exists) { Use song number of that} ELSE IF (Song 0 is not being used) { Use song 0 for blank music file } ELSE { Add music to next available song slot } Most of it is easy with SET_2DA_ENTRY and ADD_MUSIC (or whatever its called). I just have no idea how to do the bit in bold. Any ideas? Link to comment
Grim Squeaker Posted January 25, 2005 Author Share Posted January 25, 2005 Jason tells me that he's gonna switch Kelsey to use Slot 0, as he did with Keto, so I'll just use Slot 0 as well. I'm just using: COPY_EXISTING ~songlist.2da~ ~override/songlist.2da~ SET_2DA_ENTRY 2 1 2 ~G3Blank~ SET_2DA_ENTRY 2 2 2 ~G3Blank.mus~ COPY ~pathname/G3Blank.mus~ ~music/G3Blank.mus~ Link to comment
Guest Guest Posted February 14, 2005 Share Posted February 14, 2005 Jason tells me that he's gonna switch Kelsey to use Slot 0, as he did with Keto, so I'll just use Slot 0 as well. I'm just using: COPY_EXISTING ~songlist.2da~ ~override/songlist.2da~ SET_2DA_ENTRY 2 1 2 ~G3Blank~ SET_2DA_ENTRY 2 2 2 ~G3Blank.mus~ COPY ~pathname/G3Blank.mus~ ~music/G3Blank.mus~ <{POST_SNAPBACK}> Unfortunately, the SONGLIST has a limited number of entries. If I am not mistaken the entry 89 has already been lost. Link to comment
Guest Guest Posted February 14, 2005 Share Posted February 14, 2005 Jason tells me that he's gonna switch Kelsey to use Slot 0, as he did with Keto, so I'll just use Slot 0 as well. I'm just using: COPY_EXISTING ~songlist.2da~ ~override/songlist.2da~ SET_2DA_ENTRY 2 1 2 ~G3Blank~ SET_2DA_ENTRY 2 2 2 ~G3Blank.mus~ COPY ~pathname/G3Blank.mus~ ~music/G3Blank.mus~ <{POST_SNAPBACK}> Unfortunately, the SONGLIST has a limited number of entries. If I am not mistaken the entry 89 has already been lost. <{POST_SNAPBACK}> Vlad. Link to comment
Grim Squeaker Posted February 14, 2005 Author Share Posted February 14, 2005 Already been lost? Eh? Link to comment
devSin Posted February 14, 2005 Share Posted February 14, 2005 Note that BLANK.MUS, MXKALAH.MUS, and MXTHIEF.MUS are unused in the original game. MXKHALI.MUS is used only once (sadly; it's a fine piece). Also, MX1602.MUS, MX2202.MUS, TAV5.MUS, and TAV6.MUS are all missing (they are used, however). I cannot remember if TAV1.MUS and TAV2.MUS are ever used. So, if you run out of possible song IDs, you can try overwriting the wasted songs. Or just PlaySong(<missing song ID>). Link to comment
Grim Squeaker Posted February 15, 2005 Author Share Posted February 15, 2005 We are well aware there is a limited number, so JC is trying to start the convention of using slot 0 (which is unused) for blank music entries in mods. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.