Jump to content

I need C/ACS help


Recommended Posts

Hey guys , Im trying to extend this music mod by adding more songs but it wont play every song. Im honestly not sure if its using C or ACS. Slade claims its C/C++ but I never seen a mod use C before. I tried looking at the code but I dont see a hard coded song limit. I saw a loop going to 9999 but my mod only has like 50 songs. Please tell me the issue. 

 

 

https://www.mediafire.com/file/lz6zyl1e1ikrdp5/UltraCrispyMusicPatch.pk3/file

Share this post


Link to post
53 minutes ago, retrogamer97 said:

Im honestly not sure if its using C or ACS. Slade claims its C/C++ but I never seen a mod use C before.

This is just ACS. Slade3 assumes it's C because someone named the source file with a *.c file extension, but it's just ACS.

 

Code-wise this logic looks arcane so I couldn't really say if anything is wrong with it, but given it plays music at random I'm not really sure why one would automatically assume some music tracks wouldn't get played. Though worth noting it expects the first music track to be 001, 000 will never be played according to this logic.

Share this post


Link to post

You need to add an entry in LANGUAGE for every song. You only have 22. Also, if you don't leave the string blank, it'll show the track name in game.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...