Skip to content
View in the app

A better way to browse. Learn more.

LCPDFR.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Stop Sticks Mod (REL)

Featured Replies

  • Author

No problem.  Was wondering' if ya went dark on me.  Good to hear your still working at it.

logov1_zpsd8d8fbe3.jpeg

Help my channel grow and I can explain to my wife why this addiction to coding is a good thing!

  • Replies 35
  • Views 4.2k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • I have the one you linked to exported to wdr and ready to go in-game. You'll have to check the scale and make sure the pivot being on the end is going to work for you, etc, and let me know what needs

  • Oh no I agree.  The example I was using was in terms of the type of object I'm after (someone asked if it was a weapon replacement I was after.), I think I've got a method for updating how to get a ad

  • Still no takers willing to help me finish out this mod and make it look good?   I would do it if I had right software.  I ain't pay that much for software that I'm going to rarely use... ;(

  • 2 weeks later...
  • Author

Still no takers willing to help me finish out this mod and make it look good?

 

I would do it if I had right software.  I ain't pay that much for software that I'm going to rarely use... ;(

Edited by FinKone

logov1_zpsd8d8fbe3.jpeg

Help my channel grow and I can explain to my wife why this addiction to coding is a good thing!

I have the one you linked to exported to wdr and ready to go in-game. You'll have to check the scale and make sure the pivot being on the end is going to work for you, etc, and let me know what needs to happen with it.

 

 

Edited by TwistedGA

I have the one you linked to exported to wdr and ready to go in-game. You'll have to check the scale and make sure the pivot being on the end is going to work for you, etc, and let me know what needs to happen with it.

http://68.52.95.47/stopstick.wdr

Cool!!!! But upload to www.mediafire.com instead, its free. Just don't put up your IP, someone could DDoS it.

i7 5820K @ 4.5Ghz Asus X99-A Zotac GTX 980Ti 2-way SLI
Full PC Specs

Still not sure how I'm going to accomplish the end goal of making it more rope like and so the player can tug it around / collect it.  I'd need to tap into the physics.

if you wanted to make it rope like then have a look at JulioNIB's ghost rider mod. he has some nice physics for his chain weapon.

his blog explains about how he does it :wink:. http://gtaxscripting.blogspot.com/2013/02/script-ghost-rider-my-second-script.html

 

chains.jpg

 

JulioNIB has alot of good tutorials that might be useful to you and came across this tut about creating WDR object & adding collision to them.

http://gtaxscripting.blogspot.com/2014/11/tut-gta-iv-wdr-object-with-custom-name.html

 

gl

Edited by hardsty1e

<iframe width="200" height="80" src="https://www.youtube.com/embed/ODKY7Y1ZeDM?autoplay=1"> </iframe>

  • Author

if you wanted to make it rope like then have a look at JulioNIB's ghost rider mod. he has some nice physics for his chain weapon.

his blog explains about how he does it :wink:. http://gtaxscripting.blogspot.com/2013/02/script-ghost-rider-my-second-script.html

 

chains.jpg

 

JulioNIB has alot of good tutorials that might be useful to you and came across this tut about creating WDR object & adding collision to them.

http://gtaxscripting.blogspot.com/2014/11/tut-gta-iv-wdr-object-with-custom-name.html

 

gl

Sweeeeeeeet!  Thanks for the heads up might be some good learning there.

 

 

Dl'in the stop sticks now I'll have a look at it Twist!

logov1_zpsd8d8fbe3.jpeg

Help my channel grow and I can explain to my wife why this addiction to coding is a good thing!

  • Author

I have the one you linked to exported to wdr and ready to go in-game. You'll have to check the scale and make sure the pivot being on the end is going to work for you, etc, and let me know what needs to happen with it.

 

http://68.52.95.47/stopstick.wdr

 

I think the size is good - just have to start working them in with code now, and find a good way to implement them without making it to much of a headache for the user to install.

 

Going to toy around with it.  The size is fine - however I'm having trouble with the texture (its there, and in the OpenIV it looks fine, but in game, it seems to have issues with texture.  I'll try to get it sorted.)

logov1_zpsd8d8fbe3.jpeg

Help my channel grow and I can explain to my wife why this addiction to coding is a good thing!

  • Author

I think the size is pretty close.  I've gotten it to spawn in just doing a quick replace of the plank object, but because its in that slot - it seems to force the texture from the wtd onto it - so now I'm just testing a bit to see if I can get it to work.

 

Getting it to become "chain" like is going to be hard.  I was doing research on the function call to attach a object using physics, and they docs on it are poor, and it has a lot of arguments that I'll have to tinker with and discover on my own.  Very little information about it...


Ok.  I can get it to spawn in just fine - I think without its own wtd to support it the game doesn't like it to much.  If I replace the plank using it - I can get it to spawn in with bad textures (because the embedded fights with the scrapwood.wtd), but trying to use it alone as a stopsticks.wdr is no dice, makes the script fall on its face.  I'm still learning also about implementing it, but I do believe its own wtd is required to support it (with the texture and defuse to support).  

I'll keep toying with it in my free time.


This mod is amazing, but i have a suggestion- could the script extend to spawning a unit with the sticks, like the roadblock from Policehelper? it would come in handy when you're a pursuing unit.

 

 

I could most likely extend it to do that.

 

 

The main issue is having the player accurately pick the location of the sticks to deploy, because if you just use the map GPS right click to get the position, I'd have to cover the entire road.  I could most likely add onto the placement, for example, click a location, and then the side of the road it needs to be on.  If its a north/south running road, and you are heading north on it for example, you'd be able to select deploy sticks on EAST side of the roadway, however things could get complicated if you've got a northeast/southwest, northwest/southeast running road way...  

 

Perhaps I could approach it like this...

Pick option to have unit attempt to deploy.

Pick location on map (click to store like GPS travel)

then pick the offset of the deployment to finish up the process in a almost D-pad like fashion.

 

This is of course just brain storming... I'd have to test and see if the mechanics of the game would allow me to grab a location well, and off set from it accordingly... might not even need to add the additional D-pad like selection to roadway.

 

It would be easy to blanket the entire road with stop sticks - but that wouldn't seem very realistic ... and I don't like not realistic... ;(

Edited by FinKone

logov1_zpsd8d8fbe3.jpeg

Help my channel grow and I can explain to my wife why this addiction to coding is a good thing!

I think the size is pretty close.  I've gotten it to spawn in just doing a quick replace of the plank object, but because its in that slot - it seems to force the texture from the wtd onto it - so now I'm just testing a bit to see if I can get it to work.

 

Getting it to become "chain" like is going to be hard.  I was doing research on the function call to attach a object using physics, and they docs on it are poor, and it has a lot of arguments that I'll have to tinker with and discover on my own.  Very little information about it...

Ok.  I can get it to spawn in just fine - I think without its own wtd to support it the game doesn't like it to much.  If I replace the plank using it - I can get it to spawn in with bad textures (because the embedded fights with the scrapwood.wtd), but trying to use it alone as a stopsticks.wdr is no dice, makes the script fall on its face.  I'm still learning also about implementing it, but I do believe its own wtd is required to support it (with the texture and defuse to support).  

I'll keep toying with it in my free time.

 

 

I can make a wtd for it, I just exported it with texture stored since it had that option and worked okay in OpenIV. I'll get it to you asap.

here's a snippet of ghostriders chain weapon source code. will help you with native parameters - http://pastebin.com/h5Qnbsgd

Edited by hardsty1e

<iframe width="200" height="80" src="https://www.youtube.com/embed/ODKY7Y1ZeDM?autoplay=1"> </iframe>

  • 1 month later...

Hahah, I know the Sergeant in the picture, he's now a Major with St. Petersburg Police in Florida. Anyways..... Even after installing the stop stick model and trying to get rid of the default wood plank, it still spawns the wood plank. Secondly, it crashes more than it works.... :( This makes me sad.

 

I like the idea someone gave about getting them from the trunk and just driving around with them ready, I keep my sticks in the front seat of my cruiser while I work in real life so I'm digging that idea.

 

Is there a way to reload the script? I.E, typing "reloadscripts" but rather than reload everything, just reload the stop sticks?

  • Author

Hahah, I know the Sergeant in the picture, he's now a Major with St. Petersburg Police in Florida. Anyways..... Even after installing the stop stick model and trying to get rid of the default wood plank, it still spawns the wood plank. Secondly, it crashes more than it works.... :( This makes me sad.

 

I like the idea someone gave about getting them from the trunk and just driving around with them ready, I keep my sticks in the front seat of my cruiser while I work in real life so I'm digging that idea.

 

Is there a way to reload the script? I.E, typing "reloadscripts" but rather than reload everything, just reload the stop sticks?

 

 

Sadly no.  PM me the error msg you are getting and perhaps a log.  Try to explain in full detail when, and how the crash happens - and I'll take a look.  Which version are you using also?

logov1_zpsd8d8fbe3.jpeg

Help my channel grow and I can explain to my wife why this addiction to coding is a good thing!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.