PatrickW Posted April 28, 2005 Share Posted April 28, 2005 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, Link to comment Share on other sites More sharing options...
gtasanandreasmaster Posted April 28, 2005 Share Posted April 28, 2005 good work i will use this Link to comment Share on other sites More sharing options...
Y_Less Posted April 28, 2005 Share Posted April 28, 2005 Hmm, nice one Patrick. Link to comment Share on other sites More sharing options...
timmy2004 Posted May 2, 2005 Share Posted May 2, 2005 Nice idea. Th first ever thing I thought of when I knew their were mods for GTAVC was personal spike strips. Thanks pat. Link to comment Share on other sites More sharing options...
spaceeinstein Posted May 8, 2005 Share Posted May 8, 2005 Hey Patrick, can I use your mod in my mod (again)? Link to comment Share on other sites More sharing options...
PatrickW Posted May 11, 2005 Author Share Posted May 11, 2005 Sure, no prob, you know the drill .. Link to comment Share on other sites More sharing options...
perkin Posted May 17, 2005 Share Posted May 17, 2005 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 More sharing options...
PatrickW Posted May 19, 2005 Author Share Posted May 19, 2005 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. Link to comment Share on other sites More sharing options...
perkin Posted May 24, 2005 Share Posted May 24, 2005 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 More sharing options...
Lysergio Posted July 18, 2005 Share Posted July 18, 2005 (edited) 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 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 July 19, 2005 by Lysergio Link to comment Share on other sites More sharing options...
ThAtSgOtTaHuRt Posted July 19, 2005 Share Posted July 19, 2005 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! Link to comment Share on other sites More sharing options...
mypokername8 Posted March 25, 2010 Share Posted March 25, 2010 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 More sharing options...
Narcis_speed6 Posted March 25, 2010 Share Posted March 25, 2010 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 More sharing options...
ZAZ Posted March 25, 2010 Share Posted March 25, 2010 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 CLEO MODS CLEO Script Tutorial 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