MZ Need help with CGMZ Colosseum + CGMZ Currency

Hey all,

I am planning on having a monster arena in my game, where you grind out currency specific to each region to upgrade equipment and if I can get it set up this way (haven't looked yet) probably to also buy some skills.

First issue: When doing a Colosseum battle, after it ends, the map music doesn't play, it is just silent. I have downloaded the most recent version of CGMZ Colosseum and there is an option there for running a common event after battle. I set comment event 3 to play BGM and picked the track I want to play, then set the common event to run after battle in the Colosseum plugin to common event 3. But, it still isn't playing anything. What else do I need to do?

Second issue: I have got the custom currency shop set up to display my test currency. In the top right, it shows the test currency (red t), but in the shop menu for the test item (a potion), the top menu shows the currency as G for gold. When you select the item, it then correctly updates to showing that it costs "red t" instead. How do I have the top menu show the custom currency instead of gold? Screenshots:
1760463139693.png
1760463153679.png
I am also interested in having each town have its own Colosseum, with its own set of monsters, not seeing the other town's monsters. I am not seeing a clear way to do this with a plugin, at least with the hour or so I've spent fiddling with things so far. Is there a way to do this? See edit 2.

EDIT1: Oh, also, I am using VisuStella Victory Aftermath for post-battle results. How do I get it to display how much custom currency was earned, and ideally only when doing a Colosseum battle (not in random battles)? As it is with what I've done so far, the only way for the player to see how much they will get is from the rewards on the Colosseum menu, and then see how much they have in total when they get to a shop that uses that currency.

EDIT2: I should clarify, the main reason I want specific Colosseum fights per region instead of a global list, is I have 4 different battle themes I have composed and I want to use each one for each region. Right now the only way I can see to cleanly change BGM for the Colosseum is to put the Change Battle BGM event command in the list for the NPC before the Colosseum menu loads. And if I have a global Colosseum menu, that would make it so when I apply region 2's Colosseum theme, if you can still access region 1's monsters, you would have region 2's battle theme for them. I want each set of monsters that shows up for the new Colosseum regions to have the battle theme specific to their region. Okay, when setting up the event under the NPC, there's a "types" entry. When you set a troop in the Colosseum plugin parameters, you can set its type. So I can give the ones I want showing up per region a specific type here, then enter them here. So that is how I can have types per region, and then edit the NPC per region to have the battle music I want to play there.
Hi, I am not able to reproduce any of these issues in my test project. Could you try with a blank project without VS plugins and see if it is a conflict somewhere?
Hey, thanks for the response. The issue seems to be with VisuStella Victory Aftermath. At least for the map music not playing after a Colosseum battle ends. For the G for Gold showing next to the item in the main window, then showing the custom currency text in the purchase window, it seems to be something Items and Equips Core is doing. Without it, it just shows the # on the main shop screen, no G. Then in the purchase window it'll have the custom currency text from your plugin after. I will take a look at Items and Equip Core and see if I can get rid of the G in the main shop window at least. I'm not going to be mixing currencies on vendors anyway (though I am not sure if this is possible with your currencies plugin right now), so while it'd be nice to see the currency on all windows, it's not a huge setback.
I do not use VisuStella plugins but from what I understand, they usually have somewhere to write js that determines what shows up in the windows. If you want to get the current [CGMZ] Currency System currency symbol / icon / etc. you can do

Code:
const currency = $cgmzTemp.getCurrency($cgmz.mainCurrency());

currency._iconIndex; // icon index
currency._unit; // currency unit
currency._color; // currency color text code
currency._name // currency full name
Alright. I will try that. I might end up passing on that though, since I would ideally only want it showing up when they get it as reward, as opposed to being a line with no reward value after the other 90% of battles in the game. I think it might be easier if I put a message on the NPC to tell them to look at the shop that uses that currency or something. And the Colosseum UI shows the reward from winning the battle anyway.

For it not playing the map music after Victory Aftermath. I know it's pretty hard to work with VisuStella plugins. But would there be a way to add a feature to your plugin, that is disabled by default, and if turned on, reloads the map music after combat? Like starts it over. I think right now when it was working without Victory Aftermath, it was resuming from where it had left off, which is the ideal outcome. But having it do something to re-run the command to play the music from the beginning or something. If it's not possible I might have to find another way to implement a Colosseum, which would suck cuz your UI for it is nice. I'd still have your currency plugin for doing that aspect.

Overall thanks for these plugins regardless.
You can try adding
Code:
$gameMap.autoplay();
to the bottom of the function CGMZ_Scene_Colosseum.prototype.handleBattleResult
Like this:


Code:
    $cgmzTemp._colosseumFightDone = true;
    $gameMap.autoplay();

?

I did that, then went and refreshed the plugin, and it still unfortunately isn't playing once it reloads the Colosseum menu. I have also tried having it not load the Colosseum menu after battle, in case that was the issue for some reason. But alas that was not a solve either.

EDIT: If necessary, I can pass on Victory Aftermath for this game. I just like it mostly because it shows the player immediate feedback on progress to next level.

EDIT2: I do need to keep using the ItemsEquipCore plugin, since it's needed for the Throw Weapon mechanic I want in my game. If anyone knows how to remove the currency indicator in the top shop menu (where it's showing G in the screenshot), please let me know. I can also take a look later when I have more time. I have to break for now.

