can you reupload this mod and use something normal like google drive which won't expire and try to charge me money
thanks!
Should this mod make your factions in the ko-combine mod participate in Nexerelin?
because they don't for me.
How do I make my mod compatible with Nexerelin?
There are a few things you need to do.
(note: add needed files and csv entries in your own mod, so you don't need a new Nexerelin release before your mod becomes Nexerelin compatible)
1) Stop it from crashing
Your sector generation code should have something like this:Code: javaIf you don't want to import Nexerelin as a library, you can check for random sector at the new game stage by checking if Corvus (or some other vanilla system/planet) exists.import exerelin.campaign.SectorManager;
/*[...]*/
public class MyModPlugin {
@Override
public void onNewGame()
{
boolean haveNexerelin = Global.getSettings().getModManager().isModEnabled("nexerelin");
if (!haveNexerelin || SectorManager.getManager().isCorvusMode())
new MySectorGen().generate(Global.getSector());
}
/*[...]*/
}
Be careful with any code that targets a specific planet or star system by name! Make sure you disable it in non-Corvus mode, and don't assume a given planet will always belong to its original owner.
2) Add your faction to the list
Open data/config/exerelinFactionConfig and make a .json file with the name of your faction. Actually, copypaste one of the existing ones, like Templars, because it’s faster that way.
Now open your new file and edit it. See this page (https://github.com/Histidine91/Nexerelin/wiki/FactionConfig) for details on the various tags and what they do.
Then make a copy of data/config/exerelinFactionConfig/mod_factions.csv in your mod. Edit this copy to contain your faction(s) (and only yours; the other factions should remain in Nexerelin's master copy).
3) Non-random sector support
Copy corvus_spawnpoints.csv in the same way and have the file contain appropriate entries for your faction. This tells Nexerelin where to spawn the player at start.
have you made nex config files for the factions and followed his FAQ?
Can you make it possible to run Angry Periphery without needing to run KoC?