rokovski Posted January 1, 2007 Share Posted January 1, 2007 can anyone make a mod where you can turn on/off car engine? or there allready exist any mod like this? Link to comment Share on other sites More sharing options...
Gouveia Posted January 2, 2007 Share Posted January 2, 2007 it depends. for SA there is a controllable NOS/Lights/Engine mod Link to comment Share on other sites More sharing options...
Axelrod Posted January 2, 2007 Share Posted January 2, 2007 And what might this mod be called? Link to comment Share on other sites More sharing options...
jarjar Posted January 2, 2007 Share Posted January 2, 2007 And what might this mod be called? I believe it's San Andreas: Back To Reality . Link to comment Share on other sites More sharing options...
Axelrod Posted January 2, 2007 Share Posted January 2, 2007 Hmmmm...I do have that mod....But as far as I know, I can't turn off the vehicle... I'll check into it, and thanks. Link to comment Share on other sites More sharing options...
Gouveia Posted January 2, 2007 Share Posted January 2, 2007 no jarjar, it isn't that mod. It's one made by JAX. It's modified NOS or something. Anyway, i'll try to upload it and give you the link Link to comment Share on other sites More sharing options...
Knowledge Novice Posted January 2, 2007 Share Posted January 2, 2007 can anyone make a mod where you can turn on/off car engine?or there allready exist any mod like this? Hey guys. Y'all may already have what you need by now, but I'm always lookin' to improve my own modding skills, so I've tried to fill this request. It works, but there's one small glitch. When you turn the engine back ON the char_player flashes outside of the car. This only happens once each time that you switch the engine back on and doesn't seem to have any ill effects on gameplay, but I just thought that I'd mention it. This was written in VC. I don't know if it will work in SA. To turn the engine OFF I used this opcode 02D4: unknown turn off car [email protected] engine And if there is an opcode for turning the car back on I can't find it, so I used this instead 0369: put player $PLAYER_CHAR in car [email protected] Since the car engine starts when you first enter a vehicle this is the only thing that I could think to use. Also, I think this is what causes the 'glitch' I mentioned above. If anyone knows a better way to accomplish this or a way to prevent the player_char from flashing outside of the car I would be interested in knowing how since I have encountered this problem before. Add to create_threads 004F: create thread ££Engine_Toggle Add just above --Mission 0-- :Engine_Toggle03A4: name_thread "On/Off":Switch 0001: wait 50 ms00D6: if 00256: player $PLAYER_CHAR defined004D: jump if false ££Switch00D6: if 000E0: player $PLAYER_CHAR driving004D: jump if false ££Switch03C1: [email protected] = player $PLAYER_CHAR car0006: [email protected] = 0 ;; integer values:Engine0001: wait 50 ms 00D6: if 00256: player $PLAYER_CHAR defined004D: jump if false ££Remove_Reference00D6: if 0 00E0: player $PLAYER_CHAR driving004D: jump if false ££Remove_Reference00D6: if 201C1: car [email protected] stopped00E1: key_pressed 0 6 ;; Handbrak key00E1: key_pressed 0 18;; Horn key004D: jump if false ££Engine:Off00D6: if 0 0039: [email protected] == 0 ;; integer values004D: jump if false ££On0006: [email protected] = 1 ;; integer values02D4: unknown turn off car [email protected] engine0002: jump ££Loop:On0006: [email protected] = 0 ;; integer values 0369: put player $PLAYER_CHAR in car [email protected] :Loop0001: wait 20 ms 00D6: if 100E1: key_pressed 0 6 ;; Handbrak key00E1: key_pressed 0 18;; Horn key004D: jump if false ££Engine0002: jump ££Loop :Remove_Reference01C3: remove references to car [email protected]: jump ££Switch If you find any more glitches let me know. See ya'll later. Link to comment 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