asd23 Posted January 7, 2009 Share Posted January 7, 2009 (edited) Yeah, I know we already have a car spawner. But I found it annoying to Alt+Tab all the time and setting hotkeys for all the cars isn't very practical. So I made this, mainly as a way to learn C++. Also this is my first C++ thing Download v0.4: Here Installation: Place CarSpawner.asi into your GTAIV directory. Make sure you have some sort of Asi Loader. Asi Loader or XLiveLess will do. Default hotkeys: Numpad 0 - Toggle on/off Numpad 7 - Previous car Numpad 4 - Next car Numpad 1 - Spawn car Changing hotkeys: The hotkeys are defined in CarSpawner.ini, so if something isn't working, delete CarSpawner.ini and try with the default hotkeys. The lines are pretty self explanatory. The keys are set as virtual key code values. For example, if you want the spawn key to be F5, you would have spawn=116 in the file. Complete list of virtual key codes Regarding multiplayer: Since I don't have access to MP, I can't test it. Because of that, using this in MP is totally unsupported by me. If it works, good for you. If it doesn't, I can't help you. ATTENTION: Spawning the following vehicles without having DLC content enabled, WILL CRASH YOUR GAME: Wolfsbane Diabolus Lycan Nightblade Revenant Hexer Deamon Angel Get the DLC from: Here Credits: asd23 aka Roltzy, for typing the car names into a list and compiling the thing. Please use the name Roltzy, if you're putting it on your page. Aru, for the Script Hook and help on displaying text. Edited January 11, 2009 by asd23 Link to comment https://gtaforums.com/topic/390818-relgtaiv-car-spawner/ Share on other sites More sharing options...
Rob.Zombie Posted January 7, 2009 Share Posted January 7, 2009 Wow now this is what I need. Thanks for the Car Spawner. Respect if I got it to work ^^ Link to comment https://gtaforums.com/topic/390818-relgtaiv-car-spawner/#findComment-1058855283 Share on other sites More sharing options...
GTAMonkey2012 Posted January 7, 2009 Share Posted January 7, 2009 Car spawners, anything other than in game = crappy implementation. Link to comment https://gtaforums.com/topic/390818-relgtaiv-car-spawner/#findComment-1058855352 Share on other sites More sharing options...
vestax Posted January 7, 2009 Share Posted January 7, 2009 (edited) Nice work Edited January 7, 2009 by vestax Link to comment https://gtaforums.com/topic/390818-relgtaiv-car-spawner/#findComment-1058855430 Share on other sites More sharing options...
asd23 Posted January 7, 2009 Author Share Posted January 7, 2009 Updated to v0.2. Lots of internal changes. Now using an array to store the names, instead of the previous method of using switches(eww). Also, now you can toggle it on/off. Not just the text display, but the whole thing. Link to comment https://gtaforums.com/topic/390818-relgtaiv-car-spawner/#findComment-1058856265 Share on other sites More sharing options...
topeira Posted January 7, 2009 Share Posted January 7, 2009 can u spawn ALL bikes from the DLC with this one? if not, do u think u can create another version that can? (if im not mistaken i think i couldd spawn 2 of the 8 DLC bikes...) Link to comment https://gtaforums.com/topic/390818-relgtaiv-car-spawner/#findComment-1058856701 Share on other sites More sharing options...
asd23 Posted January 7, 2009 Author Share Posted January 7, 2009 (edited) If I get the model hashes from somewhere, yeah. I'll look into it. Can you give me a list of all the DLC bikes? Edit: No, that seems to be all the models from vehicles.ide, except for the trains. If the DLC mod adds them, then I need to get it, since I don't have it. Edited January 7, 2009 by asd23 Link to comment https://gtaforums.com/topic/390818-relgtaiv-car-spawner/#findComment-1058856764 Share on other sites More sharing options...
Fabio206 Posted January 7, 2009 Share Posted January 7, 2009 Hello there, nice one Is compatiblewith GTAIV.exe without patch? and patched? Link to comment https://gtaforums.com/topic/390818-relgtaiv-car-spawner/#findComment-1058856810 Share on other sites More sharing options...
asd23 Posted January 7, 2009 Author Share Posted January 7, 2009 No, you either need Asi Loader or XLiveLess and they do need GTAIV to be patched. Link to comment https://gtaforums.com/topic/390818-relgtaiv-car-spawner/#findComment-1058856888 Share on other sites More sharing options...
Fabio206 Posted January 7, 2009 Share Posted January 7, 2009 Asi loader don't need it..I have asi loader and I have no patch I'll try the trainer later or tomorrow I'll tell you if it works without patch Link to comment https://gtaforums.com/topic/390818-relgtaiv-car-spawner/#findComment-1058856897 Share on other sites More sharing options...
asd23 Posted January 7, 2009 Author Share Posted January 7, 2009 Err... okay. About the DLC stuff: I don't have a clue what the hashes for those models are so I can't load them. Currently you can't spawn any DLC bikes. Link to comment https://gtaforums.com/topic/390818-relgtaiv-car-spawner/#findComment-1058856966 Share on other sites More sharing options...
vachon644 Posted January 7, 2009 Share Posted January 7, 2009 I think I fell in love. Have a f*cking huge cookie. Link to comment https://gtaforums.com/topic/390818-relgtaiv-car-spawner/#findComment-1058857011 Share on other sites More sharing options...
Rich246 Posted January 7, 2009 Share Posted January 7, 2009 Can you possibly allow the car to be seen before confirming it to be spawned? Link to comment https://gtaforums.com/topic/390818-relgtaiv-car-spawner/#findComment-1058857054 Share on other sites More sharing options...
vachon644 Posted January 8, 2009 Share Posted January 8, 2009 (edited) Oops, why not working online? I can't seem to use it online. Fix fix? Edit:Problems persist after coming back from online match. Weird. Looks like changing world disables. I will try loading the game directly in MP. I'll give news. Edit 2 : Worked on connecting online instead of going thru SP. This means the hack only loads the first time you load a game. (MP or SP) Edited January 8, 2009 by vachon644 Link to comment https://gtaforums.com/topic/390818-relgtaiv-car-spawner/#findComment-1058857304 Share on other sites More sharing options...
Rukkia Posted January 8, 2009 Share Posted January 8, 2009 Oops, why not working online? I can't seem to use it online. Fix fix? Edit:Problems persist after coming back from online match. Weird. Looks like changing world disables. I will try loading the game directly in MP. I'll give news. Edit 2 : Worked on connecting online instead of going thru SP. This means the hack only loads the first time you load a game. (MP or SP) That's how all ASI's load, Alex has to fix it. Link to comment https://gtaforums.com/topic/390818-relgtaiv-car-spawner/#findComment-1058857526 Share on other sites More sharing options...
vachon644 Posted January 8, 2009 Share Posted January 8, 2009 Oops, why not working online? I can't seem to use it online. Fix fix? Edit:Problems persist after coming back from online match. Weird. Looks like changing world disables. I will try loading the game directly in MP. I'll give news. Edit 2 : Worked on connecting online instead of going thru SP. This means the hack only loads the first time you load a game. (MP or SP) That's how all ASI's load, Alex has to fix it. I think you are wrong. For example, the Simple Native Trainer has never failed me when going SP or MP and changing game and reloading game. SNT was always loaded. Maybe I am wrong but the tool to verify "player_pool_creation" might be wrong. Link to comment https://gtaforums.com/topic/390818-relgtaiv-car-spawner/#findComment-1058857543 Share on other sites More sharing options...
topeira Posted January 8, 2009 Share Posted January 8, 2009 Err... okay. About the DLC stuff: I don't have a clue what the hashes for those models are so I can't load them. Currently you can't spawn any DLC bikes. im pretty sure there are 2 bikes that were not in the game originally. the hellfury and another heavy one. am i wrong? u can look in the mod that helps u get the DLC bikes to see how it was done there and make it possible in your mod. Link to comment https://gtaforums.com/topic/390818-relgtaiv-car-spawner/#findComment-1058858035 Share on other sites More sharing options...
asd23 Posted January 8, 2009 Author Share Posted January 8, 2009 (edited) Can you possibly allow the car to be seen before confirming it to be spawned? I don't think I could come up with a practical solution for that. The loading of each model would take annoyingly long. Worked on connecting online instead of going thru SP. This means the hack only loads the first time you load a game. (MP or SP) I'm pretty sure it's something Aru needs to fix in his C++ hook. But I don't really care. Since I can only play SP I can only support that. the hellfury and another heavy one. am i wrong? u can look in the mod that helps u get the DLC bikes to see how it was done there and make it possible in your mod. The Hellfury, Freeway and Zombie aren't DLC bikes. And I did look into that mod. Didn't help me much more than now I know the names of the bikes. I'll keep trying some stuff though. Edited January 8, 2009 by asd23 Link to comment https://gtaforums.com/topic/390818-relgtaiv-car-spawner/#findComment-1058858542 Share on other sites More sharing options...
gta-pilot Posted January 8, 2009 Share Posted January 8, 2009 THIS IS GREAT D:. But could you make the DLX bikes work too? Link to comment https://gtaforums.com/topic/390818-relgtaiv-car-spawner/#findComment-1058859611 Share on other sites More sharing options...
asd23 Posted January 8, 2009 Author Share Posted January 8, 2009 (edited) Yes, gonna upload the new version shortly. Just gotta test what will happen if you don't have the DLC mod. Edit: Released v0.3: Used the new version of Aru's C++ Hook. Made DLC bikes spawnable, but beware, if you don't have the DLC stuff enabled, trying to spawn them will crash the game. Edited January 8, 2009 by asd23 Link to comment https://gtaforums.com/topic/390818-relgtaiv-car-spawner/#findComment-1058859728 Share on other sites More sharing options...
DeadlyUser Posted January 9, 2009 Share Posted January 9, 2009 Great stuff. Love it! A+ Link to comment https://gtaforums.com/topic/390818-relgtaiv-car-spawner/#findComment-1058861363 Share on other sites More sharing options...
smoot178 Posted January 10, 2009 Share Posted January 10, 2009 Good work. Now I don't have to alt+tab and risk getting a disconnect from the server. Plus it actually works in multiplayer Now I can have my FIB Buffalo, the most badass car in the game. Link to comment https://gtaforums.com/topic/390818-relgtaiv-car-spawner/#findComment-1058866919 Share on other sites More sharing options...
vestax Posted January 10, 2009 Share Posted January 10, 2009 Good work. Now I don't have to alt+tab and risk getting a disconnect from the server. Plus it actually works in multiplayer Now I can have my FIB Buffalo, the most badass car in the game. How do u get it work in mp? It doesnt work in mp for me, and after i load game. Link to comment https://gtaforums.com/topic/390818-relgtaiv-car-spawner/#findComment-1058866988 Share on other sites More sharing options...
kieranxp5 Posted January 10, 2009 Share Posted January 10, 2009 This doesn't seem to work for me, installed Alice, ASI loader, put this in the directory, nothing. Other scripts work for me.. (patched etc., thats not an issue) Link to comment https://gtaforums.com/topic/390818-relgtaiv-car-spawner/#findComment-1058867129 Share on other sites More sharing options...
asd23 Posted January 10, 2009 Author Share Posted January 10, 2009 In asilog.txt, does it say CarSpawner.asi is loaded? Link to comment https://gtaforums.com/topic/390818-relgtaiv-car-spawner/#findComment-1058867142 Share on other sites More sharing options...
Marduk123 Posted January 10, 2009 Share Posted January 10, 2009 what do i have to do to change the hotkey? Link to comment https://gtaforums.com/topic/390818-relgtaiv-car-spawner/#findComment-1058867225 Share on other sites More sharing options...
asd23 Posted January 11, 2009 Author Share Posted January 11, 2009 what do i have to do to change the hotkey? At the moment, you can't change the hotkeys. But it's planned. Link to comment https://gtaforums.com/topic/390818-relgtaiv-car-spawner/#findComment-1058867537 Share on other sites More sharing options...
Beuzer Posted January 11, 2009 Share Posted January 11, 2009 Oops, why not working online? I can't seem to use it online. Fix fix? Edit:Problems persist after coming back from online match. Weird. Looks like changing world disables. I will try loading the game directly in MP. I'll give news. Edit 2 : Worked on connecting online instead of going thru SP. This means the hack only loads the first time you load a game. (MP or SP) How do you load multiplayer without loading singleplayer first? Link to comment https://gtaforums.com/topic/390818-relgtaiv-car-spawner/#findComment-1058867662 Share on other sites More sharing options...
asd23 Posted January 11, 2009 Author Share Posted January 11, 2009 Updated to v0.4: Hotkeys are now defined in CarSpawner.ini as virtual key code values. Full list of virtual key codes, any Value listed there should work as a hotkey. Link to comment https://gtaforums.com/topic/390818-relgtaiv-car-spawner/#findComment-1058867709 Share on other sites More sharing options...
CrystallineAnt Posted January 12, 2009 Share Posted January 12, 2009 I am waiting for some friends to come online so that I can use this in MP. Or then I have to wait in my impatient self for somebody to fix it. Link to comment https://gtaforums.com/topic/390818-relgtaiv-car-spawner/#findComment-1058871938 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