Search found 1448 matches

by Sektor
06 Nov 2025, 12:31
Forum: Modding forum
Topic: How can I change the vehicle data script settings?
Replies: 34
Views: 27017

Re: How can I change the vehicle data script settings?

it gives 50 multiple times because it runs in a loop.

You can make it only give the weapon once by using the HAS_CAR_GOT_WEAPON check.

IF (NOT(HAS_CAR_GOT_WEAPON(any_apc,car_machine_gun)))
IF (CHECK_CAR_MODEL (any_apc,APC))
SET_CAR_FLAMEPROOF (any_apc, ON)
SET_CAR_BULLETPROOF (any_apc, ON)
SET ...
by Sektor
06 Nov 2025, 11:24
Forum: Modding forum
Topic: How can I change the vehicle data script settings?
Replies: 34
Views: 27017

Re: How can I change the vehicle data script settings?

bil already has an earlier PLAYER_PED command, so the player will actually be called shaft, not p1

Change this:

STORE_CAR_CHARACTER_IS_IN (shaft,any_apc)
by Sektor
06 Nov 2025, 08:16
Forum: Modding forum
Topic: How can I change the vehicle data script settings?
Replies: 34
Views: 27017

Re: How can I change the vehicle data script settings?

Move it to after WHILE. That is the part where the main loop starts.
by Sektor
06 Nov 2025, 04:49
Forum: Modding forum
Topic: How can I change the vehicle data script settings?
Replies: 34
Views: 27017

Re: How can I change the vehicle data script settings?

I didn't know you were adding to the existing bil.mis

You can't just put it at the end, that code will never run because it's outside the existing WHILE ENDWHILE loop. You also shouldn't have more than one LEVELSTART and LEVELEND.

Before the existing LEVELSTART, put CAR_DATA any_apc

After the ...
by Sektor
05 Nov 2025, 15:51
Forum: Modding forum
Topic: How can I change the vehicle data script settings?
Replies: 34
Views: 27017

Re: How can I change the vehicle data script settings?

You need to type in bil.gmp, bil.ste and bil.sty into 3 different places. I’ll let you figure out where.
by Sektor
05 Nov 2025, 13:02
Forum: Modding forum
Topic: How can I change the vehicle data script settings?
Replies: 34
Views: 27017

Re: How can I change the vehicle data script settings?

are you running bil.scr? It's the 3rd area if choosing from singleplayer or you can launch it directly in gta2manager debug tab using skip frontend
by Sektor
04 Nov 2025, 21:15
Forum: Modding forum
Topic: How can I change the vehicle data script settings?
Replies: 34
Views: 27017

Re: How can I change the vehicle data script settings?

You need to create the player and the car. You also you need a LEVELEND.

Are you trying to give vehicle machine gun to all APCs or just a specific one?

This script will check every vehicle the player enters and if it's an APC then it will make it rocketproof and give it vehicle gun.

// ste.gmp ...
by Sektor
04 Nov 2025, 11:09
Forum: Modding forum
Topic: How can I change the vehicle data script settings?
Replies: 34
Views: 27017

Re: How can I change the vehicle data script settings?

I'd need to see more of the script but it says a symbol hasn't been declared, so maybe you didn't create an object or vehicle that you are trying to change. It says the line number (237) that is trying to change an object that doesn't exist.
by Sektor
03 Nov 2025, 13:07
Forum: Modding forum
Topic: How can I change the vehicle data script settings?
Replies: 34
Views: 27017

Re: How can I change the vehicle data script settings?

COLLECT_xx objects are for picking up from the ground.

Use GIVE_WEAPON (APC, CAR_MACHINE_GUN). The list of vehicle weapons is near the bottom of the page. The ammo amount is sometimes ignored.

https://projectcerbera.com/gta/2/tutorials/weapons
by Sektor
11 Jul 2025, 17:07
Forum: Modding forum
Topic: Epic GTA2 Map Editor (0.6.6602) Beta
Replies: 999
Views: 2214567

Re: Epic GTA2 Map Editor (0.6.6602) Beta

I saw that. It’s impressive considering it wasn’t designed for that view. Hopefully it can be improved.
by Sektor
10 Jul 2025, 09:09
Forum: Modding forum
Topic: How can I change the vehicle data script settings?
Replies: 1
Views: 37992

Re: How can I change the vehicle data script settings?

the easiest way without any coding is to use the GTA2 Trainer https://github.com/izawartka/gta2-trainer-cpp/releases/

If you really want to modify the .mis files then use the GIVE_WEAPON command.

GIVE_WEAPON ( car01, CAR_MACHINE_GUN )

