minimap VL icons not updated in radzymin mod

Post bug reports and ask for game support here.
Post Reply
Aetius2
Posts: 117
Joined: Sat Dec 11, 2010 3:56 pm

minimap VL icons not updated in radzymin mod

Post by Aetius2 »

Hi Steve,

In my Radzymin mod i wanted to give some important maps more points by placing 2 VL's on the same map coordinates.
Or to place a VL and an exit location on the same map coordinates.

It works perfectly fine in single play but in H2H games the minimap (double)VL icon's dont get updated when the VL "changes hands", the (double)VL icon remains the same as it was at the start of the battle, see screenshot in attach.
minimap VL not updated2.jpg
minimap VL not updated2.jpg (2.64 MiB) Viewed 133 times
The obvious solution would be to split the double VL's and give them other coordinates but i don't want to do this because i don't want a lot of VL's on relatively small maps.

To find another solution i want to understand the mechanics of the minimap update during H2H play better:
-Maybe the engine uses the first VL in its list of VL's (on the same map coordinates) in the *.btd file to update the minimap?
-Maybe the engine uses the VL with the lowest or highest points (on the same map coordinates) in the *.btd file to update the minimap?

These are VL's in the *.btd file of the attached map (Zabkie):
-----------------------------------------------------------
14
West Warsaw 50 0 8 -4
To Marki 50 0 0 20
To Praga 50 1 15 25
To Rembertow 50 16 15 26
To Zielonka 50 18 2 22
__ 100 0 8 -1
Warsaw Street 100 3 5 -1
Warsaw Street 100 3 5 -1
Crossroad 200 5 8 -1
Crossroad 200 5 8 -1
Crossroad 200 7 6 -1
Crossroad 200 7 6 -1
Church 100 10 12 -1
Church 100 10 12 -1
Zabkie
-------------------------------------------------------------

Can you give me some advice on how i can solve this problem?

Thanks in advance

Aetius
User avatar
SteveMcClaire
Posts: 4311
Joined: Mon Nov 19, 2007 9:31 pm

Re: minimap VL icons not updated in radzymin mod

Post by SteveMcClaire »

Victory locations are checked in the order they are defined in the BTD file.

However there are many places in the code where it assumes there will be only one VL per map square, so you're probably going to have issues with VL control display and scoring if you add more than one at a single location. VL control is checked when a unit is moving onto a square, so you might be able to trigger it multiple times by moving a unit back and forth over the VL location, but I am not 100% sure that will work in all cases.
Aetius2
Posts: 117
Joined: Sat Dec 11, 2010 3:56 pm

Re: minimap VL icons not updated in radzymin mod

Post by Aetius2 »

Thank you very much for the explanation,

Weird it works for single play and only shows this behaviour in H2H games, it must be the same code right?

I'll experiment with changin the VL order in the btd file and see what happens.
Aetius2
Posts: 117
Joined: Sat Dec 11, 2010 3:56 pm

Re: minimap VL icons not updated in radzymin mod

Post by Aetius2 »

Pete and i did some H2H testing and it works perfectly for the host (minimap is updated correctly), the problem seems only to occur the client side.
A VL that was initially in german hands that the soviets captured (on map itself a the german flag was replaced with soviet flag) the minimap showed a contested icon.
I then went over the same VL with several soviet units and the VL remained contested on minimap.
Post battle in the debrief screen the total VL control bar showed the "contested" VL in grey.
Conclusion, the issue isn't just graphically but also messes up the VL registration post battle.
Post Reply

Return to “Tech Support”