Latest Neocron News and Information
- New test server patch #563 has been released to Vedeena
Difference between revisions of "Neocron Wiki:Map Plugin Guide"
Line 60: | Line 60: | ||
Sometimes the page you are linking to may not exist. Don't worry, this is perfectly normal and acceptable. The wiki allows you or anyone else to write a new article at any time. | Sometimes the page you are linking to may not exist. Don't worry, this is perfectly normal and acceptable. The wiki allows you or anyone else to write a new article at any time. | ||
− | + | [[Image:Map-Guide2.png|center|frame|The circle marks where I've added the location for Mrs Sung]] | |
'''Note:''' for example purposes only, I've put Mrs Sung south of the Op, which isn't her current correct position. | '''Note:''' for example purposes only, I've put Mrs Sung south of the Op, which isn't her current correct position. |
Revision as of 22:36, 9 June 2008
About
The NC-Wiki Map plug-in is based on a Imagemap Mediawiki plug-in written by Tim Starling. A lot of extra enhancements and customisations have been added to the plugin by Brammers.
These enhancements inclde:-
- Spot highlighting when you hover over an area (This was achieved using the JQuery Maphighlight plug-in)
- Extra functions to overlay new symbols onto an existing map, while keeping the original intact.
- Ability to customise each area on the map with different colours and sizes.
- Dynamic key generation.
Browser Compatibility
The Map Plug-in is compatible with IE7 and Firefox 2. For best results please use Firefox.
The plugin works with IE6, but there is no support for IE6. (Seriously if you are using IE6, upgrade to IE7 or use Firefox) If you use any other browser, support is limited but we will try and address any bugs, however please don't be offended if you are told to upgrade or change your browser.
Future enhancements
Do you have an idea to improve the plug-in? Please leave your ideas on the Talk page.
How to add new points
Please note: At some point we will have a Special Page, so please check back regularly for updates. (Tip use the Watch page function)
The wiki has had all the sector pages populated with the basic map information.
Ok you come across one of the fantastic map page, but it's missing something you know. Lets look at sector A 06. You know Mrs Sung is in this sector, but the NPC isn't shown there and you want to add it. Here is the sector without the NPC marked.
Key:
- Wasteland Zone
- Outpost Zone
- Outpost Zone (Factory)
- Outpost Zone (Lab)
- Outpost Zone (Mine)
- Outpost Zone (Fortress)
- Outpost Zone (Uplink)
- City
- Outpost (Factory)
- Outpost (Lab)
- Outpost (Mine)
- Outpost (Fortress)
- Outpost (Uplink)
- Go-Guardian
- Genrep
- ASG
- Ceres Lab Entrance
- DoY Tunnel Entrance
- DoY Tunnel (Up)
- DoY Tunnel (Down)
- DoY Tunnel Exit to surface
- Entrance to a Dungeon
- Entrance to Regants Legacy
- Entrance to Gaia Mine
- Area of Interest
- Entrance to a City
- Entrance to Neocron
- Entrance to Techhaven
- Entrance to Military Base
- Entrance to Twilight Guardian
- Entrance to Dome Of York
- NPC
- Vendor
- Smuggler
Get the URL of the Image
If you are using Firefox Right click on the image, and select Copy Image Location
Starting the map editor
Open this link in a new browser
Put the image URL in the "Lorad from URL - URL" box and click on the load button. The map should be loaded into the editor for you to add points.
Adding points
It is recommended you only add circles, however please see the advanced editing section for doing rectangles and polygons. The size of the circle isn't important, as the map plug-in will automatically correct the size of the circle.
So lets add where Mrs Sung is. I select Circle, click on the map. Then I add the name of the Wiki page which the spot should link to, which is Mrs Sung.
Sometimes the page you are linking to may not exist. Don't worry, this is perfectly normal and acceptable. The wiki allows you or anyone else to write a new article at any time.
Note: for example purposes only, I've put Mrs Sung south of the Op, which isn't her current correct position.
Copying the information back to the wiki page
At the bottom of the page there is a box with your generated points. Copy the bits between <imagemap> and </imagemap> tags only.
(Image of selected elements)
Then paste the information just after the <ncw:map> tag
{Image of information inserted into the wiki editor}
Now it's time to see the results. Click on Preview, and your new point should appear.
Adding the type to the point
(Image of previewed map)
Now the image of your point is (Image default) a which means you not given the circle a type. The type allows you to specify what sort of point your point it is. Since Mrs Sung is a NPC we add the npc type. For a list of types, and the recommended usage, please see the Map Plugin types guide. The format for adding the type is the shape name followed by a colon and then the type name.
So
circle 92 150 20 [[Mrs Sung]]
Becomes
circle:npc 92 150 20 [[Mrs Sung]]
Click on save...and Mrs Sung is now added to the map.
Key:
- Wasteland Zone
- Outpost Zone
- Outpost Zone (Factory)
- Outpost Zone (Lab)
- Outpost Zone (Mine)
- Outpost Zone (Fortress)
- Outpost Zone (Uplink)
- City
- Outpost (Factory)
- Outpost (Lab)
- Outpost (Mine)
- Outpost (Fortress)
- Outpost (Uplink)
- Go-Guardian
- Genrep
- ASG
- Ceres Lab Entrance
- DoY Tunnel Entrance
- DoY Tunnel (Up)
- DoY Tunnel (Down)
- DoY Tunnel Exit to surface
- Entrance to a Dungeon
- Entrance to Regants Legacy
- Entrance to Gaia Mine
- Area of Interest
- Entrance to a City
- Entrance to Neocron
- Entrance to Techhaven
- Entrance to Military Base
- Entrance to Twilight Guardian
- Entrance to Dome Of York
- NPC
- Vendor
- Smuggler