|
总之是画了船,填好了数据,就差战术系统,虽然人手低,但还是眼高想做点原版以外的战术系统
于是只好选择去借用其他mod的战术系统来缝合
但很惭愧,第一步直接搬都搬不明白,通过观察文件俺寻思感觉是把ship_systems.csv+一个战术系统.system+战术系统代码.java搬过来就行,但实际操作却发现会报错,csv里我把除了想要的那个战术系统以外的都删了,战术系统的两个文件我也都放到了对应的位置没做更改,点开java和system文件看了几轮好像也没看到有再额外引用什么文件之类的,实在不明白为何会报错,在论坛里翻了个底朝天几乎都见不到有几个讨论战术系统的帖子
想要借用的是阿卡涅西斯之遗的埃兰(想用这个加速效果缝一个禁用护盾+缩短武器射程),以下是报错内容,希望有能人士能给我解解惑
- 9206 [Thread-3] ERROR com.fs.starfarer.combat.CombatMain - java.lang.RuntimeException: Error loading [data.scripts.shipsystems.loa_warspeed3]
- java.lang.RuntimeException: Error loading [data.scripts.shipsystems.loa_warspeed3]
- at com.fs.starfarer.loading.scripts.ScriptStore$3.run(Unknown Source)
- at java.lang.Thread.run(Unknown Source)
- Caused by: java.lang.ClassNotFoundException: Parsing compilation unit 'data.scripts.shipsystems.loa_warspeed3'
- at org.codehaus.janino.JavaSourceIClassLoader.findIClass(JavaSourceIClassLoader.java:172)
- at org.codehaus.janino.IClassLoader.loadIClass(IClassLoader.java:254)
- at org.codehaus.janino.JavaSourceClassLoader.generateBytecodes(JavaSourceClassLoader.java:214)
- at org.codehaus.janino.JavaSourceClassLoader.findClass(JavaSourceClassLoader.java:178)
- at java.lang.ClassLoader.loadClass(Unknown Source)
- at java.lang.ClassLoader.loadClass(Unknown Source)
- ... 2 more
- Caused by: org.codehaus.commons.compiler.CompileException: File 'data/scripts/shipsystems/loa_warspeed3.java', Line 58, Column 72: Identifier expected instead of '>'
- at org.codehaus.janino.Parser.compileException(Parser.java:3125)
- at org.codehaus.janino.Parser.readIdentifier(Parser.java:2909)
- at org.codehaus.janino.Parser.parseQualifiedIdentifier(Parser.java:245)
- at org.codehaus.janino.Parser.parseReferenceType(Parser.java:1776)
- at org.codehaus.janino.Parser.parseType(Parser.java:1752)
- at org.codehaus.janino.Parser.parseTypeArgument(Parser.java:1856)
- at org.codehaus.janino.Parser.parseTypeArgumentsOpt(Parser.java:1827)
- at org.codehaus.janino.Parser.parseReferenceType(Parser.java:1776)
- at org.codehaus.janino.Parser.parseType(Parser.java:1752)
- at org.codehaus.janino.Parser.parsePrimary(Parser.java:2444)
- at org.codehaus.janino.Parser.parseUnaryExpression(Parser.java:2252)
- at org.codehaus.janino.Parser.parseMultiplicativeExpression(Parser.java:2211)
- at org.codehaus.janino.Parser.parseAdditiveExpression(Parser.java:2190)
- at org.codehaus.janino.Parser.parseShiftExpression(Parser.java:2169)
- at org.codehaus.janino.Parser.parseRelationalExpression(Parser.java:2072)
- at org.codehaus.janino.Parser.parseEqualityExpression(Parser.java:2046)
- at org.codehaus.janino.Parser.parseAndExpression(Parser.java:2025)
- at org.codehaus.janino.Parser.parseExclusiveOrExpression(Parser.java:2004)
- at org.codehaus.janino.Parser.parseInclusiveOrExpression(Parser.java:1983)
- at org.codehaus.janino.Parser.parseConditionalAndExpression(Parser.java:1962)
- at org.codehaus.janino.Parser.parseConditionalOrExpression(Parser.java:1941)
- at org.codehaus.janino.Parser.parseConditionalExpression(Parser.java:1922)
- at org.codehaus.janino.Parser.parseAssignmentExpression(Parser.java:1901)
- at org.codehaus.janino.Parser.parseExpression(Parser.java:1886)
- at org.codehaus.janino.Parser.parseVariableInitializer(Parser.java:966)
- at org.codehaus.janino.Parser.parseVariableDeclaratorRest(Parser.java:1230)
- at org.codehaus.janino.Parser.parseFieldDeclarationRest(Parser.java:1195)
- at org.codehaus.janino.Parser.parseClassBodyDeclaration(Parser.java:631)
- at org.codehaus.janino.Parser.parseClassBody(Parser.java:515)
- at org.codehaus.janino.Parser.parseClassDeclarationRest(Parser.java:481)
- at org.codehaus.janino.Parser.parsePackageMemberTypeDeclaration(Parser.java:269)
- at org.codehaus.janino.Parser.parseCompilationUnit(Parser.java:168)
- at org.codehaus.janino.JavaSourceIClassLoader.findCompilationUnit(JavaSourceIClassLoader.java:203)
- at org.codehaus.janino.JavaSourceIClassLoader.findIClass(JavaSourceIClassLoader.java:146)
- ... 7 more
复制代码
|
|