IMG

 
IMG
IMG   IMG
  Welcome to GTAForums! Be sure to check out the Grand Theft Auto V Forum.

You are not registered! (If you are, click here to login) Registering is fast, free and easy and allows you to instantly reply to any topic on GTAForums.
Why wait? Click here to register your own unique username and become part of the ever-growing community!


( Log In | Register | Revalidate Validation E-mail )
Quick Log-In:
  IMG
       
>
Forum Rules GTA Modification Forums

Please post mod releases in the Mod Showroom

GTAGarage.com
free mod hosting from GTANet, simply login with your GTAForums account details

GTAModding.com
GTANet's modding wiki

GTA Modding Chatroom
provided by irc.gtanet.com (Don't have an IRC client? Click here)


Pages: (13) [1] 2 3 ... Last »  ( Go to first unread post ) Reply to this topicStart new topicStart Poll

 Opcodes for Bartons Editor (GTA3 + VC)

 Post yours here!
 
Opius  
Posted: Sunday, Aug 3 2003, 10:54
Quote Post


General
Group Icon
Group: Members
Joined: Jun 27, 2002

au.gif

Member Award




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
Users WebsitePM
  Top
 

 
Barton Waterduck  
Posted: Sunday, Aug 3 2003, 16:20
Quote Post


retired modder
Group Icon
Group: Members
Joined: Feb 12, 2002

Member Award




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. happy.gif


This post has been edited by Barton Waterduck on Sunday, Aug 3 2003, 16:28
PM
  Top
 

 
brokenfish  
Posted: Sunday, Aug 3 2003, 20:20
Quote Post


Homie
Group Icon
Group: Members
Joined: Jul 11, 2003

us.gif

XXXXX



how do i "find" new opcodes?

are they those (unknown) ones? dozingoff.gif
PM
  Top
 

 
sleeper777  
Posted: Sunday, Aug 3 2003, 23:14
Quote Post


Mission Coder | Help Guru | Tech Ninja
Group Icon
Group: Members
Joined: Mar 28, 2003

us.gif

XXXXX



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... biggrin.gif yin-yang.gif ph34r.gif

This post has been edited by sleeper777 on Sunday, Aug 3 2003, 23:29
Users WebsitePMAOLYahoo
  Top
 

 
sleeper777  
Posted: Sunday, Aug 3 2003, 23:29
Quote Post


Mission Coder | Help Guru | Tech Ninja
Group Icon
Group: Members
Joined: Mar 28, 2003

us.gif

XXXXX



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
Users WebsitePMAOLYahoo
  Top
 

 
brokenfish  
Posted: Monday, Aug 4 2003, 06:33
Quote Post


Homie
Group Icon
Group: Members
Joined: Jul 11, 2003

us.gif

XXXXX



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... biggrin.gif yin-yang.gif ph34r.gif

i just saw that today, was going to post it. guess you beat me colgate.gif

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 turn.gif
PM
  Top
 

 
Barton Waterduck  
Posted: Monday, Aug 4 2003, 07:38
Quote Post


retired modder
Group Icon
Group: Members
Joined: Feb 12, 2002

Member Award




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, blush.gif 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. wink.gif
PM
  Top
 

 
spinnie  
Posted: Tuesday, Aug 5 2003, 08:07
Quote Post


AKA spin
Group Icon
Group: Members
Joined: May 19, 2003

XXXXX



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
Users WebsitePM
  Top
 

 
Barton Waterduck  
Posted: Tuesday, Aug 5 2003, 10:05
Quote Post


retired modder
Group Icon
Group: Members
Joined: Feb 12, 2002

Member Award




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 ?
PM
  Top
 

 
spinnie  
Posted: Tuesday, Aug 5 2003, 10:23
Quote Post


AKA spin
Group Icon
Group: Members
Joined: May 19, 2003

XXXXX



It improves handling for a car by a given factor.

It's used with The Driver, Hillary's Sabre Turbo gets 1.5!
And in Alloy Wheels of Steel the Angles get 2!
Users WebsitePM
  Top
 

 
brokenfish  
Posted: Tuesday, Aug 5 2003, 22:05
Quote Post


Homie
Group Icon
Group: Members
Joined: Jul 11, 2003

us.gif

XXXXX



04EC is still unknown in vice mission builder 0.21.

at tbm2ks database, it says its how much of each class of vehicle is spawned there.

not my discovery, but i thought it would be useful.

hey spinnie, if the car handling is improved too much, do you think the cars would roll over when cornering? biggrin.gif i think hilary flipped over once because i nudged him while he was turning.
PM
  Top
 

 
Demarest  
Posted: Wednesday, Aug 6 2003, 01:42
Quote Post


what could be
Group Icon
Group: BUSTED!
Joined: Jul 12, 2003

XXXXX



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? biggrin.gif 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.
Users WebsitePMAOL
  Top
 

 
brokenfish  
Posted: Wednesday, Aug 6 2003, 02:10
Quote Post


Homie
Group Icon
Group: Members
Joined: Jul 11, 2003

us.gif

XXXXX



QUOTE (Demarest @ Aug 5 2003, 08:42 PM)
...more challenging...

not if youre a good driver rolleyes.gif
PM
  Top
 

 
BodyBumper  
Posted: Wednesday, Aug 6 2003, 03:30
Quote Post


Mark Chump
Group Icon
Group: BUSTED!
Joined: Jun 12, 2002

XXXXX



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
PM
  Top
 

 
brokenfish  
Posted: Wednesday, Aug 6 2003, 04:26
Quote Post


Homie
Group Icon
Group: Members
Joined: Jul 11, 2003

us.gif

XXXXX



if its in some cases, then wouldnt vehicle be more appropriate? sorry, just making suggestions...
PM
  Top
 

 
Demarest  
Posted: Wednesday, Aug 6 2003, 06:21
Quote Post


what could be
Group Icon
Group: BUSTED!
Joined: Jul 12, 2003

XXXXX



QUOTE (brokenfish @ Aug 6 2003, 02:10 AM)
QUOTE (Demarest @ Aug 5 2003, 08:42 PM)
...more challenging...

not if youre a good driver rolleyes.gif

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.
Users WebsitePMAOL
  Top
 

 
JasonB  
Posted: Wednesday, Aug 6 2003, 06:38
Quote Post


GTA-SA/GTA-VC/GTA3 Modder Extraordinaire
Group Icon
Group: Members
Joined: Aug 24, 2002

XXXXX



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 smile.gif
PMMSN
  Top
 

 
spinnie  
Posted: Wednesday, Aug 6 2003, 06:50
Quote Post


AKA spin
Group Icon
Group: Members
Joined: May 19, 2003

XXXXX



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 whatsthat.gif

(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
Users WebsitePM
  Top
 

 
Barton Waterduck  
Posted: Wednesday, Aug 6 2003, 07:08
Quote Post


retired modder
Group Icon
Group: Members
Joined: Feb 12, 2002

Member Award




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.
PM
  Top
 

 
BodyBumper  
Posted: Wednesday, Aug 6 2003, 08:09
Quote Post


Mark Chump
Group Icon
Group: BUSTED!
Joined: Jun 12, 2002

XXXXX



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 dozingoff.gif
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 tounge2.gif
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
PM
  Top
 

 

0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)

0 Members:

Pages: (13) [1] 2 3 ... Last »

Topic Options Reply to this topicStart new topicStart Poll
Search topic for posted by (exact match)



 
IMG IMG