FOnline: Ashes of Phoenix

General section => Technical Center => Topic started by: John Porno on May 28, 2014, 01:49:32 PM

Title: AoP mapper
Post by: John Porno on May 28, 2014, 01:49:32 PM
I have configured a stand-alone mapper that works with all custom sceneries. As usual, it requires a working client with either master/critter or fallout.dat. More info is in the readme file in the archive.

This package uses files from:
TLA SDK: https://xp-dev.com/svn/fonline_sdk (https://xp-dev.com/svn/fonline_sdk)
2238: https://github.com/rotators/fo2238 (https://github.com/rotators/fo2238)
Lexx' Tiled Mapper: http://fodev.net/forum/index.php/topic,26058.0.html (http://fodev.net/forum/index.php/topic,26058.0.html)

Here is the link for the ~30mb big package. https://www.dropbox.com/s/k2790hd4cfx5efr/aop_mapper.zip (https://www.dropbox.com/s/k2790hd4cfx5efr/aop_mapper.zip)

Anyone who is interested to make maps will be added to the contributors forum group to see tutorials.
Title: Re: AoP mapper
Post by: S.T.A.L.K.E.R on May 28, 2014, 06:53:48 PM
I'm interested in making maps :P

Title: Re: AoP mapper
Post by: Hitman on May 29, 2014, 12:30:20 AM
Yup, me too   ;D
Title: Re: AoP mapper
Post by: Hoot on July 14, 2014, 05:44:07 AM
I am interested too  :D
Title: Re: AoP mapper
Post by: faopcurious on August 21, 2014, 07:17:38 PM
Also interested ^_^.
*struggles getting mapper to work*
Title: Re: AoP mapper
Post by: FrankenStone on October 24, 2014, 10:30:01 PM
could u reupload the 30mb package pls
Title: Re: AoP mapper
Post by: paragon on October 27, 2014, 01:23:06 PM
https://www.dropbox.com/s/t4vxu7e16jrhzmy/mapper%20sdk.zip?dl=0
Title: Re: AoP mapper
Post by: ViperII on October 30, 2014, 10:25:07 AM
I'm interested too. (But i'm not very good in this shit so i need some tutorials)
Title: Re: AoP mapper
Post by: FrankenStone on October 30, 2014, 12:52:36 PM
good tutorial from Kilgore just use google translate  http://forum.newfmc.pl/index.php?topic=47.0
Title: Re: AoP mapper
Post by: John Porno on October 31, 2014, 10:15:16 PM
best tutorial: Use copypaste

I added both of you to contributors group where youll find a tutorial
Title: Re: AoP mapper
Post by: Stem Sunders on October 31, 2014, 10:58:49 PM
I am new to this but I can't resist.

I have the mapper, is anything open? Or do you want specific map types?

The tutorial link is all in russian? anything in english?
Title: Re: AoP mapper
Post by: blulark on November 02, 2014, 05:49:29 AM
Is there particular maps devs are looking for? Like dungeons or more zones?



*** Also use this, which is the 'readme.txt' for the fonline 2238 mapper, it may include some obsolete or unnecessary text. ***



FOnline: 2238 Mapper, version 1.29.0

***

