GTA5 mods in D?

w0rp via Digitalmars-d digitalmars-d at puremagic.com
Sat May 2 13:38:10 PDT 2015


On Saturday, 2 May 2015 at 18:51:53 UTC, Israel wrote:
> I know you guys are programmers and not gamers but it thought 
> maybe you want to experiment or help expand D?
>
> Currently there is a Script hook program that allows users to 
> create mods/scripts for GTA5. 
> http://www.dev-c.com/gtav/scripthookv/
>
> Some people have made plugins for script hook to support other 
> languages like Lua and .Net languages like C# and VB. 
> https://www.gta5-mods.com/tools. If this sounds interesting, 
> maybe someone can make a plugin for D. Im not even sure if or 
> how it will work.
>
> I wont hide anything from you though. It might dissuade you 
> from trying.
> This will require you to obtain a copy of the game, obviously 
> to test it.
> However, the company Rockstar doesnt like people modding the 
> game so if you plan on playing Multiplayer, you will probably 
> get banned.
>
> Anyways, Thanks for looking.

If it's a C API, you can use it from D. You just need to write 
the bindings to the library to use it with some extern(C) 
functions. If it's a C++ API, you can kind of sort of use it from 
D, mileage may vary.

It's a shame Rockstar is banning modding. They must hate fun.


More information about the Digitalmars-d mailing list