找回密码
 注册
X系列官方授权正版
搜索
查看: 1473|回复: 4

[求助] 获得科技点数的各种方法

[复制链接]
发表于 2013-10-17 17:02:19 | 显示全部楼层 |阅读模式
有哪位熟悉KSP文件结构的高人能从源码着手分析下,0.22中科技点数的获得方法有哪些,各自能获得多少点数
发表于 2013-10-17 17:05:14 | 显示全部楼层
直接persistent.sfs里自己慢慢翻咯。。。
至于获取点数的算法,这不是看看文件看得出的。
回复

使用道具 举报

 楼主| 发表于 2013-10-17 17:19:57 | 显示全部楼层
HoneyFox 发表于 2013-10-17 17:05
直接persistent.sfs里自己慢慢翻咯。。。
至于获取点数的算法,这不是看看文件看得出的。 ...

看了下persistent.sfs,里面没有科技相关的信息。
倒是在ScienceDefs.cfg中找到了科技点数相关的提示信息,例如:

                KerbinSrfLandedLaunchpad = We don't seem to be moving very fast right now.
                KerbinSrfLandedRunway = Reporting in at the Runway. Good thing there's not a lot of air traffic, because I don't think we ever got clearance from the tower to be here.
                KerbinSrfLandedKSC = This is our Space Center here. We're home.
                KerbinFlyingLowGrasslands = Hey I can see my house from here, I think.
                KerbinFlyingLowGrasslands = It's very comforting to see that much green below you.
                KerbinFlyingLowHighlands = You get a great view of the highlands.
                KerbinFlyingLowMountains = The mountains rise up from the ground of kerbin. They seem so much smaller from way up here.
                KerbinFlyingLowDeserts = The heat rising from the sand causes the desert to move and shimmer.
                KerbinFlyingLowBadlands = This looks like a bad place to land.
                KerbinFlyingLowTundra = You see patches of frozen grass. It looks like it's pretty cold out there.
                KerbinFlyingLowIceCaps = You look down and see a sheet of shining white ice. If you stare at it too long your eyes start to water.
                KerbinFlyingLowShores = The shores look inviting and you watch the waves roll in to the coast.
                KeringFlyingLowWater = From this perspective you can see the underwater topology.
                KerbinInSpaceLow = It seems we are very much in space right now. The sky seems to be mostly below us.
                KerbinInSpaceLow = Maybe if you get out and push...
                KerbinInSpace = It's very... round.
                KerbinInSpace = Crew reporting in, from space!

从中大致可以了解哪些动作可以获得点数,但能获得多少还是不知道,估计和下面这些参数相关

        id = crewReport
        title = Crew Report
        baseValue = 5
        scienceCap = 8
        dataScale = 1
       
        requireAtmosphere = False
        situationMask = 63
        biomeMask = 7

至于具体的算法有请高人解答
回复

使用道具 举报

发表于 2013-10-17 17:47:45 | 显示全部楼层
目前已知的方法從遠到近有...

1.被行星所捕獲
捕獲後可以氣密罐狂開傳資料、再開、再傳、再開、再傳...
直到被告知"檔案傳送成功,獲得0.1科技點"

2.進入行星的近地軌道
一樣,狂開狂傳...

3.登陸

4.小綠人出來收集資料


另外收集科技的物件有 "氣密罐" 跟 "研究艙" 兩種
所以研發出乾電池跟太陽能板之後,就可以把以上兩樣用無人衛星都帶出去
回复

使用道具 举报

发表于 2013-10-17 18:02:23 | 显示全部楼层
我来抛砖引玉一下

简单查看了一下更新的文件之后发现GameData\Squad\Resources\ScienceDefs.cfg这个文件中包含了每一类试验的参数和注解,其中的baseValue应该是表示这一类型试验获得点数的基准值,最高的是地表直接取样,为30;其次是用Material study实验舱取样,25。但实际游戏中至少还要将所在环境,还有同一环境下重复同一试验的收益递减纳入计算,而这两个变量的设置有可能存在于不那么容易提取的核心文件中,期待有高人能够破解。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐上一条 /1 下一条

Archiver|手机版|小黑屋|DeepTimes.NET 太空游戏站