Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Drug Wars
      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

[REL | THREAD] STINGER DROP MOD


PatrickW
 Share

Recommended Posts

I made this some time ago, but never made a decent showroom topic for it.

 

With this mod you can drop stingers (police spike-strips) behind your cars, by pressing the regular 'shoot' button. Each stinger will be active for 10 seconds.

 

Instructions

Add this to the OBJECT LIST ( don't forget to increase the OBJECT count )

 

DEFINE OBJECT PLC_STINGER 

 

add this to the regular list of other create_thread opcodes

 

004F: create thread ££stinger_sniff_thread 

 

 

Insert these two threads somewhere between the other threads in the MAIN-part e.g. just above the "HOT" thread.

Beware that you might have to change -204 (PLC_STINGER) near the top, to have the correct index for the PLC_STINGER object you inserted above.

 

;; ------------------ STINGER-DROP MOD ----------------------;; ----------------------- By PatrickW ---------------------------:Stinger_thread                               03A4: name thread "STING"[email protected] = 0  029B: [email protected] = init_object -204 (PLC_STINGER) at [email protected] [email protected] [email protected] 0177: set object [email protected] z angle to  [email protected]: remove_object_from_mission_cleanup_list [email protected] [email protected] = [email protected]@ -= [email protected] += 2.0float [email protected] = [email protected]@ -= [email protected] += 2.0    :Stinger_loop      0001: wait  250 [email protected] = -1053E: [email protected] = get_random_car_with_actors -1 in_area [email protected] [email protected] [email protected] [email protected]  if 0 NOT [email protected] == -1jf ££Stinger_timer      04FE: deflate_tire_on_car [email protected] tire  004FE: deflate_tire_on_car [email protected] tire  104FE: deflate_tire_on_car [email protected] tire  204FE: deflate_tire_on_car [email protected] tire  3:Stinger_timer if 0 [email protected] > 10000jf ££Stinger_loop    0108: destroy object [email protected]: end_thread         :stinger_sniff_thread03A4: name thread "ST_SNIF" :stinger_sniff_loop0001: wait  100 msif 00256:   player $PLAYER_CHAR definedjf ££stinger_sniff_loop  if 100E1:   key pressed  0  17  00DF:   actor $PLAYER_ACTOR drivingjf ££stinger_sniff_loop    03C0: [email protected] = actor $PLAYER_ACTOR car0407: create coordinate [email protected] [email protected] [email protected] from car [email protected] offset  0.0 -2.5  1.00174: [email protected] = car [email protected] [email protected] += 90.002CE: [email protected] = ground z [email protected] [email protected] [email protected]@ += 0.1004F: create thread ££Stinger_thread  [email protected] [email protected] [email protected] [email protected]: wait  500 ms0002: jump ££stinger_sniff_loop

 

 

If you want to have it only on a particular type you should replace

 

00DF:   actor $PLAYER_ACTOR driving

with

00DD:   actor $PLAYER_ACTOR driving vehicle type #ANGEL

 

Offcoarse, you can use any other type instead of #ANGEL

 

 

For those without Mission-Builder, Here you can download a pre-build version based on the "Totally_stripped" scm.

 

Have fun,

bS8xA.png
Link to comment
Share on other sites

timmy2004
Nice idea. Th first ever thing I thought of when I knew their were mods for GTAVC was personal spike strips. Thanks pat. biggrin.gif
Link to comment
Share on other sites

spaceeinstein
Hey Patrick, can I use your mod in my mod (again)?
Link to comment
Share on other sites

Sure, no prob, you know the drill biggrin.gif..
bS8xA.png
Link to comment
Share on other sites

Oh, I've implemented to my normal scm, but somehow the tire just didn't deflat, no matter it's the car behind me nor any car nears it, the strip is there though(I can see the strip), does anybody know why?

Link to comment
Share on other sites

Nope, I don't know, works always for me, and haven't had complains from other people yet.

If you drop a stinger and drive backwards, does it deflate your own tires, like it should.

 

If not, double check if you got everthing done as described,If that still doesn't help, try to upload you main.scm.txt file somewhere and put a link here, so I can check your version.

 

bS8xA.png
Link to comment
Share on other sites

Oh I use ur scm and having fun from it, thankq..

I'll figure out the difference of ur scm to mine later. hee~

 

very cool mod~ now it's like playing NFS:high stake

Link to comment
Share on other sites

  • 1 month later...

Sorry to bump an older topic Patrick (I'm not sure even WHY this is an old topic, seems like a fantastic mod), but when I try to compile, it doesn't know what to do with this code:

 

[email protected] = 0

 

Is there something I'm missing, or am I using a different version of MB. Using 0.33 I think confused.gif

Noob in need!

 

Thanks

 

Edit: Crap...I just realised this was for Vice. Sorry!

Would this be able to be modified for use in SA?

 

Edited by Lysergio
Link to comment
Share on other sites

ThAtSgOtTaHuRt

cool, good job. see there are ways to deflate tires and shut off engines, but how to you INflate tires and turn ON engines? anyway good job on the mod!

 

rah.gifrahkstar2.gifrah.gif

Link to comment
Share on other sites

  • 4 years later...
mypokername8

sorry to bump a very old topic, but is there not a simpler way of getting stingers/spike strips on cars? like a cleo mod? i dont understand how to do this, im relatively new to modding gta.

Link to comment
Share on other sites

Narcis_speed6

seriously dude, a 5 years old bump?

there is always a private message buton there, next time use it to contact the creator of the mod

Link to comment
Share on other sites

 

sorry to bump a very old topic, but is there not a simpler way of getting stingers/spike strips on cars? like a cleo mod? i dont understand how to do this, im relatively new to modding gta.

This is a a Vice City showroom topic and Cleo is only for San Andreas.

Get the Stinger Drop Cleo mod for San Andreas here: >click<

It's only the source text. Read CLEO Script Tutorial - First Steps in Cleo scripting with Sannybuilder to make a cleofile

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.