Problem with FOG2 battles imported results

Moderator: Pocus

Post Reply
FrenchDude
Sergeant - Panzer IIC
Sergeant - Panzer IIC
Posts: 192
Joined: Wed Jan 02, 2019 9:27 pm

Problem with FOG2 battles imported results

Post by FrenchDude » Mon Sep 28, 2020 2:11 pm

Hello everyone !

I'm currently working on a mod making the battles exported in FOG2 use FOG2 Table Top Mod units. It used to work without any problem before the DLC update, but I started moding/playing again recently, and it's not working so good anymore.

When I export a battle from FOGE to FOG2 (using the FOG2 Table top global mod in FOG2's menu), everything works as usual, but when the battle is over and I import the battle results back to FOGEmpires, units on both sides of the battle do not take any hits nor do they lose any effectiveness, wether the battle is lost or won. Both armies are unaffected by the result of the battle.

It looks like the FOGE to FOG2 battle export works, but the FOG2 to FOGE battle import doesn't, as if the game failed to make the link between FOG2's units casualties and the FOGE units linked to them.

When playing the exported FOG2 battles (using my FOGE mod, and the global FOG2 TT mod), the battle results aren't properly imported back to FOGE.
Two things that seemed kinda weird when playing :
- When in battle, I can see that the units have no "name", only a number ( (1), (2), (3), etc...) for each unit. I think it used to be that way before too playing with the FOG2 mod, before the DLC update, but it didn't cause any trouble.
- Another thing I noticed, is that since the DLC, some units names have changed in my mod, and whatever I do the unit's name won't change.
For example : Before the DLC, the Hellenic regular infantry was named "Regular Infantry", since the DLC it is called "Citizen Hoplites". I tried to keep the old name in my mod, but nothing in the TEXT1 or UNITS.CSV file that I change seems to affect it, I am stuck with the "Citizen Hoplites" name for this unit, and I have the same problem for a few other units. It seems that a file outside of the UNITS.CSV, TEXT1, FACTIONS.CSV or UNITSVISUALS.CSV affects the naming of the units and I do not know what it is.

I do not know if these two things can hint at something that could explain the battle import from FOG2 to FOGE


When playing exported FOG2 battles without the FOG2 global TT Mod, I do not have this problem, even if I'm using my FOGE mod, which makes me think that the source of the problem is the use of the FOG2 Global Table top mod.

What i would like to know, is what could have caused this problem to arise ? I didnt modify my FOGE mod since before the DLC update and I didn't modify the FOG2 TT Mod as well. Both used to work fine together.

Where do you think I should look to make the link between FOG2's battle casualties and FOGE's battle casualties work ? Any help or advice would be greatly appreciated :D

FrenchDude
Sergeant - Panzer IIC
Sergeant - Panzer IIC
Posts: 192
Joined: Wed Jan 02, 2019 9:27 pm

Re: Problem with FOG2 battles imported results

Post by FrenchDude » Mon Sep 28, 2020 9:24 pm

I found the solution ! All I had to do was to update my version of the LiaisonTools.bsf inside the Scripts folder located inside the myDocuments/myGames/FieldofGlory2/MODS/Global Table top Mod/Scripts folder

Problem solved :D

Post Reply

Return to “MOD”