Getting the current MOD Line/Pattern (IMPLEMENTED)

Started by Problem, Fri 02/09/2005 20:34:25

Previous topic - Next topic

Problem

Hello,

I'm composing XM music for my games, and I always wondered why there is no way to get the current line/pattern of a MOD.

I know that there is a tracker entry for this problem. But I'd like to know if there is a way to work around it, because I don't think this will be implemented soon, as only few people seem to use MOD or XM.
I'd like to do some advanced music scripting with XMs, and I tried many things, but I didn't get very far. So, does anyone have an idea how to work around this problem?
I tried to do something tempo-based, but it would require the exact tempo of every MOD used, which is difficult in some cases.

Pumaman

#1
There's no particular reason why GetMODPattern hasn't been implemented -- it just hasn't been a particularly popular request so it hasn't been done. I'll note your interest in it.

Edit by strazer:

AGS v2.71 Beta 6:
* Added Game.GetMODPattern script function

Gilbert

Already trackered, for almost a year. :)

Now it's time to check who's too lazy to deal with old requests and satisfy us. :=

monkey0506

Quote from: Problem on Fri 02/09/2005 20:34:25I know that there is a tracker entry for this problem. But I'd like to know if there is a way to work around it

*cough I think he knows... cough*

:=

Gilbert

*cough I was just pushing some lazy guy a bit* :=

Pumaman


Problem

Quote from: Pumaman on Fri 02/09/2005 21:38:13
There's no particular reason why GetMODPattern hasn't been implemented -- it just hasn't been a particularly popular request so it hasn't been done. I'll note your interest in it.

Thank you  :D
GetMODPattern, GetMODLine, SeekMODLine etc. would allow some interesting music scripting. At the moment the music just changes abruptly in my games, and that could be improved with some of these commands. It would also make it easier to synchronize mod music and animation.

SMF spam blocked by CleanTalk