Search found 51 matches

by Jones
18 Nov 2017, 21:36
Forum: Modding forum
Topic: Make fist do damage
Replies: 2
Views: 4651

Re: Make fist do damage

You could probably use STORE LAST CHAR PUNCHED in combination with the health address of the players. Just ask if you need more help with that
by Jones
18 Nov 2017, 21:28
Forum: Modding forum
Topic: New GTA2 Script Compiler
Replies: 117
Views: 177899

Re: New GTA2 Script Compiler

Really awesome work! [respect] Its also fun following your progress. Do you already have an idea how and when you implement new commands? Probably best to begin with peek and poke. Your compiler could convert those to the respective CHANGE_GANG_CHAR_RESPECT commands internally and it would be more s...
by Jones
15 Dec 2015, 16:52
Forum: Modding forum
Topic: GTA2 memory addresses
Replies: 115
Views: 170529

Re: GTA2 memory addresses

I would want so much to wrap those messy hacks into one function call, such as: frame = get_framecount(). I thought this could be done in JavaScript, so you write the new style code there and "compile" it into MIS file which contains all those ugly hacks and temporary variables etc. When it is made...
by Jones
05 May 2015, 17:57
Forum: Modding forum
Topic: Code Snippets
Replies: 50
Views: 103199

Re: Code Snippets

This shows a brief message only visible to a specific player: [mis] COUNTER static = 6206716 COUNTER myPlayer=0 COUNTER mainloop=1 LEVELSTART SET in = (static+0) CHANGE_GANG_CHAR_RESPECT (in,out,104) SET in = (out+36) CHANGE_GANG_CHAR_RESPECT (in,myPlayer,101) WHILE_EXEC ( mainloop = 1 ) IF(myPlayer...
by Jones
28 Apr 2015, 20:36
Forum: Modding forum
Topic: GTA2 memory addresses
Replies: 115
Views: 170529

Re: GTA2 memory addresses

After some digging with IDA Disassembler in the "source code" :geek: : coplevel coplevel = peek dword [p1 + 20Ah] 522 600 = level 1 1600 3000 5000 8000 12000 = level 6 threat reaction reaction= peek dword [p1 + 28Ch ] 652 0 NO_REACTION 1 POLICE maybe? or same as 2 2 REACT_AS_NORMAL 3 RUN_AWAY occupa...
by Jones
08 Apr 2015, 19:36
Forum: Modding forum
Topic: Code Snippets
Replies: 50
Views: 103199

Re: Code Snippets

IF ( charpointer > 32340 ) // 10 x 660 (each character has a struct of 660 bytes) That is interesting. What is the magic number 32340 ? How did you calculate it? To my knowledge, 10*660 = 6600. I took those numbers from Sektor, I think 32340 is the highest multiple of 660 you represent with a COUNT...
by Jones
07 Apr 2015, 17:14
Forum: Modding forum
Topic: Code Snippets
Replies: 50
Views: 103199

Re: Code Snippets

Zombieees :) Makes every pedestrian on map running after your brain http://i.imgur.com/RmeXJYz.png?1 [mis]//Find new ped IF(ped=0) SET in = ( p1 + charpointer ) //all characters are stored after player 1 SET in = (in+360) // read sprite address of character CHANGE_GANG_CHAR_RESPECT (in,out,104) IF(N...
by Jones
07 Apr 2015, 15:56
Forum: Modding forum
Topic: Random peds stand in line?
Replies: 10
Views: 13219

Re: Random peds stand in line?

Hi, here is my version without any while loops (except the main one) :lol: : [mis]// originally decompiled from "MP1-6P.scr" Using Epic GTA2 Script Decompiler by T.M. // // using script parts from SEKTOR´s god.mis // ///////////////////////////////////////////////////////////////////////////////////...
by Jones
04 Sep 2013, 08:03
Forum: GTA1/GTA2 movies, music, images and replays
Topic: GTA2 UFO
Replies: 34
Views: 41783

Re: GTA2 UFO

Nice, can't wait to try it out :)
by Jones
31 Aug 2013, 21:14
Forum: Modding forum
Topic: IF logic .scr files
Replies: 24
Views: 39700

IF logic .scr files

