UPDATE: NEW AND FINAL URL!!! http://www.kassquatch.com/napfmap
Hey all, just thought I would share a zoomable map I made for Napf made with leaflet. This was the first time I used leaflet so the writing of the code is quite...less than desired. But it works great.
http://www.kassquatch.com/napfmap
Since I am/was new to the map and I hate bringing up in game map as I can get shot, I decided to create an online map so I could view on my 2nd monitor or tablet or phone.
Features:
It has all the major cities plus most of the little ones.
It has in game coordinates
6 zoom levels
works on android (so I guess it works on others)
it's super awesome! (Best feature right there)
Coming soon features:
will be updating when next version (or final version) comes out.
adding more smaller cities and making the larger cities name bigger than the smaller ones.
The link again.
http://www.kassquatch.com/napfmap
Hope you find it useful. And I hope that I didn't all this work to find that someone else did it also. Because I searched, and couldn't find anything.
UPDATE: NEW AND FINAL URL!!! http://www.kassquatch.com/napfmap
Hey all, just thought I would share a zoomable map I made for Napf made with leaflet. This was the first time I used leaflet so the writing of the code is quite...less than desired. But it works great.
http://www.kassquatch.com/napfmap
Since I am/was new to the map and I hate bringing up in game map as I can get shot, I decided to create an online map so I could view on my 2nd monitor or tablet or phone.
Features:
It has all the major cities plus most of the little ones.
It has in game coordinates
6 zoom levels
works on android (so I guess it works on others)
it's super awesome! (Best feature right there)
Coming soon features:
will be updating when next version (or final version) comes out.
adding more smaller cities and making the larger cities name bigger than the smaller ones.
The link again.
http://www.kassquatch.com/napfmap
Hope you find it useful. And I hope that I didn't all this work to find that someone else did it also. Because I searched, and couldn't find anything.
i started this new Thread for the Mod so it's easier for players to find it and for me to support it!
This will also stop the confusion with the mod when you use Maca's or mine and have problems with it.
I got Maca's permission to do it and ALL credits for the idea and the first coding goes to Maca!
Thanks again Maca for this amazing idea/script!
Ok here we go...
This Mod adds a "Toggle Snapping" function to these Epoch Buildable objects:
MetalFloor_DZ
WoodFloor_DZ
CinderWall_DZ
CinderWallDoorway_DZ
CinderWallDoorLocked_DZ
CinderWallDoor_DZ
CinderWallSmallDoorway_DZ
CinderWallDoorSmallLocked_DZ
CinderWallHalf_DZ
CinderWallDoorSmall_DZ
WoodLargeWall_DZ
Land_DZE_LargeWoodDoor
WoodLargeWallWin_DZ
WoodLargeWallDoor_DZ
Land_DZE_GarageWoodDoor
Land_DZE_GarageWoodDoorLocked
Land_DZE_LargeWoodDoorLocked
WoodSmallWallThird_DZ
WoodSmallWallDoor_DZ
WoodSmallWall_DZ
WoodSmallWallWin_DZ
Land_DZE_WoodDoor
Land_DZE_WoodDoorLocked
Sandbag1_DZ
MetalPanel_DZ
Fence_corrugated_DZ
StickFence_DZ
Land_HBarrier1_DZ
Land_HBarrier3_DZ
Land_HBarrier5_DZ
Fort_RazorWire
Objects can be snapped to another object of the same type like: Metal_Floor_DZ <-> Metal_Floor_DZ Sandbag1_DZ <-> Sandbag1_DZ
or any Wall combination if its the same Material like: WoodSmallWall_DZ <-> WoodSmallWall_DZ WoodSmallWall_DZ <-> WoodSmallWallWin_DZ CinderWallHalf_DZ <-> CinderWallHalf_DZ CinderWallHalf_DZ <-> CinderWallDoorway_DZ
When you start building a new object you will get a "Toggle Snapping" option if the object is supported.
Hit it to activate the snapping.
Distance between the two objects has to be lower then 1.5m.
So move your object to almost same height and next to one side, near the top or near the bottom of the object you want to snap it to.
SNAP!
This allows you to build a Floor or a Wall on the same height in a perfect line.
It is also possible to make perfect 90° angles with it, for this you also have to bring the object almost in the desired angle to the other object and it will snap to it.
So What makes this version "Extended"?
Well...
Snapping will work on more then one Floor
Snapping will work while building over Water
Snapping a object on Top/Bottom of eachother
Snapping with set rotation (for set Door open directions)
More objects supported
Code for finding snap points redone
Demo Video:
http://youtu.be/j5SXctN8WHA
3.
Copy custom folder from the extracted Snapping_v1.6 to MPMissions\YOURMISSIONNAME\
4.
Open MPMissions\YOURMISSIONNAME\init.sqf
Find this line:
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf";
and add this line RIGHT BELOW it:
call compile preprocessFileLineNumbers "custom\snap_build\compiles.sqf";
so it will look like:
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf";
call compile preprocessFileLineNumbers "custom\snap_build\compiles.sqf";
5.
Open MPMissions\YOURMISSIONNAME\description.ext
Add this line to the VERY BOTTOM of it! (Yeah this means AFTER the last closing bracket!)
It has to be the VERY LAST LINE of the File!