3 New Notifications

New Badge Earned
Get 1K upvotes on your post
Life choices of my cat
Earned 210

Drag Images here or Browse from your computer.

Trending Posts
Sorted by Newest First
v
viled [ushel v armiyu di 26.07.20 04:59 am

The scripting theme (Grand Theft Auto 3)

I scoured the forums about GTA3 but not found( maybe didn't notice) the theme of the script.
I think many( including me) want to learn how to write missions for GTA, and in particular the third.
so I propose to write in THIS topic all opcodes and values, examples of individual situations, and so on.
can someone share with US their knowledge on this subject?
141 Comments
Sort by:
R
Rysta 26.07.20

Regarding the missions:
If you change in the code of the mission some of the parameters for opcodes, such as coordinates, number of units of armor or model of car, then new game start is not necessary. But, if you add at least one new variable or remove the old, then the game will have to start again. Either use variables from other missions.

If you change anything in MAIN, then the game's gonna have to start again.

D
D-Ice95 26.07.20

I also recently noticed it. Changed in the first mission Sentinel on Sentinel and the old saved game worked fine.

j
just_think72 26.07.20

But the changes may not always be able to earn.

H
HighDefinition 26.07.20

@Rysta
What is this prog, is shown in the first screenshot?
IDA pro 5.5
And is there any SCM.ini not for 2005?
Is.
http://www.mediafire.com/?uh9x534xbxc5wds
@Zmey20009
In CLEO is such opcode
05EE: key_pressed 0x4B //VK_K
Where 0x4B - ID keys K (eng.)
@AGGRESSIVE JACKAL
I've done it before, but it looked a little primitive.

Z
Zmey20009 26.07.20

DК22

Thank you. A //VK_K what is it?

D
DruGun 26.07.20

It's a commentary opcode.

H
HighDefinition 26.07.20

VK_K means Virtual Key K, if you asked.

R
Rysta 26.07.20

Regarding protection. Machines can give such immunities:

02AC: set_car $CAR immunities 1 2 3 4 5

1 - Bullet Proof (bullet resistant)
2 - Fire Proof (flame-resistant)
3 - Explosion Proof (blast-proof)
4 - Collision Proof (nepodrajaemoi in collisions)
5 - Melee Proof (protection from melee weapons)

(1 - on, 0 – off.)

The same immunities can be done and the actor:

02AB: set_actor $ACTOR immunities 1 2 3 4 5


There are opcodes:

02AA: set_car $CAR immune_to_nonplayer 1
02A9: set_actor $ACTOR immune_to_nonplayer 1

Gives invulnerability to all damage, does not come from the player.

R
Rysta 26.07.20

In GTA III for cars 5-th protection plays no role. But for the actors can be useful.

PS.: In my opinion, the 5-th protection for cars starts with Vice city.

G
GTAman 26.07.20

All right, in Three cars damaged by melee weapons, and already in the sun damaged.

Z
Zmey20009 26.07.20

Anybody casually does not know whether it is possible to block/unblock your scripts?

H
HighDefinition 26.07.20

Know how to make it give an error when opened in SA, but in three it seems that this method is not valid.

D
DRS36 26.07.20

Like the map of Gta 3 display all the icons of the missions

S
SkyLine Ss 26.07.20

You chtoli want all the missions at once joined?

D
DRS36 26.07.20

Yes, in fashion city 2005, new vice city

R
Rysta 26.07.20

There is such mod - GTA III Mission Select Timetwister so that you can start any mission in the game.

G
GTA SAnek 26.07.20

Or you could over mapom poshamanit but cut the first mission, unlock all Islands, all missions include

Z
Zmey20009 26.07.20

About icons:

1. Which parameter you want to edit in main.scm, on the radar to always display the icons of Pay'N'Spray, Ammunacii and workshop Atball?

2. Is it possible to make the icon radar_copcar meant moving police cars?

G
GTA SAnek 26.07.20

1. Add the thread which would enable.
2. And this is XS, the idea of a good way. You can certainly try to make such script, but it is likely to see only one police car but not all.

Z
Zmey20009 26.07.20

You can certainly try to make such script, but it is likely to see only one police car but not all.

Well, at least show one that will for you to chase