Holster System | Script Feature [2.0a]

Status
Not open for further replies.

BigD

Retired Admin
Joined
Jan 2, 2012
Messages
4,279
Likes
47
#1
Feature Name: Holster System
Developer: Booth
Estimated Update: 2.0a
Documentation by: BigD, Speakybutton, Chris & x00
Developer(s) Comments
The holster system within RCRP allows players to attach a weapon to a specific part of their body. Players are able to completely customise the location and orientation of the weapon holstered to them, through a similar system to that which is used to edit a mask location. The system works so that when you do not have a weapon in your hand, it will display on the player's body in the designated location. All large weapons, such as M4s and AK-47s will be holstered to the player's body whether they want it to be or not, as they would be physically impossible to conceal, whereas holstering handguns is optional, as it would be possible to hide such weapon from view in reality. Note, only three weapons are allowed to be holstered at once.​

The holster system would be accessible using the command /holster (You are required to have the weapon you wish to holster in your hand). You will be presented with the following dialog:


The most common bone for Assault Rifles would be the Spine, as shown below:


You might ask, but what if my gun's out of place? By default there will be offsets set for each skin, however if you are required to edit the placement of your gun due to a mod, you will be able to edit it using the same edit system as our mask system:


Sidearms like the Desert Eagle do not have to be holstered as it is feasible to be able to conceal this weapon, however when they are holstered it's going to look a little something like this:​

Again, these will not be permanent offsets for the weapons and they may be edited by the player.
The holster system is still currently work in progress and any changes you see are subject to change at any time.
The new holster system allows you to have weapons visible. Some optional, some forced. I will list items which are forced visible and some that aren't.


  • Forced Visible
  • Katana
  • Shotgun
  • Sawn Off
  • Combat Shotgun
  • MP5
  • TEC 9
  • AK47
  • M4
  • Sniper
  • Country Rifle

  • Optional Visible
  • Baton
  • Cane
  • Knife
  • 9mm
  • Silenced 9mm
  • Micro SMG
  • Spray Can
  • Camera


As you may notice with the holster system you can only have up to three visible items on you. If you have three items visible on you and try to take a weapon from a trunk, equip or gunrack that is forced visible you will be greeted with this message:


All you have to do is hide one optional visible weapon by scrolling to the weapon and typing /holster and selecting the top option:


Once you have hidden the weapon you can then take out a forced visible weapon
 
Status
Not open for further replies.