Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2 3 ... 233

Author Topic: [0.9.1a] Nexerelin v0.9.8b "Job Specialization" (hotfix 2021-02-11)  (Read 1447538 times)

Histidine

  • Admiral
  • *****
  • Posts: 2878
    • View Profile
    • Bitbucket profile
    • Email


(explanation)

Nexerelin v0.9.8b

Requires LazyLib
Integrated with Version Checker

Download

Previous downloads

On Nexus
Git repository

Make sure to delete your old Nexerelin folder before installing a new full version!

Having problems?  Visit the Mod Troubleshooting Guide!

Features
  • 4X game features in Starsector
    • Factions will wage war against each other and try to conquer their enemies
    • Diplomacy events see faction relationships changing over time
    • Join a faction to gain useful support and represent them in war and peace, or start your own
    • Alliances offer mutual assistance in times of war
    • Planet descriptions can change as territory is won and lost (in development)
  • More things to do
    • Mine planets and asteroids for useful resources for trade, or some treasure
    • Use agents to subvert other factions to your own ends
    • Requisition fleets from your colonies to carry out tasks
    • Pay tribute for the right to infringe on factions' territory
    • Bring aid to troubled worlds to keep them from decivilization
    • Turn in prisoners for reputation or cash
    • Browse the Prism Freeport for rare and pricey ships
    • Construct remote outposts to aid exploration
  • More events
    • Remnant raids
    • Relief fleets
    • Vengeance fleets
  • New starting options
    • Play in a randomly generated Sector, or travel the star systems seen in vanilla and other mods
    • Begin your journey with a range of starting factions and ships
  • Gameplay tweaks
    • Befriend pirates to lower the effects of their activity on your colonies
    • Lower tariffs on trade
    • ...and more enhancements

Report issues on GitHub

Quick help
Alliances
Mining
Faction config files

FAQ
Spoiler
What is this?
This is my personal fork of Exerelin, given its own thread because I wanted to be able to maintain my own OP. It is essentially a reimplementation of Zaphide's project (and in fact uses it as a codebase), but updated for new Starsector versions. It is compatible with most faction mods.

How do I win the game?
You win when all the other factions are either friendly or better towards your own… or dead.
Other factions can also win in the same way; you get an ally victory if you're at least friendly with whoever wins.

How do I remove a vanilla faction?
Open its faction config in data/config/exerelinFactionConfig and set the playable tag to false.

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)
Spoiler
1) Stop it from crashing
Your sector generation code should have something like this:

Code: java
import exerelin.campaign.SectorManager;
/*[...]*/

public class MyModPlugin {
    @Override
    public void onNewGame()
    {
boolean haveNexerelin = Global.getSettings().getModManager().isModEnabled("nexerelin");
if (!haveNexerelin || SectorManager.getCorvusMode())
    new MySectorGen().generate(Global.getSector());
    }
/*[...]*/
}
If 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.

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 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 data/config/exerelin/corvus_capitals.csv and corvus_spawnpoints.csv in the same way and have them contain appropriate entries for your faction. This tells Nexerelin where to spawn the player at start, and which planet or station changes the system relay's faction when captured.
[close]
[close]

Changelog
Spoiler
v0.9.8b
* Add exerelin_config.json option for player to receive various intel types only once in comm relay range, by NikoTheGuyDude
* Post-invasion rebellions: Double rebel and player government starting strengths; increase non-player government starting strength 50%
* Disruption missions count as completed if the issuing faction captures the target market
* New game dialog fixes/improvements:
    * Faction toggles in random sector have faction colors
    * In random sector, slider maximums for number of systems/planets/stations can be changed in settings.json
    * Starting faction picker: Fix options losing tooltips and enabled/disabled states when changing pages
* Stabilization package available at any unrest level >= 1, if current total stability is zero
    * Previously unrest always needed to equal or exceed the recovered amount
* Add a settings.json option for hostile-to-player factions to not issue faction bounties
* Fix a crash with counter-invasion fleet spawning
* Fix a crash from NPC markets trying to upgrade Boggled AI battlestation
* Fix a possible crash with rebellions
* Fix display of min/max relations when giving an agent a raise/lower relations order while commissioned
* Change logging errors from built-in Version Checker to warnings, for benefit of Chinese community

