Donny78 Posted January 14, 2011 Share Posted January 14, 2011 (edited) I've recently got back to IV and I've revived an old map editor project I was working on but I've come across an issue. I have a search feature built into the console so you can either input a hash and it will convert your hash into the model name or you can search for keywords such as "beach" will return one like "bmx_beach2" and others. My problem you ask, well it's that I use files, I copied and pasted every model from the wiki into seperate files a long time ago (before EFLC etc) and now I've come back to it I've realised I'd have to do this for each version on each release but not only that, apart from the search feature people aren't going to remember a huge list of hashes/names for thier custom models and also how would the mapper know about your custom model name as it's not in the file, you'd have to manually add it It's also going to end up with a bunch of files being added on your system, I'd rather get around that and not have to use files at all. I could use an enum/list but that's again a recompile after each mods release and then you wouldn't be able to use customs unless I add them. So any ideas on how I can get around this, alternative mthods and all that ? Thankyou. Ps. this is an ingame editor not an external like shadow mapper or whatever it's called (my bad, if it's wrong). Edit: Well I've decided to stick with files for the object name/hashes, I've figured that I'll use one file for all native objects in each episode so they all come with thier own version then I'll do a seperate file which users can add thier custom objects to: Game root/scripts/models/ native_models.txt custom_models.txt << you will add yours here Still though if anyone can think of a better option I'm still open to suggestions, please feel free to do so, thanks. Edited January 14, 2011 by Donny78 Link to comment https://gtaforums.com/topic/467428-map-editor-models-issue/ Share on other sites More sharing options...
Donny78 Posted January 20, 2011 Author Share Posted January 20, 2011 (edited) @Mods: I thought I'd add this here instead of making a new thread as it's related to the same subject, this is the reason for the bump. Well am I correct in thinking that the default map files are the same for all IV and it's episodes so I can add one native object files and it will cover all episodes etc ? I'll encrypt the native file you see if it is one for all, this way nobody can break the editor by changing that file, a custom file will handle all added objects then. Once I figure this part out I can release an alpha version of the map editor as it's pretty stable already and has a bunch of features. Thankyou. Edit: Well I've found a thread on here while searching google and they do differ between episodes slightly so I'll try and figure out what objects have changed then I can release it. Edited January 20, 2011 by Donny78 Link to comment https://gtaforums.com/topic/467428-map-editor-models-issue/#findComment-1060303388 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now