跑跑車首頁

當(dāng)前位置:首頁攻略秘籍單機(jī)心得 → 星界邊境游戲修改方法 想要什么改什么

星界邊境游戲修改方法 想要什么改什么

作者:不詳來源:本站整理 發(fā)表時(shí)間:2013/12/30 9:32:25 評(píng)論(0)

這個(gè)是由玩家geniushch分享的簡單修改文件迅速刷到任何想要物品以及修改隨機(jī)生成物品入手時(shí)數(shù)據(jù),并且可以帶入任何服務(wù)器的方法,非常方便強(qiáng)大的修改方法,有需要的玩家可以來看看。


本帖內(nèi)容中的代碼請(qǐng)不要直接復(fù)制粘貼,發(fā)在帖子內(nèi)容里會(huì)自動(dòng)整理添加好多空格和換行導(dǎo)致格式錯(cuò)誤無限loading,復(fù)制粘貼請(qǐng)使用下面附帶的補(bǔ)丁里文本中的內(nèi)容。附件1是解釋修改變動(dòng)的部分;附件2是如示例修改后的成品,下載后直接進(jìn)去搜索到相應(yīng)行更改物品代碼即可。


修改向可以迅速刷到想要的物品 嚴(yán)重影響收集樂趣慎用 謹(jǐn)記備份源文件

