Interiors presets
There you can find all informatios related to our interior presets.
Overview
In short overview, this interior preset system is handling all interaction & options used in our Prison system, which means that you can simply make own interior preset or use already defined ones.
By default there is interior template which is used along with rcore__prison__map.
Supporting GABZ, Uncle Just, Alcatraz interiors by default.
Our interior preset system is offering to change anything you like in terms of:
Spawn points
Other (coords)
Job activities for Prisoners
Canteen
Interaction (npc, marker, type, position)
Spawn points
Spawn points are used for spawning prisoners inside Prison cells, if script detect that are all cells are occupied by some Prisoner, new prisoner will be teleport at prisonYard position as fallback.
You dont need to define any spawnPoints, but its recommended for better immersion.
Usage:
Other
There are few coords, which you can change as specific for releasePos, outfitMenu, prisonYard.
Variable | Desc |
---|---|
releasePos | Release position, when Prisoner has finished his time in Prison. |
outfitMenu | Position where new Prisoner is selecting his outfit. |
prisonYard | Position when new Prisoner is teleported, when not any cells are free. |
Job activities (Jobs)
There you can change all stuff related to specific activities on Prison yard or define own? 👍
Variable | value | Desc |
---|---|---|
jobId | 1 | Unique number value for specific activity |
activeLimit | 1 | How many prisoners, can do this activity at once. |
reward.type | ('reduceSentece / credits') | You can specify what is reward when prisoners in specific activity finished their job (giving credis or reducing jail time) |
reward.amount | value (int) | How much you like to gave to prisoners for specific job. |
requiredDelivery | 1 | How many tasks needs to be acomplished for finishing current activity |
text | 'JOB_CLEAN_YARD_MISSION_TEXT' | Mission text for current activity, using lang text entry. |
cooldown | 30 * 1000 (30 sec) | When Prisoners can do this activity again? |
name | Clean Yard | What the activity name? |
type | clean_yard | Internal activity type, that will handle specific job. |
drawmarker.opaciy | 100 | Option to change drawmarker opacity. |
points | array of vec3 | Define your array of coords for specific activity |
Canteen
Define what type of items are going to be in Canteen
label | cost | itemName | Desc |
---|---|---|---|
Sludgie | 50 | sludgie | label - name in menu cost - price in credis itemName - name of item in your inventory |
Interaction
Define positions of interaction points and other specific things.
Blips for interaction
Option to define blips for specific interactions.
Variable | Param | Desc |
---|---|---|
npc.model | 's_m_m_prisguard_01' | Define model of NPC |
npc.heading | '90.0 | Define heading of specific NPC |
marker.renderState | true/false | Should interaction use marker |
coords | vec3 | Position of npc / interaction point |
type | string | internalType (action) |
Would you like to disable npc on interaction?
Telephone booth
Option to define telephone booth, number needs to be unique! 👍
Require third-party phone to be connected with Prison callSystem.
Last updated