Jump to content

Retired Cop, want to make Callouts, but...


Recommended Posts

I've made countless mods for many other games over the years (Including GTA San Andreas, GTA III, , Vice City) but I've never dipped too deep into the scripting used in GTA V.

I want to make callouts based on things I experienced as a police officer (Retired in 2001 due to injury).

Where is the BEST places to learn how to make a callout plugin to use with LSPDfr?

I need to know how to compile the dll, how to link it with Rage Hook and LSPDfr and basically what commands I can use  and so forth.

(For Example, if I want to make some callouts to have armed robbery at Ammunation/Convenience Stores/Barber Shop, etc that I can pull up on scene, suspect can either shoot cashier, take hostages, run, attack responding officers, surrender. I want the suspects to react to sirens (code 3) and be able to sneak up using code 2.

Basically, if you had never made any scripts for GTA V, but you weren't a complete idiot when it comes to PC's and programming, how would I start?

All I really care to make at the moment is realistic callouts and tie it into LSPDFR.
If a menu is necessary, then that too, but as we are already running out of keys I would like to tie my callouts to native menu in LSPDFR or to some other popular add-on for LSPDFR like Arrest Manager or something.

I've never programmed in C, C+, C#
I understand the concepts of Visual Basic some.

Thanks for anyone providing help.

 

Thanks,
JD

Link to comment
Share on other sites

I think you should start from getting the basics of C#. The knowledge you need to have to write simple scripts is very limited, I'd recommend you to check these websites:

http://www.tutorialspoint.com/csharp/csharp_program_structure.htm

http://csharp.net-tutorials.com/basics/introduction/

for eg.: read The Basics and first 7 parts of Classes. To better understand the concepts you should write your own code while reading, there are great online compilers, eg. this:

https://dotnetfiddle.net/

You should play with flow of control, while(true) (infinite loop), switch..case constructions alot because it's used to create plugins alot. When you feel comfortable with basics, I'd recommend to start reading API examples to decipher how a working solution is built, how peds are created, dismissed, how to work in an infinite loop, how to separate parts of code etc.

To actually create mods you'll need Visual Studio 2015 or newer when it gets released. You can start playing with it from the beginning or use the online compiler - it's simpler.

When you'll be ready for further instructions, post here.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...