用記事本(用寫字板word等可能會(huì)導(dǎo)致文件內(nèi)容被自動(dòng)變更導(dǎo)致格式錯(cuò)誤)打開Steam\SteamApps\common\Starbound\assets\treasure\generalnpctreasure.treasurepools 搜到這一段
"minibosstreasure" : [
[1, {
"pool" : [

[0.030, [ "generatedshield", 1, { "definition" : "tier1shield" } ] ],
[0.005, [ "generatedsword", 1, { "definition" : "uncommoncrappybroadsword" } ] ],
[0.005, [ "generatedsword", 1, { "definition" : "uncommoncrappyaxe" } ] ],
[0.005, [ "generatedsword", 1, { "definition" : "uncommoncrappyspear" } ] ],
[0.005, [ "generatedsword", 1, { "definition" : "uncommoncrappyhammer" } ] ],
[0.02, [ "generatedsword", 1, { "definition" : "uncommonbroadsword" } ] ],
[0.02, [ "generatedsword", 1, { "definition" : "uncommonaxe" } ] ],
[0.02, [ "generatedsword", 1, { "definition" : "uncommonspear" } ] ],
[0.02, [ "generatedsword", 1, { "definition" : "uncommondagger" } ] ],
[0.01, [ "generatedsword", 1, { "definition" : "uncommonhammer" } ] ],
[0.01, [ "generatedsword", 1, { "definition" : "uncommonshortsword" } ] ],
[0.033, [ "generatedsword", 1, { "definition" : "watersword" } ] ],
[0.033, [ "generatedsword", 1, { "definition" : "eyesword" } ] ],
[0.033, [ "generatedsword", 1, { "definition" : "bonehammer" } ] ],
[0.0012, [ "generatedsword", 1, { "definition" : "watersword" } ] ],
[0.0012, [ "generatedsword", 1, { "definition" : "eyesword" } ] ],
[0.0012, [ "generatedsword", 1, { "definition" : "bonehammer" } ] ],
[0.0012, [ "generatedsword", 1, { "definition" : "starcleaversword" } ] ],
[0.0012, [ "generatedsword", 1, { "definition" : "teslastaff" } ] ]

],
"poolRounds" : [
[1.0, 1]
],
"levelVariance" : [0, 0],
"allowDuplication" : false
} ],
[2, {
"pool" : [
[0.004, [ "generatedsword", 1, { "definition" : "tier2broadsword" } ] ],
[0.004, [ "generatedsword", 1, { "definition" : "tier2axe" } ] ],
[0.004, [ "generatedsword", 1, { "definition" : "tier2spear" } ] ],
[0.004, [ "generatedsword", 1, { "definition" : "tier2dagger" } ] ],
[0.004, [ "generatedsword", 1, { "definition" : "tier2hammer" } ] ],
[0.004, [ "generatedsword", 1, { "definition" : "tier2shortsword" } ] ],
[0.015, [ "generatedshield", 1, { "definition" : "tier2shield" } ] ],
[0.05, [ "generatedsword", 1, { "definition" : "uncommontier2axe" } ] ],
[0.05, [ "generatedsword", 1, { "definition" : "uncommontier2spear" } ] ],
[0.05, [ "generatedsword", 1, { "definition" : "uncommontier2hammer" } ] ],
[0.05, [ "generatedsword", 1, { "definition" : "uncommontier2dagger" } ] ],
[0.05, [ "generatedsword", 1, { "definition" : "uncommontier2shortsword" } ] ],
[0.002, [ "generatedsword", 1, { "definition" : "uncommonbroadsword" } ] ],
[0.002, [ "generatedsword", 1, { "definition" : "uncommonaxe" } ] ],
[0.002, [ "generatedsword", 1, { "definition" : "uncommonspear" } ] ],
[0.002, [ "generatedsword", 1, { "definition" : "uncommondagger" } ] ],
[0.002, [ "generatedsword", 1, { "definition" : "uncommonhammer" } ] ],
[0.002, [ "generatedsword", 1, { "definition" : "uncommonshortsword" } ] ],
[0.00010, [ "generatedgun", 1, { "definition" : "commonassaultrifle" } ] ],
[0.00010, [ "generatedgun", 1, { "definition" : "commonplasmaassaultrifle" } ] ],
[0.00010, [ "generatedgun", 1, { "definition" : "commonshotgun" } ] ],
[0.00010, [ "generatedgun", 1, { "definition" : "commonplasmashotgun" } ] ],
[0.00010, [ "generatedgun", 1, { "definition" : "commonsniperrifle" } ] ],
[0.00010, [ "generatedgun", 1, { "definition" : "commonplasmasniperrifle" } ] ],
[0.00010, [ "generatedgun", 1, { "definition" : "commonpistol" } ] ],
[0.00010, [ "generatedgun", 1, { "definition" : "commonplasmapistol" } ] ],
[0.00010, [ "generatedgun", 1, { "definition" : "commonmachinepistol" } ] ],
[0.00010, [ "generatedgun", 1, { "definition" : "commonplasmamachinepistol" } ] ],
[0.00010, [ "generatedgun", 1, { "definition" : "commonplasmamachinepistol" } ] ],
[0.00010, [ "generatedgun", 1, { "definition" : "commongrenadelauncher" } ] ],
[0.00010, [ "generatedgun", 1, { "definition" : "commonrocketlauncher" } ] ],
[0.0005, [ "generatedgun", 1, { "definition" : "uncommongrenadelauncher" } ] ],
[0.0005, [ "generatedgun", 1, { "definition" : "uncommonassaultrifle" } ] ],
[0.0005, [ "generatedgun", 1, { "definition" : "uncommonshotgun" } ] ],
[0.0005, [ "generatedgun", 1, { "definition" : "uncommonsniperrifle" } ] ],
[0.0005, [ "generatedgun", 1, { "definition" : "uncommonpistol" } ] ],
[0.0005, [ "generatedgun", 1, { "definition" : "uncommonmachinepistol" } ] ],
[0.0005, [ "generatedgun", 1, { "definition" : "uncommonrocketlauncher" } ] ],
[0.0003, [ "generatedgun", 1, { "definition" : "rareassaultrifle" } ] ],
[0.0003, [ "generatedgun", 1, { "definition" : "rareplasmaassaultrifle" } ] ],
[0.0003, [ "generatedgun", 1, { "definition" : "rareshotgun" } ] ],
[0.0003, [ "generatedgun", 1, { "definition" : "rareplasmashotgun" } ] ],
[0.0003, [ "generatedgun", 1, { "definition" : "raresniperrifle" } ] ],
[0.0003, [ "generatedgun", 1, { "definition" : "rareplasmasniperrifle" } ] ],
[0.0003, [ "generatedgun", 1, { "definition" : "rarepistol" } ] ],
[0.0003, [ "generatedgun", 1, { "definition" : "rareplasmapistol" } ] ],
[0.0003, [ "generatedgun", 1, { "definition" : "raremachinepistol" } ] ],
[0.0003, [ "generatedgun", 1, { "definition" : "rareplasmamachinepistol" } ] ],
[0.0003, [ "generatedgun", 1, { "definition" : "rareplasmamachinepistol" } ] ],
[0.0003, [ "generatedgun", 1, { "definition" : "raregrenadelauncher" } ] ],
[0.0003, [ "generatedgun", 1, { "definition" : "rarerocketlauncher" } ] ],
[0.0001, [ "generatedgun", 1, { "definition" : "legendarygrenadelauncher" } ] ],
[0.0001, [ "generatedgun", 1, { "definition" : "legendaryassaultrifle" } ] ],
[0.0001, [ "generatedgun", 1, { "definition" : "legendaryshotgun" } ] ],
[0.0001, [ "generatedgun", 1, { "definition" : "legendarysniperrifle" } ] ],
[0.0001, [ "generatedgun", 1, { "definition" : "legendarypistol" } ] ],
[0.0001, [ "generatedgun", 1, { "definition" : "legendarymachinepistol" } ] ],
[0.0001, [ "generatedgun", 1, { "definition" : "legendaryrocketlauncher" } ] ]
],
"poolRounds" : [
[1.0, 1]
],
"levelVariance" : [0, 0],
"allowDuplication" : false
} ]

],
不要改pool1沒用 改pool2即紅色部分 以下為修改后示例
[2, {
"pool" : [
[0.999, [ "generatedsword", 1, { "definition" : "bonehammer" } ] ],
[0.999, [ "generatedsword", 1, { "definition" : "watersword" } ] ],
[0.999, [ "generatedgun", 1, { "definition" : "legendaryrocketlauncher" } ] ],
[0.999, [ "generatedshield", 1, { "definition" : "eyeshield" } ] ],
[0.999, [ "money", 200000] ],
[0.999, [ "violin", 1] ],
[0.999, [ "wedding1chest", 1] ],
],
"poolRounds" : [
[1.0, 7]
],
"levelVariance" : [0, 0],
"allowDuplication" : false
} ]



