Search found 960 matches

by T.M.
07 Feb 2016, 11:38
Forum: Modding forum
Topic: New GTA2 Script Compiler
Replies: 120
Views: 297351

Re: New GTA2 Script Compiler

Might speed up the process of finishing this compiler if you released the source?
by T.M.
26 Jan 2016, 16:17
Forum: Modding forum
Topic: Epic GTA2 Map Editor (0.6.6602) Beta
Replies: 996
Views: 1426649

Re: Epic GTA2 Map Editor (0.6.6602) Beta

Welcome back, where have you been? I thought you would have viewed this weeks ago :) Oh yeah sorry took around 2 weeks! :shock: I guess i have just been outside of the internet too long! I think it's just left menu and the script preview that I can't hide in settings.cfg. camera.dat saves my 3D vie...
by T.M.
25 Jan 2016, 21:41
Forum: Modding forum
Topic: Epic GTA2 Map Editor (0.6.6602) Beta
Replies: 996
Views: 1426649

Re: Epic GTA2 Map Editor (0.6.6602) Beta

Looks like some of the windows on the editor cannot be hidden from settings.cfg, i will try to add those settings ASAP!
by T.M.
25 Jan 2016, 21:04
Forum: Modding forum
Topic: Epic GTA2 Map Editor (0.6.6602) Beta
Replies: 996
Views: 1426649

Re: Epic GTA2 Map Editor (0.6.6602) Beta

I hijacked the Epic GTA2 Map Editor 3D camera and took it for a ride with the GTA2 engine [remote] :) http://www.youtube.com/watch?v=-px-eP0h5tw WOOOOOOOOOOOOW!!! AVVVesome with triple-u! (new letter invented just for this) :o :o :o Is it possible to start Epic GTA2 Map Editor with most of the wind...
by T.M.
10 Jan 2016, 13:20
Forum: Modding forum
Topic: GTA2 Radar v0.2
Replies: 13
Views: 66198

Re: GTA2 Radar v0.1

I don't have a newer version of the minimap generator but maybe you only sent it to Elypter. If you ever make a new version, more resolution choices would be useful. As far as i remember, i think i have updated version which supported more larger resolutions, but i think there was something unfinis...
by T.M.
09 Jan 2016, 22:56
Forum: Modding forum
Topic: GTA2 Radar v0.2
Replies: 13
Views: 66198

Re: GTA2 Radar v0.1

Very cool thing, also nice to see my work in use always. Isn't there actually newer version of my minimap generator than that 2010 version with my MSN-Messenger address in the readme? :D If you can, could you remove that email from the readme so nobody tries to use it since its not active anymore. A...
by T.M.
26 Dec 2015, 16:31
Forum: Modding forum
Topic: New GTA2 Script Compiler
Replies: 120
Views: 297351

Re: New GTA2 Script Compiler

I noticed the list contained some grayed commands, so i realised those were either typed wrong, or my decompiler doesnt support them: [mis] CHANGE_COLOR should be CHANGE_COLOUR STORE_MAX_CAR_SPEED should be STORE_CAR_MAX_SPEED SET_CARDENSITY should be SET_CAR_DENSITY IS_CHAR_IN_AIR should be IS_CHAR...
by T.M.
23 Dec 2015, 17:39
Forum: Modding forum
Topic: New GTA2 Script Compiler
Replies: 120
Views: 297351

Re: New GTA2 Script Compiler

Awesome. Will it be opensource?
by T.M.
23 Dec 2015, 17:31
Forum: Modding forum
Topic: Collection of gta scripting and map weirdness
Replies: 123
Views: 300538

Re: Collection of gta scripting and map weirdness

Is it just me or this really makes miss2 crash because of the "CHECK_MULTIPLIER_GREATER" ?? [mis]player_ped p1 = ( 44.5 , 102.0 , 2.0 ) 25 0 LEVELSTART CHECK_MULTIPLIER_GREATER ( p1 , 7 ) LEVELEND[/mis] Yes that crashes the official compiler but I think T.M. found that it works in game if...
by T.M.
20 Dec 2015, 21:47
Forum: Modding forum
Topic: GTA2 ScriptPad
Replies: 281
Views: 538541

Re: GTA2 ScriptPad

I have a vague memory that the filenames are stored in the registry
by T.M.
17 Dec 2015, 14:24
Forum: Modding forum
Topic: GTA2 memory addresses
Replies: 115
Views: 311484