Hi, maybe we can solve together the problem how IF conditions are compiled. Here is a bit what I got so far, given code: [mis]PLAYER_PED p1 = ( 0.0 , 0.0 , 0.0 ) 0 0 COUNTER a=0 COUNTER b=0 LEVELSTART IF ( a=2 ) DO_NOWT ENDIF LEVELEND[/mis] Here is the relevant bytecode how it could look: 5E 00 // S...
by Jones
04 May 2013, 18:29
Forum: Maps
Topic: MultiSlayer 6 (Arenas & Team Games)
Replies: 45
Views: 61824

Re: MultiSlayer 6 (Arenas & Team Games)

You can fall through map on MultiSlayer Race around coordinates 92,99
by Jones
09 Apr 2013, 16:01
Forum: GTA1/GTA2 movies, music, images and replays
Topic: GTA2 weapons of mass destruction
Replies: 10
Views: 11442

Re: GTA2 weapons of mass destruction

Whether long-range weapon or suicide bomber
Wicked mind is a weapon of mass destruction
haha nice video and scripting ;)
by Jones
07 Apr 2013, 20:05
Forum: GTA1/GTA2 movies, music, images and replays
Topic: Grand Theft Loco
Replies: 20
Views: 27311

Re: Grand Theft Loco

It only works in conjunciton with Sektor's code and wait is indeed used to prevent multpile execution of the code.
by Jones
06 Apr 2013, 22:48
Forum: Maps
Topic: Unreal Tournament: Mazon, Coret, Fractal, Niven & Phobos
Replies: 12
Views: 14840

Re: Unreal Tournament: Mazon, Coret, Fractal, Niven & Phobos

Electrogun isn't that fun on Phobos, especially so close to a spawnpoint. Maybe reducing its ammo and placing it somewhere else? Another idea for Mazon, how about opening the castle gates in last 30 seconds? So you get a last run chance :) Currently you can forget the last 30 seconds if all attacker...
by Jones
06 Apr 2013, 10:10
Forum: GTA1/GTA2 movies, music, images and replays
Topic: Grand Theft Loco
Replies: 20
Views: 27311

Re: Grand Theft Loco

[mis]IF (wait=0) SET wait=1 STORE_CAR_CHARACTER_IS_IN ( p , carriage ) WHILE_EXEC(NOT(CHECK_CAR_MODEL( carriage,TRAINCAB))) SET carriage = ( carriage + 188 ) // 188 is the size of vehicle struct ENDWHILE SET toot = ( carriage +0 ) TAKE_REMOTE_CONTROL_OF_CAR ( p, toot ) ENDIF[/mis] Seems to work well...
by Jones
05 Apr 2013, 22:08
Forum: Modding forum
Topic: SET command/Scriptable instant gang
Replies: 31
Views: 33849

Re: SET command/Scriptable instant gang

Yeah, nice work Sektor you did it ;) How did you find about the 660, via ADD_SCORE and some wild testing?

edit: strange that SET_CHAR_INVINCIBLE did it in the end, I think I had chosen it just because it was a simple (flag/bit changing) command.
by Jones
05 Apr 2013, 22:04
Forum: Modding forum
Topic: How to edit the main Exe.?
Replies: 6
Views: 11242

Re: How to edit the main Exe.?

Try some crackmes and some affiliated tutorials, no need to do "illegal" cracking and reverse engineering crackmes is easier than full programs ;)
by Jones
29 Mar 2013, 20:30
Forum: GTA1/GTA2 movies, music, images and replays
Topic: GTA2 Super Ped
Replies: 4
Views: 4592

Re: GTA2 Super Ped

I wonder if he survived that headbutt :D
by Jones
13 Mar 2013, 11:04
Forum: Modding forum
Topic: New GTA2 Script Compiler
Replies: 117
Views: 177899

Re: New GTA2 Script Compiler Preview v0.1

I'm also interested in writing the compiler or at least have a glance how you have done it B-$hep, please release it as source ;) I don't know how you can circumvent your problem of attractive problems which been solved by others, but aren't there enough for everyone? I don't think someone here can ...
by Jones
10 Mar 2013, 22:08
Forum: Modding forum
Topic: GTA2 ScriptPad
Replies: 281
Views: 370861

Re: GTA2 ScriptPad

Looks good, I find those hints for parameters useful for sure :)