THUG2AMX

Release mod tools/source code to the tools here.
Forum rules
Its preferred you release the source code, but if not its ok, but if its found you stole/borrowed source code from another tool/program and violated its license it will be removed.
Post Reply
CHC
Site Admin
Posts: 54
Joined: Sun Feb 28, 2010 9:43 pm

THUG2AMX

Post by CHC »

Over the past few months I've been working on a small DLL for easier modding of THUG2:

I'm making a wiki but for now open thug2.inc and you can see some natives you can use, use pawno for the editor, its a nice editor made by the SA-MP team.
Click Here

THUG2.pwn is a nice example script, in pawno simple press the play button, the script will be compiled, and then it should move into the previous folder. Simply drag all the contents to the THUG2 Game folder. This requires a reloaded exe.

Morten1337
Site Admin
Posts: 327
Joined: Mon Mar 01, 2010 2:23 pm
Location: Norway

Re: THUG2AMX

Post by Morten1337 »

nice work! :D

qwertysind
Posts: 117
Joined: Sun Mar 14, 2010 9:07 am

Re: THUG2AMX

Post by qwertysind »

what is it?
what does it do?
and how to use it?

KaMeR
VIP
Posts: 42
Joined: Wed Mar 03, 2010 12:52 pm
Location: Poland

Re: THUG2AMX

Post by KaMeR »

everything is in first post lol.

CHC
Site Admin
Posts: 54
Joined: Sun Feb 28, 2010 9:43 pm

Re: THUG2AMX

Post by CHC »

I'm updating THUG2AMX, i've lost about a week of code from it and need to remake that, feel free to reply with feature requests

Morten1337
Site Admin
Posts: 327
Joined: Mon Mar 01, 2010 2:23 pm
Location: Norway

Re: THUG2AMX

Post by Morten1337 »

okay there are some things; :D
Global GetVector, GetChecksum
AddChecksum (flag)
Fix CallPawn or make it possible to access the pawn from the game without chat messages , and the collision bug with SetSectorPos* :P

set filename for "log",

Code: Select all

log(text,"dump.txt");
and maybe a function that will return dir+/filename of a folder.

*if the new position goes under/over 0 the collision doesn't work. ex.

Code: Select all

(0,5,-10) to (10,-5,20) 
will make the object non-solid

CHC
Site Admin
Posts: 54
Joined: Sun Feb 28, 2010 9:43 pm

Re: THUG2AMX

Post by CHC »

Morten1337 wrote:

Code: Select all

(0,5,-10) to (10,-5,20) 
will make the object non-solid
i think thats a actual bug in the game engine but i'll see

Post Reply