|
 |
|
|
|
|
|
GTA Modification Forums
Opcodes for Bartons Editor (GTA3 + VC) Post yours here!
 |
|
 |
| |
Opius  |
|
General

Group: Members
Joined: Jun 27, 2002



|
Alright, I'm sure many people have found new opcodes for Bartons editor, but didn't make topics for fear of cluttering the boards. So, for now, post any opcodes you find, or incorrect descriptions of opcodes, along with a new or corrected description, and people can use them until Barton releases another version of his editor. Here are mine so far. | CODE | | 057E: clear_radar 1? |
This makes the radar completely grey. Used during the stadium events.
| CODE | | 0507: camera_has_interference 1? |
Creates static on the screen as an overlay. Used in the elevator cutscene of "G-Spotlight".
| CODE | | 04C7: camera_has_scanlines 1? |
Creates green scanlines and a frame counter on the screen as an overlay. Used at the golf course, and during the "Rub Out" cutscene.
Corrections
| CODE | | 02D3: boat 10784?? drive_to 171.0578! 942.3843! 6! |
This opcode is incorrect, I suggest changing it to
| CODE | | 02D3: car $stinger drive_to -936.5! -282! 10.5! offroad |
as the vehicle goes to the place 'as the crow flies' ignoring obstacles.
This post has been edited by opius on Sunday, Aug 3 2003, 10:55
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
Barton Waterduck  |
|
retired modder

Group: Members
Joined: Feb 12, 2002


|
| QUOTE (opius @ Aug 3 2003, 11:54 AM) | Corrections
| CODE | | 02D3: boat 10784?? drive_to 171.0578! 942.3843! 6! |
This opcode is incorrect, I suggest changing it to
| CODE | | 02D3: car $stinger drive_to -936.5! -282! 10.5! offroad |
as the vehicle goes to the place 'as the crow flies' ignoring obstacles. |
Not in GTA 3. In GTA 3, any car controlled with this opcode would go bonkers with the stearing going right and left 10 times a second, going in a strait line anywhere but where you programmed it to go. I have not tested this in VC. There is another tested way (tested a couple of days ago):| CODE | | 00AF: set_car <car> driver_behaviour_to <code> |
| CODE | bits breakdown code 0000 = go nowhere 0001 = follow roads, go backwards if anything in the way (1) 0010 = kill the player (2) 0100 = drive against the player, stop when near (4) 1000 = drive, ignore road paths (8)
|
Rockstar never used opcode 02D3 with cars in VC or GTA 3. I have not tested these driver behaviour codes with codes that tells the driver to drive to a specific point. They work like this if the driver is instructed to drive around at random.
Thanks for the other opcodes. 
This post has been edited by Barton Waterduck on Sunday, Aug 3 2003, 16:28
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
sleeper777  |
|
Mission Coder | Help Guru | Tech Ninja

Group: Members
Joined: Mar 28, 2003


|
| CODE | | 053F: unknown_car $CAR_ID flag 0? |
this one should be changed to
| CODE | | 053F: car_tires_invulnerable $CAR_ID flag 0? (true) |
credit goes to tbm2k's notes in his database
i use this with my proofing code so none of my cars get flats even with the tire shredders...
This post has been edited by sleeper777 on Sunday, Aug 3 2003, 23:29
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
sleeper777  |
|
Mission Coder | Help Guru | Tech Ninja

Group: Members
Joined: Mar 28, 2003


|
| CODE | | 0331: unknown_player $PLAYER_CHAR set_fast_reload 1? |
i changed to this
| CODE | | 0331: toggle player $PLAYER_CHAR fast reload 1? | but i have yet still to get this to work early in the game... iwonder if another onknown checks to see if this is set before you do phils mission... oh well back to the research
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
brokenfish  |
|
Homie

Group: Members
Joined: Jul 11, 2003


|
| QUOTE (sleeper777 @ Aug 3 2003, 06:14 PM) | | CODE | | 053F: unknown_car $CAR_ID flag 0? |
this one should be changed to
| CODE | | 053F: car_tires_invulnerable $CAR_ID flag 0? (true) |
credit goes to tbm2k's notes in his database
i use this with my proofing code so none of my cars get flats even with the tire shredders... | i just saw that today, was going to post it. guess you beat me
but i think you can shorten it to
| CODE | | 053F: $CAR_ID tires_invulnerable 0? (true) |
is the flag part necessary? if it is then sorry, im not experienced yet
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
Barton Waterduck  |
|
retired modder

Group: Members
Joined: Feb 12, 2002


|
| QUOTE | how do i "find" new opcodes?
are they those (unknown) ones? |
those unknown ones, the ones without any description and opcodes with description that you have tested yourself and found to be doing stuff different from the description or that have a "misleading" / inaccurate description. There are lots of opcodes with stuff like set_car <car> flag <flag> and set_actor <actor> flag <flag>. These opcodes have no meaning whatsoever, so they need better descriptions. There are also opcodes that has "control codes", like the | CODE | | 00AF: set_car <car> driver_behaviour_to <code> | that makes the opcode to lots of different stuff depended on what the control number is. Most of these control numbers are unknown.
I have not been searching for or testing unknown opcodes for weeks. Been doing other stuff. There are probably more new opcodes to be found in tbm2k's database. 
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
spinnie  |
|
AKA spin

Group: Members
Joined: May 19, 2003

|
| CODE | | 0423: unknown_car <car> amount <float> |
Would be something like :
| CODE | | 0423: improve_car_handling <car> by <float> |
Originally it's used only in "The Driver" and in "Alloy Wheels of Steel".
This post has been edited by spinnie on Tuesday, Aug 5 2003, 08:07
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
Barton Waterduck  |
|
retired modder

Group: Members
Joined: Feb 12, 2002


