CodeWalker icon indicating copy to clipboard operation
CodeWalker copied to clipboard

added filter option to inspect model, complete model list and vehicle

Open excelsi0r opened this issue 5 years ago • 2 comments

Hello.

I was checking this project today and I found it quite interesting. I wanted something exactly like this to edit and create maps for Gta V. Just like old SA-MP map construction.

Something I realized it didn't exist was a list of objects and vehicles to zap trough. So I changed The Model View Tab a little bit. I added a complete list of objects and vehicles to the ModelViewCombo. This list is created at load time by loading the files 'entities/ObjectList.ini' and 'entities/VehicleList,ini'. Additionally, I added a text box that will serve as a filter. There, the user is able to input some words (separated by spaces). And the ComboBox will only list items that contain all those words.

I believe this is an interesting feature for the users that wish to create new maps. By having this complete list of entities and search filter, they can easily inspect and chose which props to use.

I made these features for my personal use. But I realized I should at least share it.

PS: The lists come from the MapEditor Mod PSS: I also tried the Ped Models but they wouldn't render

excelsi0r avatar May 30 '19 02:05 excelsi0r

I can't merge this directly because so many files were touched, but I'm leaving it here for the time being since maybe the desired functionality can be extracted from somewhere in the changed files

dexyfex avatar Oct 30 '19 11:10 dexyfex

I may have uploaded the new compiled binaries as well :D. I will try to create a pull request with the code changes only.

excelsi0r avatar Nov 14 '19 09:11 excelsi0r