GTA V Map Helper (Maxscript) 0.3
32.329
106
32.329
106
GTAV MAP HELPER BY NEOS7
v0.3
https://github.com/neos7/GTAV_Map_Helper
INSTALL
Copy the folders "GTAV_Map_Helper" and "Startup" in the "scripts" folder of your 3ds Max. (usually "3dsmax\scripts\")
Run 3ds Max and the script will appear in your utilities.
YTYP & YMAP
###EXPORT###
Select the meshes used as GTA V drawables, customize the settings and click "Add" to collect the data.
The chosen settings will be used for all the selected meshes.
When you finished click the "Export" button to save the .xml file.
In case you want to restart you can click the "Reset" button.
In case you are using GIMS EVO to export models remember that the name of the meshes you select should be the same used for .#dr files because the script takes the name from the meshes. Some properties you don't see in the panels might be still not supported or auto calculated. For example the lodDist is automatically calculated based on the radius of the mesh, textureDictionary in .ytyp instead if left empty will be filled with the same name of the single mesh (case of embedded textures), otherwise the chosen name will be used for all the selected created archetypes.
I strongly suggest to place the pivots of your meshes inside their bounding box, you can easily move them in the center of the mesh using the tool in 3ds. Remember also that their parent dummy create with GIMS EVO overrides the children pivots, so you should manually move it at the same position of the pivot that you previously moved in the center of the mesh (or at least inside the bounding box)
You can use the "GIMS EVO Shortcouts" in the main menu of this script to automatically do move create the parent dummies and move them at the same position of the meshes pivots. (It will also add the "Game Mesh" modifier required for GIMS EVO)
So an example scenario would be:
1.Resets the pivots of all the meshes in their local center
2.Select all the meshes and click on "Create multiple models" in the main menu of this script
3.Export models with GIMS EVO and ytyp/ymap with this script
Remember that exported models and exported metadata must be coherent to work properly, so if you edit the mesh topology of your models you have export new metadata.
###IMPORT###
The imported is really simple, you click "Import .ymap.xml" and select your file.
The script will read it and then will move/rotate/scale your objects in scene based on their name.
You can first use the "Check .ymap.xml" to check which object is missing without moving anything.
So an example scenario would be:
1.Import your models using GIMS EVO
2.Import the .ymap.xml using my script
INSTANCED GRASS PAINTER
Select the meshes you want to paint over, select the archetypeName and click on "Enable Paint" to start painting.
If there is no mesh in scene with the selected archetypeName, the script will load it from the assets folder.
Click again on "Enable Paint" to close the current batch. Repeat these steps for each batch.
When you finish, select the root dummies of the batches, customize your setting for both batches and instances and click "Add Batches" to collect the data. Remember that thr chosen settings will be used for all the selected batches when you add them.
Click "Reset" if you want to reset the batches you collected in the exporter.
To export the .ymap.xml file just click on "Export .ymap.xml"
If you want to preload all the assets click on the button "Import assets" and wait until they are loaded.
You can also import grass batches back in the scene using the "Import .ymap.xml" button.
NOTE: This is a beta script, it may change a lot.
OLD SCRIPTS:
Water.xml
Work from Top View and create planes, they will be used as water blocks.
FiveM .json Exporter
I also included the .json support since this script is initially written to work with json only and I still find the json a good format to backup both entities and archetype in the same file.
You can also import a json to move/rotate geometries in scene, it will create instances for entities with the same name.(this feature will be extended to ymaps)
If you have an error on startup about the assembly, right click on "Newtonsoft.Json.dll" located in the "scripts\GTAV_Map_Helper\fivem\" folder, go to Properties and unblock it or simply download it from Newtonsoft here:
https://github.com/JamesNK/Newtonsoft.Json/releases/latest
NOTES
The .ytyp.xml and .ymap.xml files have fixed properties for now, the settings panel is just a placeholder until I finish it.
This script isn't complete but I've choosen to release it to have suggestions, feedbacks and help of course, I've started working on this just because I needed it and I had no maxscript knowledge.
This script doesn't export game models, you will still need a script like GIMS EVO to do that.
You will also need to convert the .xml to game format using a tool like CodeWalker, OpenIV or MetaTool.
This tool was initially made to help creating custom maps for GTADrifting server for FiveM.
People I would thanks:
GTADrifting members
Remaster Autos members
dexyfex
3Doomer
v0.3
https://github.com/neos7/GTAV_Map_Helper
INSTALL
Copy the folders "GTAV_Map_Helper" and "Startup" in the "scripts" folder of your 3ds Max. (usually "3dsmax\scripts\")
Run 3ds Max and the script will appear in your utilities.
YTYP & YMAP
###EXPORT###
Select the meshes used as GTA V drawables, customize the settings and click "Add" to collect the data.
The chosen settings will be used for all the selected meshes.
When you finished click the "Export" button to save the .xml file.
In case you want to restart you can click the "Reset" button.
In case you are using GIMS EVO to export models remember that the name of the meshes you select should be the same used for .#dr files because the script takes the name from the meshes. Some properties you don't see in the panels might be still not supported or auto calculated. For example the lodDist is automatically calculated based on the radius of the mesh, textureDictionary in .ytyp instead if left empty will be filled with the same name of the single mesh (case of embedded textures), otherwise the chosen name will be used for all the selected created archetypes.
I strongly suggest to place the pivots of your meshes inside their bounding box, you can easily move them in the center of the mesh using the tool in 3ds. Remember also that their parent dummy create with GIMS EVO overrides the children pivots, so you should manually move it at the same position of the pivot that you previously moved in the center of the mesh (or at least inside the bounding box)
You can use the "GIMS EVO Shortcouts" in the main menu of this script to automatically do move create the parent dummies and move them at the same position of the meshes pivots. (It will also add the "Game Mesh" modifier required for GIMS EVO)
So an example scenario would be:
1.Resets the pivots of all the meshes in their local center
2.Select all the meshes and click on "Create multiple models" in the main menu of this script
3.Export models with GIMS EVO and ytyp/ymap with this script
Remember that exported models and exported metadata must be coherent to work properly, so if you edit the mesh topology of your models you have export new metadata.
###IMPORT###
The imported is really simple, you click "Import .ymap.xml" and select your file.
The script will read it and then will move/rotate/scale your objects in scene based on their name.
You can first use the "Check .ymap.xml" to check which object is missing without moving anything.
So an example scenario would be:
1.Import your models using GIMS EVO
2.Import the .ymap.xml using my script
INSTANCED GRASS PAINTER
Select the meshes you want to paint over, select the archetypeName and click on "Enable Paint" to start painting.
If there is no mesh in scene with the selected archetypeName, the script will load it from the assets folder.
Click again on "Enable Paint" to close the current batch. Repeat these steps for each batch.
When you finish, select the root dummies of the batches, customize your setting for both batches and instances and click "Add Batches" to collect the data. Remember that thr chosen settings will be used for all the selected batches when you add them.
Click "Reset" if you want to reset the batches you collected in the exporter.
To export the .ymap.xml file just click on "Export .ymap.xml"
If you want to preload all the assets click on the button "Import assets" and wait until they are loaded.
You can also import grass batches back in the scene using the "Import .ymap.xml" button.
NOTE: This is a beta script, it may change a lot.
OLD SCRIPTS:
Water.xml
Work from Top View and create planes, they will be used as water blocks.
FiveM .json Exporter
I also included the .json support since this script is initially written to work with json only and I still find the json a good format to backup both entities and archetype in the same file.
You can also import a json to move/rotate geometries in scene, it will create instances for entities with the same name.(this feature will be extended to ymaps)
If you have an error on startup about the assembly, right click on "Newtonsoft.Json.dll" located in the "scripts\GTAV_Map_Helper\fivem\" folder, go to Properties and unblock it or simply download it from Newtonsoft here:
https://github.com/JamesNK/Newtonsoft.Json/releases/latest
NOTES
The .ytyp.xml and .ymap.xml files have fixed properties for now, the settings panel is just a placeholder until I finish it.
This script isn't complete but I've choosen to release it to have suggestions, feedbacks and help of course, I've started working on this just because I needed it and I had no maxscript knowledge.
This script doesn't export game models, you will still need a script like GIMS EVO to do that.
You will also need to convert the .xml to game format using a tool like CodeWalker, OpenIV or MetaTool.
This tool was initially made to help creating custom maps for GTADrifting server for FiveM.
People I would thanks:
GTADrifting members
Remaster Autos members
dexyfex
3Doomer
Først uploadet: 1. maj 2017
Sidst opdateret: 19. januar 2018
Last Downloaded: 7 hours ago
70 Kommentarer
GTAV MAP HELPER BY NEOS7
v0.3
https://github.com/neos7/GTAV_Map_Helper
INSTALL
Copy the folders "GTAV_Map_Helper" and "Startup" in the "scripts" folder of your 3ds Max. (usually "3dsmax\scripts\")
Run 3ds Max and the script will appear in your utilities.
YTYP & YMAP
###EXPORT###
Select the meshes used as GTA V drawables, customize the settings and click "Add" to collect the data.
The chosen settings will be used for all the selected meshes.
When you finished click the "Export" button to save the .xml file.
In case you want to restart you can click the "Reset" button.
In case you are using GIMS EVO to export models remember that the name of the meshes you select should be the same used for .#dr files because the script takes the name from the meshes. Some properties you don't see in the panels might be still not supported or auto calculated. For example the lodDist is automatically calculated based on the radius of the mesh, textureDictionary in .ytyp instead if left empty will be filled with the same name of the single mesh (case of embedded textures), otherwise the chosen name will be used for all the selected created archetypes.
I strongly suggest to place the pivots of your meshes inside their bounding box, you can easily move them in the center of the mesh using the tool in 3ds. Remember also that their parent dummy create with GIMS EVO overrides the children pivots, so you should manually move it at the same position of the pivot that you previously moved in the center of the mesh (or at least inside the bounding box)
You can use the "GIMS EVO Shortcouts" in the main menu of this script to automatically do move create the parent dummies and move them at the same position of the meshes pivots. (It will also add the "Game Mesh" modifier required for GIMS EVO)
So an example scenario would be:
1.Resets the pivots of all the meshes in their local center
2.Select all the meshes and click on "Create multiple models" in the main menu of this script
3.Export models with GIMS EVO and ytyp/ymap with this script
Remember that exported models and exported metadata must be coherent to work properly, so if you edit the mesh topology of your models you have export new metadata.
###IMPORT###
The imported is really simple, you click "Import .ymap.xml" and select your file.
The script will read it and then will move/rotate/scale your objects in scene based on their name.
You can first use the "Check .ymap.xml" to check which object is missing without moving anything.
So an example scenario would be:
1.Import your models using GIMS EVO
2.Import the .ymap.xml using my script
INSTANCED GRASS PAINTER
Select the meshes you want to paint over, select the archetypeName and click on "Enable Paint" to start painting.
If there is no mesh in scene with the selected archetypeName, the script will load it from the assets folder.
Click again on "Enable Paint" to close the current batch. Repeat these steps for each batch.
When you finish, select the root dummies of the batches, customize your setting for both batches and instances and click "Add Batches" to collect the data. Remember that thr chosen settings will be used for all the selected batches when you add them.
Click "Reset" if you want to reset the batches you collected in the exporter.
To export the .ymap.xml file just click on "Export .ymap.xml"
If you want to preload all the assets click on the button "Import assets" and wait until they are loaded.
You can also import grass batches back in the scene using the "Import .ymap.xml" button.
NOTE: This is a beta script, it may change a lot.
OLD SCRIPTS:
Water.xml
Work from Top View and create planes, they will be used as water blocks.
FiveM .json Exporter
I also included the .json support since this script is initially written to work with json only and I still find the json a good format to backup both entities and archetype in the same file.
You can also import a json to move/rotate geometries in scene, it will create instances for entities with the same name.(this feature will be extended to ymaps)
If you have an error on startup about the assembly, right click on "Newtonsoft.Json.dll" located in the "scripts\GTAV_Map_Helper\fivem\" folder, go to Properties and unblock it or simply download it from Newtonsoft here:
https://github.com/JamesNK/Newtonsoft.Json/releases/latest
NOTES
The .ytyp.xml and .ymap.xml files have fixed properties for now, the settings panel is just a placeholder until I finish it.
This script isn't complete but I've choosen to release it to have suggestions, feedbacks and help of course, I've started working on this just because I needed it and I had no maxscript knowledge.
This script doesn't export game models, you will still need a script like GIMS EVO to do that.
You will also need to convert the .xml to game format using a tool like CodeWalker, OpenIV or MetaTool.
This tool was initially made to help creating custom maps for GTADrifting server for FiveM.
People I would thanks:
GTADrifting members
Remaster Autos members
dexyfex
3Doomer
v0.3
https://github.com/neos7/GTAV_Map_Helper
INSTALL
Copy the folders "GTAV_Map_Helper" and "Startup" in the "scripts" folder of your 3ds Max. (usually "3dsmax\scripts\")
Run 3ds Max and the script will appear in your utilities.
YTYP & YMAP
###EXPORT###
Select the meshes used as GTA V drawables, customize the settings and click "Add" to collect the data.
The chosen settings will be used for all the selected meshes.
When you finished click the "Export" button to save the .xml file.
In case you want to restart you can click the "Reset" button.
In case you are using GIMS EVO to export models remember that the name of the meshes you select should be the same used for .#dr files because the script takes the name from the meshes. Some properties you don't see in the panels might be still not supported or auto calculated. For example the lodDist is automatically calculated based on the radius of the mesh, textureDictionary in .ytyp instead if left empty will be filled with the same name of the single mesh (case of embedded textures), otherwise the chosen name will be used for all the selected created archetypes.
I strongly suggest to place the pivots of your meshes inside their bounding box, you can easily move them in the center of the mesh using the tool in 3ds. Remember also that their parent dummy create with GIMS EVO overrides the children pivots, so you should manually move it at the same position of the pivot that you previously moved in the center of the mesh (or at least inside the bounding box)
You can use the "GIMS EVO Shortcouts" in the main menu of this script to automatically do move create the parent dummies and move them at the same position of the meshes pivots. (It will also add the "Game Mesh" modifier required for GIMS EVO)
So an example scenario would be:
1.Resets the pivots of all the meshes in their local center
2.Select all the meshes and click on "Create multiple models" in the main menu of this script
3.Export models with GIMS EVO and ytyp/ymap with this script
Remember that exported models and exported metadata must be coherent to work properly, so if you edit the mesh topology of your models you have export new metadata.
###IMPORT###
The imported is really simple, you click "Import .ymap.xml" and select your file.
The script will read it and then will move/rotate/scale your objects in scene based on their name.
You can first use the "Check .ymap.xml" to check which object is missing without moving anything.
So an example scenario would be:
1.Import your models using GIMS EVO
2.Import the .ymap.xml using my script
INSTANCED GRASS PAINTER
Select the meshes you want to paint over, select the archetypeName and click on "Enable Paint" to start painting.
If there is no mesh in scene with the selected archetypeName, the script will load it from the assets folder.
Click again on "Enable Paint" to close the current batch. Repeat these steps for each batch.
When you finish, select the root dummies of the batches, customize your setting for both batches and instances and click "Add Batches" to collect the data. Remember that thr chosen settings will be used for all the selected batches when you add them.
Click "Reset" if you want to reset the batches you collected in the exporter.
To export the .ymap.xml file just click on "Export .ymap.xml"
If you want to preload all the assets click on the button "Import assets" and wait until they are loaded.
You can also import grass batches back in the scene using the "Import .ymap.xml" button.
NOTE: This is a beta script, it may change a lot.
OLD SCRIPTS:
Water.xml
Work from Top View and create planes, they will be used as water blocks.
FiveM .json Exporter
I also included the .json support since this script is initially written to work with json only and I still find the json a good format to backup both entities and archetype in the same file.
You can also import a json to move/rotate geometries in scene, it will create instances for entities with the same name.(this feature will be extended to ymaps)
If you have an error on startup about the assembly, right click on "Newtonsoft.Json.dll" located in the "scripts\GTAV_Map_Helper\fivem\" folder, go to Properties and unblock it or simply download it from Newtonsoft here:
https://github.com/JamesNK/Newtonsoft.Json/releases/latest
NOTES
The .ytyp.xml and .ymap.xml files have fixed properties for now, the settings panel is just a placeholder until I finish it.
This script isn't complete but I've choosen to release it to have suggestions, feedbacks and help of course, I've started working on this just because I needed it and I had no maxscript knowledge.
This script doesn't export game models, you will still need a script like GIMS EVO to do that.
You will also need to convert the .xml to game format using a tool like CodeWalker, OpenIV or MetaTool.
This tool was initially made to help creating custom maps for GTADrifting server for FiveM.
People I would thanks:
GTADrifting members
Remaster Autos members
dexyfex
3Doomer
Først uploadet: 1. maj 2017
Sidst opdateret: 19. januar 2018
Last Downloaded: 7 hours ago
Remember to check github page for the daily updates
@GTA5TexturesByBlaz upload this json
@Neos7 download link:https://doc-14-ag-docs.googleusercontent.com/docs/securesc/esbif9tj99p3vis42v6nuk788gjva2fv/rmul6t4ibin5gv5qomnoika532th35op/1522785600000/00054809409825282052/00054809409825282052/1xCpCp_cTLn6hAyu5vxXtMbSTW233pTDF?e=download&nonce=o4gcp830ddemm&user=00054809409825282052&hash=ns5pe8d3iij5gc0nt09md977a7nkiacd btw this is json file from the vice city gta 5 mod
maybe that link wont work so here is another one https://drive.google.com/open?id=1xCpCp_cTLn6hAyu5vxXtMbSTW233pTDF
@GTA5TexturesByBlaz @GTA5TexturesByBlaz worked fine for me, https://a.pomf.cat/rdlodp.zip
the output is a pair of ytyp+ymap,plus 1 extra ymap if some hashes are unknown to my tool, sometimes these unresolved hashes are vanilla props, so converting it to binary ymap with OpenIV or CodeWalker and then converting it back to .ymap.xml should resolve them, in this case i guess those are just hashes of SA props (eg i noticed a streetlamp1), so probably leftovers from the author of the mod
Thank you for taking the time to help me.It is now working.
@Neos7 Strange question, maybe, but do you know, is there a special way to create ymap GUID's? Studying some MILO files, I can't figured out out those guid's are formed. Thanks.
hey , i need help , http://prntscr.com/necpz2
What is the solution to the problem facing us in this script
http://prntscr.com/necpz2
@StreetMode
I have a problem like this man
@MHAGOLMGNON hello, I solved this problem by taking the 2016 version of 3ds Max
I like this tool ... and please make this featured in code walker which i mean is the ytyp part which can make us move objects as codewalker can't move MLO interior objects yet ... please help the codewalker or associate with it .. that's wall we need .. thanks
I like this tool ... and please make this featured in code walker which i mean is the ytyp part which can make us move objects as codewalker can't move MLO interior objects yet ... please help the codewalker or associate with it .. that's wall we need .. thanks
Is it good for 2017? I don't know why but it doesn't work from the very beginning. @Neos7
Does it work for 2021?
hello anyone could give a help to me installing the gta v map (maxscript) into 2016? i am willing to pay you $30 via paypal if you make video i would appreciate it please thanks .
Anyone able to get this to work properly in 2016? Seems it wont start any scripts. Just throws error after error on launch.
@GTAV-Brando bonjour le 2016 et bug et la 2017 au si avec sa GTAV_Map_Helper_GUI lol
hello I would like some help to solve my problem I have an error message with that https://prntscr.com/ukxpy1
@Neos7 I can't understand something: ytyp can only be exported ? Can't I import it ?
hello how to move liberty city in fivem?