arturf1 / GTA5-Scripts

http://techtelligent.net/self-driving.html
MIT License
29 stars 12 forks source link

Documentation #1

Open muaz-git opened 7 years ago

muaz-git commented 7 years ago

Hello Artur,

Thank you so much for sharing your work, I really appreciate it. Is it possible for you to add little details how to compile it and what extra libraries are required in order to make it work.

muaz-git commented 7 years ago

Okay, so I found the way. If you follow following tutorials, you would be able to run these scripts.

Tutorials: 1) http://forum.ragezone.com/f978/grand-theft-auto-modding-guide-1100772/ 2) https://forums.gta5-mods.com/topic/825/c-tutorial-basics-of-creating-a-script-part-3/3 (there are more tutorials for scripting on this blog)

Now I have just little confusion, if @arturf1 could please provide the files test.txt you are loading in both Annotator.cs and DataGen.cs. I am really not sure how to generate these. Thanks.

arturf1 commented 4 years ago

Sorry I never saw this issue.

I totally forgot about those files. I did not even describe them in the thesis this code was for. While I lost the original, I can describe its content and purpose.

SOI stands for space of interest. It's purpose is to define the key attributes of an object. These attributes are: modelHash name - name of the object FUL - X,Y,Z coordinates of the front upper left corner of the object BLR - X,Y,Z coordinates of the back lower right corner of the object

The file was space delimited, and could define multiple different stop objects. But I think I only ever had one object in it. It was a set up for generalization that never came.

Here is an example of how it would look like: 4791849387428 Stop 1 1 1 -1 -1 -1
But you would have to go into GTAV and find the stop sign hash as well as its dimensions.