v0.9.8
### Gameplay ###
* Agent overhaul
    * Add specializations (some actions can only be carried out by some agent types)
        * Already-recruited agents in existing saves will have no specializations and can do any action
        * System can be disabled in config
    * Injury time 15 -> 20 days
    * Raise lower relations time 75 -> 90 days, XP 400 -> 500
    * Sabotage industry effect 90-105 -> 40-50 days, detection chance 40/65% -> 50/75%, injury chance 2x
    * Infiltrate cell and instigate rebellion injury chance 1.5x
    * Change AddAgent console command args
        * Previously: `AddAgent [level] [market]`
        * Now: `AddAgent <market> [level [specialization]]`
* Colony expedition target picker improvements
    * Always pick target with best score (with some randomization applied to scores), not just weigh it more
    * Fix factions not prioritizing recolonization of own decivilized planets
    * Strongly favor planets in star systems we control
* Invasion/alliance grace periods increased (the timeframes involved are actually relevant now)
    * Invasion grace period 15 days -> 90 days (no invasion points accumulated in this time)
    * Alliance grace period 60 days -> 120 days
* Invasion etc. improvements
    * Factions won't sat bomb a market if it was originally held by a faction they're not hostile to
    * Counter-invasion/satbomb fleets won't be generated by factions hostile to the faction involved in the most recent revenge point increment
    * NPC invasion targeting prioritizes heavy industry (especially heavy industry the faction used to hold) and contested systems
    * For 60 days after player captures a market, can buy governorship (regardless of size) at 50% discount
        * In the future this will be part of the dialog tree immediately after capture
    * NPC invasion point requirement 24000 -> 27000
    * Autonomous player colonies can (slowly) launch invasions/raids
* Add configuration system for own faction start in new game
    * On Day 1, pick some blueprints to start with, and add some industries or planetary conditions to your planet
    * Terraforming options may be added in future
* Nav buoy and sensor array benefit player with commission, and alliance members
    * Does not apply to existing buoys/arrays in existing saves, unless removed and rebuilt
* Add relief fleet option in fleet request menu
    * Similar to player personally delivering a stabilization package, but costs twice as much (based on commodity base price)
    * Generates a fleet similar to existing NPC relief fleets
* Add Unofficial New Game Plus rules "Fleet Diversity" and "Erinyes Protocol"
* Add a new deciv colony encounter event, for colony revival
* Revenge counter-invasions also cost invasion points, but half as much as the equivalent normal invasion
* Sat bomb fleets carry some fuel in cargo
* Reduce organics carried by VIC virus bomb fleets to 1/4 of previous
* New game: If starting location not specified, pick random own-faction market
* Enhanced start markets: Add alpha core to Culann's military base
* Tri-Tachyon has devious trait

### GUI ###
* Button to repeat previous agent action
    * Not all actions can be repeated; feature may be buggy

### Bugfixes ###
* Fix factions being able to ceasefire with factions that are currently invading them
* Fix vulture fleets not having a check/roll for whether a ship is recoverable
* Fix player being able to ally with self after capturing a market
* Fix VIC virus bomb icon, title handling

### Text ###
* Blueprint trader: Show design type along with blueprint description
* Special forces: Try to prevent duplicate fleet names
* Defense fleet action stage shows time remaining
* Fix a minor bug in displaying relationship change with raise/lower relations

### Modding ###
* Add `specialForcesFlagshipVariants` table to faction config
    * Specify variant name and weighting
    * If variants not specified, the mod will generate a sample fleet and use its flagship (previous behavior)
* Add memory key to identify markets as valid for base strike missions
* Make some fleet types not be affected by ClearCommands
[close]

Note on using Save Transfer (and other console commands)
You may want to use the ResetRelationships command to start with fresh faction relationships (particularly if some factions died in the last run).

The SetMarketOwner <market_or_location_name> <faction> command can be used to give a market to another faction (including one not currently alive in the sector).

Credits
Zaphide: the original Exerelin
Dark.Revenant: much coding help; SS+ and descendant mod compatibility
LazyWizard: Version Checker, Console Commands, other code
Soren: Player flags
Tartiflette: Prism Freeport
Weezer: Captured planet descriptions
The SS mod community: various content, tips, pointers and feedback
Alex, David, Ivaylo, StianStark: Starsector, what keeps us here
And lastly you, for playing this

Metadata

true
https://i.imgur.com/3nMFPev.jpg
exerelin_config.json

[close]
« Last Edit: February 11, 2021, 05:58:41 AM by Histidine »
Logged

Tartiflette

  • Admiral
  • *****
  • Posts: 3078
  • Toss a coin to your Modder, O' valley of plenty
    • View Profile
Re: [0.65.2a] Nexerelin v0.2 (release 2015-03-07)
« Reply #1 on: March 07, 2015, 02:53:31 AM »

