forked from Simnation/Main
ed
This commit is contained in:
parent
d6225ef198
commit
c6a65284c3
117 changed files with 3856 additions and 0 deletions
BIN
resources/[defaultmaps]/tstudio_audioocclusion/.fxap
Normal file
BIN
resources/[defaultmaps]/tstudio_audioocclusion/.fxap
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,83 @@
|
|||
fx_version 'cerulean'
|
||||
game 'gta5'
|
||||
|
||||
this_is_a_map 'yes'
|
||||
|
||||
files {
|
||||
'audio/**/*.rel'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
'/server:4960', -- ⚠️PLEASE READ⚠️; Requires at least SERVER build 4960.
|
||||
'/gameBuild:2545', -- ⚠️PLEASE READ⚠️; Requires at least GAME build 2545.
|
||||
'tstudio_zmapdata', -- ⚠️PLEASE READ⚠️; Requires to be started before this resource.
|
||||
}
|
||||
|
||||
-- Here you will include lines for each dat151 file
|
||||
-- Cutting off the the line at .dat is intentional
|
||||
--data_file 'AUDIO_GAMEDATA' 'audio/11D54B69_game.dat'
|
||||
|
||||
-- Al Dente's
|
||||
data_file 'AUDIO_GAMEDATA' 'audio/tstudio_aldentes/FE580F1A_game.dat'
|
||||
|
||||
-- Ammunation
|
||||
data_file 'AUDIO_GAMEDATA' 'audio/tstudio_ammunation/D5A57622_game.dat'
|
||||
|
||||
-- Bennys Luxury
|
||||
data_file 'AUDIO_GAMEDATA' 'audio/tstudio_bennys_luxury/915FBB78_game.dat'
|
||||
|
||||
-- Bennys Luxury Racetrack
|
||||
data_file 'AUDIO_GAMEDATA' 'audio/tstudio_bennys_racetrack/EA7BB406_game.dat'
|
||||
|
||||
-- Burgershot
|
||||
data_file 'AUDIO_GAMEDATA' 'audio/tstudio_burgershot/F2B01B7B_game.dat'
|
||||
|
||||
-- Impound
|
||||
data_file 'AUDIO_GAMEDATA' 'audio/tstudio_impound/93DA1F40_game.dat'
|
||||
|
||||
-- Jurassic Jackpot
|
||||
data_file 'AUDIO_GAMEDATA' 'audio/tstudio_jurassic_jackpot/E8139E0_game.dat'
|
||||
|
||||
-- Kebab King
|
||||
data_file 'AUDIO_GAMEDATA' 'audio/tstudio_kebabking/E3ABAA89_game.dat'
|
||||
|
||||
-- Laundromat
|
||||
data_file 'AUDIO_GAMEDATA' 'audio/tstudio_laundromat/89AD6DDA_game.dat'
|
||||
data_file 'AUDIO_GAMEDATA' 'audio/tstudio_laundromat/A32D396_game.dat'
|
||||
|
||||
-- Leapfrog
|
||||
data_file 'AUDIO_GAMEDATA' 'audio/tstudio_leapfrog/6ABD73F7_game.dat'
|
||||
|
||||
-- LSIA
|
||||
data_file 'AUDIO_GAMEDATA' 'audio/tstudio_lsia/704CD1C5_game.dat'
|
||||
|
||||
-- Opium Nights
|
||||
data_file 'AUDIO_GAMEDATA' 'audio/tstudio_opium_nights/997AEB4_game.dat'
|
||||
data_file 'AUDIO_GAMEDATA' 'audio/tstudio_opium_nights/CD1CB701_game.dat'
|
||||
data_file 'AUDIO_GAMEDATA' 'audio/tstudio_opium_nights/FECFF813_game.dat'
|
||||
data_file 'AUDIO_GAMEDATA' 'audio/tstudio_opium_nights/B45FE305_game.dat'
|
||||
|
||||
-- Paleto Bennys Workshop
|
||||
data_file 'AUDIO_GAMEDATA' 'audio/tstudio_paleto_bewo/67AEE5BD_game.dat'
|
||||
|
||||
-- Paleto Cardealer
|
||||
data_file 'AUDIO_GAMEDATA' 'audio/tstudio_paleto_cardealer/C7599380_game.dat'
|
||||
|
||||
-- Reds Tuner
|
||||
data_file 'AUDIO_GAMEDATA' 'audio/tstudio_redstuner/2EA0C864_game.dat'
|
||||
|
||||
-- Smokeys
|
||||
data_file 'AUDIO_GAMEDATA' 'audio/tstudio_smokeys/C132AAA0_game.dat'
|
||||
data_file 'AUDIO_GAMEDATA' 'audio/tstudio_smokeys/CC549F6D_game.dat'
|
||||
|
||||
-- Taxi
|
||||
data_file 'AUDIO_GAMEDATA' 'audio/tstudio_taxi/5D54ADFC_game.dat'
|
||||
|
||||
-- Tropical Height
|
||||
data_file 'AUDIO_GAMEDATA' 'audio/tstudio_tropical_heights/7B9DB0CC_game.dat'
|
||||
data_file 'AUDIO_GAMEDATA' 'audio/tstudio_tropical_heights/CAFDE1CC_game.dat'
|
||||
|
||||
-- VMC
|
||||
data_file 'AUDIO_GAMEDATA' 'audio/tstudio_vmc/7A510CA2_game.dat'
|
||||
data_file 'AUDIO_GAMEDATA' 'audio/tstudio_vmc/D55F387A_game.dat'
|
||||
dependency '/assetpacks'
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
resources/[defaultmaps]/tstudio_doortuning/.fxap
Normal file
BIN
resources/[defaultmaps]/tstudio_doortuning/.fxap
Normal file
Binary file not shown.
224
resources/[defaultmaps]/tstudio_doortuning/README.md
Normal file
224
resources/[defaultmaps]/tstudio_doortuning/README.md
Normal file
|
@ -0,0 +1,224 @@
|
|||
# TStudio Door Tuning Resource
|
||||
|
||||
A GTA V FiveM resource for advanced door tuning functionality developed by TStudio3d.
|
||||
|
||||
## 📁 Project Structure
|
||||
|
||||
```
|
||||
tstudio_doortuning/
|
||||
├── README.md # This file
|
||||
├── fxmanifest.lua # FiveM resource manifest
|
||||
├── gta5.meta # GTA V data file configuration
|
||||
├── doortuning.ymt # Door tuning configuration
|
||||
├── heightmap.dat # Water level data (enables swimming anywhere)
|
||||
└── audio/
|
||||
├── tstudio_door_game.dat151.nametable # Audio name table
|
||||
└── tstudio_door_game.dat151.rel # Audio relations file
|
||||
```
|
||||
|
||||
## 🚀 For Multimedia Team Members
|
||||
|
||||
### Getting Started
|
||||
|
||||
1. **Clone the Repository**
|
||||
```bash
|
||||
git clone https://github.com/TStudio3d/tstudio_doortuning.git
|
||||
cd tstudio_doortuning
|
||||
```
|
||||
|
||||
2. **Switch to Development Branch**
|
||||
```bash
|
||||
git checkout dev
|
||||
git pull origin dev
|
||||
```
|
||||
|
||||
### 🌿 Working with Feature Branches
|
||||
|
||||
#### Creating a New Feature Branch
|
||||
|
||||
Always create feature branches from the `dev` branch, not from `main`. This ensures a clean workflow and easier collaboration.
|
||||
|
||||
```bash
|
||||
# 1. Make sure you're on the dev branch
|
||||
git checkout dev
|
||||
|
||||
# 2. Pull the latest changes
|
||||
git pull origin dev
|
||||
|
||||
# 3. Create your feature branch (use descriptive names)
|
||||
git checkout -b feature/your-feature-name
|
||||
|
||||
# Examples of good branch names:
|
||||
# feature/audio-enhancement
|
||||
# feature/door-animation-fix
|
||||
# feature/new-sound-effects
|
||||
# bugfix/door-sync-issue
|
||||
# improvement/performance-optimization
|
||||
```
|
||||
|
||||
#### Working on Your Feature
|
||||
|
||||
```bash
|
||||
# 1. Make your changes to files
|
||||
# 2. Check what files you've modified
|
||||
git status
|
||||
|
||||
# 3. Add your changes
|
||||
git add .
|
||||
# or add specific files
|
||||
git add filename.ext
|
||||
|
||||
# 4. Commit your changes with a descriptive message
|
||||
git commit -m "Add new door sound effects for luxury vehicles"
|
||||
|
||||
# 5. Push your feature branch to GitHub
|
||||
git push -u origin feature/your-feature-name
|
||||
```
|
||||
|
||||
#### Submitting Your Work
|
||||
|
||||
1. **Push your feature branch** to GitHub
|
||||
2. **Create a Pull Request** from your feature branch to the `dev` branch
|
||||
3. **Request review** from team leads
|
||||
4. **Merge** will be handled by team leads after review
|
||||
|
||||
#### Keeping Your Feature Branch Updated
|
||||
|
||||
```bash
|
||||
# While working on your feature, regularly sync with dev branch
|
||||
git checkout dev
|
||||
git pull origin dev
|
||||
git checkout feature/your-feature-name
|
||||
git merge dev
|
||||
```
|
||||
|
||||
### 📋 Branch Strategy
|
||||
|
||||
- **`main`** - Production-ready code, stable releases
|
||||
- **`dev`** - Development branch, integration of new features
|
||||
- **`feature/*`** - Individual feature branches created from `dev`
|
||||
- **`bugfix/*`** - Bug fix branches created from `dev`
|
||||
- **`hotfix/*`** - Critical fixes that go directly to `main`
|
||||
|
||||
### 🎯 File Modification Guidelines
|
||||
|
||||
#### Audio Files (`audio/` directory)
|
||||
- **What they do**: Handle door sound effects and audio cues
|
||||
- **When to modify**: Adding new sounds, adjusting audio timing, fixing audio bugs
|
||||
- **Format**: DAT151 format (GTA V audio format)
|
||||
|
||||
#### Configuration Files
|
||||
- **`fxmanifest.lua`**: Resource configuration for FiveM
|
||||
- **`gta5.meta`**: GTA V data file references and configurations
|
||||
- **`doortuning.ymt`**: Door behavior and tuning parameters
|
||||
|
||||
#### Data Files
|
||||
- **`heightmap.dat`**: Water level configuration that enables swimming anywhere on the map
|
||||
- ⚠️ **Note**: This file is not directly related to door tuning but is included here because the resource requires the `gta5.meta` file structure
|
||||
- **`doortuning.ymt`**: Core door tuning configurations
|
||||
|
||||
### 🛠️ Common Tasks
|
||||
|
||||
#### Adding New Audio Files
|
||||
1. Place new audio files in the `audio/` directory
|
||||
2. Update references in `gta5.meta` if needed
|
||||
3. Test in-game before committing
|
||||
|
||||
#### Modifying Door Behavior
|
||||
1. Edit `doortuning.ymt` for door parameters
|
||||
2. Update `gta5.meta` if adding new references
|
||||
3. Test functionality thoroughly
|
||||
|
||||
#### Performance Optimization
|
||||
1. Check file sizes and optimize where possible
|
||||
2. Ensure compatibility with existing configurations
|
||||
3. Document any breaking changes
|
||||
|
||||
#### Understanding the Heightmap File
|
||||
The `heightmap.dat` file included in this resource serves a specific purpose:
|
||||
- **Primary function**: Configures water levels across the entire GTA V map
|
||||
- **Effect**: Allows players to swim anywhere, regardless of terrain elevation
|
||||
- **Why it's here**: Despite being unrelated to door tuning, this file is included because:
|
||||
- The resource structure requires the `gta5.meta` configuration file
|
||||
- The meta file provides the framework needed for both door tuning and water level modifications
|
||||
- Bundling them together reduces server resource overhead
|
||||
- **⚠️ Important**: Do not modify this file unless you understand water level mechanics
|
||||
|
||||
### 🔍 Testing Your Changes
|
||||
|
||||
1. **Local Testing**: Always test your changes locally before pushing
|
||||
2. **Documentation**: Update relevant documentation for new features
|
||||
3. **Compatibility**: Ensure changes don't break existing functionality
|
||||
|
||||
### 📞 Getting Help
|
||||
|
||||
- **Team Lead**: Contact for major changes or architecture decisions
|
||||
- **Documentation**: Check this README and inline code comments
|
||||
- **Issues**: Use GitHub Issues for bug reports and feature requests
|
||||
|
||||
### 🚫 What NOT to Do
|
||||
|
||||
- ❌ Don't commit directly to `main` branch
|
||||
- ❌ Don't push broken or untested code
|
||||
- ❌ Don't modify files without understanding their purpose
|
||||
- ❌ Don't forget to pull latest changes before starting work
|
||||
|
||||
### 📝 Commit Message Guidelines
|
||||
|
||||
Use clear, descriptive commit messages:
|
||||
|
||||
```bash
|
||||
# Good examples:
|
||||
git commit -m "Add luxury vehicle door sound effects"
|
||||
git commit -m "Fix door animation timing issue"
|
||||
git commit -m "Optimize audio file loading performance"
|
||||
git commit -m "Update door tuning parameters for sports cars"
|
||||
|
||||
# Bad examples:
|
||||
git commit -m "fix stuff"
|
||||
git commit -m "changes"
|
||||
git commit -m "audio"
|
||||
```
|
||||
|
||||
### 🔄 Quick Reference Commands
|
||||
|
||||
```bash
|
||||
# Clone and setup
|
||||
git clone https://github.com/TStudio3d/tstudio_doortuning.git
|
||||
cd tstudio_doortuning
|
||||
git checkout dev
|
||||
|
||||
# Create feature branch
|
||||
git checkout -b feature/my-new-feature
|
||||
|
||||
# Save your work
|
||||
git add .
|
||||
git commit -m "Descriptive commit message"
|
||||
git push -u origin feature/my-new-feature
|
||||
|
||||
# Update from dev
|
||||
git checkout dev
|
||||
git pull origin dev
|
||||
git checkout feature/my-new-feature
|
||||
git merge dev
|
||||
|
||||
# Check status
|
||||
git status
|
||||
git log --oneline
|
||||
git branch -a
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 📄 License
|
||||
|
||||
This project is proprietary to TStudio3d. All rights reserved.
|
||||
|
||||
## 👥 Contributors
|
||||
|
||||
- TStudio3d Team
|
||||
- Multimedia Team Members
|
||||
|
||||
---
|
||||
|
||||
**Remember**: When in doubt, ask! It's better to clarify than to break something. Happy coding! 🚀
|
|
@ -0,0 +1,114 @@
|
|||
d_turbosaif_alamo_island_asset_ext_fnc_gatel
|
||||
d_turbosaif_alamo_island_asset_ext_fnc_gater
|
||||
d_johanni_aldentes_asset_door04_secret
|
||||
d_johanni_torture_asset_door
|
||||
d_johanni_tstudio_asset_elevator_door_ext
|
||||
d_johanni_aldentes_asset_door02
|
||||
d_johanni_tstudio_asset_elevator_door
|
||||
d_johanni_aldentes_asset_door03_toilet
|
||||
d_johanni_aldentes_asset_door01
|
||||
d_johanni_aldentes_asset_door05_l
|
||||
d_johanni_aldentes_asset_door02b
|
||||
d_johanni_aldentes_asset_door05_r
|
||||
d_tstudio_qx_ammunation_prop_officedoor
|
||||
d_tstudio_qx_ammunation_prop_door01
|
||||
d_tstudio_qx_ammunation_prop_officedoor2
|
||||
d_tstudio_qx_ammunation_prop_edoor_r
|
||||
d_tstudio_qx_ammunation_prop_edoor_l
|
||||
d_turbosaif_bennys_room_door03
|
||||
d_turbosaif_bennys_main_door02
|
||||
d_turbosaif_bennys_room_door
|
||||
d_turbosaif_bennys_exitdoor
|
||||
d_turbosaif_bennys_main_door01
|
||||
d_turbosaif_bennys_room_door02
|
||||
d_turbosaif_bennys_garage_door
|
||||
d_turbosaif_bennysd_door_r
|
||||
d_turbosaif_bennysd_garage_door
|
||||
d_turbosaif_bennysd_door_front
|
||||
d_turbosaif_racetrack_pitoffice_door02
|
||||
d_turbosaif_racetrack_pitoffice_door01
|
||||
d_turbosaif_bs_door03
|
||||
d_turbosaif_bs_door01
|
||||
d_turbosaif_bs_door02
|
||||
d_turbosaif_bs_door01_l
|
||||
d_turbosaif_carrent_main_door2
|
||||
d_turbosaif_carrent_main_door
|
||||
d_turbosaif_carrent_door_wc
|
||||
d_turbosaif_carrent_door_r
|
||||
d_uniqx_flecca_lockerdoor01
|
||||
d_uniqx_flecca_secdoor
|
||||
d_uniqx_flecca_safedoor02
|
||||
d_uniqx_flecca_safedoor01
|
||||
d_uniqx_flecca_entrance_door2
|
||||
d_uniqx_flecca_entrance_door1
|
||||
d_tstudio_impound_entrancegate01
|
||||
d_tstudio_impound_door01
|
||||
d_johanni_jurassic_asset_door03
|
||||
d_johanni_jurassic_asset_door02
|
||||
d_johanni_jurassic_asset_door01_wc_r
|
||||
d_johanni_jurassic_asset_door03_l
|
||||
d_johanni_jurassic_asset_door04
|
||||
d_johanni_jurassic_asset_door01_wc_l
|
||||
d_johanni_jurassic_asset_elevator_door
|
||||
d_adr0o_kebabking_wcdoor
|
||||
d_adr0o_kebabking_frontdoor
|
||||
d_johanni_frog_asset_door01_r
|
||||
d_johanni_frog_asset_door02
|
||||
d_johanni_frog_asset_door01_l
|
||||
d_johanni_frog_asset_door03
|
||||
d_turbosaif_lsia_exitarea_door01
|
||||
d_turbosaif_lsia_officearea_exitdoor
|
||||
d_johanni_opium_door02
|
||||
d_johanni_opium_door01
|
||||
d_tstudio_tuner_asset_gdoor2a
|
||||
d_tstudio_tuner_asset_gdoor1a
|
||||
d_tstudio_jhn_resort_asset_int_door04
|
||||
d_tstudio_jhn_resort_asset_int_door03
|
||||
d_tstudio_jhn_resort_asset_int_slide_door01
|
||||
d_tstudio_jhn_resort_asset_int_slidedoor01
|
||||
d_tstudio_jhn_resort_asset_int_door01
|
||||
d_tstudio_jhn_resort_asset_int_door02
|
||||
d_tstudio_jhn_resort_asset_int_door01b
|
||||
d_tstudio_jhn_resort_asset_int_door01c
|
||||
d_johanni_pillbox_md_asset_door07
|
||||
d_johanni_pillbox_md_asset_door06_r
|
||||
d_johanni_pillbox_md_asset_door03_l
|
||||
d_johanni_pillbox_md_asset_door02
|
||||
d_johanni_pillbox_md_asset_door01
|
||||
d_johanni_pillbox_md_asset_door08
|
||||
d_johanni_pillbox_md_asset_door03_r
|
||||
d_johanni_pillbox_md_asset_door08b
|
||||
d_johanni_pillbox_md_asset_garage_door
|
||||
d_johanni_pillbox_md_asset_slidedoor
|
||||
d_johanni_pillbox_md_asset_door04
|
||||
d_johanni_pillbox_md_asset_door06_l
|
||||
d_johanni_pillbox_md_asset_door05
|
||||
d_tstudio_tuner_asset_gdoor2
|
||||
d_tstudio_tuner_asset_gdoor1
|
||||
d_tstudio_tuner_asset_door_r
|
||||
d_tstudio_tuner_asset_door_l
|
||||
d_johanni_church_asset_door01_l
|
||||
d_johanni_church_asset_door02
|
||||
d_johanni_church_asset_door01_r
|
||||
d_turbosaif_taxi_door02
|
||||
d_turbosaif_taxi_door01
|
||||
d_johanni_skybar_asset_door02_l
|
||||
d_johanni_skybar_asset_door01
|
||||
d_johanni_skybar_asset_door03
|
||||
d_johanni_skybar_asset_door02
|
||||
d_johanni_vhotel_asset_ext_door02_r
|
||||
d_johanni_vhotel_asset_door01
|
||||
d_johanni_vhotel_asset_int_door02_b
|
||||
d_johanni_vhotel_asset_int_door02_a
|
||||
d_johanni_vhotel_asset_ext_door02_l
|
||||
d_turbosaif_vmc_slidedoor02
|
||||
d_turbosaif_vmc_slidedoor01
|
||||
d_turbosaif_vmc_slidedoor03
|
||||
d_turbosaif_vmc_door03
|
||||
d_turbosaif_vmc_door05
|
||||
d_turbosaif_vmc_door04
|
||||
d_turbosaif_vmc_door01
|
||||
d_turbosaif_vmc_door_garage
|
||||
d_turbosaif_vmc_door_elevator
|
||||
d_turbosaif_vmc_ext_door01
|
||||
d_turbosaif_vmc_door02
|
Binary file not shown.
1347
resources/[defaultmaps]/tstudio_doortuning/doortuning.ymt
Normal file
1347
resources/[defaultmaps]/tstudio_doortuning/doortuning.ymt
Normal file
File diff suppressed because it is too large
Load diff
30
resources/[defaultmaps]/tstudio_doortuning/fxmanifest.lua
Normal file
30
resources/[defaultmaps]/tstudio_doortuning/fxmanifest.lua
Normal file
|
@ -0,0 +1,30 @@
|
|||
fx_version 'cerulean'
|
||||
lua54 'yes'
|
||||
game "gta5"
|
||||
replace_level_meta 'gta5'
|
||||
|
||||
author 'TStudio'
|
||||
description 'Overrides GTA Vanilla doortuning to adapt with TStudio MLOs'
|
||||
version '1.0.0'
|
||||
|
||||
dependencies {
|
||||
'/gameBuild:2545', -- ⚠️PLEASE READ⚠️; Requires at least GAME build 2545.
|
||||
-- 'tstudio_zmapdata', -- ⚠️PLEASE READ⚠️; Requires to be started before this resource.
|
||||
}
|
||||
|
||||
data_file 'AUDIO_GAMEDATA' 'audio/tstudio_door_game.dat'
|
||||
|
||||
files {
|
||||
'gta5.meta',
|
||||
'doortuning.ymt',
|
||||
'heightmap.dat',
|
||||
'audio/tstudio_door_game.dat151.rel'
|
||||
}
|
||||
|
||||
escrow_ignore {
|
||||
'gta5.meta',
|
||||
'doortuning.ymt',
|
||||
'heightmap.dat',
|
||||
'audio/*.*'
|
||||
}
|
||||
dependency '/assetpacks'
|
1162
resources/[defaultmaps]/tstudio_doortuning/gta5.meta
Normal file
1162
resources/[defaultmaps]/tstudio_doortuning/gta5.meta
Normal file
File diff suppressed because it is too large
Load diff
BIN
resources/[defaultmaps]/tstudio_doortuning/heightmap.dat
Normal file
BIN
resources/[defaultmaps]/tstudio_doortuning/heightmap.dat
Normal file
Binary file not shown.
BIN
resources/[defaultmaps]/tstudio_zmapdata/.fxap
Normal file
BIN
resources/[defaultmaps]/tstudio_zmapdata/.fxap
Normal file
Binary file not shown.
128
resources/[defaultmaps]/tstudio_zmapdata/README.md
Normal file
128
resources/[defaultmaps]/tstudio_zmapdata/README.md
Normal file
|
@ -0,0 +1,128 @@
|
|||
# 📦 TStudio ZMapData - Interior & Compatibility Management
|
||||
|
||||
A comprehensive FiveM resource for managing interior configurations, entity sets, and automatic compatibility patches for TStudio map resources.
|
||||
|
||||
## 🚀 Features
|
||||
|
||||
- **Interior Management**: Automated interior blocking and entity set configuration
|
||||
- **Compatibility Patches**: Intelligent patch system for map combinations
|
||||
- **Floor Management**: Dynamic floor loading for multi-level interiors
|
||||
- **Privacy Controls**: Interactive privacy glass controls
|
||||
- **Debug Support**: Comprehensive debugging tools
|
||||
|
||||
## 🔧 Server Requirements
|
||||
|
||||
Before installation, ensure your server meets these requirements:
|
||||
|
||||
| Requirement | Minimum Version |
|
||||
|-------------|----------------|
|
||||
| **FXServer Artifact** | `7290` or higher |
|
||||
| **Game Build** | `3258` or higher |
|
||||
| **Recommended** | txAdmin for resource management |
|
||||
|
||||
---
|
||||
|
||||
## 🔧 Configuration
|
||||
|
||||
### Supported Map Combinations
|
||||
|
||||
This resource automatically detects and applies compatibility patches for:
|
||||
|
||||
#### TStudio Maps
|
||||
- Mission Row Park combinations
|
||||
- Opium Nights integrations
|
||||
- Legion Square compatibility
|
||||
- Tropical Heights support
|
||||
- Pillbox Medical combinations
|
||||
|
||||
#### Third-Party Maps
|
||||
- **Kiiya MRPD**: Comprehensive compatibility with all TStudio maps
|
||||
- **Fiv3Devs**: Pillbox and other map integrations
|
||||
- **FM Maps**: MRPD compatibility patches
|
||||
|
||||
### Interior Blocking
|
||||
|
||||
Automatically blocks conflicting default GTA interiors:
|
||||
- Fleeca Banks (6 locations)
|
||||
- Ammunation stores (11 locations)
|
||||
- Tattoo parlors (4 locations)
|
||||
|
||||
---
|
||||
|
||||
## 📦 Installation Steps
|
||||
|
||||
### 1. Prepare Resource Folders
|
||||
|
||||
Create the following folder structure in your `resources` directory:
|
||||
|
||||
```
|
||||
resources/
|
||||
├── [tstudio_maps]/
|
||||
└── [_tstudio_maps_patches]/
|
||||
```
|
||||
|
||||
|
||||
### 2. Install Resources
|
||||
|
||||
- **Drag and drop** all `tstudio_*` resources into `[tstudio_maps]/` folder
|
||||
- **Drag and drop** all `tstudio_zpatch_*` resources into `[_tstudio_maps_patches]/` folder
|
||||
|
||||
### 3. Configure server.cfg
|
||||
|
||||
Add this line to your `server.cfg`:
|
||||
|
||||
```cfg
|
||||
ensure [tstudio_maps]
|
||||
```
|
||||
|
||||
### 4. Finalize Installation
|
||||
|
||||
1. **Clear your server cache** after installation
|
||||
2. **Restart your server**
|
||||
|
||||
> ⚠️ **Important:** Do not manually start the patches folder - our system handles this automatically!
|
||||
|
||||
---
|
||||
|
||||
## 🔄 Update Process
|
||||
|
||||
Follow these steps to update your resources:
|
||||
|
||||
1. **Delete** old `tstudio_*` resources
|
||||
2. **Replace** with new versions
|
||||
3. **Clear** server cache
|
||||
4. **Restart** server
|
||||
|
||||
---
|
||||
|
||||
## <20> Performance Tips
|
||||
|
||||
### Load Order Priority
|
||||
- Load `tstudio_zmapdata` and `tstudio_audioocclusion` **first**
|
||||
- Maintain original file structure
|
||||
- Test on development server before production deployment
|
||||
|
||||
### Best Practices
|
||||
- ✅ Keep original filenames and folder structure
|
||||
- ✅ Clear cache after each update
|
||||
- ✅ Use txAdmin for easier management
|
||||
- ❌ Don't rename resources or files
|
||||
- ❌ Don't modify folder structure
|
||||
|
||||
---
|
||||
|
||||
## 🆘 Support & Community
|
||||
|
||||
Need help? Join our community:
|
||||
|
||||
[](https://discord.gg/tstudio)
|
||||
|
||||
**🌐 Official Discord:** [https://discord.gg/tstudio](https://discord.gg/tstudio)
|
||||
|
||||
---
|
||||
|
||||
<div align="center">
|
||||
|
||||
**Made with ❤️ by TStudio**
|
||||
|
||||
</div>
|
BIN
resources/[defaultmaps]/tstudio_zmapdata/client/activate_ipl.lua
Normal file
BIN
resources/[defaultmaps]/tstudio_zmapdata/client/activate_ipl.lua
Normal file
Binary file not shown.
Binary file not shown.
BIN
resources/[defaultmaps]/tstudio_zmapdata/client/ipl_blocker.lua
Normal file
BIN
resources/[defaultmaps]/tstudio_zmapdata/client/ipl_blocker.lua
Normal file
Binary file not shown.
Binary file not shown.
655
resources/[defaultmaps]/tstudio_zmapdata/config.lua
Normal file
655
resources/[defaultmaps]/tstudio_zmapdata/config.lua
Normal file
|
@ -0,0 +1,655 @@
|
|||
-- ## Interior Configurations
|
||||
Config = {
|
||||
Debug = false, -- Set to true to enable debug prints
|
||||
|
||||
-- EntitySets define the interior configurations for various locations
|
||||
EntitySets = {
|
||||
{
|
||||
name = "Laundromat Dollar Pills Paleto Bay",
|
||||
coords = vector3(-44.39701, 6453.24756, 32.15056),
|
||||
ipl = "tstudio_laundromat_paleto",
|
||||
entitySets = {
|
||||
{name = "door_open", enable = true}, -- Enable the door_open entity set
|
||||
{name = "door_closed", enable = false} -- Disable the door_closed entity set
|
||||
}
|
||||
}, {
|
||||
name = "Laundromat Dollar Pills Davis",
|
||||
coords = vector3(62.1981468, -1604.00537, 30.2375851),
|
||||
ipl = "tstudio_laundromat_dollar_pills",
|
||||
entitySets = {
|
||||
{name = "door_open", enable = false}, -- Disable the door_open entity set
|
||||
{name = "door_closed", enable = true} -- Enable the door_closed entity set
|
||||
}
|
||||
}, {
|
||||
name = "Laundromat Dollar Pills Banyon Canyon",
|
||||
coords = vector3(-3062.18, 630.528, 8.03883),
|
||||
ipl = "tstudio_laundromat_bc",
|
||||
entitySets = {
|
||||
{name = "door_open", enable = true}, -- Enable the door_open entity set
|
||||
{name = "door_closed", enable = false} -- Disable the door_closed entity set
|
||||
}
|
||||
}, {
|
||||
name = "Jurassic Jackpot",
|
||||
coords = vector3(-247.246368, -919.344238, 40.5292854),
|
||||
ipl = "johanni_jurassic_jackpot_milo",
|
||||
entitySets = {
|
||||
{name = "casino_table_yes_w_car_podium", enable = true}, -- Enable the casino_table_yes_w_car_podium entity set
|
||||
{name = "casino_table_no_w_car_podium", enable = false}, -- Enable the casino_table_no_w_car_podium entity set
|
||||
{name = "casino_table_yes", enable = false}, -- Enable the casino_table_yes entity set
|
||||
{name = "casino_table_no", enable = false} -- Disable the casino_table_no entity set
|
||||
}
|
||||
}, {
|
||||
name = "VHotel Estate",
|
||||
coords = vector3(-1354.21887, -1071.3999, 9.128438),
|
||||
ipl = "johanni_vhotel_milo_",
|
||||
entitySets = {
|
||||
{name = "r16_casino_slots_on", enable = true}, -- Enable the casino slots entity set
|
||||
{name = "r2_r3_pool_tables_on", enable = true} -- Enable the pool tables entity set
|
||||
}
|
||||
}, {
|
||||
name = "Fleeca Bank Vinewood",
|
||||
coords = vector3(-355.435852, -48.5326, 48.1063843),
|
||||
ipl = "uniqx_flecca_l1_milo_",
|
||||
entitySets = {
|
||||
{name = "fleeca_vaultprops", enable = true}, -- Enable the casino slots entity set
|
||||
}
|
||||
}, {
|
||||
name = "Fleeca Bank Vinewood (Lower Level)",
|
||||
coords = vector3(309.74646, -277.644165, 53.2345963),
|
||||
ipl = "uniqx_flecca_l2_milo_",
|
||||
entitySets = {
|
||||
{name = "fleeca_vaultprops", enable = true}, -- Enable the casino slots entity set
|
||||
}
|
||||
}, {
|
||||
name = "Fleeca Bank Legion Square",
|
||||
coords = vector3(145.416824, -1039.277, 28.4378834),
|
||||
ipl = "uniqx_flecca_l3_milo_",
|
||||
entitySets = {
|
||||
{name = "fleeca_vaultprops", enable = true}, -- Enable the casino slots entity set
|
||||
}
|
||||
}, {
|
||||
name = "Fleeca Bank Movie Studio",
|
||||
coords = vector3(-1216.7616, -333.000763, 36.85084),
|
||||
ipl = "uniqx_flecca_l4_milo_",
|
||||
entitySets = {
|
||||
{name = "fleeca_vaultprops", enable = true}, -- Enable the casino slots entity set
|
||||
}
|
||||
}, {
|
||||
name = "Fleeca Bank East Highway",
|
||||
coords = vector3(-2962.59131, 478.238037, 14.7668953),
|
||||
ipl = "uniqx_flecca_l5_milo_",
|
||||
entitySets = {
|
||||
{name = "fleeca_vaultprops", enable = true}, -- Enable the casino slots entity set
|
||||
}
|
||||
}, {
|
||||
name = "Fleeca Bank Sandy Shores",
|
||||
coords = vector3(1179.74475, 2706.985, 37.15784),
|
||||
ipl = "uniqx_flecca_l6_milo_",
|
||||
entitySets = {
|
||||
{name = "fleeca_vaultprops", enable = true}, -- Enable the casino slots entity set
|
||||
}
|
||||
},
|
||||
-- #########################################
|
||||
-- Pearls Resort Entity Set Configuration
|
||||
-- #########################################
|
||||
{
|
||||
name = "Villa Small Interior 01",
|
||||
coords = vector3(-1919.861694, -1461.563599, 2.169187),
|
||||
ipl = "tstudio_jhn_resort_int_villa_s_01_milo_",
|
||||
entitySets = {
|
||||
{name = "villa_s_props_yes", enable = true}, -- Enable this entity set
|
||||
{name = "villa_s_props_no", enable = false} -- Disable this entity set
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "Villa Small Interior 02",
|
||||
coords = vector3(-1938.779663, -1500.747437, 2.169187),
|
||||
ipl = "tstudio_jhn_resort_int_villa_s_02_milo_",
|
||||
entitySets = {
|
||||
{name = "villa_s_props_yes", enable = true}, -- Enable this entity set
|
||||
{name = "villa_s_props_no", enable = false} -- Disable this entity set
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "Villa Small Interior 03",
|
||||
coords = vector3(-1964.696533, -1518.412964, 2.169187),
|
||||
ipl = "tstudio_jhn_resort_int_villa_s_03_milo_",
|
||||
entitySets = {
|
||||
{name = "villa_s_props_yes", enable = true}, -- Enable this entity set
|
||||
{name = "villa_s_props_no", enable = false} -- Disable this entity set
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "Villa Small Interior 04",
|
||||
coords = vector3(-1994.894653, -1474.635742, 2.169187),
|
||||
ipl = "tstudio_jhn_resort_int_villa_s_04_milo_",
|
||||
entitySets = {
|
||||
{name = "villa_s_props_yes", enable = true}, -- Enable this entity set
|
||||
{name = "villa_s_props_no", enable = false} -- Disable this entity set
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "Villa Small Interior 05",
|
||||
coords = vector3(-1969.661743, -1458.650879, 2.169187),
|
||||
ipl = "tstudio_jhn_resort_int_villa_s_05_milo_",
|
||||
entitySets = {
|
||||
{name = "villa_s_props_yes", enable = true}, -- Enable this entity set
|
||||
{name = "villa_s_props_no", enable = false} -- Disable this entity set
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "Villa Small Interior 06",
|
||||
coords = vector3(-2050.360840, -1427.984985, 2.169187),
|
||||
ipl = "tstudio_jhn_resort_int_villa_s_06_milo_",
|
||||
entitySets = {
|
||||
{name = "villa_s_props_yes", enable = true}, -- Enable this entity set
|
||||
{name = "villa_s_props_no", enable = false} -- Disable this entity set
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "Villa Small Interior 07",
|
||||
coords = vector3(-2038.969727, -1400.422729, 2.169187),
|
||||
ipl = "tstudio_jhn_resort_int_villa_s_07_milo_",
|
||||
entitySets = {
|
||||
{name = "villa_s_props_yes", enable = true}, -- Enable this entity set
|
||||
{name = "villa_s_props_no", enable = false} -- Disable this entity set
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "Villa Small Interior 08",
|
||||
coords = vector3(-2098.611572, -1406.019897, 2.169187),
|
||||
ipl = "tstudio_jhn_resort_int_villa_s_08_milo_",
|
||||
entitySets = {
|
||||
{name = "villa_s_props_yes", enable = true}, -- Enable this entity set
|
||||
{name = "villa_s_props_no", enable = false} -- Disable this entity set
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "Villa Small Interior 09",
|
||||
coords = vector3(-2085.950684, -1377.324097, 2.169187),
|
||||
ipl = "tstudio_jhn_resort_int_villa_s_09_milo_",
|
||||
entitySets = {
|
||||
{name = "villa_s_props_yes", enable = true}, -- Enable this entity set
|
||||
{name = "villa_s_props_no", enable = false} -- Disable this entity set
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "Villa Small Interior 10",
|
||||
coords = vector3(-2050.601318, -1351.971924, 2.169187),
|
||||
ipl = "tstudio_jhn_resort_int_villa_s_10_milo_",
|
||||
entitySets = {
|
||||
{name = "villa_s_props_yes", enable = true}, -- Enable this entity set
|
||||
{name = "villa_s_props_no", enable = false} -- Disable this entity set
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "Villa Large Interior 01",
|
||||
coords = vector3(-2062.492920, -1498.251099, 2.171660),
|
||||
ipl = "tstudio_jhn_resort_int_villa_l_01_milo_",
|
||||
entitySets = {
|
||||
{name = "villa_l_props_yes", enable = true}, -- Enable this entity set
|
||||
{name = "villa_s_props_no", enable = false} -- Disable this entity set
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "Villa Large Interior 02",
|
||||
coords = vector3(-2013.281982, -1518.893188, 2.171660),
|
||||
ipl = "tstudio_jhn_resort_int_villa_l_02_milo_",
|
||||
entitySets = {
|
||||
{name = "villa_l_props_yes", enable = true}, -- Enable this entity set
|
||||
{name = "villa_s_props_no", enable = false} -- Disable this entity set
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "Villa Large Interior 03",
|
||||
coords = vector3(-2090.989990, -1453.017822, 2.171660),
|
||||
ipl = "tstudio_jhn_resort_int_villa_l_03_milo_",
|
||||
entitySets = {
|
||||
{name = "villa_l_props_yes", enable = true}, -- Enable this entity set
|
||||
{name = "villa_s_props_no", enable = false} -- Disable this entity set
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "Pearls Restaurant",
|
||||
coords = vector3(-1934.319580, -1334.520142, 2.050076),
|
||||
ipl = "tstudio_jhn_resort_int_pearls_milo_",
|
||||
entitySets = {
|
||||
{name = "casino_table_slots_wheel_yes", enable = true}, -- Enable this entity set
|
||||
{name = "enable_3d_logos", enable = true}, -- Enable this entity set
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
PrivacySwitch = {
|
||||
positions = {
|
||||
vector3(306.003, -568.511, 63.181), -- Office 1
|
||||
vector3(305.963, -568.432, 67.184), -- Office 2
|
||||
vector3(306.056, -568.902, 59.229) -- etc.
|
||||
},
|
||||
entitySetA = "r7_privacy_off",
|
||||
entitySetB = "r7_privacy_on",
|
||||
marker = {type = 6, r = 19, g = 87, b = 66, alpha = 100},
|
||||
range = 2
|
||||
},
|
||||
|
||||
-- CompatibilityPatches define fixes for specific combinations of maps
|
||||
CompatibilityPatches = {
|
||||
-- ===========================================
|
||||
-- TStudio Maps Compatibility Patches
|
||||
-- ===========================================
|
||||
{
|
||||
name = "Fix for Opium Nights & LSI Square",
|
||||
requiredMaps = {"tstudio_opium_nights", "tstudio_lsi_square"},
|
||||
fixResource = "tstudio_zpatch_opium_lsis" -- Resource to apply the fix
|
||||
}, {
|
||||
name = "Fix for Opium Nights & Bennys Racetrack",
|
||||
requiredMaps = {"tstudio_opium_nights", "tstudio_bennys_racetrack"},
|
||||
fixResource = "tstudio_zpatch_opium_racetrack" -- Resource to apply the fix
|
||||
}, {
|
||||
name = "Fix for Opium Nights, Bennys Racetrack & LSI Square",
|
||||
requiredMaps = {
|
||||
"tstudio_opium_nights", "tstudio_lsi_square",
|
||||
"tstudio_bennys_racetrack"
|
||||
},
|
||||
fixResource = "tstudio_zpatch_opium_racetrack_lsis" -- Resource to apply the fix
|
||||
}, {
|
||||
name = "Fix for Missionrowpark, Kebabking, Tropical Heights & Legion",
|
||||
requiredMaps = {
|
||||
"tstudio_missionrow_park", "tstudio_legionsquare",
|
||||
"tstudio_tropical_heights", "tstudio_kebabking"
|
||||
},
|
||||
fixResource = "tstudio_zpatch_mrpark_kebab_th_ls" -- Resource to apply the fix
|
||||
}, {
|
||||
name = "Fix for Missionrowpark, Kebabking & Tropical Heights",
|
||||
requiredMaps = {
|
||||
"tstudio_missionrow_park", "tstudio_kebabking",
|
||||
"tstudio_tropical_heights"
|
||||
},
|
||||
fixResource = "tstudio_zpatch_mrpark_kebab_th" -- Resource to apply the fix
|
||||
}, {
|
||||
name = "Fix for Missionrowpark & Tropical Heights",
|
||||
requiredMaps = {
|
||||
"tstudio_missionrow_park", "tstudio_tropical_heights"
|
||||
},
|
||||
fixResource = "tstudio_zpatch_mrpark_th" -- Resource to apply the fix
|
||||
}, {
|
||||
name = "Fix for Missionrowpark, Legion & Tropical Heights",
|
||||
requiredMaps = {
|
||||
"tstudio_missionrow_park", "tstudio_tropical_heights",
|
||||
"tstudio_legionsquare"
|
||||
},
|
||||
fixResource = "tstudio_zpatch_mrpark_th_ls" -- Resource to apply the fix
|
||||
}, {
|
||||
name = "Fix for Missionrowpark, Kebabking & Legion",
|
||||
requiredMaps = {
|
||||
"tstudio_missionrow_park", "tstudio_kebabking",
|
||||
"tstudio_legionsquare"
|
||||
},
|
||||
fixResource = "tstudio_zpatch_mrpark_kebab_ls" -- Resource to apply the fix
|
||||
}, {
|
||||
name = "Fix for Missionrowpark & Legion",
|
||||
requiredMaps = {"tstudio_missionrow_park", "tstudio_legionsquare"},
|
||||
fixResource = "tstudio_zpatch_mrpark_ls" -- Resource to apply the fix
|
||||
}, {
|
||||
name = "Fix for Missionrowpark & Reds Tuner",
|
||||
requiredMaps = {"tstudio_missionrow_park", "tstudio_redstuner"},
|
||||
fixResource = "tstudio_zpatch_mrpark_reds" -- Resource to apply the fix
|
||||
}, {
|
||||
name = "Fix for Missionrowpark, Kebabking",
|
||||
requiredMaps = {"tstudio_missionrow_park", "tstudio_kebabking"},
|
||||
fixResource = "tstudio_zpatch_mrpark_kebab" -- Resource to apply the fix
|
||||
}, {
|
||||
name = "Fix for Impound & Carrent",
|
||||
requiredMaps = {"tstudio_impound", "tstudio_carrent"},
|
||||
fixResource = "tstudio_zpatch_impound_carrent" -- Resource to apply the fix
|
||||
}, {
|
||||
name = "Fix for Missionrowpark & Impound",
|
||||
requiredMaps = {"tstudio_missionrow_park", "tstudio_impound"},
|
||||
fixResource = "tstudio_zpatch_mrpark_impound" -- Resource to apply the fix
|
||||
}, {
|
||||
name = "Fix for Legion Garage & Kebab",
|
||||
requiredMaps = {"tstudio_legionsquare_garage", "tstudio_kebabking"},
|
||||
fixResource = "tstudio_zpatch_garage_kebab" -- Resource to apply the fix
|
||||
}, {
|
||||
name = "Fix for Pillbox, Legion Garage & Kebab",
|
||||
requiredMaps = {
|
||||
"tstudio_pillbox_md", "tstudio_legionsquare_garage",
|
||||
"tstudio_kebabking"
|
||||
},
|
||||
fixResource = "tstudio_zpatch_pillbox_garage_kebab" -- Resource to apply the fix
|
||||
}, {
|
||||
name = "Fix for Pillbox & Legion Garage",
|
||||
requiredMaps = {"tstudio_pillbox_md", "tstudio_legionsquare_garage"},
|
||||
fixResource = "tstudio_zpatch_pillbox_garage" -- Resource to apply the fix
|
||||
}, {
|
||||
name = "Fix for Pillbox & Kebab",
|
||||
requiredMaps = {"tstudio_pillbox_md", "tstudio_kebabking"},
|
||||
fixResource = "tstudio_zpatch_pillbox_kebab" -- Resource to apply the fix
|
||||
}, {
|
||||
name = "Fix for Pillbox & Kebab",
|
||||
requiredMaps = {"tstudio_pillbox_md", "tstudio_kebabking"},
|
||||
fixResource = "tstudio_zpatch_pillbox_kebab" -- Resource to apply the fix
|
||||
},
|
||||
{
|
||||
name = "Fix for Mission Row Park & Jurassic Jackpot",
|
||||
requiredMaps = {"tstudio_jurassic_jackpot", "tstudio_missionrow_park"},
|
||||
fixResource = "tstudio_zpatch_mrpark_jj",
|
||||
},
|
||||
{
|
||||
name = "Fix for Aldente's & VHotel",
|
||||
requiredMaps = {"tstudio_aldentes", "tstudio_vhotel_estate"},
|
||||
fixResource = "tstudio_zpatch_aldentes_vhotel"
|
||||
},
|
||||
{
|
||||
name = "Fix for Paleto Bewo & Paleto Cardealer & Taxi",
|
||||
requiredMaps = {"tstudio_paleto_bewo", "tstudio_paleto_cardealer", "tstudio_taxi"},
|
||||
fixResource = "tstudio_zpatch_bw_cardealer_taxi",
|
||||
},
|
||||
{
|
||||
name = "Fix for Ammunation & Gabz PDM",
|
||||
requiredMaps = {"tstudio_ammunation", "cfx-gabz-pdm"},
|
||||
fixResource = "tstudio_zpatch_ammunation_gabz_pdm",
|
||||
},
|
||||
|
||||
-- ===========================================
|
||||
-- Fiv3Devs Maps Compatibility Patches
|
||||
-- ===========================================
|
||||
{
|
||||
name = "Fix for Mission Row Park, Legion Square & Fiv3Devs Pillbox",
|
||||
requiredMaps = {"tstudio_missionrow_park", "tstudio_legionsquare", "fiv3devs_pillbox"},
|
||||
fixResource = "tstudio_zpatch_mrpark_ls_fiv3dev_pillbox"
|
||||
},
|
||||
{
|
||||
name = "Fix for Kebab & Fiv3Devs Pillbox",
|
||||
requiredMaps = {"tstudio_kebabking", "fiv3devs_pillbox"},
|
||||
fixResource = "tstudio_zpatch_kebab_fiv3devs_pillbox"
|
||||
},
|
||||
|
||||
-- ===========================================
|
||||
-- Kiiya Maps Compatibility Patches
|
||||
-- ===========================================
|
||||
|
||||
{ -- This patch is for the Mission Row Park, Legion Square, Tropical Heights & Kiiya MRPD
|
||||
name = "Fix for Mission Row Park, Legion Square, Tropical Heights & Kiiya MRPD",
|
||||
requiredMaps = {"tstudio_missionrow_park", "tstudio_legionsquare", "tstudio_tropical_heights", "kiiya_mrpd"},
|
||||
fixResource = "tstudio_zpatch_mrpark_ls_th_kiiya_mrpd"
|
||||
},
|
||||
{ -- This patch is for the Mission Row Park & Kiiya MRPD
|
||||
name = "Fix for Mission Row Park & Kiiya MRPD",
|
||||
requiredMaps = {"tstudio_missionrow_park", "kiiya_mrpd"},
|
||||
fixResource = "tstudio_zpatch_mrpark_kiiya_mrpd"
|
||||
},
|
||||
{ -- This patch is for the Mission Row Park, Tropical Heights & Kiiya MRPD
|
||||
name = "Fix for Mission Row Park, Tropical Heights & Kiiya MRPD",
|
||||
requiredMaps = {"tstudio_missionrow_park", "tstudio_tropical_heights", "kiiya_mrpd"},
|
||||
fixResource = "tstudio_zpatch_mrpark_th_kiiya_mrpd"
|
||||
},
|
||||
{ -- This patch is for the Kebabking & Kiiya MRPD
|
||||
name = "Fix for Kebabking & Kiiya MRPD",
|
||||
requiredMaps = {"tstudio_kebabking", "kiiya_mrpd"},
|
||||
fixResource = "tstudio_zpatch_kebab_kiiya_mrpd"
|
||||
},
|
||||
{ -- This patch is for the Legion Square, Kebabking & Kiiya MRPD
|
||||
name = "Fix for Legion Square, Kebabking & Kiiya MRPD",
|
||||
requiredMaps = {"tstudio_legionsquare", "tstudio_kebabking", "kiiya_mrpd"},
|
||||
fixResource = "tstudio_zpatch_ls_kebab_kiiya_mrpd"
|
||||
},
|
||||
{ -- This patch is for the Legion Square, Tropical Heights, Kebabking & Kiiya MRPD
|
||||
name = "Fix for Legion Square, Tropical Heights & Kebabking & Kiiya MRPD",
|
||||
requiredMaps = {"tstudio_legionsquare", "tstudio_tropical_heights", "tstudio_kebabking", "kiiya_mrpd"},
|
||||
fixResource = "tstudio_zpatch_ls_th_kebab_kiiya_mrpd"
|
||||
},
|
||||
{ -- This patch is for the Kebabking, Tropical Heights & Kiiya MRPD
|
||||
name = "Fix for Kebabking, Tropical Heights & Kiiya MRPD",
|
||||
requiredMaps = {"tstudio_kebabking", "tstudio_tropical_heights", "kiiya_mrpd"},
|
||||
fixResource = "tstudio_zpatch_kebab_th_kiiya_mrpd"
|
||||
},
|
||||
{ -- This patch is for the Legion Square & Kiiya MRPD
|
||||
name = "Fix for Legion Square & Kiiya MRPD",
|
||||
requiredMaps = {"tstudio_legionsquare", "kiiya_mrpd"},
|
||||
fixResource = "tstudio_zpatch_ls_kiiya_mrpd"
|
||||
},
|
||||
{ -- This patch is for the Legion Square, Tropical Heights & Kiiya MRPD
|
||||
name = "Fix for Legion Square, Tropical Heights & Kiiya MRPD",
|
||||
requiredMaps = {"tstudio_legionsquare", "tstudio_tropical_heights", "kiiya_mrpd"},
|
||||
fixResource = "tstudio_zpatch_ls_th_kiiya_mrpd"
|
||||
},
|
||||
{ -- This patch is for the Tropical Heights & Kiiya MRPD
|
||||
name = "Fix for Tropical Heights & Kiiya MRPD",
|
||||
requiredMaps = {"tstudio_tropical_heights", "kiiya_mrpd"},
|
||||
fixResource = "tstudio_zpatch_th_kiiya_mrpd"
|
||||
},
|
||||
{ -- This patch is for the Mission Row Park, Legionsquare, Kebabking & Kiiya MRPD
|
||||
name = "Fix for Mission Row Park, Legionsquare, Kebabking & Kiiya MRPD",
|
||||
requiredMaps = {"tstudio_missionrow_park", "tstudio_legionsquare", "tstudio_kebabking", "kiiya_mrpd"},
|
||||
fixResource = "tstudio_zpatch_mrpark_ls_kebab_kiiya_mrpd"
|
||||
},
|
||||
{ -- This patch is for the Mission Row Park, Legionsquare, Tropical Heights, Kebabking & Kiiya MRPD
|
||||
name = "Fix for Mission Row Park, Legionsquare, Tropical Heights, Kebabking & Kiiya MRPD",
|
||||
requiredMaps = {"tstudio_missionrow_park", "tstudio_legionsquare", "tstudio_kebabking", "tstudio_tropical_heights", "kiiya_mrpd"},
|
||||
fixResource = "tstudio_zpatch_mrpark_ls_kebab_th_kiiya_mrpd"
|
||||
},
|
||||
{ -- This patch is for the Mission Row Park, Kebabking & Kiiya MRPD
|
||||
name = "Fix for Mission Row Park, Kebabking & Kiiya MRPD",
|
||||
requiredMaps = {"tstudio_missionrow_park", "tstudio_kebabking", "kiiya_mrpd"},
|
||||
fixResource = "tstudio_zpatch_mrpark_kebab_kiiya_mrpd"
|
||||
},
|
||||
{ -- This patch is for the Mission Row Park, Kebabking, Tropical Heights & Kiiya MRPD
|
||||
name = "Fix for Mission Row Park, Kebabking, Tropical Heights & Kiiya MRPD",
|
||||
requiredMaps = {"tstudio_missionrow_park", "tstudio_kebabking", "tstudio_tropical_heights", "kiiya_mrpd"},
|
||||
fixResource = "tstudio_zpatch_mrpark_kebab_th_kiiya_mrpd"
|
||||
},
|
||||
{ -- This patch is for the Mission Row Park, Legionsquare & Kiiya MRPD
|
||||
name = "Fix for Mission Row Park, Legionsquare & Kiiya MRPD",
|
||||
requiredMaps = {"tstudio_missionrow_park", "tstudio_legionsquare", "kiiya_mrpd"},
|
||||
fixResource = "tstudio_zpatch_mrpark_ls_kiiya_mrpd"
|
||||
},
|
||||
|
||||
-- ===========================================
|
||||
-- FM Maps Compatibility Patches
|
||||
-- ===========================================
|
||||
{
|
||||
name = "Fix for Legion Square & FM MRPD",
|
||||
requiredMaps = {"tstudio_legionsquare", "cfx-fm-mrpd"},
|
||||
fixResource = "tstudio_zpatch_ls_fm_mrpd"
|
||||
},
|
||||
{
|
||||
name = "Fix for Mission Row Park & FM MRPD",
|
||||
requiredMaps = {"tstudio_missionrow_park", "cfx-fm-mrpd"},
|
||||
fixResource = "tstudio_zpatch_mrpark_fm_mrpd"
|
||||
},
|
||||
{
|
||||
name = "Fix for Mission Row Park, Legion Square & FM MRPD",
|
||||
requiredMaps = {"tstudio_missionrow_park", "tstudio_legionsquare", "cfx-fm-mrpd"},
|
||||
fixResource = "tstudio_zpatch_mrpark_ls_fm_mrpd"
|
||||
},
|
||||
{
|
||||
name = "Fix for Mission Row Park, Legion Square, Tropical Heights & FM MRPD",
|
||||
requiredMaps = {"tstudio_missionrow_park", "tstudio_legionsquare", "tstudio_tropical_heights", "cfx-fm-mrpd"},
|
||||
fixResource = "tstudio_zpatch_mrpark_ls_th_fm_mrpd"
|
||||
},
|
||||
{
|
||||
name = "Fix for Mission Row Park, Tropical Heights & FM MRPD",
|
||||
requiredMaps = {"tstudio_missionrow_park", "tstudio_tropical_heights", "cfx-fm-mrpd"},
|
||||
fixResource = "tstudio_zpatch_mrpark_th_fm_mrpd"
|
||||
},
|
||||
{
|
||||
name = "Fix for Tropical Heights & FM MRPD",
|
||||
requiredMaps = {"tstudio_tropical_heights", "cfx-fm-mrpd"},
|
||||
fixResource = "tstudio_zpatch_th_fm_mrpd"
|
||||
}
|
||||
},
|
||||
|
||||
-- Section for automatic floor ipl loading configurations
|
||||
FloorConfigs = {
|
||||
pillbox = {
|
||||
resourceName = "tstudio_pillbox_md", -- Added name for debug purposes
|
||||
center = vector3(306.003, -568.511, 63.181), -- Center of the area for checking player position
|
||||
floors = {
|
||||
[0] = {height = 64.159, ipls = {"johanni_pillbox_e03_01_milo_"}},
|
||||
[1] = {height = 68.162, ipls = {"johanni_pillbox_e03_02_milo_"}},
|
||||
[2] = {height = 60.025, ipls = {"johanni_pillbox_e03_03_milo_"}}
|
||||
}
|
||||
},
|
||||
opium = {
|
||||
resourceName = "tstudio_opium_nights", -- Added name for debug purposes
|
||||
center = vector3(-720.0305, -2268.00635, 16.2695923), -- Center of the area for checking player position
|
||||
floors = {
|
||||
[0] = {
|
||||
height = 28.00,
|
||||
ipls = {
|
||||
"johanni_opium_penthouse_e01_milo_",
|
||||
"johanni_opium_hallway_e01_milo_",
|
||||
"johanni_opium_hotel_e01_r01_milo_",
|
||||
"johanni_opium_hotel_e01_r02_milo_",
|
||||
"johanni_opium_hotel_e01_r03_milo_",
|
||||
"johanni_opium_hotel_e01_r04_milo_",
|
||||
"johanni_opium_hotel_e01_r05_milo_",
|
||||
"johanni_opium_hotel_e01_r06_milo_",
|
||||
"johanni_opium_hotel_e01_r07_milo_",
|
||||
"johanni_opium_hotel_e01_r08_milo_",
|
||||
"johanni_opium_hotel_e01_r09_milo_",
|
||||
"johanni_opium_hotel_e01_r10_milo_",
|
||||
"johanni_opium_hotel_e01_r11_milo_",
|
||||
"johanni_opium_hotel_e01_r12_milo_"
|
||||
}
|
||||
},
|
||||
[1] = {
|
||||
height = 38.14,
|
||||
ipls = {
|
||||
"johanni_opium_penthouse_e02_milo_",
|
||||
"johanni_opium_hallway_e02_milo_",
|
||||
"johanni_opium_hotel_e02_r01_milo_",
|
||||
"johanni_opium_hotel_e02_r02_milo_",
|
||||
"johanni_opium_hotel_e02_r03_milo_",
|
||||
"johanni_opium_hotel_e02_r04_milo_",
|
||||
"johanni_opium_hotel_e02_r05_milo_",
|
||||
"johanni_opium_hotel_e02_r06_milo_",
|
||||
"johanni_opium_hotel_e02_r07_milo_",
|
||||
"johanni_opium_hotel_e02_r08_milo_",
|
||||
"johanni_opium_hotel_e02_r09_milo_",
|
||||
"johanni_opium_hotel_e02_r10_milo_",
|
||||
"johanni_opium_hotel_e02_r11_milo_",
|
||||
"johanni_opium_hotel_e02_r12_milo_"
|
||||
}
|
||||
},
|
||||
[2] = {
|
||||
height = 47.04,
|
||||
ipls = {
|
||||
"johanni_opium_penthouse_e03_milo_",
|
||||
"johanni_opium_hallway_e03_milo_",
|
||||
"johanni_opium_hotel_e03_r01_milo_",
|
||||
"johanni_opium_hotel_e03_r02_milo_",
|
||||
"johanni_opium_hotel_e03_r03_milo_",
|
||||
"johanni_opium_hotel_e03_r04_milo_",
|
||||
"johanni_opium_hotel_e03_r05_milo_",
|
||||
"johanni_opium_hotel_e03_r06_milo_",
|
||||
"johanni_opium_hotel_e03_r07_milo_",
|
||||
"johanni_opium_hotel_e03_r08_milo_",
|
||||
"johanni_opium_hotel_e03_r09_milo_",
|
||||
"johanni_opium_hotel_e03_r10_milo_",
|
||||
"johanni_opium_hotel_e03_r11_milo_",
|
||||
"johanni_opium_hotel_e03_r12_milo_"
|
||||
}
|
||||
},
|
||||
[3] = {
|
||||
height = 55.88,
|
||||
ipls = {
|
||||
"johanni_opium_penthouse_e04_milo_",
|
||||
"johanni_opium_hallway_e04_milo_",
|
||||
"johanni_opium_hotel_e04_r01_milo_",
|
||||
"johanni_opium_hotel_e04_r02_milo_",
|
||||
"johanni_opium_hotel_e04_r03_milo_",
|
||||
"johanni_opium_hotel_e04_r04_milo_",
|
||||
"johanni_opium_hotel_e04_r05_milo_",
|
||||
"johanni_opium_hotel_e04_r06_milo_",
|
||||
"johanni_opium_hotel_e04_r07_milo_",
|
||||
"johanni_opium_hotel_e04_r08_milo_",
|
||||
"johanni_opium_hotel_e04_r09_milo_",
|
||||
"johanni_opium_hotel_e04_r10_milo_",
|
||||
"johanni_opium_hotel_e04_r11_milo_",
|
||||
"johanni_opium_hotel_e04_r12_milo_"
|
||||
}
|
||||
},
|
||||
[4] = {
|
||||
height = 64.55,
|
||||
ipls = {
|
||||
"johanni_opium_penthouse_e05_milo_",
|
||||
"johanni_opium_hallway_e05_milo_",
|
||||
"johanni_opium_hotel_e05_r01_milo_",
|
||||
"johanni_opium_hotel_e05_r02_milo_",
|
||||
"johanni_opium_hotel_e05_r03_milo_",
|
||||
"johanni_opium_hotel_e05_r04_milo_",
|
||||
"johanni_opium_hotel_e05_r05_milo_",
|
||||
"johanni_opium_hotel_e05_r06_milo_",
|
||||
"johanni_opium_hotel_e05_r07_milo_",
|
||||
"johanni_opium_hotel_e05_r08_milo_",
|
||||
"johanni_opium_hotel_e05_r09_milo_",
|
||||
"johanni_opium_hotel_e05_r10_milo_",
|
||||
"johanni_opium_hotel_e05_r11_milo_",
|
||||
"johanni_opium_hotel_e05_r12_milo_"
|
||||
}
|
||||
},
|
||||
[5] = {
|
||||
height = 73.35,
|
||||
ipls = {
|
||||
"johanni_opium_penthouse_e06_milo_",
|
||||
"johanni_opium_hallway_e06_milo_",
|
||||
"johanni_opium_hotel_e06_r01_milo_",
|
||||
"johanni_opium_hotel_e06_r02_milo_",
|
||||
"johanni_opium_hotel_e06_r03_milo_",
|
||||
"johanni_opium_hotel_e06_r04_milo_",
|
||||
"johanni_opium_hotel_e06_r05_milo_",
|
||||
"johanni_opium_hotel_e06_r06_milo_",
|
||||
"johanni_opium_hotel_e06_r07_milo_",
|
||||
"johanni_opium_hotel_e06_r08_milo_",
|
||||
"johanni_opium_hotel_e06_r09_milo_",
|
||||
"johanni_opium_hotel_e06_r10_milo_",
|
||||
"johanni_opium_hotel_e06_r11_milo_",
|
||||
"johanni_opium_hotel_e06_r12_milo_"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
-- Interior blocking configurations
|
||||
-- Each interior can be configured with the following properties:
|
||||
-- coords: The coordinates of the interior
|
||||
-- interiorName: The name of the interior to disable
|
||||
-- enabled: Whether this interior blocking is enabled
|
||||
-- resourceDependency: (Optional) Only disable this interior if the specified resource is started
|
||||
-- This prevents breaking default interiors when custom resources aren't loaded
|
||||
Interiors = {
|
||||
["tstudio_tattoo_studio"] = {
|
||||
[1] = { enabled = true, name = "v_tattoo", coords = vec3(-3171.2937, 1076.24451, 19.8303947) },
|
||||
[2] = { enabled = true, name = "v_tattoo", coords = vec3(322.967865, 181.942917, 102.587761) },
|
||||
[3] = { enabled = true, name = "v_tattoo", coords = vec3(1323.765, -1653.43164, 51.27684) },
|
||||
[4] = { enabled = true, name = "v_tattoo", coords = vec3(-1153.18408, -1427.0127, 3.955685) },
|
||||
},
|
||||
["tstudio_ammunation"] = {
|
||||
[1] = { enabled = true, name = "v_gun", coords = vec3(821.144043, -2154.8916, 28.61892) }, -- Cypress
|
||||
[2] = { enabled = true, name = "v_gun2", coords = vec3(843.2987, -1028.10669, 27.1947746) }, -- LaMesa
|
||||
[3] = { enabled = true, name = "v_gun", coords = vec3(10.9070005, -1105.65833, 28.7969322) }, -- Legion
|
||||
[4] = { enabled = true, name = "v_gun2", coords = vec3(247.371582, -47.245163, 68.9409943) }, -- Hawick
|
||||
[5] = { enabled = true, name = "v_gun2", coords = vec3(-1310.87659, -392.009644, 35.6957169) }, -- MorningWood
|
||||
[6] = { enabled = true, name = "v_gun2", coords = vec3(-663.1717, -940.758057, 20.8291473) }, -- Little Seoul
|
||||
[7] = { enabled = true, name = "v_gun2", coords = vec3(-3167.29614, 1084.70984, 19.8386574) }, -- Chumash
|
||||
[8] = { enabled = true, name = "v_gun2", coords = vec3(2568.834, 299.788116, 107.734818) }, -- East Highway
|
||||
[9] = { enabled = true, name = "v_gun2", coords = vec3(1696.95251, 3755.445, 33.7052574) }, -- Sandy Shores
|
||||
[10] = { enabled = true, name = "v_gun2", coords = vec3(-327.1706, 6079.257, 30.4546967) }, -- Paleto Bay
|
||||
[11] = { enabled = true, name = "v_gun2", coords = vec3(-1114.84509, 2693.80957, 17.55406) } -- Route 68
|
||||
},
|
||||
["tstudio_fleeca"] = {
|
||||
[1] = { enabled = true, name = "v_genbank", coords = vec3(-355.435852, -48.5326, 48.1063843) }, -- Vinewood
|
||||
[2] = { enabled = true, name = "v_genbank", coords = vec3(309.74646, -277.644165, 53.2345963) }, -- Vinewood (Lower Level)
|
||||
[3] = { enabled = true, name = "v_genbank", coords = vec3(145.416824, -1039.277, 28.4378834) }, -- Legion Square
|
||||
[4] = { enabled = true, name = "v_genbank", coords = vec3(-1216.7616, -333.000763, 36.85084) }, -- Movie Studio
|
||||
[5] = { enabled = true, name = "hei_generic_bank_dlc", coords = vec3(-2962.59131, 478.238037, 14.7668953) }, -- West Highway
|
||||
[6] = { enabled = true, name = "v_genbank", coords = vec3(1179.74475, 2706.985, 37.15784) } -- Sandy Shores
|
||||
},
|
||||
["tstudio_pillbox_md"] = {
|
||||
[1] = { enabled = true, name = "rc12b_default", ipl = "rc12b_default", coords = vec3(307.1680, -590.807, 43.280) }, -- Pillbox Hill
|
||||
},
|
||||
}
|
||||
}
|
46
resources/[defaultmaps]/tstudio_zmapdata/fxmanifest.lua
Normal file
46
resources/[defaultmaps]/tstudio_zmapdata/fxmanifest.lua
Normal file
|
@ -0,0 +1,46 @@
|
|||
fx_version 'cerulean'
|
||||
lua54 'yes'
|
||||
game "gta5"
|
||||
|
||||
author 'TStudio - mandatory mapdata'
|
||||
description 'TStudio Mapdata - important for TStudio maps'
|
||||
version '1.0'
|
||||
|
||||
this_is_a_map 'yes'
|
||||
|
||||
dependencies {
|
||||
'/server:4960', -- ⚠️PLEASE READ⚠️; Requires at least SERVER build 4960.
|
||||
'/gameBuild:2545', -- ⚠️PLEASE READ⚠️; Requires at least GAME build 2545.
|
||||
}
|
||||
|
||||
data_file 'TIMECYCLEMOD_FILE' 'tstudio_timecycles.xml'
|
||||
|
||||
shared_scripts {
|
||||
'config.lua',
|
||||
'utils/utils.lua',
|
||||
'utils/misc.lua',
|
||||
}
|
||||
|
||||
client_scripts {
|
||||
'client/activate_ipl.lua',
|
||||
'client/entitysets_loader.lua',
|
||||
'client/ipl_blocker.lua',
|
||||
'client/privacy_glass.lua',
|
||||
}
|
||||
|
||||
server_scripts {
|
||||
'server/patch_loader.lua',
|
||||
'server/resource_monitor.lua',
|
||||
}
|
||||
|
||||
files {
|
||||
'tstudio_timecycles.xml',
|
||||
}
|
||||
|
||||
escrow_ignore {
|
||||
'stream/*/*.*',
|
||||
'locales/*.lua',
|
||||
'config.lua',
|
||||
}
|
||||
|
||||
dependency '/assetpacks'
|
BIN
resources/[defaultmaps]/tstudio_zmapdata/server/patch_loader.lua
Normal file
BIN
resources/[defaultmaps]/tstudio_zmapdata/server/patch_loader.lua
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue