[Query] How I can edit MapAndreas?
#1

Hi, well, the thing is that I've some maps that are buildings a bit high, and I need to adapt the MapAndreas to these buildings, but I don't know how. Also I would like to know how to do to extract the firmest position under a bridge.

Regards.
Reply
#2

Quote:
Originally Posted by ******
Посмотреть сообщение
The plugin comes with a file containing all the positions, the format of which is documented in the plugin's code (IIRC it is a fairly simple binary array). So you should be able to just find the correct index in that file and change the data stored at that point (IEEE 754 floats, again IIRC, its been a long time since I read the code).
Its actually a unsigned short that gets divided by 100 when returned, thats the most appropriate type for the GTA height dimensions i guess.
I thought about adding the ability to modify and store the hmap to 1.1 a while ago, but never had the time for that. You could take a look at the plugin source to see how stuff is stored, its basically very easy to modify the in-memory values to return your individual values, storing the file then also isnt much work. I just didnt do it yet as I wouldnt want to do it the quick-n-dirty way, but also consider the minimal map and all that stuff, its not a 10 minute task then.

Edit: I just had some time and added this to MapAndreas 1.1. Gonna release 1.2 tomorrow, the version integrated in RNPC will also be updated soon
Getting coordinates under a bridge etc still isnt possible however, MapAndreas cant really do anything about that.
Edit2: I couldnt wait, already released it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)