Open the downloaded ZIP product file and drop the folder in it somewhere in your resources folder. Add your product key (get it here) to the settings.ini
file and add start BigDaddy-AirCompressors
to your server.cfg
.
DO NOT RENAME THE FOLDER.
If you change the name of the folder it will not function correctly so leave the name as it is.
INTEGRATED
This script is integrated with Big Daddy Scripts Vehicle Damage, but it is not required to run this script.
settings.ini
SETTING | DEFAULT | DESCRIPTION |
---|---|---|
[licensing] | ||
key1 | none | This is where you put your product key |
[settings] | ||
DisplayPrompts | true | whether to show the prompts on screen or not |
HoseCanBreak | true | if the player walks too far from the air compressor, the hose can break |
Compressors.json
- contains the list of compressor props the script will look for and work with.
{
"model": "prop_gas_airunit01",
//(spawn name of object)
"offset": {
//(the offset from the object where the hose attaches)
"X": -0.07,
"Y": -0.11,
"Z": 0.61,
"W": 0
}
}
/checkair
When near a tire, this command will animate checking the pressure and show the actual tire pressure/health on the screen.
/airpump
When near an air compressor object, this will put the hose in your hand. Then you can go to any tire and follow the prompts to fill it. Going back to the pump and doing /airpump
again will put the hose away or you can press X at any time to put it away.