EDIT3: Also, for anyone who stumbles across this, I used what I found here https://forums.rpgmakerweb.com/inde...clopedia-to-visustella-main-menu-core.179073/ to add the CGMZ Currency System menu command to VisuStella. But instead of copying the credits entry (to have it under datalog), I copied the items entry, then followed my discovery in the link but used SceneManager.push(CGMZ_Scene_CurrencyBag); instead of the Encyclopedia script call, and named it Currencies.
Like this:


Code:
    $cgmzTemp._colosseumFightDone = true;
    $gameMap.autoplay();

?

I did that, then went and refreshed the plugin, and it still unfortunately isn't playing once it reloads the Colosseum menu. I have also tried having it not load the Colosseum menu after battle, in case that was the issue for some reason. But alas that was not a solve either.

EDIT: If necessary, I can pass on Victory Aftermath for this game. I just like it mostly because it shows the player immediate feedback on progress to next level.

EDIT2: I do need to keep using the ItemsEquipCore plugin, since it's needed for the Throw Weapon mechanic I want in my game. If anyone knows how to remove the currency indicator in the top shop menu (where it's showing G in the screenshot), please let me know. I can also take a look later when I have more time. I have to break for now.

EDIT3: Also, for anyone who stumbles across this, I used what I found here https://forums.rpgmakerweb.com/inde...clopedia-to-visustella-main-menu-core.179073/ to add the CGMZ Currency System menu command to VisuStella. But instead of copying the credits entry (to have it under datalog), I copied the items entry, then followed my discovery in the link but used SceneManager.push(CGMZ_Scene_CurrencyBag); instead of the Encyclopedia script call, and named it Currencies.
Yes like that, that function runs after battle, and that is the default function the default RMMZ code uses to autoplay the map audio. You also said you tried making a common event that changes the music with normal event commands on the map scene but that also doesn't work?

It sounds like something in the other plugin, though it is obfuscated code so you would need to go to the other author for support with that.
Casper had PMd me a fixed js file for the music not playing after Colosseum battle issue. So that's great! It will be available to all as a public update within a few weeks. I will still need to figure out how to change how currency is displayed on the top menu of the shop, instead of showing Gold then custom currency, just showing custom currency. And I still haven't had time to fiddle with adding the custom currency to Victory Aftermath rewards screen. I will update when I can.

Original thread: https://forums.rpgmakerweb.com/threads/need-help-with-cgmz-colosseum-cgmz-currency.180557/