bijx / Zeus-Music-Mod-Generator

A Java application that allows users to auto generate mod folder structure for custom Arma 3 music mods.
11 stars 1 forks source link

Conflicting Files #3

Closed MisterBagel closed 2 years ago

MisterBagel commented 2 years ago

Hello! Love your mod btw!

My problem is when I try to make two different music mods and run them at the same time via in-game Zeus, only one of them shows up instead of both. Is there a reason for this? If so is there any way I can avoid it so I can run two different music mods from the same program, aka yours.

bijx commented 2 years ago

Great question! Yes, the current version always uses the same class name by default since I was worried giving the option for customizing classnames would lead to some unforeseen errors in the code. But if you do want to use this for two different mods (before I get time to implement the custom class name feature), you can look at Captain Pepe's comment on my tutorial along with my subsequent reply!

https://www.youtube.com/watch?v=Wmik02e1Arc

bijx commented 2 years ago

Oh okay, I just realized I already implemented this in ticket #1, but I haven't published a release yet. Will do that soon!

MisterBagel commented 2 years ago

Thanks man, your mod couldn't have come any sooner to help me out!

MisterBagel commented 2 years ago

So I tried what you suggested, it still doesn't come up.

Here is what I changed the class names with....

class CfgTest { class CompanyofHeroes2 { name = "Company of Heroes 2"; author = "Your username"; requiredVersion = 1.00; requiredAddons[] = {}; units[] = {}; weapons[] = {}; worlds[] = {}; }; }; class CfgMusic {

include "FileListWithMusicTracks.hpp"

}; class CfgTestClass { class MyTestClass { displayName = "Company of Heroes 2"; }; };

Here are the original class names........ class CfgPatches { class CompanyofHeroes22 { name = "Company of Heroes 22"; author = "Your username"; requiredVersion = 1.00; requiredAddons[] = {}; units[] = {}; weapons[] = {}; worlds[] = {}; }; }; class CfgMusic {

include "FileListWithMusicTracks.hpp"

}; class CfgMusicClasses { class MyMusicClass { displayName = "Company of Heroes 22"; }; };

bijx commented 2 years ago

Issue fixed in latest release.