|
| QUOTE (spinnie @ Aug 5 2003, 09:07 AM) | | CODE | | 0423: unknown_car <car> amount <float> |
Would be something like :
| CODE | | 0423: improve_car_handling <car> by <float> |
Originally it's used only in "The Driver" and in "Alloy Wheels of Steel". | What does it do exactly ? What float values can be used ?
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
Demarest  |
Posted: Wednesday, Aug 6 2003, 01:42
|
what could be

Group: BUSTED!
Joined: Jul 12, 2003

|
| QUOTE (brokenfish @ Aug 5 2003, 10:05 PM) | hey spinnie, if the car handling is improved too much, do you think the cars would roll over when cornering? i think hilary flipped over once because i nudged him while he was turning. | OT: I would think that to be a good thing. The Driver is one of the more challenging missions in the game.
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
brokenfish  |
Posted: Wednesday, Aug 6 2003, 02:10
|
Homie

Group: Members
Joined: Jul 11, 2003


|
| QUOTE (Demarest @ Aug 5 2003, 08:42 PM) | | ...more challenging... | not if youre a good driver
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
BodyBumper  |
Posted: Wednesday, Aug 6 2003, 03:30
|
Mark Chump

Group: BUSTED!
Joined: Jun 12, 2002

|
| CODE | | 02DB: set_boat XX?? speed_to 6! |
Should be changed to:
| CODE | | 02DB: set_car XX?? speed_to 6! |
Because in some cases the boat is actually a car.
This post has been edited by BodyBumper on Wednesday, Aug 6 2003, 03:31
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
Demarest  |
Posted: Wednesday, Aug 6 2003, 06:21
|
what could be

Group: BUSTED!
Joined: Jul 12, 2003

|
| QUOTE (brokenfish @ Aug 6 2003, 02:10 AM) | | QUOTE (Demarest @ Aug 5 2003, 08:42 PM) | | ...more challenging... |
not if youre a good driver | To clarify, the phrase "more challenging" is relative, not absolute. So skill has nothing to do with it because you'd be better at ALL missions that relied on driving skill. Since Hillary drives an special Sabre Turbo while you're stuck with the Admiral, this job is MORE challenging.
As for your vehicle comment before, they're discussing codes that VC and Mission Builder understand. You can't just go throwing in whatever words you think sound better.
I wasn't going to say it before because I would just be adding to the clutter. But since I can see you're eager to get your name up in this thread you clearly cannot contribute to, I feel I have to share it with you. Opius started a very good thread and posts like ours are only watering down how useful it really is. So anybody who posts on this that isn't about opcodes and what they do shouldn't be posted. So even if you insist on smearing your feces all over this once again, I am hereby pledging to those who will benefit from this thread that I will not post on it again unless I have something to add that is on topic.
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
JasonB  |
Posted: Wednesday, Aug 6 2003, 06:38
|
GTA-SA/GTA-VC/GTA3 Modder Extraordinaire

Group: Members
Joined: Aug 24, 2002

|
| QUOTE (Demarest @ Aug 6 2003, 04:21 PM) | Since Hillary drives an special Sabre Turbo while you're stuck with the Admiral, this job is MORE challenging. | actually you have a sentinel
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
spinnie  |
Posted: Wednesday, Aug 6 2003, 06:50
|
AKA spin

Group: Members
Joined: May 19, 2003

|
Demarest, good call, let's not turn this thread into another one filled with chaos. To get back on track : | CODE | | 01EC: unknown_car <car> flag 1? |
I'm not sure how to name this one, but when one turns it on (1?) and starts driving like a madman, crashing into upcoming cars, then one doesn't lose controll of the wheel. In other words, you keep going straight while the car you crashed into goes of the road like normal.
With bikes it makes falling off a bit rarer, but not impossible.
Maybe it would something like, make_car_heavier ? dunno 
(images tell more then words, here's a movie (5.7MB))
This post has been edited by spinnie on Wednesday, Aug 6 2003, 07:35
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
Barton Waterduck  |
Posted: Wednesday, Aug 6 2003, 07:08
|
retired modder

Group: Members
Joined: Feb 12, 2002


|
| QUOTE (BodyBumper @ Aug 6 2003, 04:30 AM) | | CODE | | 02DB: set_boat XX?? speed_to 6! |
Should be changed to:
| CODE | | 02DB: set_car XX?? speed_to 6! |
Because in some cases the boat is actually a car. | In what mission ? I did a search for it and I only found boats used with it. Same goes for gta 3.
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
BodyBumper  |
Posted: Wednesday, Aug 6 2003, 08:09
|
Mark Chump

Group: BUSTED!
Joined: Jun 12, 2002

|
| QUOTE (Barton Waterduck @ Aug 5 2003, 11:08 PM) | In what mission ? I did a search for it and I only found boats used with it. Same goes for gta 3. |
That is true that the only "vehicles" that uses that particular code is boat but the same code does work for any car in the game example I did two tests one with the FBIRANCH and I set the speed at 0 and the other at 100 and it worked like it should without any crashes.
1
| CODE | 00A5: 9208?? = create_car #FBIRANCH at XX?? XX?? XX? 0175: set_car 9208?? z_angle_to XX?? 0224: set_car 9208?? health_to 3500& 02DB: set_boat 9208?? speed_to 0!
|
2 
| CODE | 00A5: 9208?? = create_car #FBIRANCH at XX?? XX?? XX? 0175: set_car 9208?? z_angle_to XX?? 0224: set_car 9208?? health_to 3500& 02DB: set_boat 9208?? speed_to 100!
|
This post has been edited by BodyBumper on Wednesday, Aug 6 2003, 08:13
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
Pages:
(13) [1] 2 3 ... Last »
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.
| |
 |
|
 |
|
|
|
|