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.

Scripting CS Spray.

Featured Replies

http://www.lcpdfr.com/uploads/monthly_11_2013/post-8872-0-39798000-1385678686.jpgI was playing about with the idea of CS Spray today. I know it hasn't been a possible option so far, but as an LCPDFR fan who is trying to adapt my game to represent British Policing, I have had a crack at customising my weapons. This is mainly for my own benefit, just so weapons are a little more plausible to represent Policing in the uk. I started by adapting the Barretta to be replaced by the Taser that you normally find with LCPDFR mod. This worked well and was simple to change and undo should I want.

 

I then toyed with the idea of getting rid of the pistol in favour of a non lethal weapon. Which made me think about the taser, as I had already installed it to the weaponsinfo.xml. So copied the info making little amendment such as the range and then I replaced the glock with a slightly modified flashbang grenade. Sound was easy to replace with spray sound and the overall effect was fun for playing LCPDFR.

 

What I was really hoping to do was add effect to the "CS" to actually indicate some form of projectile liquid. The taser obviously gives off the muzzle effect of electricity, but I was trying to figure out if I could get a smoke particle effect to emit from the CS. I've tried every idea and failed. All I can think of is Abraxas vdH Police helper and how the effects work on the fire extinguisher. As modders have already put in flamethrowers as weapons, Im hoping someone can think of a clever script to emit a small spray or puff off smoke that can resemble cs gas from the weapon. 

 

I'm putting it out to the forum in the hope that someone much better at scripting can come up with a good idea or create a script that will help. Any suggestions will be gratefully received. 

 

I have added a link to a short take from an early game where I used the spray. Hopefully it might inspire someone to create a fully working script. - 

Sounds really intresting! Looking forward to see the outcome since a lot of police & sheriff's departments/office's use the CS spray all over the world :thumbsup:

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.