|
 |
|
|
|
|
|
GTA Modification Forums
Opcodes for Bartons Editor (GTA3 + VC) Post yours here!
 |
|
 |
| |
Deji  |
|
Coding like a Rockstar!

Group: Members
Joined: Dec 24, 2007


|
It is a bit of a weird one... I'd identified it as being that before even the III source code but was never sure of what the actual effects were. I'll try and check the SA IDB again tomorrow and see if I can find out if it's even used. Bad programmer-mission coder communication seems to be a likely culprit of many weird SCM phenomenons.
In SA, it's used mainly in the mission where you plant a bug on a boat and CJ explains his unfortunate encounter with a condom (Amphibious Assault?).
If I'd have to guess, I'd say it does make the boat stick to a position (even if not keeping completely still, like the "make char stay in kinda the same position" opcode), but probably not under the circumstances that you tested it in. Did you try getting the handles of a random (or just the closest) boat and using the opcode? It may have more of an effect, since the boat doesn't have a goal of sailing to a particular spot, it's just cruising. 00A8 is CAR_WANDER_RANDOMLY if you want to make a vehicle cruise. No idea if it works on boats, though.
I've listed most of the III command names, as well as related IV ones, in the v2 Opcode Database. I can provide you with a generated list, if you want.
EDIT
Couldn't help myself. I had a quick look. The most striking thing is that the flag which is set doesn't stop the boat from doing something. A small amount of code is run if the flag is set. So the flag makes more happen, not less. Kinda the opposite of what the name would make out. I can't yet make much of this very undocumented (absolutely nothing in CBoat is documented) code, but I'll try documenting some stuff later and see if it's any clearer. Still, the code does mess with the boats matrix a lot... and it seems that if one of that float member values is -99999 (or w/e) the boat will only turn on the spot. So the command name almost definitely isn't lying.
This post has been edited by Deji on Tuesday, Feb 7 2012, 23:57
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
Pages:
(13) « First ... 11 12 [13]
Track this topic
Receive email notification when a reply has been made to this topic and you are not active on the board.
Subscribe to this forum
Receive email notification when a new topic is posted in this forum and you are not active on the board.
Download / Print this Topic
Download this topic in different formats or view a printer friendly version.
| |
 |
|
 |
|
|
|
|