Dactyl Posted March 9, 2014 Report Share Posted March 9, 2014 Does anyone know of a coordinate converter for napf, much like this Coordinate Converter? or a method of deciphering them? thanks Link to comment Share on other sites More sharing options...
0 ekroemer Posted March 10, 2014 Report Share Posted March 10, 2014 The general method is (WS: Worldspace) x_GPS = x_WS / 100 y_GPS = y_Offset - y_WS/100 with different y_Offset for each map (Lingor is different, here the y_GPS and y_WS axes point in the same direction Later today I'll upload a small tool (php+js only so you can use it in your browser) that covers the maps we've had online so far. The tool was made by one of our admins (now awol for a while ;-) and is easily configurable for more maps. Link to comment Share on other sites More sharing options...
0 Dactyl Posted March 10, 2014 Author Report Share Posted March 10, 2014 The general method is (WS: Worldspace) x_GPS = x_WS / 100 y_GPS = y_Offset - y_WS/100 with different y_Offset for each map (Lingor is different, here the y_GPS and y_WS axes point in the same direction Later today I'll upload a small tool (php+js only so you can use it in your browser) that covers the maps we've had online so far. The tool was made by one of our admins (now awol for a while ;-) and is easily configurable for more maps. Link to comment Share on other sites More sharing options...
0 ekroemer Posted March 10, 2014 Report Share Posted March 10, 2014 As I said, later this day I'll upload the tool ;-) There'll be a file cooconv.php that contains configuration lines stating map name and values for y_offset. Napf is handled already, so you won't have to do anything (execept of choosing the correct map from the dropdown list). Adding new maps, is simple, too, if you have database access: simply jump to different coordinates on the map (1 is sufficient, but do some more for avaraging and testing), ideally onto a gridline so your gps coordinate (shown without decimal places) is exact lookup your worldspace coordinate in the DB insert both into the equation y_GPS = y_Offset - y_WS/100 and solve for y_Offsetenter map name and y_Offset into config.php. You call the tool simply by entering file://<PATH_TO_TOOL>/koords.php into your web browser and <PATH_TO_TOOL> is simply the directory you unpack the zip (I'll upload later) to. Link to comment Share on other sites More sharing options...
0 ekroemer Posted March 10, 2014 Report Share Posted March 10, 2014 Here you are: https://dl.dropboxusercontent.com/u/90098571/KooConv.rar koords.php, the file you are calling with your browser, contains lines <option value="15360">Chernarus</option> <option value="25600">Taviana</option> <option value="10240">Panthera</option> <option value="12798">Namalsk</option> <option value="0">Lingor</option> <option value="20479">Napf</option> defining the maps currently covered. Those you can choose from via dropdown or add to as described in the post above. Dactyl, Oshydaka and 11Hotel 3 Link to comment Share on other sites More sharing options...
0 Oshydaka Posted March 13, 2014 Report Share Posted March 13, 2014 Thanks man for that ! Link to comment Share on other sites More sharing options...
0 ekroemer Posted March 13, 2014 Report Share Posted March 13, 2014 You're welcome. Perhaps anyone who knows about a coordinate offset for a map not yet covered could share it here? I've not been able to find this information on the web (unless as part of a binary, thus unaccessible ;-) Link to comment Share on other sites More sharing options...
0 11Hotel Posted August 14, 2014 Report Share Posted August 14, 2014 Thanks ekroemer! great work! Link to comment Share on other sites More sharing options...
0 calamity Posted August 15, 2014 Report Share Posted August 15, 2014 add this to your debug monitor (mapGridPosition getPos player), Playerstats.sqf //Let Zeds know [player,4,true,(getPosATL player)] spawn player_alertZombies; /* Change the UID's below to match those of you and your admin(s) Your admins will get the advanced version of your debug monitor, while your regular users will get the cut down version. */ if ((getPlayerUID player) in ["76561198015664111","76561197980015111","76561198143404111"]) then { hintSilent parseText format [" <t size='0.95' font='Bitstream' align='left' >[%18]</t><t size='0.95' font='Bitstream' align='right'>[FPS: %10]</t><br/> <t size='0.95' font='Bitstream' align='center' color='#FFBF00'>Survived %7 Days</t><br/> <t size='0.95' font='Bitstream' align='left' >Players: %8</t><t size='0.95 'font='Bitstream' align='right'>Within 500m: %11</t><br/> <t size='0.95' font='Bitstream' align='left' >Vehicles:</t><t size='0.95' font='Bitstream'align='right'>%13(%14)</t><br/> <t size='0.95' font='Bitstream' align='left'>Air: %16</t><t size='0.95' font='Bitstream'align='right'>Sea: %23</t><br/> <t size='0.95' font='Bitstream' align='left' >All Bikes: %15</t><t size='0.95' font='Bitstream'align='right'>Cars: %17</t><br/> <t size='0.95' font='Bitstream' align='left' >Zombies (alive/total): </t><t size='0.95' font='Bitstream' align='right'>%20(%19)</t><br/> <t size='0.95' font='Bitstream' align='left' color='#FFBF00'>Zombies Killed: </t><t size='0.95' font='Bitstream' align='right'>%2</t><br/> <t size='0.95' font='Bitstream' align='left' color='#FFBF00'>Headshots: </t><t size='0.95' font='Bitstream' align='right'>%3</t><br/> <t size='0.95' font='Bitstream' align='left' color='#FFBF00'>Murders: </t><t size='0.95' font='Bitstream' align='right'>%4</t><br/> <t size='0.95' font='Bitstream' align='left' color='#FFBF00'>Bandits Killed: </t><t size='0.95' font='Bitstream' align='right'>%5</t><br/> <t size='0.95' font='Bitstream' align='left' color='#FFBF00'>Humanity: </t><t size='0.95' font='Bitstream' align='right'>%6</t><br/> <t size='0.95' font='Bitstream' align='left' color='#FFBF00'>Blood: </t><t size='0.95' font='Bitstream' align='right'>%9</t><br/> <t size='0.95' font='Bitstream' align='left' >GPS: %22</t><t size='0.95' font='Bitstream' align='right'>DIR: %24</t><br/> <t size='0.95'font='Bitstream'align='center' >%21</t><br/>", (name player), (player getVariable['zombieKills', 0]), (player getVariable['headShots', 0]), (player getVariable['humanKills', 0]), (player getVariable['banditKills', 0]), (player getVariable['humanity', 0]), (dayz_skilllevel), (count playableUnits), r_player_blood, (round diag_fps), (({isPlayer _x} count (getPos vehicle player nearEntities [["AllVehicles"], 500]))-1), viewdistance, (count([6800, 9200, 0] nearEntities [["StaticWeapon","Car","Motorcycle","Tank","Air","Ship"],25000])), count vehicles, (count([6800, 9200, 0] nearEntities [["Motorcycle"],25000])), (count([6800, 9200, 0] nearEntities [["Air"],25000])), (count([6800, 9200, 0] nearEntities [["Car"],25000])), (gettext (configFile >> 'CfgVehicles' >> (typeof vehicle player) >> 'displayName')), (count entities "zZombie_Base"), ({alive _x} count entities "zZombie_Base"), (getPosASL player), (mapGridPosition getPos player), (count([6800, 9200, 0] nearEntities [["Ship"],25000])), (round(getDir player)) ]; } else { _time = (round(180-(serverTime)/60)); _hours = (floor(_time/60)); _minutes = (_time - (_hours * 60)); switch(_minutes) do { case 9: {_minutes = "09"}; case 8: {_minutes = "08"}; case 7: {_minutes = "07"}; case 6: {_minutes = "06"}; case 5: {_minutes = "05"}; case 4: {_minutes = "04"}; case 3: {_minutes = "03"}; case 2: {_minutes = "02"}; case 1: {_minutes = "01"}; case 0: {_minutes = "00"}; }; // You can delete the server website here line (entire line) if you want // You can also delete the entire TeamSpeak IP line if you want hintSilent parseText format [" <t size='1.25' font='Bitstream' align='center' color='#5882FA'>Total Calamity DayZ Overpoch</t><br/> <t size='1.05' font='Bitstream' align='center' color='#5882FA'>totalcalamity.enjin.com</t><br/> <t size='0.95' font='Bitstream' align='left' color='#FFBF00'></t><t size='0.95 'font='Bitstream' align='right'></t><br/> <t size='0.95' font='Bitstream' align='left' color='#FFBF00'>Players Online: </t><t size='0.95 'font='Bitstream' align='right'>%1</t><br/> <t size='0.95' font='Bitstream' align='left' color='#FFBF00'>Murders: </t><t size='0.95' font='Bitstream' align='right'>%3</t><br/> <t size='0.95' font='Bitstream' align='left' color='#FFBF00'>Bandits Killed: </t><t size='0.95' font='Bitstream' align='right'>%4</t><br/> <t size='0.95' font='Bitstream' align='left' color='#FFBF00'>Zombies Killed: </t><t size='0.95' font='Bitstream' align='right'>%2</t><br/> <t size='0.95' font='Bitstream' align='left' color='#FFBF00'>Humanity: </t><t size='0.95' font='Bitstream' align='right'>%6</t><br/> <t size='0.95' font='Bitstream' align='left' color='#FFBF00'>Blood: </t><t size='0.95' font='Bitstream' align='right'>%5</t><br/> <t size='0.95' font='Bitstream' align='left' color='#FFBF00'>FPS: </t><t size='0.95' font='Bitstream' align='right'>%7</t><br/> <t size='0.95' font='Bitstream' align='left' color='#FFBF00'></t><t size='0.95 'font='Bitstream' align='right'></t><br/> <t size='1.15' font='Bitstream'align='center' color='#5882FA'>TS roguesgallery.teamspeak3.com password saintpeter</t><br/> <t size='1.15' font='Bitstream'align='center' color='#5882FA'>Server restart in %8:%9</t><br/>", (count playableUnits), (player getVariable['zombieKills', 0]), (player getVariable['humanKills', 0]), (player getVariable['banditKills', 0]), (player getVariable['USEC_BloodQty', r_player_blood]), (player getVariable['humanity', 0]), (round diag_fps), _hours, _minutes ];}; Link to comment Share on other sites More sharing options...
0 Storm Posted August 15, 2014 Report Share Posted August 15, 2014 If you are using Infistar just turn on the debug monitor. Link to comment Share on other sites More sharing options...
Question
Dactyl
Does anyone know of a coordinate converter for napf, much like this Coordinate Converter? or a method of deciphering them? thanks
Link to comment
Share on other sites
9 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now