Fractal Softworks Forum

Please login or register.

Login with username, password and session length

Author Topic: OfficerLevelupPluginImpl  (Read 1398 times)

PCCL

  • Admiral
  • *****
  • Posts: 2016
  • still gunnyfreak
    • View Profile
OfficerLevelupPluginImpl
« on: August 30, 2016, 08:23:00 PM »

Haven't done this for a while, but just saw another thread that made me want to make a simple mod that increases XP required for leveling up.

What I did was simply taking the OfficerLevelupPluginImpl from the api and modify it, then stick it in data>scripts>plugins. The file compiles and a similar file (LevelupPluginImpl) works as desired, but none of the changes to this one seems to apply.

Can anyone help me troubleshoot this?

thanks

gunny
Logged
mmm.... tartiflette

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24110
    • View Profile
Re: OfficerLevelupPluginImpl
« Reply #1 on: August 30, 2016, 08:24:57 PM »

You need to point to it from:
"officerLevelUp":"com.fs.starfarer.api.impl.campaign.OfficerLevelupPluginImpl",
in settings.json
Logged

PCCL

  • Admiral
  • *****
  • Posts: 2016
  • still gunnyfreak
    • View Profile
Re: OfficerLevelupPluginImpl
« Reply #2 on: August 30, 2016, 08:31:58 PM »

D'OH

Think I remember doing that the last time I tried, thanks alex!
Logged
mmm.... tartiflette