13.04.2014, 17:05
(
Last edited by adri1; 24/07/2014 at 10:03 AM.
)
Map Mover 1.0 is made to move complete maps of position, without having to go object by object or manually.
Only with the pointer you can move the map to the position you want.
Video demonstration
[ame="http://www.youtube.com/watch?v=K1KXgKqhl9g"]YouTube[/ame]
How to move a map
The first is to remove the map you want to move our GM, and copy the map a .txt file with the name you want (after necessary to set the name to load it) and paste it into scripfiles. Example: .../scriptfiles/map1.txt
* The fs only recognizes CreateObject and CreateDynamicObject
Save the .txt file.
Load the FS and go to the server.
We use the /map command and put the file name .txt extension, and hopefully give to load OK.
Now we put the center object, we will put the best possible (by eye) in the center of the loaded map (have not have to be exact)
After placing the object center we put the / map command and select the 3rd option, which is to move the map, now only move the map at will (hold space to move the camera).
When we moved in we save icon or pressed Escape, and now just open the main menu (/map) Export and ready, we will see a new .txt file in scriptfiles with the same name but with the extension map "_converted . txt " that will be moved.
Update 1.1
- Bug repaired, errors caused by rotating objects (thanks to Stylock)
- Added MAX_MAPMOVER_REMOVEBUILDING = 1, ie if it's enabled the fs load RemoveBuildingForPlayer
- New mode of moving, camera, move the camera to move around the map (useful to move the map large distances)
Download
Pastebin 1.1
Pastebin 1.0
Notes
If you find any bug indicate this by a comment in this topic.
You may mix with other dialogues posts in gamemode, just change the id of the dialogues of FS by id's older or unoccupied.
Credits
Map Mover 1.0 - adri1
Flymode - SA:MP Team
Stylock
Sscanf2 - ******
Only with the pointer you can move the map to the position you want.
Video demonstration
[ame="http://www.youtube.com/watch?v=K1KXgKqhl9g"]YouTube[/ame]
How to move a map
The first is to remove the map you want to move our GM, and copy the map a .txt file with the name you want (after necessary to set the name to load it) and paste it into scripfiles. Example: .../scriptfiles/map1.txt
* The fs only recognizes CreateObject and CreateDynamicObject
Save the .txt file.
Load the FS and go to the server.
We use the /map command and put the file name .txt extension, and hopefully give to load OK.
Now we put the center object, we will put the best possible (by eye) in the center of the loaded map (have not have to be exact)
After placing the object center we put the / map command and select the 3rd option, which is to move the map, now only move the map at will (hold space to move the camera).
When we moved in we save icon or pressed Escape, and now just open the main menu (/map) Export and ready, we will see a new .txt file in scriptfiles with the same name but with the extension map "_converted . txt " that will be moved.
Update 1.1
- Bug repaired, errors caused by rotating objects (thanks to Stylock)
- Added MAX_MAPMOVER_REMOVEBUILDING = 1, ie if it's enabled the fs load RemoveBuildingForPlayer
- New mode of moving, camera, move the camera to move around the map (useful to move the map large distances)
Download
Pastebin 1.1
Pastebin 1.0
Notes
If you find any bug indicate this by a comment in this topic.
You may mix with other dialogues posts in gamemode, just change the id of the dialogues of FS by id's older or unoccupied.
Credits
Map Mover 1.0 - adri1
Flymode - SA:MP Team
Stylock
Sscanf2 - ******