Nice to see (N)exerelin back, good work Histidine. I'll have to release a Scy update to make it compatible, but in the meantime here's an updated faction file: the current one is lacking a lot of new stuff.

Since it didn't worked in Exerelin, would it be possible to use ships instead of wings to mine too? I made a mining destroyer that beg to be put to good use, and should be more efficient than a wing since it's quite bigger. I already commented out the corresponding entry for when it become possible (unless you already changed that in this case thank you).

Well, gotta get back working on that update then.

[attachment deleted by admin]
Logged
 

HELMUT

  • Admiral
  • *****
  • Posts: 1346
    • View Profile
Re: [0.65.2a] Nexerelin v0.2.1 (hotfix 2015-03-07)
« Reply #2 on: March 07, 2015, 05:11:40 AM »

Bug when i launched the campaign, after distributing my skill points at the character creation.

Code
106480 [Thread-5] ERROR com.fs.starfarer.combat.O0OO  - java.lang.RuntimeException: Texture [urban03] from category [illustrations] not found
java.lang.RuntimeException: Texture [urban03] from category [illustrations] not found
at com.fs.starfarer.settings.StarfarerSettings.Ó00000(Unknown Source)
at com.fs.starfarer.campaign.BaseCampaignEntity.setInteractionImage(Unknown Source)
at data.scripts.world.ExerelinSectorGen.pickEntityInteractionImage$(ExerelinSectorGen.java:173)
at data.scripts.world.ExerelinSectorGen.buildSystem(ExerelinSectorGen.java:684)
at data.scripts.world.ExerelinSectorGen.generate(ExerelinSectorGen.java:383)
at com.fs.starfarer.campaign.save.CampaignGameManager.super(Unknown Source)
at com.fs.starfarer.title.OoOO.dialogDismissed(Unknown Source)
at com.fs.starfarer.ui.do.dismiss(Unknown Source)
at com.fs.starfarer.ui.impl.O0oO.dismiss(Unknown Source)
at com.fs.starfarer.campaign.save.O0oO.actionPerformed(Unknown Source)
at com.fs.starfarer.ui.i.o00000(Unknown Source)
at com.fs.starfarer.ui.OooO.processInput(Unknown Source)
at com.fs.starfarer.ui.V.o00000(Unknown Source)
at com.fs.starfarer.B.null.class$super(Unknown Source)
at com.fs.super.A.new(Unknown Source)
at com.fs.starfarer.combat.O0OO.o00000(Unknown Source)
at com.fs.starfarer.StarfarerLauncher$2.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Tried a few times with just Lazylibs, Shaderlibs and common radar. Most of the [urban] textures seems to be missing or something.
Logged

Histidine

  • Admiral
  • *****
  • Posts: 2878
    • View Profile
    • Bitbucket profile
    • Email
Re: [0.65.2a] Nexerelin v0.2.1 (hotfix 2015-03-07)
« Reply #3 on: March 07, 2015, 05:41:37 AM »

Bug when i launched the campaign, after distributing my skill points at the character creation.

Code
106480 [Thread-5] ERROR com.fs.starfarer.combat.O0OO  - java.lang.RuntimeException: Texture [urban03] from category [illustrations] not found
java.lang.RuntimeException: Texture [urban03] from category [illustrations] not found
at com.fs.starfarer.settings.StarfarerSettings.Ó00000(Unknown Source)
at com.fs.starfarer.campaign.BaseCampaignEntity.setInteractionImage(Unknown Source)
at data.scripts.world.ExerelinSectorGen.pickEntityInteractionImage$(ExerelinSectorGen.java:173)
at data.scripts.world.ExerelinSectorGen.buildSystem(ExerelinSectorGen.java:684)
at data.scripts.world.ExerelinSectorGen.generate(ExerelinSectorGen.java:383)
at com.fs.starfarer.campaign.save.CampaignGameManager.super(Unknown Source)
at com.fs.starfarer.title.OoOO.dialogDismissed(Unknown Source)
at com.fs.starfarer.ui.do.dismiss(Unknown Source)
at com.fs.starfarer.ui.impl.O0oO.dismiss(Unknown Source)
at com.fs.starfarer.campaign.save.O0oO.actionPerformed(Unknown Source)
at com.fs.starfarer.ui.i.o00000(Unknown Source)
at com.fs.starfarer.ui.OooO.processInput(Unknown Source)
at com.fs.starfarer.ui.V.o00000(Unknown Source)
at com.fs.starfarer.B.null.class$super(Unknown Source)
at com.fs.super.A.new(Unknown Source)
at com.fs.starfarer.combat.O0OO.o00000(Unknown Source)
at com.fs.starfarer.StarfarerLauncher$2.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Tried a few times with just Lazylibs, Shaderlibs and common radar. Most of the [urban] textures seems to be missing or something.
Hmm, that's odd.