Changes in FOnline: 2238 Mapper

 - new interface (Set ScreenWidth = 1090 or higher in client's FOnline.cfg) with re-arranged tabs and submenus
 - zoom % information
 - tile grid (press G to turn it on/off)
 - autowall [wip] (press A and drag mouse to check it out)

***

To run a mapper, specify the server and client path in the Mapper.cfg file.

To load a saved map, type "~<map name>" in the console.
TO save a map, type "^<map name> [/text] [/nopack]". "/text" to save it in text format, "/nopack" to save it in unpacked version.

Other commands, preceded with "*":
 new      create a new map;
 unload      unload the current map;
 scripts   list of scripts;
 size <w> <h>   set a new map size;
 dupl      search for items with the same pids, placed on the same hexes;
 scroll      search for scroll blockes, around which there are less than two other scroll blockers;
 pidpos <pid>   search for all items with a given pid;
 hex <hx> <hy>   search for all objects on a given hex.

To run a script function, use "#". Executed function must be of prototype "string FuncName(string)", string argument is passed from a console, and function results will be displayed in the message box. Default module is "main", to execute a function from another module use "@" (for example, "#module@MyFunc").
Example:
In console, "#MyFunc Hello wo";
In script, "string MyFunc(string my) { return my + "rld!"; }";
Result in the message box: "Result: Hello world!".

Scripts are placed in the "/data" directory. List of loaded scripts is in scripts.cfg. The main script is mapper_main.fos, which contains all reserved functions, and basic list of API functions.

The mapper does not support FO and FO2 map formats, as well as older FOnline map formats.

On the main panel, there is a range of buttons that group the objects by their type.
Below these buttons, there's a panel with buttons toggling the display of items in the map view.
On the right, there are buttons that determine which objects will be selected by clicking and dragging the mouse.
Other buttons:
Fast - displays list of often used items;
Ign - Ignore, shows ignored objects that are not rendered on the map;
Inv - Inventory, shows objects inside a container or inside critters' inventory;
Lst - List, shows all loaded maps and allows to switch between them.

Upon selecting an object, an option window will appear allowing to edit some of it's properties (marked green; white are not editable).
To add an object to Ignored objects list, click it with Ctrl on the object selection panel.
To add an object to the container or inventory, click it with Alt on the object selection panel.
To put an object in a critter's slot, click the item in it's inventory with Shift.

To apply a change in the object properties window to a range of selected objects (of the same type), click To All button.

To remove selected object(s), press Del.

To change direction of a critter, use middle mouse button.

To add a range of objects to already selected objects, hold Ctrl.

To change zoom, use mouse wheel.

To speed up scrolling of objects in the panel, use the following:
Shift - one page,
Ctrl - 100 elements,
Alt - 1000 elements.

To play animation of a selected critter, use "@" command with codes of desired animations. For instance, to play animations of movement, and then using, type "@abal" (case is ignored, as well as whitespaces). If no critter is selected, all critters on the map will play the animation. For information on animation codes, see http://modguide.nma-fallout.com/#Graphics011

To move a critter, hold down Shift and click the desired position.

Hotkeys:
F1: Enable/Disable display of items.
F2: Enable/Disable display of sceneries.
F3: Enable/Disable display of walls.
F4: Enable/Disable display of critter.
F5: Enable/Disable display of tiles.
F6: Enable/Disable display of frequently used objects.
F7: Hide/Show the main panel.
Shift + F7: Fix the position of the main panel (enabled by default).
F8: Enable/Disable scrolling with mouse.
F9: Hide/Show the object properties window.
Shift + F9: Fix the position of the object properties window (disabled by default).
F11: Set rain.
Shift + Escape: Exit the mapper.
Del: Delete the selected objects.
Ctrl + X: Cut objects.
Ctrl + C: Copy objects.
Ctrl + V: Paste objects.
Ctrl + A: Select all.
Ctrl + S: Enable/Disable ignoring of scroll blockers.
Ctrl + B: Show impassable hexes. Red are impassable, and not shootable through. Green are impassable, shootable through.
Ctrl + M: Display NPC information over their heads (this has few modes of display).
Ctrl + L: Save the log to a txt file.
Tab: Change the type of objects selection (diamond or rectangle).
+: Change time by 1 hour.
-: Change time by -1 hour.

Special Entires:
0 - default;
240 - starting position for a player who logged for a first time;
241 - starting position for players on a map with NoLogOff flag.
242 - replication.
243 - car entry point.
245 - vertibird entry point.
246 - boat entry point.
Title: Re: AoP mapper
Post by: blulark on November 02, 2014, 06:41:35 AM
http://forum.fonline2.com/index.php?topic=5821.0

Half done but good read.
Title: Re: AoP mapper
Post by: vaultboy on November 02, 2014, 07:32:07 AM
I am new to this but I can't resist.

I have the mapper, is anything open? Or do you want specific map types?

The tutorial link is all in russian? anything in english?

It is polish tutorial made by Kilgore but you can use google translate... You only need to know few commands such as open, save, resize canvas map and copy-paste. Open maps from sdk, see how it made and do similar.
Title: Re: AoP mapper
Post by: John Porno on November 02, 2014, 11:26:15 AM
anyone whos interesting in helping out wiht mapping, send me a PM so I cna organize the whole thing.
We plan to extend the core for the next season so we're going to need a lot of maps. The more mappers we have, the larger the core can be.

Also, did anyone bother to open the readme thats part of the archive?
Title: Re: AoP mapper
Post by: ViperII on November 08, 2014, 07:33:41 AM
Yes i did. There is the info about how to use mapper from Cvet. It is very useful but wrote in russian.
Title: Re: AoP mapper
Post by: Myakot on November 08, 2014, 11:41:47 PM
Yes i did. There is the info about how to use mapper from Cvet. It is very useful but wrote in russian.
If it's not that big (not more than 20 pages of 12 font in word) I can translate it, so feel free to ask.
Title: Re: AoP mapper
Post by: jaroo on November 09, 2014, 04:06:37 AM
Please send this 20 pages tutorial from cvet. It can be russian now but translate it to english soon.
Title: Re: AoP mapper
Post by: ViperII on November 09, 2014, 04:25:55 AM
I tried to save the changes in phoenix's map and i couldn't do that. I dont know how to save the changes in mapper. =(((
Title: Re: AoP mapper
Post by: Smalltime on November 09, 2014, 04:56:15 AM
hit enter
^mapname

and that's it.
Title: Re: AoP mapper
Post by: ViperII on November 09, 2014, 05:38:11 AM
~mapname   -----> of new map or the map on that u're working now?
Title: Re: AoP mapper
Post by: Smalltime on November 09, 2014, 06:41:12 AM
To load a saved map, type ~mapname in the console.
TO save a map, type ^mapname
Title: Re: AoP mapper
Post by: ViperII on November 10, 2014, 09:33:35 AM
Thank you and sorry for my noob questions :D