Page MenuHomeFeedback Tracker

Livonia DLC map have wrong center in config
Assigned, UrgentPublic

Description

I am trying get map size this way:

string worldname = GetGame().GetWorldName();
vector mapsize = GetGame().ConfigGetVector("CfgWorlds " + worldname + " centerPosition");

float maxX = mapsize[0] * 2 - 50;
float maxY = mapsize[1] * 2 - 50;

TRLogger.Log("mapsize of "+ worldname + " is " + maxX + "x"+ maxY);

Its working well for chernarusplus map, but enoch get wrong position of center of map and my algorithm then get wrong map size.

I think it should be easy fix on your side

Details

Severity
Trivial
Resolution
Open
Reproducibility
Always
Operating System
Windows 7
Category
General

Event Timeline

Hunterz created this task.Nov 15 2020, 1:07 PM
Geez changed the task status from New to Assigned.Nov 16 2020, 11:23 AM

fixit! fixit! fixit! fixit! fixit! fixit!
honestly that is a problem indeed.