Fractal Softworks Forum

Starsector => Mods => Modding => Topic started by: xenoargh on May 27, 2017, 09:16:17 AM

Title: [0.81a] The Explorer Society (an EZ Faction example mod) 0.4a
Post by: xenoargh on May 27, 2017, 09:16:17 AM
Download Linky (http://www.wolfegames.com/TA_Section/ExplorerSociety.zip)

This mod's part of my Mod Pack.  It's 100% optional, and is just meant to show off the FX system and how EZ Faction works.  It's also a fully-playable Faction mod.

This mod requires EZ Faction (http://fractalsoftworks.com/forum/index.php?topic=12504.0) to use.  If you don't have EZ Faction installed, do so before running this mod.

One of this mod's components requires LazyLib (http://fractalsoftworks.com/forum/index.php?topic=5444.0) to operate.  If you don't have LazyLib installed, do so before running this mod.

This is a very simple Faction mod that demonstrates the EZ Faction code in operation (and adds a new Faction to the game, with cool ships based on art by Lind).

What this does:  

1.  Adds a new, simple Faction to Starsector, called "The Explorer Society", with a few ships, weapons and fighters.  This isn't the next BlackRock; it's a very simple demo.  But the Explorer Society comes with a couple of cool mechanics (which I'll let people discover for themselves).

2.  This Faction will only spawn in the SS universe if EZ Faction is installed.

Ships and stuff:
(http://www.wolfegames.com/TA_Section/EXP_Ships.png)
Title: Re: [0.8] The Explorer Society (an EZ Faction example mod)
Post by: xenoargh on May 27, 2017, 02:24:18 PM
A small update (not going to bother versioning this):

1.  Form Shield / Shield Removal is now exclusive to EXP.
2.  EXP ships / guns have descriptive fluff.
3.  EXP Faction banners, etc., have been added, so that now it feels a bit more like a "real mod" rather than just a tech demo.
Title: Re: [0.8] The Explorer Society (an EZ Faction example mod)
Post by: Death_Silence_66 on May 27, 2017, 03:21:56 PM
Can you add some screenshots?
Title: Re: [0.8] The Explorer Society (an EZ Faction example mod)
Post by: Takion Kasukedo on May 27, 2017, 06:34:42 PM
Hey those look pretty damn nice...i'll try them sometime when i'm not concerned about save data
Title: Re: [0.8] The Explorer Society (an EZ Faction example mod)
Post by: MesoTroniK on May 28, 2017, 01:45:30 AM
... These contour shields ignore AOE weapons and scripted damage and thus break the game.
Title: Re: [0.8] The Explorer Society (an EZ Faction example mod)
Post by: xenoargh on May 28, 2017, 07:41:47 AM
Scripted damage is a modded thing, but I'm pretty sure I can figure out a fix for that.  

AOE weapons should be registering a hit; I'll bug Alex about that.
Title: Re: [0.8] The Explorer Society (an EZ Faction example mod)
Post by: xenoargh on May 29, 2017, 03:46:11 PM
Update; there were some errors in the .ezfaction mod in the second release.  Fixed now, the mod should work properly again.
Title: Re: [0.8] The Explorer Society (an EZ Faction example mod)
Post by: xenoargh on May 30, 2017, 04:15:37 PM
Update; I think I may have resolved the halting-at-new-game-start bugs.
Title: Re: [0.8] The Explorer Society (an EZ Faction example mod)
Post by: xenoargh on June 02, 2017, 02:18:30 PM
Update:  uses a new method to deal with damage while the Form Shield is active that's a little more mod-friendly.
Title: Re: [0.8] The Explorer Society (an EZ Faction example mod)
Post by: xenoargh on September 04, 2017, 10:41:52 PM
Update:

Fixes a few issues found, including a goofy shield setup for the Hudson and a few FX setups that weren't quite what I wanted.  Integrated this project with the rest of the Mod Pack.
Title: Re: [0.8] The Explorer Society (an EZ Faction example mod)
Post by: Nanao-kun on September 08, 2017, 07:33:10 PM
Got a CTD when I tried to put the cursor above an Explorer Society planet (not sure if it's the same with orbital stations too). Other planets from other factions don't have any problems so far.

Code
[Thread-4] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.NullPointerException
java.lang.NullPointerException
at com.fs.starfarer.coreui.map.new.o00000(Unknown Source)
at com.fs.starfarer.coreui.map.A$2.createImpl(Unknown Source)
at com.fs.starfarer.ui.impl.StandardTooltipV2Expandable.create(Unknown Source)
at com.fs.starfarer.ui.impl.StandardTooltipV2Expandable.beforeShown(Unknown Source)
at com.fs.starfarer.ui.Q.showTooltip(Unknown Source)
at com.fs.starfarer.coreui.map.A.showTooltip(Unknown Source)
at com.fs.starfarer.ui.Objectsuper.?o0000(Unknown Source)
at com.fs.starfarer.ui.Objectsuper.processInput(Unknown Source)
at com.fs.starfarer.coreui.map.A.super(Unknown Source)
at com.fs.starfarer.coreui.map.H.processInputImpl(Unknown Source)
at com.fs.starfarer.ui.Q.processInput(Unknown Source)
at com.fs.starfarer.coreui.map.M$Oo.processInputImpl(Unknown Source)
at com.fs.starfarer.ui.Q.processInput(Unknown Source)
at com.fs.starfarer.ui.OO00.dispatchEventsToChildren(Unknown Source)
at com.fs.starfarer.ui.OO00.processInputImpl(Unknown Source)
at com.fs.starfarer.coreui.map.M.processInputImpl(Unknown Source)
at com.fs.starfarer.ui.Q.processInput(Unknown Source)
at com.fs.starfarer.ui.OO00.dispatchEventsToChildren(Unknown Source)
at com.fs.starfarer.ui.OO00.processInputImpl(Unknown Source)
at com.fs.starfarer.ui.Q.processInput(Unknown Source)
at com.fs.starfarer.ui.OO00.dispatchEventsToChildren(Unknown Source)
at com.fs.starfarer.ui.OO00.processInputImpl(Unknown Source)
at com.fs.starfarer.ui.newui.String.processInputImpl(Unknown Source)
at com.fs.starfarer.ui.Q.processInput(Unknown Source)
at com.fs.starfarer.ui.OO00.dispatchEventsToChildren(Unknown Source)
at com.fs.starfarer.ui.OO00.processInputImpl(Unknown Source)
at com.fs.starfarer.ui.Oo0O.processInputImpl(Unknown Source)
at com.fs.starfarer.ui.newui.if.processInputImpl(Unknown Source)
at com.fs.starfarer.ui.Q.processInput(Unknown Source)
at com.fs.starfarer.ui.OO00.dispatchEventsToChildren(Unknown Source)
at com.fs.starfarer.ui.OO00.processInputImpl(Unknown Source)
at com.fs.starfarer.ui.Q.processInput(Unknown Source)
at com.fs.starfarer.campaign.CampaignState.processInput(Unknown Source)
at com.fs.starfarer.BaseGameState.traverse(Unknown Source)
at com.fs.state.AppDriver.begin(Unknown Source)
at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

EDIT: Trying to interact with it directly seems to CTD too.
Title: Re: [0.8] The Explorer Society (an EZ Faction example mod)
Post by: xenoargh on September 09, 2017, 08:55:03 AM
I'll take a look and attempt to confirm over here.
Title: Re: [0.8] The Explorer Society (an EZ Faction example mod) 0.3a
Post by: xenoargh on September 21, 2017, 08:36:25 AM
Alpha 0.3 has been released.

Features a new fighter, fixes for a weird goof with a shield on a ship, some other stuff.
Title: Re: [0.81a] The Explorer Society (an EZ Faction example mod) 0.4a
Post by: xenoargh on September 24, 2017, 09:14:33 AM
Alpha 0.4's been released.  Features a couple of new ships; the Pelagic support-frigate and the Ferdinand assault destroyer, along with a few fixes here and there:

(http://www.wolfegames.com/TA_Section/explorer_society_pelagic.png)(http://www.wolfegames.com/TA_Section/explorer_society_ferdinand.png)
Title: Re: [0.81a] The Explorer Society (an EZ Faction example mod) 0.4a
Post by: Nanao-kun on September 29, 2017, 06:10:36 PM
Got an error when I hit the Kraken with Scy's Keto's main weapon.

Code
ERROR com.fs.starfarer.combat.CombatMain  - java.lang.NullPointerException
java.lang.NullPointerException
at data.scripts.plugins.FormShieldPlugin.advance(FormShieldPlugin.java:141)
at com.fs.starfarer.title.ooOO.K$Oo.super(Unknown Source)
at com.fs.starfarer.combat.A.new.o00000(Unknown Source)
at com.fs.starfarer.combat.CombatEngine.advanceInner(Unknown Source)
at com.fs.starfarer.combat.CombatEngine.advance(Unknown Source)
at com.fs.starfarer.combat.CombatState.traverse(Unknown Source)
at com.fs.state.AppDriver.begin(Unknown Source)
at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

EDIT: Happened to a different ship, by a different weapon as well.
Title: Re: [0.81a] The Explorer Society (an EZ Faction example mod) 0.4a
Post by: xenoargh on September 30, 2017, 05:46:51 PM
That's odd, to say the least.  All that happens there is that a ShipAPI's being put into a HashMap.  I'll have to look at the weapon's code and see what it's doing there, it shouldn't return null.
Title: Re: [0.81a] The Explorer Society (an EZ Faction example mod) 0.4a
Post by: xenoargh on September 30, 2017, 06:10:24 PM
Aha; that weapon's doing something goofy under the hood (using a reference to a CombatEntityAPI rather than a ShipAPI for the EMP arcs).  It's fixed for the next release.