如何删除多余的稳定点或者星球?
大佬们,我不小心多弄了几个稳定点,请问应该如何删除? 装了控制台mod。{:5_132:} {:5_123:} 我很好奇大佬你是怎么加的 稳定的区域代码是啥来着?
咫尺天涯 发表于 2024-11-22 12:29
稳定的区域代码是啥来着?
runcode PlanetAPI star = ((StarSystemAPI) $loc).getStar(); $loc.addCustomEntity(null, null, "stable_location", "neutral").setCircularOrbitPointingDown(star, VectorUtils.getAngle(star.getLocation(), $playerLoc), MathUtils.getDistance(star.getLocation(), $playerFleet.getLocation()), 180f)
没有 叶影MASCARA 发表于 2024-11-22 12:43
runcode PlanetAPI star = ((StarSystemAPI) $loc).getStar(); $loc.addCustomEntity(null, null, "stabl ...
谢谢 叶影MASCARA 发表于 2024-11-22 12:43
没有
有没有删除星门的代码呢?一个星系刷了俩星门 咫尺天涯 发表于 2024-11-29 05:00
有没有删除星门的代码呢?一个星系刷了俩星门
看这情况应该只能回档了,或者发个帖求助大佬看看能不能从源文件想想办法 稳定点去存档文件删,星球应该没法删,有编号 星球有目的地属性[商队/袭击], 只能在游戏内消灭才可以安装移除, 否则存档暴毙(多个属性目的地为空)
null! 安超锤头 发表于 2025-12-8 13:35
星球有目的地属性[商队/袭击], 只能在游戏内消灭才可以安装移除, 否则存档暴毙(多个属性目的地为空)
null!...
进入对话界面然后用
runcode SectorEntityToken ent = Global.getSector().getCampaignUI().getCurrentInteractionDialog().getInteractionTarget();
if (ent.getMarket() != null) Global.getSector().getEconomy().removeMarket(ent.getMarket());
ent.getContainingLocation().removeEntity(ent);
页:
[1]