What OS? I'm wondering if the Linux/Mac installers don't have the (unused in vanilla, AFAIK) urban graphics included.
Vanilla folder graphics\illustrations should contain files urban_0[1-3].jpg, with the corresponding entries in settings.json->illustrations:
Code
"urban00":"graphics/illustrations/urban00.jpg",
"urban01":"graphics/illustrations/urban01.jpg",
"urban02":"graphics/illustrations/urban02.jpg",
"urban03":"graphics/illustrations/urban03.jpg",

But I want to push another bugfix soon anyway, so I'll probably just take them out for the time being.
To do this locally: comment out lines 150-153 in data/scripts/world/ExerelinSectorGen.java

would it be possible to use ships instead of wings to mine too?
I don't actually have any plans to implement mining for now, but if I do I'll keep that in mind!
« Last Edit: March 07, 2015, 05:45:40 AM by Histidine »
Logged

Ahne

  • Captain
  • ****
  • Posts: 321
    • View Profile
Re: [0.65.2a] Nexerelin v0.2.1 (hotfix 2015-03-07)
« Reply #4 on: March 07, 2015, 06:45:50 AM »

Awesome man!

If this mod gets compatible with SS+ my life is complete!

Hahaha, great work indeed!

greetings
Ahne
Logged

HELMUT

  • Admiral
  • *****
  • Posts: 1346
    • View Profile
Re: [0.65.2a] Nexerelin v0.2.1 (hotfix 2015-03-07)
« Reply #5 on: March 07, 2015, 08:36:15 AM »

Hmm, that's odd.

Actually nevermind. I'm just a braindead idiot that forgot to update his game to RC2. God i feel so bad...

Anyway, congrats on updating (N)Exerelin to 0.65.2, i'm sure a lot of people will be happy to see this mod working again.
Logged

gruberscomplete

  • Captain
  • ****
  • Posts: 253
    • View Profile
Re: [0.65.2a] Nexerelin v0.2.1 (hotfix 2015-03-07)
« Reply #6 on: March 07, 2015, 08:47:51 AM »

Thank you I appreciate this.
Also this should be moved to the mods thread instead of hiding in the modding area.
After adding all the mods you mentioned, and after making a character, when it is starting the game by "creating trade fleets", it crashes, saying something like
: out of bounds:10.

UPDATE:
after reinstalling SS and all mods it worked. Thanks.
another update
After doing the above and starting with a crystantite ship, picked a fight with a one-ship fleet of "neutral" faction, defeated it, took more cargo than could carry, GAME CRASHED:
427339 [Thread-5] INFO  com.fs.starfarer.combat.CombatEngine  - FP1: 5, FP2: 5, maxFP1: 200, maxFP2: 200
470935 [Thread-5] INFO  exerelin.world.InvasionFleetManager  - Get reserve size - failed to get key fake_market
475523 [Thread-5] ERROR com.fs.starfarer.combat.D  - java.lang.NullPointerException
java.lang.NullPointerException
   at exerelin.campaign.DiplomacyManager.reportBattleOccurred(DiplomacyManager.java:445)
   at com.fs.starfarer.campaign.CampaignEngine.reportBattleOccurred(Unknown Source)
« Last Edit: March 07, 2015, 03:21:49 PM by gruberscomplete »
Logged
Click here for FREE ships!               Plentysector               Robots With Souls

Midnight Kitsune

  • Admiral
  • *****
  • Posts: 2704
  • Your Friendly Forum Friend
    • View Profile
Re: [0.65.2a] Nexerelin v0.2.1 (hotfix 2015-03-07)
« Reply #7 on: March 07, 2015, 10:16:15 AM »

Dude, why isn't Exi in here? They were around in 54 and especially in 62!
Logged
Stop trying to balance the game around a few minmaxers...
Programming is like sex:
One mistake and you have to support it for the rest of your life.

2021 is 2020 won
2022 is 2020 too

Tired of having your game crash because of out of date mods? Then click here!
Spoiler
Get Version Checker today! Now with 90% less hassle! Simply toss it into your mod folder, activate the mod like a normal one and BINGO you will now be informed of any and all updates when you start SS campaign up!
[close]

