Jump to content

Is it possible to make a VC opcode work on GTA3?


Recommended Posts

I haven't looked at this stuff in ages, but I was thinking of pulling out GTA3 again to play. I seem to remember being rather annoyed by the fact I can't have a NOS/turbo type mod. If I remember right, there's no Set_Car_Speed_Instantly (4BA) or Get_Car_Speed (2E3) opcodes. I was wondering if there's some way to enable those in the GTA3 engine. I know they had to fix some in the VC engine for some of the missions in the LC mod to work properly, so I was thinking this could be possible.

 

Link to comment
https://gtaforums.com/topic/266753-is-it-possible-to-make-a-vc-opcode-work-on-gta3/
Share on other sites

Well, virtually everything is possible, difficulty varies, however. wink.gif

So the basic answer is no. You can most probably access the player's car speed from a hook (..if any), however.

 

But, since you aren't sure, and I dunno jack 'bout GTA3's opcodes, you might wanna make sure those opcodes aren't there, first. happy.gif

Well, I dug up the mission builder and stuff and checked everything out. Here's the problem: Opcode 02E3 (get car speed) does exist in GTA3, but it appears 04BA doesn't. What the hell good is reading your car's speed if you can't change it!? Does anyone know if it's possible to add/enable this in GTA3?

 

 

04BA: set_car  0@ speed_instantly  4@

 

 

Edited by Viper187

 

02db=2,car(%1d%).speed = %2d%;

 

 

Sets the car speed.

 

 

02e3=2,%2d% = car(%1d%).speed;

 

 

Gets the car speed and puts it into a variable (global, I think).

 

It's in the MB 4.7 ini. Not that hard to find...

Edited by ceedj
02db=2,car(%1d%).speed = %2d%;

 

 

Sets the car speed.

 

 

02e3=2,%2d% = car(%1d%).speed;

 

 

Gets the car speed and puts it into a variable (global, I think).

 

It's in the MB 4.7 ini. Not that hard to find...

In the files for v5.0 it says boat_speed. That's why I missed it. Thanks

 

Craig Kostelecky

Better yet, why not just use the LC mod? The whole point of that was to take the GTA3 game and be able to use the extra Vice City features. True it's not done yet, but it is close.

 

ModelingMan and Hammer83 converted most (if not all) of the GTA3 opcodes we needed for LC. Unfortunately, neither are very active here these days. ModelingMan may be back when his schooling is on a break.

Edited by Craig Kostelecky
02db=2,car(%1d%).speed = %2d%;

 

 

Sets the car speed.

 

That does NOT work. sad.gif

 

As for the LC mod, I saw the checklist and you're right, Craig, it's close; so why the hell is it taking so long to wrap up the last few bugs, etc!? I wish some people would get off their asses and finish their parts of it.

 

Craig Kostelecky
As for the LC mod, I saw the checklist and you're right, Craig, it's close; so why the hell is it taking so long to wrap up the last few bugs, etc!? I wish some people would get off their asses and finish their parts of it.

I've pretty much retired from the mod at this point. I gave almost everything I had for over two years and I ended up burning myself out. Most of the scm bugs should be easy to fix my any moderately talented coder (I'm way too overrated around here as a coder). The mod can really use some new blood to finish things off because everybody who was around to start things doesn't have anything else to give.

 

Oooooooooooookay. Did you try:

 

 

00AD: car($VIGILANTE_CRIMINALS_CAR).max_speed =  46!

 

 

substituting $VIGILANTE_CRIMINALS_CAR with whatever your own car happens to be?

max speed != current speed

 

and it doesn't effect acceleration rate. sad.gif

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 0 User Currently Viewing
    0 members, 0 Anonymous, 0 Guests

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.