之后去殺一個(gè)miniboss,推薦星球X級(jí) -70156613,-30728859 X Al Zirr 28 II b 10級(jí)magma 向左走半屏有一只 右走1屏半有一只
則單只miniboss掉落7件物品 骨頭劍一把 水劍一把 紫色火箭筒一支 眼盾一枚 200000像素 一把小提琴 一件婚紗胸

殺完之后存盤退出刪除該星球存檔,再修改文件出下7樣想要物品進(jìn)游戲直接降落再殺一次就好了。

以下為原理



"poolRounds" : [
[1.0, 7]
],

1.0是這一輪掉落的幾率。7是這一輪掉落掉落多少種物品,如果改成6則在上面7種物品中掉落6件。





"pool" : [
[0.999, [ "generatedsword", 1, { "definition" : "bonehammer" } ] ],
[0.999, [ "generatedsword", 1, { "definition" : "watersword" } ] ],
[0.999, [ "generatedgun", 1, { "definition" : "legendaryrocketlauncher" } ] ],
[0.999, [ "generatedshield", 1, { "definition" : "eyeshield" } ] ],
[0.999, [ "money", 200000] ],
[0.999, [ "violin", 1] ],
[0.999, [ "wedding1chest", 1] ],
],

這一段是這輪掉落的各種物品

[0.999, [ "violin", 1] ],

0.999是這種物品掉落幾率;"violin"是物品代碼名稱,可以在assets\items\文件夾下打開相應(yīng)物品文件查詢;后面的1是此種物品掉落多少件,如果這里我改成10,則上述掉落中1件小提琴變成堆疊的10把,隨機(jī)武器也一樣只不過10把共享一個(gè)隨機(jī)數(shù)據(jù),10把都一模一樣。藍(lán)圖,科技,家具等等也可以這樣改出來。


近戰(zhàn)武器,槍支,盾牌的掉落稍有不同。因?yàn)檫@三類物品絕大部分都是隨機(jī)的,所以格式如下
[0.999, [ "generatedsword", 1, { "definition" : "bonehammer" } ] ],
[0.999, [ "generatedsword", 1, { "definition" : "watersword" } ] ],
[0.999, [ "generatedgun", 1, { "definition" : "legendaryrocketlauncher" } ] ],
[0.999, [ "generatedshield", 1, { "definition" : "eyeshield" } ] ],
"generatedsword"是類別,該類物品都在Steam\SteamApps\common\Starbound\assets\items\swords\randomgenerated下,看過相應(yīng)文件后物品名填在"definition"后面。槍支和盾牌也同理。

