Viper187 Posted February 6, 2007 Share Posted February 6, 2007 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 More sharing options...
Bigun Posted February 6, 2007 Share Posted February 6, 2007 Well, virtually everything is possible, difficulty varies, however. 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. Link to comment https://gtaforums.com/topic/266753-is-it-possible-to-make-a-vc-opcode-work-on-gta3/#findComment-4042002 Share on other sites More sharing options...
Viper187 Posted February 7, 2007 Author Share Posted February 7, 2007 (edited) 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 February 7, 2007 by Viper187 Link to comment https://gtaforums.com/topic/266753-is-it-possible-to-make-a-vc-opcode-work-on-gta3/#findComment-4043124 Share on other sites More sharing options...
Viper187 Posted February 7, 2007 Author Share Posted February 7, 2007 (edited) (accidental double post) p.s. Why does this server suck so much? I'm constantly seeing '500' errors. Edited February 7, 2007 by Viper187 Link to comment https://gtaforums.com/topic/266753-is-it-possible-to-make-a-vc-opcode-work-on-gta3/#findComment-4043127 Share on other sites More sharing options...
ceedj Posted February 8, 2007 Share Posted February 8, 2007 (edited) 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 February 8, 2007 by ceedj Link to comment https://gtaforums.com/topic/266753-is-it-possible-to-make-a-vc-opcode-work-on-gta3/#findComment-4043412 Share on other sites More sharing options...
Viper187 Posted February 8, 2007 Author Share Posted February 8, 2007 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 Link to comment https://gtaforums.com/topic/266753-is-it-possible-to-make-a-vc-opcode-work-on-gta3/#findComment-4043729 Share on other sites More sharing options...
Y_Less Posted February 8, 2007 Share Posted February 8, 2007 Adding a new OpCode requiers a large amount of knowledge of ASM to extract the code from one EXE and modify it to work in another using a hook. LC does do it to some codes but most of the time it's more trouble than it's worth. Link to comment https://gtaforums.com/topic/266753-is-it-possible-to-make-a-vc-opcode-work-on-gta3/#findComment-4043735 Share on other sites More sharing options...
Craig Kostelecky Posted February 8, 2007 Share Posted February 8, 2007 (edited) 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 February 8, 2007 by Craig Kostelecky Link to comment https://gtaforums.com/topic/266753-is-it-possible-to-make-a-vc-opcode-work-on-gta3/#findComment-4043807 Share on other sites More sharing options...
Viper187 Posted February 8, 2007 Author Share Posted February 8, 2007 02db=2,car(%1d%).speed = %2d%; Sets the car speed. That does NOT work. 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. Link to comment https://gtaforums.com/topic/266753-is-it-possible-to-make-a-vc-opcode-work-on-gta3/#findComment-4043917 Share on other sites More sharing options...
ceedj Posted February 8, 2007 Share Posted February 8, 2007 Oooooooooooookay. Did you try: 00AD: car($VIGILANTE_CRIMINALS_CAR).max_speed = 46! substituting $VIGILANTE_CRIMINALS_CAR with whatever your own car happens to be? Link to comment https://gtaforums.com/topic/266753-is-it-possible-to-make-a-vc-opcode-work-on-gta3/#findComment-4044060 Share on other sites More sharing options...
Craig Kostelecky Posted February 8, 2007 Share Posted February 8, 2007 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. Link to comment https://gtaforums.com/topic/266753-is-it-possible-to-make-a-vc-opcode-work-on-gta3/#findComment-4044088 Share on other sites More sharing options...
Viper187 Posted February 8, 2007 Author Share Posted February 8, 2007 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. Link to comment https://gtaforums.com/topic/266753-is-it-possible-to-make-a-vc-opcode-work-on-gta3/#findComment-4044171 Share on other sites More sharing options...
ceedj Posted February 9, 2007 Share Posted February 9, 2007 Interesting. Well, your only options are as Craig said, use LC or build yerself an ASM hook or something for it. Sorry I couldn't be more help. Link to comment https://gtaforums.com/topic/266753-is-it-possible-to-make-a-vc-opcode-work-on-gta3/#findComment-4044436 Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now