Wolx_Hound Posted January 7, 2007 Share Posted January 7, 2007 yoh! nid help with modding cars.... it is about having cars fire guns just like hunter or predator or maybe rhino i just want tohave a james bond like car to use..... Link to comment Share on other sites More sharing options...
ignorance_supreme Posted January 7, 2007 Share Posted January 7, 2007 search the forums, there IS a mod already out for this (though it does attatch two ugly chain guns to the front of your car) Edit: nevermind, i didnt see that youre asking about VC Link to comment Share on other sites More sharing options...
Knowledge Novice Posted January 7, 2007 Share Posted January 7, 2007 yoh! nid help with modding cars.... it is about having cars fire guns just like hunter or predator or maybe rhino i just want tohave a james bond like car to use..... Hey Wolx_Hound. As far as I understand it all 'vehicle weapons' weapons are hardcoded in the game, so no luck there. But this may have the desired effect. Get in a vehicle and press the 'shoot' button. This mod pretty much blows the sh*t outta whatever's in your way. It'd be even cooler with some immunities added on, but all you asked for was the gun so...here ya go. Let me know what you think. Later man. Put this with the other create_threads 004F: create thread ££James_Bond And put this just above --Mission 0-- :James_Bond03A4: name_thread "GunCar":Outta_My_Way0001: wait 250 ms00D6: if 00256: player $PLAYER_CHAR defined 004D: jump if false ££Outta_My_Way00D6: if 000E0: player $PLAYER_CHAR driving004D: jump if false ££Outta_My_Way03C1: [email protected] = player $PLAYER_CHAR car:Check0001: wait 50 ms00D6: if 00256: player $PLAYER_CHAR defined 004D: jump if false ££Remove_Reference00D6: if 000E0: player $PLAYER_CHAR driving004D: jump if false ££Remove_Reference00D6: if 0 00E1: key_pressed 0 17 ; Shoot/Attack key004D: jump if false ££Check:Car_Gun04C4: create_coordinate [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR offset 0.0 13.0 -1.0 020C: create_explosion_with_radius 8 at [email protected] [email protected] [email protected] 04C4: create_coordinate [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR offset 0.0 26.0 -1.0 020C: create_explosion_with_radius 8 at [email protected] [email protected] [email protected] 04C4: create_coordinate [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR offset 0.0 39.0 -1.0 020C: create_explosion_with_radius 8 at [email protected] [email protected] [email protected] 04C4: create_coordinate [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR offset 0.0 52.0 -1.0 020C: create_explosion_with_radius 8 at [email protected] [email protected] [email protected] 04C4: create_coordinate [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR offset 0.0 65.0 -1.0 020C: create_explosion_with_radius 8 at [email protected] [email protected] [email protected] 04C4: create_coordinate [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR offset 0.0 78.0 -1.0 020C: create_explosion_with_radius 8 at [email protected] [email protected] [email protected] :Loop 0001: wait 20 ms00D6: if 0 80E1: NOT key_pressed 0 17004D: jump if false ££Loop0002: jump ££Check:Remove_Reference01C3: remove_references_to_car [email protected] ;; Like turning a car into any random car0002: jump ££Outta_My_Way Link to comment Share on other sites More sharing options...
Knowledge Novice Posted January 7, 2007 Share Posted January 7, 2007 Ummm....it's me again. What can I say, I got bored. This is basically the same code as before but now it not only shoots in front of you by pressing the 'fire' button, now if you press the 'fire' button while looking back it blows the hell outta any pests that refuse to get off your ass. Good for roastin' pigs if ya have a wanted level. As I mentioned before you may want to stick some immunities on it or somethin'. Or you may want to specify certain vehicles for it to be used with. Currently it works in anything that you drive. If you do a wheelie on a motorcycle and shoot it fires off one into the sky. I tried aiming at a cop copter but missed. Don't know if that would work, but I don't see why not. Let me know if there are any bugs (bout half asleep when I did this one). Got any cool ideas, let me know, I'm short on inspiration these days. Later. Create_thread 004F: create thread ££James_Bond Above --Mission 0-- :James_Bond03A4: name_thread "GunCar":Outta_My_Way0001: wait 250 ms00D6: if 00256: player $PLAYER_CHAR defined 004D: jump if false ££Outta_My_Way00D6: if 000E0: player $PLAYER_CHAR driving004D: jump if false ££Outta_My_Way03C1: [email protected] = player $PLAYER_CHAR car:Check0001: wait 50 ms00D6: if 00256: player $PLAYER_CHAR defined 004D: jump if false ££Remove_Reference00D6: if 000E0: player $PLAYER_CHAR driving004D: jump if false ££Remove_Reference00D6: if 2280E1: NOT key_pressed 0 580E1: NOT key pressed 0 780E1: NOT key pressed 0 17004D: jump if false ££Back_Off00D6: if 0 00E1: key_pressed 0 17004D: jump if false ££Check:Car_Gun04C4: create_coordinate [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR offset 0.0 13.0 -1.0 020C: create_explosion_with_radius 8 at [email protected] [email protected] [email protected] 04C4: create_coordinate [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR offset 0.0 26.0 -1.0 020C: create_explosion_with_radius 8 at [email protected] [email protected] [email protected] 04C4: create_coordinate [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR offset 0.0 39.0 -1.0 020C: create_explosion_with_radius 8 at [email protected] [email protected] [email protected] 04C4: create_coordinate [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR offset 0.0 52.0 -1.0 020C: create_explosion_with_radius 8 at [email protected] [email protected] [email protected] 04C4: create_coordinate [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR offset 0.0 65.0 -1.0 020C: create_explosion_with_radius 8 at [email protected] [email protected] [email protected] 04C4: create_coordinate [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR offset 0.0 78.0 -1.0 020C: create_explosion_with_radius 8 at [email protected] [email protected] [email protected]: jump ££Loop:Back_Off04C4: create_coordinate [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR offset 0.0 -13.0 -1.0 020C: create_explosion_with_radius 8 at [email protected] [email protected] [email protected] 04C4: create_coordinate [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR offset 0.0 -26.0 -1.0 020C: create_explosion_with_radius 8 at [email protected] [email protected] [email protected] 04C4: create_coordinate [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR offset 0.0 -39.0 -1.0 020C: create_explosion_with_radius 8 at [email protected] [email protected] [email protected] 04C4: create_coordinate [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR offset 0.0 -52.0 -1.0 020C: create_explosion_with_radius 8 at [email protected] [email protected] [email protected] 04C4: create_coordinate [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR offset 0.0 -65.0 -1.0 020C: create_explosion_with_radius 8 at [email protected] [email protected] [email protected] 04C4: create_coordinate [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR offset 0.0 -78.0 -1.0 020C: create_explosion_with_radius 8 at [email protected] [email protected] [email protected] :Loop 0001: wait 20 ms00D6: if 0 80E1: NOT key_pressed 0 17004D: jump if false ££Loop0002: jump ££Check:Remove_Reference01C3: remove_references_to_car [email protected] ;; Like turning a car into any random car0002: jump ££Outta_My_Way P.S. Thought about makin' it shoot left/right (which ever way you are lookin') but I thought that might be a bit much. What's your opinion? Link to comment Share on other sites More sharing options...
Wolx_Hound Posted January 8, 2007 Author Share Posted January 8, 2007 Thanks Pal that would help...........if any chances of bug will happen perhaps i will tell you.... yeh right to tell whats wrong is the best... till then amigos!!! ps im really new in modding the main.scm and i wanna try some really ridiculous stuffs among it is the james bond car(car that has guns like the hunter (Rocket + Minigun and auto float if accidentally fall on the water) ..........but since that you like some "cool ideas" how about this (before you do this take some sleep first )edit or rather increase the number of police/SWAT/Military units that chase you if you do something really bad....... (coz i got bored if there are only 2 police car during a 2 wanted levels and easily killed by a 30000 ton hotring racer( edited through handling.cfg) doing a "crush em style" and also add a hunter attack heli during 6 wanted level) difficult eh? thanks!!! 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