Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/05/21 in Files

  1. Version 1.0.1

    370 downloads

    Get the latest release always from: https://github.com/test137E29B/RPF-Packager/releases A utility for automatically creating RPF files for Map Mods. This will not work for vehicle mods (yet) This tool uses PKG for NodeJS, so you will not need to install everything. Usage (from GitHub README file): In the input folder, create a folder with the name you want your DLC Pack to have, for example MYDLCPack. This has to be unique as it'll be used as the DLC hashname etc. In your newly created folder, create a folder called interior (or int). This is where you will place all your files for MLO Interiors. Do not place non-MLO files in here. In your newly created folder, create a folder called props. This is where you will place all your files for regular maps (such as ymaps in the world). Do not place MLO interior files in here. You will need a correctly generated _manifest file no matter which you are using, you can create this with CodeWalker. Run index.exe to package your DLC Pack (You can create multiple folders and package multiple DLC Packs at once!). The Max size of this DLCPack is 4GB - you can package multiple packs together in a single DLCPack if you like! In output you will find your folder with a dlc.rpf inside of it. The tool will have automatically generated all the files it needs, so you do not need to edit this rpf! It doesn't work and crashes! Make sure you have a valid _manifest file - you can create one in CodeWalker. Without this file, the DLCPack will either crash or not load. Other issues causing crashes are usually the map, and not the DLCPack structure created by this helper.
    1 point
  2. Version 1.1.0

    745 downloads

    Description: This resources provides the ability to create/control sound in 3D via custom API. A slightly redesigned version of the Sound API, with real synced 3d effect. API: // Client-side mp.game.audio.playSound3D(veh_id, url, range, volume, track_length) /* * veh_id: int(Required) [Vehicle RemoteID] * url: string (Required) [Links and local package:// protocol are supported] * range: int (Optional, Default: 60) * volume: int (Optional, Default: 1) [Range: 0 to 1] * track_length: int (Optional, Default: 180) [Current track length in seconds] */ /// EVENTS: // (Client) /* * EventName: audioFinish * params: soundID (Vehicle's RemoteID that is finished Playing) */ /* * EventName: audioError * params: soundID (Vehicle's RemoteID that had error), errorObject {code: 'error code', error: 'error description'} */ // (Server) /* * EventName: sound:create * params: id, (Vehicle's RemoteID) url, range, volume, track_length */ /* * EventName: sound:destroy * params: id (Vehicle's RemoteID) */ /* * EventName: sound:pause * params: id (Vehicle's RemoteID) */ /* * EventName: sound:resume * params: id (Vehicle's RemoteID) */ /* * EventName: sound:setVolume * params: id (Vehicle's RemoteID), volume */ // Example let vehicleId = mp.players.local.vehicle.remoteId; mp.game.audio.playSound3D(vehicleId, 'http://rfcmedia.streamguys1.com/MusicPulse.mp3', 20, 1, 60); mp.events.callRemote('sound:pause', vehicleId); mp.events.callRemote('sound:resume', vehicleId); mp.events.callRemote('sound:destroy', vehicleId); If you have any issues or suggestions, you know the usual routine. Credits: - Thanks to Captien for his 3D sound API. Media:
    1 point
  3. Version 1.0.0

    122 downloads

    This resource introduces new types of synced data variables along with entity.setVariable and entity.setOwnVariable to lower the affected user with syncing such data to a certain scope. Stream variables: Introduces synced data variables across streamed entities. The entity provides his data to the streamed clients and the vice versa. Dimensional variables: Introduces synced data variables across a dimension. The entity provides data to all clients in the dimension with a option to have a persistent data mode which keeps the data synced across multi dimension change. Note: Dimensional variables won't operate properly if you don't use its custom function entity.setDimension due to some complications that couldn't be sorted out. More information about the API usage can be found in github repo. This resource was a collaboration with me and @materiawith a vision to release a series of open sourced resources later on.
    1 point
×
×
  • Create New...