You can also use CAR_BOMB, CAR_OIL, CAR_MINE, CAR_BOMB_INSTANT ...
by Sektor
25 Jun 2025, 13:02
Forum: Modding forum
Topic: How do I change what vehicles are spawned in the district?
Replies: 1
Views: 29874

Re: How do I change what vehicles are spawned in the district?

carspawn.png
carspawn.png (111.39 KiB) Viewed 29867 times
by Sektor
24 Jun 2025, 10:52
Forum: GTA2 Game Hunter
Topic: GTA2 Game Hunter
Replies: 309
Views: 1824402

Re: GTA2 Game Hunter

2025-06-24 v1.5993
- Added default sound alerts
- Skip frontend is unticked on exit
- UPnP is disabled on launch if GH is started with admin permissions

https://gtamp.com/GTA2/gta2gh15993setup.exe
by Sektor
22 Jun 2025, 04:28
Forum: Modding forum
Topic: Gta2 any vehicles hp
Replies: 1
Views: 28690

Re: Gta2 any vehicles hp

nyc.gci has the anti strength value, lower value means stronger. I renamed it to nyc.txt, uploaded to copilot and asked it to make me a list of just the cars and anti stength:

Tank: 0.250
Pacifier: 0.500
G4 Bank Van: 0.500
SWAT Van: 0.500
Box Truck: 0.750
Bus: 0.750
Stretch Limousine: 0.750
Sports ...
by Sektor
05 Jun 2025, 03:24
Forum: Modding forum
Topic: Kill Frenzy/Wang Cars Issues in Residential map
Replies: 18
Views: 95184

Re: Kill Frenzy/Wang Cars Issues in Residential map

Thanks for testing. Seems that bug is because I zeroed out too many bytes.

Attached a better version that only changes the 3C01's to 0000

Comparing files ste.SCR and STE.BAK
000074FE: 00 3C
000074FF: 00 01
0000750A: 00 3C
0000750B: 00 01
00007516: 00 3C
00007517: 00 01
by Sektor
04 Jun 2025, 02:38
Forum: Modding forum
Topic: Kill Frenzy/Wang Cars Issues in Residential map
Replies: 18
Views: 95184

Re: Kill Frenzy/Wang Cars Issues in Residential map

I used a hex editor to disable the 3 trailer commands in ste.scr from gta2-v9.6-script-files-wang-cars-respawn.7z and it no longer crashes loading your save on 9.6. I didn't test with asi loader or wide screen patch or any other mods.

edit: bad attachment removed
by Sektor
04 Jun 2025, 01:39
Forum: Modding forum
Topic: Kill Frenzy/Wang Cars Issues in Residential map
Replies: 18
Views: 95184

Re: Kill Frenzy/Wang Cars Issues in Residential map

There should be no differences using notepad++, scriptpad or mispad to edit the .mis files. I have run into Windows permission issues depending on where you are editing the files and mispad/scriptpad might not report that when saving. The difference comes with the compiling, they handle the storing ...
by Sektor
04 Jun 2025, 01:21
Forum: Modding forum
Topic: Kill Frenzy/Wang Cars Issues in Residential map
Replies: 18
Views: 95184

Re: Kill Frenzy/Wang Cars Issues in Residential map

sidneyrz wrote: 04 Jun 2025, 01:18 is it actually possible to change commands just through the save game?
No, I just wanted your save for testing. I won't be modifying the save file.
by Sektor
04 Jun 2025, 01:11
Forum: Modding forum
Topic: Kill Frenzy/Wang Cars Issues in Residential map
Replies: 18
Views: 95184

Re: Kill Frenzy/Wang Cars Issues in Residential map

I forgot that 2008 me fixed the trailer in bil.mis, not by removing the PUT_CAR_ON_TRAILER commands but by doing this:

IF ( NOT ( IS_CAR_CRUSHED ( KF_3_car ) ) )
PUT_CAR_ON_TRAILER ( KF_3_car , KF_3_trailer_1 )
ENDIF

IF ( NOT ( IS_CAR_CRUSHED ( KF_4_car ) ) )
PUT_CAR_ON_TRAILER ( KF_4_car , KF_4 ...
by Sektor
04 Jun 2025, 00:53
Forum: Modding forum
Topic: Kill Frenzy/Wang Cars Issues in Residential map
Replies: 18
Views: 95184

Re: Kill Frenzy/Wang Cars Issues in Residential map

Can you post your save? 2 things I can try are just patching out the put_car_on_trailer commands without recompiling the script. Still the best solution will be to figure out what was changed in 11.44 exe to fix the trailers and then do that same change to the 9.6.exe. Finding out what exactly ...