Re: GTA2 memory addresses

Sektor wrote:I've only seen a few other people even attempt to use these memory addresses but making it easier might attract some more scripters.
Indeed! Its too tedious currently, so not many people dare to mess with the code.
by T.M.
14 Dec 2015, 15:14
Forum: Modding forum
Topic: GTA2 memory addresses
Replies: 115
Views: 311484

Re: GTA2 memory addresses

Sektor, Is there some hidden meaning for those 5x DO_NOWT commands? Does the first post have all the known hacks? Would be nice if there was a single paper for all the knowledge we have so far! I would want so much to wrap those messy hacks into one function call, such as: frame = get_framecount(). ...
by T.M.
14 Dec 2015, 14:39
Forum: Modding forum
Topic: Help for scripters (One topic - all questions)
Replies: 10
Views: 25838

Re: Help for scripters (One topic - all questions)

6. How to get the square root? Most of the time square root can be taken out from calculations as long as you make every other calculation in second power. For example if you want to check if a distance from point A to point B is less than 37: if( (A.x-B.x)*(A.x-B.x)+(A.y-B.y)*(A.y-B.y) < 37*37){ /...
by T.M.
09 Nov 2015, 22:03
Forum: Modding forum
Topic: Collection of gta scripting and map weirdness
Replies: 123
Views: 300538

Re: Collection of gta scripting and map weirdness

Or its simple like this idea that i just thinked about, error or limitation like: "Its not allowed to increment or decrement WHILE loop counter variable within IF..ENDIF that is inside the WHILE loop". I know the error msg is long. But take it as limitation of compiler. Can we live with i...
by T.M.
06 Nov 2015, 13:58
Forum: Modding forum
Topic: Collection of gta scripting and map weirdness
Replies: 123
Views: 300538

Re: Collection of gta scripting and map weirdness

Maybe the MIS compiler noticed it is an infinite loop and jumped out of it to avoid game freezing? Can you reproduce this with other looping structures? (i dont remember if there are equivalents for loops). Is it possible to make a loop by using "recursion" in function calls? (as far as i ...
by T.M.
04 Nov 2015, 19:30
Forum: Modding forum
Topic: Collection of gta scripting and map weirdness
Replies: 123
Views: 300538

Re: Collection of gta scripting and map weirdness

Oh, i thought this was related to your own compiler project, sorry maybe mixed the threads in my mind.
by T.M.
04 Nov 2015, 16:17
Forum: Modding forum
Topic: Collection of gta scripting and map weirdness
Replies: 123
Views: 300538

Re: Collection of gta scripting and map weirdness

I think you should not have two WHILE_EXEC loops at the first place (not to mention making them nested like that), since it doesnt make sense anyways, not to mention the compiler/gta2 might not even support it. GTA2 script compiler is really crappy, i can only suggest you to avoid putting two differ...
by T.M.
30 Oct 2015, 12:40
Forum: Modding forum
Topic: Collection of gta scripting and map weirdness
Replies: 123
Views: 300538

Re: Collection of gta scripting and map weirdness

This is very SICK. The script 1: [mis]counter c1=1 LEVELSTART if(((c1=3) and (c1=35)) and // (c1=11)) // do_nowt endif LEVELEND[/mis] And script 2: [mis]counter c1=1 LEVELSTART IF ( ( c1=3 ) AND ( (c1=35 ) AND (c1=11 ) )) // // do_nowt endif LEVELEND[/mis] Are actually same. But because of nr of br...
by T.M.
30 Oct 2015, 12:23
Forum: Modding forum
Topic: IF logic .scr files
Replies: 24
Views: 56119

Re: IF logic .scr files

If i remember correctly, the NOT command adds some kind of flag into the IF statement/comparison functions. Not sure about this. Been too long since i last time looked at these :)
by T.M.
24 Oct 2015, 16:57
Forum: Modding forum
Topic: IF logic .scr files
Replies: 24
Views: 56119

Re: IF logic .scr files

I probably should note that (IIRC) nested ELSE commands are bugged in the compiler, so it should be avoided at all costs for doing those tests. ENDIF ENDIF ENDIF ENDIF Might also be a good idea to have a specific code-styling format for the if commands, so you dont confuse yourself with lacking inde...