(Added warning) Tag: Visual edit |
No edit summary Tag: Visual edit |
||
Line 43: | Line 43: | ||
[[File:Modding Structure 2.png|frameless|622x622px]]<br /><br />'''Note''': The ZIP name can be anything you like. |
[[File:Modding Structure 2.png|frameless|622x622px]]<br /><br />'''Note''': The ZIP name can be anything you like. |
||
<br /> |
<br /> |
||
+ | <br /> |
||
− | == Service overview == |
+ | == LUA API Service overview == |
Exor uses services in the game code, a command overview: |
Exor uses services in the game code, a command overview: |
||
Line 76: | Line 77: | ||
*[[Mod service: UnitSpawnerService|UnitSpawnerService]] |
*[[Mod service: UnitSpawnerService|UnitSpawnerService]] |
||
*[[Mod service: WeaponService|WeaponService]] |
*[[Mod service: WeaponService|WeaponService]] |
||
− | |||
− | |||
Revision as of 17:05, 2 May 2021
The Riftbreaker does support modding.
How to do it and where to get assistance is written below.
Attention
Modding can influence your game experience and, as the mods get created by community members, may also contain viruses/malware etc.
Exor Studios can not control nor monitor all the files available for download - everyone should check the downloaded content themself.
Use at your own risk
Tools
- 7zip (Winrar does not work)
Modding structure
Instead of putting all modded files into the original game zip it's recommended to use the mod structure.
How it works
Every ZIP that gets added to the folder "steamapps\common\The Riftbreaker Prologue\packs" overwrites the inside of the original game ZIP-File of "00_win_data".
If you have mutiple ZIPs (or mods) the game merges them all together, a-z priority. So be aware if some mods change the same content.
As the game simply overwrites the original files, we can create a new ZIP-file and recreate the folder structure inside the original "00_win_data" to overwrite the original content.
To unzip the original ZIP and look around or create your own ZIP it is necessary to use 7zip as something like Winrar does not work.
Example
If you create 01_win_data.zip
and put your files here with the same folder structure as in the original zip, the game will overwrite the original files and your version will be used.
So if you change values of the blaster entity in the path "...\00_win_data_\entities\items\weapons\blaster.ent" you have to create the same folder structure (entities\items\weapons\) inside your 01_win_data.zip and place your modified file in there.
As a result you have a tiny ZIP-File with nothing but 1 folder path leading to your blaster file.
That modded ZIP is now placed next to the original game ZIPs and should look like this:
Note: The ZIP name can be anything you like.
LUA API Service overview
Exor uses services in the game code, a command overview:
- AcidRainService
- AnimationService
- BuildingService
- CameraService
- CampaignService
- ConsoleService
- DifficultyService
- EarthquakeService
- EffectService
- EntityService
- EnvironmentService
- FindService
- GameStreamingService
- GuiService
- HealthService
- ItemService
- LampService
- LogService
- MeteorService
- MissionService
- MoveService
- ObjectiveService
- PlayerService
- ResourceService
- RiftbreakerEntityService
- SoundService
- TornadoService
- UnitService
- UnitSpawnerService
- WeaponService
To call such a service it would look like this as an example (Using the ItemService):
ItemService:SetActivationStatus(Exor::Entity ent, bool value)
Mod examples
Listed here are some examples of what could be done with modding
Easy
Hard
- NA
Mod manager
The Riftbreaker will most probably get an official mod manager.
No further information is currently known.
Available mods
All available mods are currently pinned to the modding channel in the discord: #rb-modding
It is not recommended to download or use mods from other sources than the official Discord.
Support
Need help or inspiration creating mods?
The official discord has a modding channel just for this topic: #rb-modding .