Search found 181 matches

by JernejL
28 Jun 2025, 09:08
Forum: Modding forum
Topic: Gta 2 vehicle settings
Replies: 2
Views: 81

Re: Gta 2 vehicle settings

1. yes - using scripting
2. yes, using scripting (vehicle immunities)
3. yes, i think there is a setting in sty or nyc.gci file to set can drivee over other vehicles flag, but it will not behave 100% like tank does.
by JernejL
03 Jun 2025, 05:22
Forum: Modding forum
Topic: Official script modifying cause certain missions to crash
Replies: 11
Views: 498

Re: Official script modifying cause certain missions to crash

Pretty sure this is related to roadblocks then.

Maybe you can use gta2 powermanager or script option to disable roadblocks - try if that works.
by JernejL
02 Jun 2025, 11:52
Forum: Modding forum
Topic: Official script modifying cause certain missions to crash
Replies: 11
Views: 498

Re: Official script modifying cause certain missions to crash

Maybe the gta2 reverse engineering project can answer some of those questions ( https://github.com/CriminalRETeam/gta2_re ), but it sounds like it is actually running out of some fixed object allocation, perhaps the crashing is related to objects created for roadblocks. does it work fine without any ...
by JernejL
02 Jun 2025, 10:37
Forum: Modding forum
Topic: How can I change the car data settings?
Replies: 2
Views: 112

Re: How can I change the car data settings?

some of these parameters like vehicle type and max health can be modified in the sty editor (it also edits car handling data), but others are script dependant and needs recompiling script (vehicle weapons and immunities).
by JernejL
02 Jun 2025, 10:35
Forum: Site and forum discussion
Topic: Best Settings for GTA2 Game Hunter on Modern Systems?
Replies: 2
Views: 147

Re: Best Settings for GTA2 Game Hunter on Modern Systems?

gta1 and gta2 networking is deterministic tick-sync (like old c&c games) and not a typical interpolated client-server (quake)

So, lag is a really important factor, ping must be as low as possible as games WILL wait for each packet to update all players.
Additionally, networking has to be ...
by JernejL
29 May 2025, 06:12
Forum: Modding forum
Topic: Official script modifying cause certain missions to crash
Replies: 11
Views: 498

Re: Official script modifying cause certain missions to crash

perhaps there is a limit how much objects can be on screen or your random coordinates are placing objects inside buildings and cause problems?

Try placing them on road surfaces only.
by JernejL
26 May 2025, 12:56
Forum: Modding forum
Topic: Official script modifying cause certain missions to crash
Replies: 11
Views: 498

Re: Official script modifying cause certain missions to crash

nice to see someone add objects, gta1 maps were full of them and they were great, lack of ambient objects in gta2 always disappointed me.
by JernejL
05 Mar 2025, 06:51
Forum: Modding forum
Topic: GMP rotator/flipper - Flip or rotate your map by 90°, 180° or 270°
Replies: 12
Views: 30230

Re: GMP rotator - Rotate your map by 90°, 180° or 270°


News! I've finished a program which changes xyz parameters from gta2 script. It uses python as well. I've annexed on the first post the singleplayer maps rotated. I need to fix Industrial District weird crash though. It crashes after some ~20 seconds of gameplay for a unknown reason, even if I ...
by JernejL
18 Feb 2025, 11:43
Forum: Modding forum
Topic: PSX modding (scripts decompiled, PSX compiler, STY tiles, GMP files etc.)
Replies: 12
Views: 15903

Re: PSX modding (scripts decompiled, PSX compiler, STY tiles, GMP files etc.)

is there any difference in sty file format for ps2? do those style files not just open in my gta2 style editor?
by JernejL
17 Feb 2025, 07:39
Forum: Modding forum
Topic: Is there any way to modify the color palettes of the GTA 1 peds?
Replies: 42
Views: 47108

Re: Is there any way to modify the color palettes of the GTA 1 peds?

Yes. but i'm not near my home computer to do much with it. I can publish the source code, if you wish to try figuring it out sooner.
by JernejL
15 Feb 2025, 16:28
Forum: Modding forum
Topic: GMP rotator/flipper - Flip or rotate your map by 90°, 180° or 270°
Replies: 12
Views: 30230

Re: GMP rotator - Rotate your map by 90°, 180° or 270°



To solve the second item I just need to interpretate what is the word/dword stored in data section for each (x,y). I thought it would be the column index, but actually it is an word/dword offset.



It says that in documentation tho that it's an offset (so, address), not a index.

a 2D array ...
by JernejL
15 Feb 2025, 08:39
Forum: Modding forum
Topic: GMP rotator/flipper - Flip or rotate your map by 90°, 180° or 270°
Replies: 12
Views: 30230

Re: GMP rotator - Rotate your map by 90°, 180° or 270°



My next desire is to port the PSX maps to PC. Just knowing how to get block info from compressed data is enough.


is cmap not same as DMAP but 16 / 32 bit lookup for blocks?

it even says so in documentation:


In a CMAP, there is a limit of 65536 distinct blocks in the world. In a DMAP ...
by JernejL
13 Feb 2025, 10:47
Forum: Modding forum
Topic: GMP rotator/flipper - Flip or rotate your map by 90°, 180° or 270°
Replies: 12
Views: 30230

Re: GMP rotator - Rotate your map by 90°, 180° or 270°

This can be really disorienting, but it gives some variation to the classical maps.

In TDC, i've implemented rotating camera to follow your orientation that also feels weird and you really need to get used to it.
by JernejL
03 Feb 2025, 11:56
Forum: Modding forum
Topic: is there any way to edit fstyle.sty?
Replies: 12
Views: 12736

Re: is there any way to edit fstyle.sty?

You are correct, but i have no idea what would cause this, i will investigate further, but at least we are getting somewhere now.
by JernejL
29 Jan 2025, 08:09
Forum: Modding forum
Topic: is there any way to edit fstyle.sty?
Replies: 12
Views: 12736

Re: is there any way to edit fstyle.sty?

Try this:
http://gtamp.com/tdc/gta2stytool_PALB_TEST.7z

As far as i tried, it works (load and save) but the only difference is, that it pads palette clut up to 64 palettes (just how editor always worked).
I hope gta2 doesn't crash when loading it, but if it works, it's first time fstyle was ...
by JernejL
29 Jan 2025, 06:20
Forum: Modding forum
Topic: Is there any way to modify the color palettes of the GTA 1 peds?
Replies: 42
Views: 47108

Re: Is there any way to modify the color palettes of the GTA 1 peds?

After you import your palette, export the whole main palette clut to bmp and send that.

Image
by JernejL
28 Jan 2025, 15:29
Forum: Modding forum
Topic: Is there any way to modify the color palettes of the GTA 1 peds?
Replies: 42
Views: 47108

Re: Is there any way to modify the color palettes of the GTA 1 peds?

i'd still like to have the image file you imported, because it could be related to how your program saves it, that it causes the problem in the clut editor.

I suspect that because if the program loads palette into image, then it has to save properly - the logic to calculate how much bytes to read ...
by JernejL
28 Jan 2025, 15:28
Forum: Modding forum
Topic: is there any way to edit fstyle.sty?
Replies: 12
Views: 12736

Re: is there any way to edit fstyle.sty?

i fixed so my tool can now save it but doesn't correctly handle fonb section for fstyle (font bases for sprite numbers), i might fix that somewhen in the near future and post a fixed version.
by JernejL
22 Jan 2025, 08:46
Forum: Other games
Topic: GTA 1 Cop officer skin glitch!
Replies: 2
Views: 17599

Re: GTA 1 Cop officer skin glitch!

This can be forced, if you change some mission.ini parameters.

I think this is the mission you mentioned:
https://gta.fandom.com/wiki/Tequila_Sla ... _Mission_2