How can I change the vehicle data script settings?

Anything to do with GTA1/GTA2 modding (tools, scripts and more).
Post Reply
dltmdwns156
Jaywalker
Jaywalker
Posts: 7
Joined: 01 Jun 2025, 07:51

How can I change the vehicle data script settings?

Post by dltmdwns156 »

Hello? I asked you a question about changing the GTA2 car settings
1. Is there a way to add a vehicle weapon to a regular vehicle?
2. Is there a way for a normal vehicle to be immune to bullets, flamethrowers, electric shockers, etc. like tanks?
3. Is there a way to add a setting where a normal vehicle is just like a tank and you're just smashing another vehicle?

I'm asking about changing the GTA2 script. I downloaded the script pad and the compiler program, but I have no idea how to proceed after this. Am I writing and applying the script myself? Or I'm not sure if I just need to run the GTA2 file (BIL) as a pad program and modify the part with the vehicle data..
Please tell me how to change the script~!! Please!
User avatar
_L1pE_
Car Jacker
Car Jacker
Posts: 30
Joined: 08 Jan 2015, 15:02
GH nick: _L1pE_

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

Post by _L1pE_ »

1.

Code: Select all

GIVE_WEAPON (vehicle_name_here, WEAPON_HERE)
Only standard vehicle weapons from the garage shops work, if you give a turret to vehicle that doesn't normally have it game will crash when you try to fire it.
2.

Code: Select all

SET_CAR_BULLETPROOF (vehicle_name_here, ON)
SET_CAR_FLAMEPROOF (vehicle_name_here, ON)
SET_CAR_ROCKETPROOF (vehicle_name_here, ON)
There's no command to make vehicles electrogun proof.
3. That is done via .sty file, you need to use Sty Tool to set the flag "can drive over other cars" on the car you want. It won't work the same as the Tank, it will create visual dents but will do little HP damage.

See this page for documentation on scripting and other things: https://projectcerbera.com/gta/2/tutorials/
Let's go for a joyride
Post Reply