EpochModTeam / Epoch

Epoch Survival Game Mode for ARMA 3
http://epochmod.com/
Other
91 stars 82 forks source link

Support ACRE2 #1009

Open hbeni opened 4 years ago

hbeni commented 4 years ago

Hello, it would be nice if the mod would support ACRE out of the box. Maybe some reciepe to convert the available radios to 343s or something like that; maybe also support the autoreplace of standard acre?

hbeni commented 4 years ago

I played a little with it, however with no success: ACRE will not connect to the teamspeak instance.

I added the following snippet to the missions CfgCrafting.hpp:

class ACRE_PRC343 : Item
    {
    recipe[] = {"EpochRadio6"};
        model = "\a3\ui_f\objects\Radio.p3d";
        previewPosition[] = {0.800569,1,0.272473};
        previewScale = 0.45;
        previewVector = -3.9;
    };
class ACRE_PRC148 : Item
    {
    recipe[] = {"EpochRadio5"};
        model = "\a3\ui_f\objects\Radio.p3d";
        previewPosition[] = {0.800569,1,0.272473};
        previewScale = 0.45;
        previewVector = -3.9;
    };

This successfully allowed me to convert two Radios to ACREs PRC343 ones. Acre however will not pick this up, and does not connect to teamspeak (which it should even without radio to support direct speech!).

The same server with the same mods does work with the same client, when epoch is not loaded, so its something with the mission or the epoch mod itself.

Ignatz-HeMan commented 4 years ago

I am not sure, how this addon works. But you could provide me some infos / working scrips and we can try to figure it out and add it to Epoch. But this is not the best place for a longer conversation. COuld you please contact me via Discord (He-Man)?

hbeni commented 4 years ago

The mods site is here: https://acre2.idi-systems.com/, steam workshop id is 751965892.

Usually its quite simple: You load CBA, then ACRE (both, at server and client) and then as soon as you get a radio you can transmit (first time loading the mod shopuld install the acre teamspeak plugin automatically, you need to restart your TS client then). Even without radios it should work with direct speech (you hear where the other ones are talking from). Starting the mission should display a green "ACRE connected" text in the right upper corner (whis is missing here). To verify, you could see in your teamspeak slot acre's plugin information.

The problem seems to be that ACRE cannot initialize fully or something prevents it from connecting. Does Epoch tinker around with the ingame radios?

Ignatz-HeMan commented 4 years ago

Yes, it do. But not sure if this could affect it. We can discuss / test it in private. Contact me in Discord and we can try to figure it out. But it is very late here and I have to sleep now.