Recomipiling .asi file - how to?
-
So I downloaded this nice script a few days ago, complete with a source code. However, there is one parameter that I would like to change.
What program am I supposed to use in order to recompile an .asi file? Or better yet, is there anybody who would volunteer to do it and upload the result? It's all a matter of just a few characters really.
Any help will be much appreciated!
-
@TheMurderousCricket You will most likely need Visual Studio to compile it as that's what most script devs use.
You can also edit it with a hex editor if it's only very minor changes.
I could do both if you post the link here.
-
Well, it's Kokolaty's riot mod:
https://www.gta5-mods.com/scripts/provocateur-mod-kokolaty
And I just wish some of the peds used RPGs... This weapon is not listed in the weapons section.
That bit is in the very middle of the "script.cpp" file.
-
@TheMurderousCricket Alright, added the RPG to the list: https://mega.nz/#!y0hRkaSC!J7OLX5hwojApkn-p0lUCIrCIfVvgLzt2hBaS4vgSsGc
-
Hm, it doesn't seem to work. 40 minutes into a gameplay but I noticed no RPGs.
There is a "const int numweapon = 44" argument in there though. It's exactly how many weapon types are in the original file. I think it should be updated to 46 then. (No idea why the list should be duplicated though...) Did you check for it?
-
@TheMurderousCricket The script is pretty badly written in general and I think I know why that didn't work.
Try this.
-
Damn, still not working.
The guy should have added a classic config file if you ask me... That would have made things whole lotta easier!
If you can't fix it, that's okay. Thanks anyway for taking the time out of your life to try and repair this mod.
It seems the weapon configuration here is more complicated than we both thought...
-
Idk, it has to work. The probability for a ped to spawn with an RPG is just very small. I don't have the time to rewrite the script, it's extremely badly written. Just get Visual Studio and do it yourself if you wanna increase the probability.
-
I understand. Maybe it's indeed too rare. Thank you for trying!
I think I'll just use another mod (with easily configurable weapons) in conjunction to Kokolaty's mod. That should do just fine.
-
This post is deleted!
-
This post is deleted!