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?
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.
I also recently noticed it. Changed in the first mission Sentinel on Sentinel and the old saved game worked fine.
@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.
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.
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.
Anybody casually does not know whether it is possible to block/unblock your scripts?
Know how to make it give an error when opened in SA, but in three it seems that this method is not valid.
There is such mod - GTA III Mission Select Timetwister so that you can start any mission in the game.
Or you could over mapom poshamanit but cut the first mission, unlock all Islands, all missions include
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?