同時(shí)在修改武器掉落時(shí)可以同時(shí)修改該武器隨機(jī)生成時(shí)的屬性,如骨頭錘
Steam\SteamApps\common\Starbound\assets\items\swords\randomgenerated\bonehammer.generatedsword

文件內(nèi)容如下
{
"name" : "bonehammer",
"maxStack" : 1,
"rarity" : "legendary",
"baseDps" : [2.5, 3.5],
"rateOfSwing" : [0.8, 0.8],
"multiplier" : 0.3,
"firePosition" : [15.5, 4.5],
"fireAfterWindup" : true,
"muzzleFlashes" : [ ],
"soundEffect" : [ "/sfx/melee/swing_twohanded.wav" ],
"kind" : "bonehammer",
"inspectionKind" : "sword",
"primaryStances" : {
"projectileTypes" : [ "boneswoosh" ],
"projectile" : {
"speed" : 0.1
},
"idle" : {
"twoHanded" : false,
"armAngle" : -90,
"swordAngle" : -90,
"handPosition" : [-2.7, -16.5],
"armFrameOverride" : "idleMelee",
"duration" : 0.1
},
"windup" : {
"twoHanded" : true,
"armAngle" : 90,
"swordAngle" : 90,
"handPosition" : [-2.7, -16.5],
"duration" : 0.07,
"statusEffects" : [
{ "kind" : "shieldsuppressed", "duration" : 0.1 }
]
},
"cooldown" : {
"twoHanded" : true,
"armAngle" : -45,
"swordAngle" : -90,
"handPosition" : [-2.7, -27],
"duration" : 0.4,
"statusEffects" : [
{ "kind" : "shieldsuppressed", "duration" : 0.1 }
]
}
},
"palette" : [
{ "676767" : "756257", "B1B1B1" : "a18d7f", "E9E9E9" : "e0c7b5", //iron//
"A1750B" : "7e0000", "BC8B07" : "b71111", "F5E458" : "eb3f3f", //gold//
"624122" : "5b5b5b", "886337" : "7f7e7d", "b0885f" : "a09f9e", //wood//
"F32200" : "ffae46", "FFAB9E" : "ffd878", "FEFFFF" : "fcf7da", //energy//
"605C57" : "363636", "A89E93" : "5d5d5c", "D2C5B6" : "7e7e7e" //steel//
}
],
"nameGenerator" : "bonehammernames.config:nameGen"
}
這樣隨機(jī)生成的武器是速度0.8,dps最高2917的武器。
你可以改成
"baseDps" : [7.0, 7.0],
"rateOfSwing" : [1.6, 1.6],
這樣掉落的就是一把秒傷5834,速度1.6的骨錘。

這樣修改的物品數(shù)據(jù)拾取后記錄在你的個(gè)人存檔里,之后你恢復(fù)原版文件后帶著它進(jìn)入各種驗(yàn)證客戶端服務(wù)器也沒有任何問題,因?yàn)楸緛砭褪怯螒虮緛泶嬖诘奈锲,而隨機(jī)數(shù)據(jù)是存在在個(gè)人存檔里的,而游戲不會(huì)驗(yàn)證隨機(jī)物品的屬性范圍,因此不會(huì)像各種自制物品導(dǎo)致服務(wù)器報(bào)錯(cuò),修改后的屬性也可以正常使用。

同樣你也可以修改各種隨機(jī)掉落武器的特效,槍械的彈藥種類等等,比較簡單自己一看相關(guān)物品文件就明白,這里就不一一贅述。

物品的掉落這里以miniboss為例,但是這個(gè)打起來還是有點(diǎn)煩,你也可以改成其他npc,一般都是修改pool2的數(shù)據(jù),只要你能找到相應(yīng)可以立刻找到的npc即可。
普通星球表面的野怪的掉落要修改6個(gè)文件,個(gè)人沒有驗(yàn)證過改哪些pool有效。而修改寶箱也比較麻煩,因?yàn)槟悴恢滥膫(gè)寶箱是隨機(jī)掉落的,規(guī)定掉落的寶箱實(shí)在太多有些掩人耳目,7.1之后大家說的刷裝備的箱子不知道可不可以操作,有心的同學(xué)可以試一試。


玩家評(píng)論
我要點(diǎn)評(píng)

網(wǎng)名 注:您的評(píng)論需要經(jīng)過審核才會(huì)顯示出來。

已有 0 位玩家參與點(diǎn)評(píng)
下載排行