Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.97a is out! (02/02/24); New blog post: Simulator Enhancements (03/13/24)

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - Curator

Pages: [1]
1
Modding / How to replace a class?
« on: April 13, 2021, 11:07:16 AM »
Hey!
I want to replace com/fs/starfarer/api/impl/campaign/intel/PersonBountyIntel.class to change the random bounty fleets size and payment calculation.
Made a .jar with my variant of PersonBountyIntel.class (saving the path), made a mod_info.json with "jar" field and even with "replace" field filled with my .jar's name and filepath. Got no effect at all. The mod is in the list, it can be loaded but no changes are applied ingame.

Any advice?

I've attached the mod folder, maybe I did some newbie mistakes?

[attachment deleted by admin]

Pages: [1]