1 526
50
-
lipiec 18, 2023
This tool will allow you to convert your created menyoo map over to an Object Placement Map
What is an Object Placement Map?
An Object Placement Map is bascially a set of data that allows a menyoo map to be loaded via script
The Tool comes with an exe for converting maps, as well as a example script file, that is used to load the map, after conversion
this video explains how to use the Tool + Script
https://youtu.be/SnUEEVZj4QM
As of 1.0 not all data from menyoo maps are being saved, this the data that is being read and converted:
for Props/Peds/Vehicles: Position, Rotation, Any Attachment Data (so Attachements save)
for Peds: Health, Armour, and current Weapon, scenario or animation Playing
for Vehicles: Primary Color, Seconary Color, Pearlescent Color and Livery
2.0
fixed some issues when reading maps made from Menyoo 2.0
Basic Example by JohnFromGWN (copied from my YT Video)
https://forums.gta5-mods.com/topic/41981/menyoo-map-to-script-working-example
Dodano: lipiec 05, 2023
Ostatnia aktualizacja: styczeń 28, 2024
Last Downloaded: 17 hours ago
49 Komentarzy
More mods by HKH191:
- Trainer
This tool will allow you to convert your created menyoo map over to an Object Placement Map
What is an Object Placement Map?
An Object Placement Map is bascially a set of data that allows a menyoo map to be loaded via script
The Tool comes with an exe for converting maps, as well as a example script file, that is used to load the map, after conversion
this video explains how to use the Tool + Script
https://youtu.be/SnUEEVZj4QM
As of 1.0 not all data from menyoo maps are being saved, this the data that is being read and converted:
for Props/Peds/Vehicles: Position, Rotation, Any Attachment Data (so Attachements save)
for Peds: Health, Armour, and current Weapon, scenario or animation Playing
for Vehicles: Primary Color, Seconary Color, Pearlescent Color and Livery
2.0
fixed some issues when reading maps made from Menyoo 2.0
Basic Example by JohnFromGWN (copied from my YT Video)
https://forums.gta5-mods.com/topic/41981/menyoo-map-to-script-working-example
Dodano: lipiec 05, 2023
Ostatnia aktualizacja: styczeń 28, 2024
Last Downloaded: 17 hours ago
-
@JohnFromGWN i mean yeah it should have no trouble spawning addons, from my knowledge
lipiec 05, 2023 -
@HKH191 I understand but keep in mind that anything a Menyoo map can do can be done through scripting. Spawning and positioning any entity, ped, vehicle, or object is one line of code. Animating, colors, clothes, facial features...all can be done directly through scripting. When I first started modding, I made a few xml maps with Menyoo but was disappointed by inconsistent entity spawns - like ghosting. I realized I could do anything Menyoo did with scripts. Having said that, I also use Menyoo xml. For example at times I have saved 10 or more MLOs in one session. I save these in Menyoo, then I import the xml directly into MS Excel and using string formulas I generate teleport code for every single location. This saves hours of work and in a sense is similar to what you're doing. Converting xml to code. The same applies to peds. I can make 10 component changes to a ped, save it as an outfit, and then convert the Menyoo components to native functions.
lipiec 06, 2023 -
@JohnFromGWN it can be done manually, but what if you have over 200 objects, it get tedious to do that, i simply made this tool public so other people can use it
lipiec 06, 2023 -
@HKH191 Fully agree with you. That was my point, it can save time, particularly since in game allows testing and positioning precisely. My original point was that this doesn't compete with ymaps - it's a scripting tool and enabler.
I have a suggestion. It would be cleaner if you shortened the expression "ObjectPlacementMap_Example.ObjectPlacementMap(GTA.Native"
Perhaps to just ObjectPlaceMap or even shorter. Also GTA.Native is not necessary for those using SHVND3.
Cheerslipiec 06, 2023 -
@JohnFromGWN that part of the expression is primarily to show the user what the entity is that the object placement map is creating, the script will try and use the hash from that but if not it will use the hash inputted after that
for example
new ObjectPlacementMap(GTA.Native.Function.Call<int>(Hash.GET_HASH_KEY,"prop_container_01a"),230426,0xda76fe6e, new Vector3(2946.60132f, 2746.92627f, 42.4062309f), new Vector3(0f, -0f, 105.91346f), -1,-1, new Vector3(0f,0f,0f),new Vector3(0f,0f,0f)),script tries to get hash of prop_container_01a first then if it cant it uses 0xda76fe6e
lipiec 06, 2023 -
@HKH191 Understood. Sorry if I wasn't clear. What I meant was to shorten the string name.
For example ObjectPlacementMap_Example.ObjectPlacementMap
Becomes OPM.ObjectPlacement Map
Just as an example because the resulting lines of code are very longlipiec 06, 2023 -
-
-
@HKH191 ok thanks for ur response ill work around it best i can with whats available. I also want to say thank you for making this masterpiece it will help me bring my map mod to life without being able to figure out codewalker lol. Very eagerly anticipating future updates!
lipiec 14, 2023 -
I still don't understand this. In Menyoo you can already load the created map itself
lipiec 19, 2023 -
-
@charles2077 In Menyoo, you have to do it yourself every time. Constantly pressing f8, spooner, saved files, and then scrolling all the way down for it. With this mod, it'll be done auto-magically with a script each time you load into the game. No hassle, saves time.
luty 05, 2024 -
Not that menyoo is bad or that I'm dissing it, just explaining that this mod was made for convenience sake's.
luty 05, 2024 -
What is its net version? My computer has the highest version of net, but it cannot work.
marzec 04, 2024 -
-
its a great mod i tried today.works well.need some updates.like auto dll create.and task do not work.
sierpień 20, 2024 -
@Andreeyyy I read that if the download button is not working on this error, then .NET version should be less then 6. I installed v5.0.13 and it worked. https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/runtime-desktop-5.0.13-windows-x64-installer
listopad 06, 2024
At the moment, all my mods are being converted or have been converted to Scripthookvdotnet3, to not flood the scripts page with my mods, im only uploading 3 mods per day, leaving gaps inbetween other users mods, (I have had permission from 5mods admin to do this) as a result its going to take around a month for all my mods to be update to SHVDN3 builds on 5mods, so if you would like to get your hands on a mod of mine that has not been posted to 5mods yet, you can join my discord to get all updates to mod updated to scripthookvdotnet3, as well as Project Overthrow and The ECU Job in SP
https://discord.gg/EPz9KxGReH