Histidine

  • Admiral
  • *****
  • Posts: 2878
    • View Profile
    • Bitbucket profile
    • Email
Re: [0.65.2a] Nexerelin v0.2.2 (update 2015-03-08)
« Reply #8 on: March 07, 2015, 07:56:46 PM »

Nexerelin v0.2.2
Download

Code
v0.2.2
- Compatibility with Exigency, II and Templars (once they're updated)
-- SCY too, but I forgot to uncomment the lines in rules.csv so you'll have to do it manually unless I update again by then
- Fix crash after fighting with independents
- Agents, prisoners, saboteurs less common
- Reduce reserve damage from saboteur action
- Lower chances of detection from destroying food
- NPC covert action interval increased 30 days -> 45
- Don't change storage submarket faction on market capture

After doing the above and starting with a crystantite ship, picked a fight with a one-ship fleet of "neutral" faction, defeated it, took more cargo than could carry, GAME CRASHED:
427339 [Thread-5] INFO  com.fs.starfarer.combat.CombatEngine  - FP1: 5, FP2: 5, maxFP1: 200, maxFP2: 200
470935 [Thread-5] INFO  exerelin.world.InvasionFleetManager  - Get reserve size - failed to get key fake_market
475523 [Thread-5] ERROR com.fs.starfarer.combat.D  - java.lang.NullPointerException
java.lang.NullPointerException
   at exerelin.campaign.DiplomacyManager.reportBattleOccurred(DiplomacyManager.java:445)
   at com.fs.starfarer.campaign.CampaignEngine.reportBattleOccurred(Unknown Source)
Thanks for report, fixed.

Dude, why isn't Exi in here? They were around in 54 and especially in 62!
'cos it crashes (on account of not keeping Exerelin compatibility in mind during the recent updates)
Don't worry, it'll be updated in time.
Logged

xenoargh

  • Admiral
  • *****
  • Posts: 4882
  • naively breaking things!
    • View Profile
Re: [0.65.2a] Nexerelin v0.2.2 (update 2015-03-08)
« Reply #9 on: March 07, 2015, 08:01:57 PM »

Hey, this great, looking forward to seeing it get done.  It's so boring not having a conquer-the-Sector mod atm :)
Logged
Please check out my SS projects :)
Xeno's Mod Pack

Dark.Revenant

  • Admiral
  • *****
  • Posts: 2627
    • View Profile
    • Sc2Mafia
    • Email
Re: [0.65.2a] Nexerelin v0.2.2 (update 2015-03-08)
« Reply #10 on: March 07, 2015, 10:34:16 PM »

Starting templar ship really needs to be the _sal variant.  The current one is the support one, making it nigh impossible to fight properly.
Logged

Histidine

  • Admiral
  • *****
  • Posts: 2878
    • View Profile
    • Bitbucket profile
    • Email
Re: [0.65.2a] Nexerelin v0.2.3 (update-2 2015-03-08)
« Reply #11 on: March 08, 2015, 01:39:30 AM »

Nexerelin v0.2.3
Download

Code
v0.2.3
- Fix misreporting of market captures
- Fix SCY support
- Fix Mayorate being listed in the wrong category
- Change starting Templar Martyr variant to Saltare
- Reduce default star/planet/station count
- Remove size 2 stations
Logged

MesoTroniK

  • Admiral
  • *****
  • Posts: 1624
  • I am going to destroy your ships
    • View Profile
Re: [0.65.2a] Nexerelin v0.2.3 (update-2 2015-03-08)
« Reply #12 on: March 08, 2015, 01:43:47 AM »

Histidine, since you are updating this very often (appreciated!) I might suggest utilizing Version Checker here :)

Tartiflette

  • Admiral
  • *****
  • Posts: 3078
  • Toss a coin to your Modder, O' valley of plenty
    • View Profile
Re: [0.65.2a] Nexerelin v0.2.3 (update-2 2015-03-08)
« Reply #13 on: March 08, 2015, 01:48:48 AM »

Hum, Scy will need an update on my end to be compatible, since I removed the "Exerelin" check. But at least it should work as soon as I release something.
Logged
 

Nicke535

  • Commander
  • ***
  • Posts: 238
  • Degenerate Core
    • View Profile
    • Email
Re: [0.65.2a] Nexerelin v0.2.3 (update-2 2015-03-08)
« Reply #14 on: March 08, 2015, 10:08:27 AM »

Huh, i did not even realize i made my mod (N)exerelin compatible. Oh well. Time to stomp some stations with the Rebirth-class.
Pages: [1] 2 3 ... 233