Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. The Criminal Enterprises
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Support

    3. Suggestions

*DO NOT* SHARE MEDIA OR LINKS TO LEAKED COPYRIGHTED MATERIAL. Discussion is allowed.

Cars With Guns


Wolx_Hound
 Share

Recommended Posts

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

ignorance_supreme

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

Knowledge Novice

 

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

 

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

Knowledge Novice

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

 

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? confused.gif

 

 

 

Link to comment
Share on other sites

biggrin.gif 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 biggrin.gif)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

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
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

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