Miscellaneous
This will explain the most important configs of the script.
Last updated
This will explain the most important configs of the script.
Last updated
This table will contain all the configs you need to have your vehicle ready for calls !
A vehicle config will look like this :
Let's dive into this :
[GetHashKey('YourVehicleHere')]
is the vehicle model you want the script to detect, you can add as many occurences as shown in the base config
Inside the table of the vehicle, you will put ['stryker_lifepak_15']
and ['sacOxy']
, these are the base models for the ECG Monitor and Oxygen bag
For each object, you will find a pos and rot fields, this is the place where your prop will be place FROM THE CENTER OF THE VEHICLE. As a reminder : x = left/right | y = front/back | z = up/down
bone = ""
, is the bone you want to attach the prop to (this can be a door, trunk furniture ... useful for very detailed and animated vehicles. No built-in tool provided
doors = {"door_pside_r", "door_dside_r"}
, are the doors the script will open when taking a prop
useLOS = bool
, is the config that sets if the script should check the Line Of Sight between you and the entity. Setting this to false will help with the issue where you are not able to take a prop from a vehicle because of bad collisions.
If the bag is in the vehicle but you can't select it (no outline + key as no effect). This can be a bad vehicle collision / bad model. Script is detecting collisions and a bad vehicle model will interfere
This table will contain all the configs you need to adapt the script to your own custom props !
Since this is an "Advanced" configuration, we will not dive deep into this part, you should bee able to figure all this by yourself. However, i will explain the most important fields
modelName
: a String representing the model name
(Only for backpack) posOnBack
: a vector3 representing the offset position from the back of the player
(Only for backpack) rotOnBack
: a vector3 representing the offset rotation from the back of the player
When using a bone, rotation and location will become relative to the bone and not from the ped anymore
posInHand
: a vector3 representing the offset position from the hand of a player
rotInHand
: a vector3 representing the offset rotation from the hand of a player
screen
& gauge:
a table containing the width and height of the screen, its relative position and rotation from the prop center
pipeOffsetPos
& wireOffsetPos
: The position offset from the center of the prop where the wire or tube should start and attach
posOnVictim : The offset position relative to the ped center or bone if specified, to place the mask or electrode at
rotOnVictim : The offset rotation relative to the ped center or bone if specified, to place the mask or electrode at
Allow the script to open the vehicle doors if you dont use any context menu or Third Eye script
These are the coordinates where you can refill an used oxygen tank. Feel free to add or remove locations !
The EUP components ID's to put for the player to be shirtless
Drawable ID is the number of the cloth
bone
& victimBone
= A ped bone id to attach the prop to. List can be found
Component ID is the EUP class you want to select, these can be found