Full up to date Vehicle List?
-
Currently working on a new popgroups.ytd file and one of the final pieces I'm missing is a full, updated vehicle list for all vanilla SP and MP vehicles, including both spawn and in-game names. I can get up to date lists of one or the other, but nothing with both. Is there a list either in the game files or online that I can copy from before I have to go through all 500+ vehicles manually!
-
Don't know about other trainers but Rampage seemed to have all the DLC vehicles.
-
@QBit07 do you know if is there a log file in the trainer that contains the list?
-
Once you have all model names/hashes, you can just run them through something like this, to get the in-game name:
std::string getGxtName(Hash hash) { char *name = VEHICLE::GET_DISPLAY_NAME_FROM_VEHICLE_MODEL(hash); std::string displayName = UI::_GET_LABEL_TEXT(name); if (displayName == "NULL") { displayName = name; } return displayName; }
Part of AddonLoader's internal list (where it groups stuff in dlc) also have the log output format, but not for all vehicles. https://github.com/E66666666/GTAVAddonLoader/blob/master/GTAVAddonLoader/VehicleHashes.h
Alternatively you could try building a version of the script without any default-DLC present, it should just spit out all vehicles in full format in the log.
-
@ikt said in Full up to date Vehicle List?:
Once you have all model names/hashes, you can just run them through something like this, to get the in-game name:
std::string getGxtName(Hash hash) { char *name = VEHICLE::GET_DISPLAY_NAME_FROM_VEHICLE_MODEL(hash); std::string displayName = UI::_GET_LABEL_TEXT(name); if (displayName == "NULL") { displayName = name; } return displayName; }
Part of AddonLoader's internal list (where it groups stuff in dlc) also have the log output format, but not for all vehicles. https://github.com/E66666666/GTAVAddonLoader/blob/master/GTAVAddonLoader/VehicleHashes.h
Alternatively you could try building a version of the script without any default-DLC present, it should just spit out all vehicles in full format in the log.
This is actually the exact thing I was messaging you about yesterday! That code you've got, where would you put that? Is that a new .asi file or something?
The tool I'm making already uses both your addon.log and hashes.cache file to gather the info it needs, but if I can create a replica of addon.log for all vehicles that would be ideal to be honest.
-
@ItsJustCurtis Do you need it once, or do you need to generate it on-the-fly?
-
i think my vehicles dump contains everything you need & is always up2date for the latest GTA V version.
https://github.com/DurtyFree/gta-v-data-dumps/blob/master/vehicles.json
-
@ikt said in Full up to date Vehicle List?:
@ItsJustCurtis Do you need it once, or do you need to generate it on-the-fly?
Technically, only the once, but I would like the list to update if the game releases any new mp dlc, though I can just re-run the code and update the tool.
@DurtyFree said in Full up to date Vehicle List?:
i think my vehicles dump contains everything you need & is always up2date for the latest GTA V version.
https://github.com/DurtyFree/gta-v-data-dumps/blob/master/vehicles.jsonIf this is regularly updated then I should be able to do a web connection in my sheet and get what I need from that. I'm going to try and generate code using that and see how it works, thank you
-
@ItsJustCurtis Yes all my dumps are auto generated for the purpose of auto-updating once GTA V pushes an update.
Other mods are also already using it as a source for data