16
Mods / Re: [0.95.1a] Industrial.Evolution 3.1.c - Campaign content expansion
« on: December 04, 2023, 07:27:32 AM »Any word on the detached fleets fix?likely gonna take until the next vanilla update because I desperately need some API hooks that will be available with it to make it stop breaking - sorry!Is it possible to spawn the watchtowers? I'm currently trying to build a custom system, but i have no idea what the command could be.one watchtower:CodeSectorEntityToken t = system.addCustomEntity(Misc.genUID(), faction.getDisplayName() + " Watchtower", "IndEvo_Watchtower", faction.getId(), null);
t.setOrbit(//Your preferred orbit);
magic method to spawn watchtowers in the default locations like they usually do:CodeIndEvo_ArtilleryStationPlacer.placeWatchtowers(starsystem, factionID);
console commands:Coderuncode com.fs.starfarer.api.plugins.derelicts.IndEvo_ArtilleryStationPlacer.placeWatchtowers(Global.getSector().getStarSystem("YOUR_STAR_SYSTEM_NAME"), "FACTION_ID");
The faction ID for the normal watchtowers/artillery station is "IndEvo_derelict".
Should this still work currently?
I feel really dumb and I am sorry to bother everyone and ask for help, but I absolutely cannot get this to run and feel like I must be overlooking something. I get the following error. I would really appreciate any help or guidance someone could provide.
Thanks,
Compilation failed: org.codehaus.commons.compiler.compileexception: Line1 Column 5: Unknown variable or type "com.fs.starfarer.api.plugins.derelics.indevo_artillerystationplacer"