饑荒游戲修改編程_第1頁
饑荒游戲修改編程_第2頁
饑荒游戲修改編程_第3頁
饑荒游戲修改編程_第4頁
饑荒游戲修改編程_第5頁
已閱讀5頁,還剩607頁未讀 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡介

饑荒游戲?qū)嵱眯薷募记蛇m用于巨人的統(tǒng)治DLC游戲100795版,去掉修改路徑中的DLC0001\可用于非DLC版一.全人物解鎖用記事本打開游戲目錄\data\scripts\playerprofile.lua文件,將下列內(nèi)容: returntrue--modcharacter end returnfalse替換為: returntrue--modcharacter end returntrue即可解鎖全人物進(jìn)行游戲二.提高主角血量10倍用記事本打開游戲目錄\data\DLC0001\scripts\tuning.lua文件,1.將localwilson_health=150替換為localwilson_health=15002.將WX78_MIN_HEALTH=100,替換為WX78_MIN_HEALTH=1000,3.將WX78_MAX_HEALTH=400,替換為WX78_MAX_HEALTH=4000,4.將下列內(nèi)容: WOLFGANG_HEALTH_MIGHTY=300, WOLFGANG_HEALTH_NORMAL=200, WOLFGANG_HEALTH_WIMPY=150,替換為: WOLFGANG_HEALTH_MIGHTY=3000, WOLFGANG_HEALTH_NORMAL=2000, WOLFGANG_HEALTH_WIMPY=1500,5.將WATHGRITHR_HEALTH=200,替換為WATHGRITHR_HEALTH=2000,6.將WEBBER_HEALTH=175,替換為WEBBER_HEALTH=1750,即可讓全部主角血量提高10倍,修改這里也使盔甲的耐久度同步上升10倍三.主角自動(dòng)回血用記事本打開游戲目錄\data\DLC0001\scripts\prefabs\player_common.lua文件,在ponents.health:SetMaxHealth(TUNING.WILSON_HEALTH)的下一行插入以下內(nèi)容:ponents.health:StartRegen(30,10)即可讓主角自動(dòng)回血,其中30為血量,10為10秒回血一次,可自行調(diào)整四.增加食物及料理補(bǔ)血量10倍用記事本打開游戲目錄\data\DLC0001\scripts\tuning.lua文件,將以下內(nèi)容: HEALING_TINY=1, HEALING_SMALL=3, HEALING_MEDSMALL=8, HEALING_MED=20, HEALING_MEDLARGE=30, HEALING_LARGE=40, HEALING_HUGE=60, HEALING_SUPERHUGE=100,替換為: HEALING_TINY=10, HEALING_SMALL=30, HEALING_MEDSMALL=80,十四.背豬皮包、穿大理石盔甲行走速度不減慢用記事本打開游戲目錄\data\DLC0001\scripts\tuning.lua文件,1.將PIGGYBACK_SPEED_MULT=0.9,替換為PIGGYBACK_SPEED_MULT=1,2.將ARMORMARBLE_SLOW=0.7,替換為ARMORMARBLE_SLOW=1,即可背豬皮包、穿大理石盔甲行走速度不減慢十五.提高拿手杖行走速度用記事本打開游戲目錄\data\DLC0001\scripts\tuning.lua文件,將CANE_SPEED_MULT=1.25,替換為CANE_SPEED_MULT=2.5,即可將拿手杖行走速度提高1倍十六.解鎖全科技(全人物不用機(jī)器就可造全部物品)1.用記事本打開游戲目錄\data\DLC0001\scripts\prefabs\player_common.lua文件,在inst:AddComponent("builder")下一行插入以下內(nèi)容: ponents.builder.science_bonus=3 ponents.builder.magic_bonus=3 ponents.builder.ancient_bonus=42.用記事本打開游戲目錄\data\DLC0001\scripts\prefabs\wickerbottom.lua文件,將ponents.builder.science_bonus=1替換為--ponents.builder.science_bonus=1即可讓全人物不用機(jī)器就可造全部物品,遠(yuǎn)古物品也不用靠近祭壇就可制造十九.加大單格堆疊數(shù)量用記事本打開游戲目錄\data\DLC0001\scripts\tuning.lua文件,將以下內(nèi)容: STACK_SIZE_LARGEITEM=10, STACK_SIZE_MEDITEM=20, STACK_SIZE_SMALLITEM=40,替換為: STACK_SIZE_LARGEITEM=999, STACK_SIZE_MEDITEM=999, STACK_SIZE_SMALLITEM=999,即可加大單格堆疊數(shù)量至999二十.增加主角物品條的格子用記事本打開游戲目錄\data\DLC0001\scripts\components\inventory.lua文件,將localMAXSLOTS=15替換為localMAXSLOTS=25即可將主角物品條的格子由15個(gè)增加到25個(gè)二十一.雙層主角物品條(60格)1.用記事本打開游戲目錄\data\DLC0001\scripts\components\inventory.lua文件,將localMAXSLOTS=15替換為localMAXSLOTS=602.用記事本打開游戲目錄\data\scripts\widgets\inventorybar.lua文件,將self.bg:SetScale(1.15,1,1)替換為self.bg:SetScale(1.86,1.85,1)3.將下列內(nèi)容:localnum_intersep=math.floor(num_slots/5)+1localtotal_w=(num_slots+num_equip)*(W)+(num_slots+num_equip-2-num_intersep)*(SEP)+INTERSEP*num_intersepfork,vinipairs(self.equipslotinfo)dolocalslot=EquipSlot(v.slot,v.atlas,v.image,self.owner)self.equip[v.slot]=self.toprow:AddChild(slot)localx=-total_w/2+(num_slots)*(W)+num_intersep*(INTERSEP-SEP)+(num_slots-1)*SEP+INTERSEP+W*(k-1)+SEP*(k-1)slot:SetPosition(x,0,0)table.insert(eslot_order,slot) localitem=ponents.inventory:GetEquippedItem(v.slot) ifitemthen slot:SetTile(ItemTile(item)) endendfork=1,num_slotsdolocalslot=InvSlot(k,HUD_ATLAS,"inv_slot.tex",self.owner,ponents.inventory)self.inv[k]=self.toprow:AddChild(slot)localinterseps=math.floor((k-1)/5)localx=-total_w/2+W/2+interseps*(INTERSEP-SEP)+(k-1)*W+(k-1)*SEPslot:SetPosition(x,0,0) slot.top_align_tip=W*0.5+YSEP localitem=ponents.inventory:GetItemInSlot(k) ifitemthen slot:SetTile(ItemTile(item)) endend替換為:localnum_intersep=math.floor(num_slots/10)+1localtotal_w=(num_slots-30.85)*(W)+(num_slots-30.85-2-num_intersep)*(SEP)+INTERSEP*num_intersepfork,vinipairs(self.equipslotinfo)dolocalslot=EquipSlot(v.slot,v.atlas,v.image,self.owner)self.equip[v.slot]=self.toprow:AddChild(slot)localx=-total_w/2+(num_slots*0+14.07)*(W)+num_intersep*(INTERSEP-SEP)+(num_slots-1)*SEP+INTERSEP+W*(k-1)+SEP*(k-1)slot:SetPosition(x+341,190,0)table.insert(eslot_order,slot) localitem=ponents.inventory:GetEquippedItem(v.slot) ifitemthen slot:SetTile(ItemTile(item)) endendfork=1,30dolocalslot=InvSlot(k,HUD_ATLAS,"inv_slot.tex",self.owner,ponents.inventory)self.inv[k]=self.toprow:AddChild(slot)localinterseps=math.floor((k-1)/10)localx=-total_w/2+W/2+interseps*(INTERSEP-SEP)+(k-1)*W+(k-1)*SEPslot:SetPosition(x,0,0) localitem=ponents.inventory:GetItemInSlot(k) ifitemthen slot:SetTile(ItemTile(item)) endendfork=31,60dolocalslot=InvSlot(k,HUD_ATLAS,"inv_slot.tex",self.owner,ponents.inventory)self.inv[k]=self.toprow:AddChild(slot)localinterseps=math.floor((k-1-30)/10)localx=-total_w/2+W/2+interseps*(INTERSEP-SEP)+(k-1-30)*W+(k-1-30)*SEPslot:SetPosition(x,80,0) localitem=ponents.inventory:GetItemInSlot(k) ifitemthen slot:SetTile(ItemTile(item)) endend即可獲得雙層主角物品條(60格),注意必須將游戲設(shè)置(options)-(Settings)-HUDsize項(xiàng)設(shè)為0,即顯示最小物品條,才可完整顯示60格哦二十二.同時(shí)攜帶多個(gè)背包(背包可庫存)1.同時(shí)攜帶多個(gè)普通背包:用記事本打開游戲目錄\data\DLC0001\scripts\prefabs\backpack.lua文件,將ponents.inventoryitem.cangoincontainer=false替換為ponents.inventoryitem.cangoincontainer=true2.同時(shí)攜帶多個(gè)小豬包:用記事本打開游戲目錄\data\DLC0001\scripts\prefabs\piggyback.lua文件,將ponents.inventoryitem.cangoincontainer=false替換為ponents.inventoryitem.cangoincontainer=true3.同時(shí)攜帶多個(gè)坎普斯背包:用記事本打開游戲目錄\data\DLC0001\scripts\prefabs\krampus_sack.lua文件,將ponents.inventoryitem.cangoincontainer=false替換為ponents.inventoryitem.cangoincontainer=true4.同時(shí)攜帶多個(gè)冰包:用記事本打開游戲目錄\data\DLC0001\scripts\prefabs\icepack.lua文件,將ponents.inventoryitem.cangoincontainer=false替換為ponents.inventoryitem.cangoincontainer=true即可同時(shí)攜帶多個(gè)背包二十三.背包格子增大至39格用記事本打開游戲目錄\data\DLC0001\scripts\prefabs\backpack.lua文件,1.將下列內(nèi)容:fory=0,3do table.insert(slotpos,Vector3(-162,-y*75+114,0)) table.insert(slotpos,Vector3(-162+75,-y*75+114,0))替換為:fory=0,12do table.insert(slotpos,Vector3(-162,-y*75+435,0)) table.insert(slotpos,Vector3(-162+75,-y*75+435,0)) table.insert(slotpos,Vector3(-162+150,-y*75+435,0))2.將下列內(nèi)容:ponents.container.widgetanimbank="ui_backpack_2x4"ponents.container.widgetanimbuild="ui_backpack_2x4"ponents.container.widgetpos=Vector3(-5,-70,0)替換為:--ponents.container.widgetanimbank="ui_backpack_2x4"--ponents.container.widgetanimbuild="ui_backpack_2x4"ponents.container.widgetpos=Vector3(-25,-50,0)即可讓普通背包格子增大至39格二十四.制造坎普斯背包用記事本打開游戲目錄\data\DLC0001\scripts\recipes.lua文件,在Recipe("piggyback",{Ingredient("pigskin",4),Ingredient("silk",6),Ingredient("rope",2)},RECIPETABS.SURVIVAL,TECH.SCIENCE_TWO)的下一行插入以下內(nèi)容:Recipe("krampus_sack",{Ingredient("cutgrass",5),Ingredient("twigs",5)},RECIPETABS.SURVIVAL,TECH.NONE)即可在生存選項(xiàng)(畫著繩套)下,用5個(gè)草、5個(gè)樹杈制造坎普斯背包。不要與“巨型超市”一同修改,因?yàn)椤熬扌统小敝幸呀?jīng)有坎普斯背包出售二十五.伍迪砍樹不會(huì)變海貍用記事本打開游戲目錄\data\DLC0001\scripts\prefabs\woodie.lua文件,將ponents.beaverness:DoDelta(3)替換為ponents.beaverness:DoDelta(0)即可讓伍迪砍樹不會(huì)變海貍二十六.伍迪吃瘋?cè)饬⒓醋兒X偳译S身物品不掉落用記事本打開游戲目錄\data\DLC0001\scripts\prefabs\woodie.lua文件,1.將ponents.inventory:DropEverything()替換為--ponents.inventory:DropEverything()2.在inst.Light:SetColour(245/255,40/255,0/255)的下一行插入以下內(nèi)容:localfunctionOnEat(inst,food)iffood.prefab=="monstermeat"andnotponents.beaverness:IsBeaver()thenifnotponents.beaverness.doing_transformthenponents.beaverness:SetPercent(1)endendendponents.eater:SetOnEatFn(OnEat)即可讓伍迪吃瘋?cè)饬⒓醋兒X?,隨身物品還保留在身上(只是看不見),等變回伍迪即可使用。不要在伍迪佩戴橙色護(hù)身符時(shí)變海貍,否則砍的木頭都自動(dòng)被吸走,海貍無法吃到。不要與“小病小災(zāi)”一同修改二十七.圖書管理員不再失眠(老太太可以睡帳篷)用記事本打開游戲目錄\data\DLC0001\scripts\prefabs\wickerbottom.lua文件,將inst:AddTag("insomniac")替換為--inst:AddTag("insomniac")即可讓老太太也可以睡帳篷二十八.麥斯威爾用魔法書召喚分身不減腦上限1.用記事本打開游戲目錄\data\scripts\prefabs\waxwelljournal.lua文件,將ponents.sanity:RecalculatePenalty()替換為--ponents.sanity:RecalculatePenalty()2.用記事本打開游戲目錄\data\scripts\prefabs\shadowwaxwell.lua文件,將下列內(nèi)容:inst:ListenForEvent("death",ondeath) inst:AddComponent("inventory")ponents.inventory.dropondeath=falseinst:AddComponent("sanityaura")ponents.sanityaura.penalty=TUNING.SHADOWWAXWELL_SANITY_PENALTY替換為:--inst:ListenForEvent("death",ondeath) inst:AddComponent("inventory")ponents.inventory.dropondeath=false--inst:AddComponent("sanityaura")--ponents.sanityaura.penalty=TUNING.SHADOWWAXWELL_SANITY_PENALTY即可在麥斯威爾用魔法書召喚分身時(shí)不減腦上限二十九.瓦絲格雷斯可以吃蔬菜用記事本打開游戲目錄\data\DLC0001\scripts\prefabs\wathgrithr.lua文件,將ponents.eater:SetCarnivore(true)替換為--ponents.eater:SetCarnivore(true)即可讓紅發(fā)妹瓦絲格雷斯不止可以吃肉,也可以吃蔬菜三十.韋伯不被當(dāng)成怪物用記事本打開游戲目錄\data\DLC0001\scripts\prefabs\webber.lua文件,將inst:AddTag("monster")替換為--inst:AddTag("monster")即可讓韋伯不被當(dāng)成怪物,豬人、兔人等中立動(dòng)物不會(huì)主動(dòng)攻擊你三十一.全部物品無限使用(工具、武器、盔甲、魔杖、護(hù)身符、衣服、帽子、照明物品等全部無限使用)1.用記事本打開游戲目錄\data\DLC0001\scripts\widgets\itemtile.lua文件,將下列內(nèi)容:ifponents.fueledthenself:SetPercent(ponents.fueled:GetPercent())endifponents.finiteusesthenself:SetPercent(ponents.finiteuses:GetPercent())endifponents.perishablethenifself:HasSpoilage()thenself:SetPerishPercent(ponents.perishable:GetPercent())elseself:SetPercent(ponents.perishable:GetPercent())endendifponents.armorthenself:SetPercent(ponents.armor:GetPercent())end替換為:--ifponents.fueledthen--self:SetPercent(ponents.fueled:GetPercent())--end--ifponents.finiteusesthen--self:SetPercent(ponents.finiteuses:GetPercent())--endifponents.perishablethenifself:HasSpoilage()thenself:SetPerishPercent(ponents.perishable:GetPercent())elseself:SetPercent(ponents.perishable:GetPercent())endend--ifponents.armorthen--self:SetPercent(ponents.armor:GetPercent())--end2.用記事本打開游戲目錄\data\scripts\components\finiteuses.lua文件,將self:SetUses(self.current-(numor1))替換為self:SetUses(self.current-0)3.用記事本打開游戲目錄\data\DLC0001\scripts\components\fueled.lua文件,將self.consuming=true替換為self.consuming=false4.用記事本打開游戲目錄\data\scripts\components\armor.lua文件,將下列內(nèi)容:functionArmor:SetCondition(amount)self.condition=amount替換為:functionArmor:SetCondition(amount)self.condition=self.maxcondition即可讓全部物品無限使用。其中火堆和石頭營火會(huì)無限燃燒,直到睡過帳篷或下地洞后熄滅三十二.修改裝備使用次數(shù)及時(shí)間用記事本打開游戲目錄\data\DLC0001\scripts\tuning.lua文件,分別查找以下內(nèi)容:斧頭 AXE_USES=100,錘 HAMMER_USES=75,鏟子 SHOVEL_USES=25,草叉 PITCHFORK_USES=25,鎬 PICKAXE_USES=33,捕蟲網(wǎng) BUGNET_USES=10,矛 SPEAR_USES=150,瓦絲格雷斯矛 WATHGRITHR_SPEAR_USES=200,狼牙棒 SPIKE_USES=100,魚桿 FISHINGROD_USES=9,陷阱 TRAP_USES=8,回旋鏢 BOOMERANG_USES=10,暗影劍 NIGHTSWORD_USES=100,冰魔杖 ICESTAFF_USES=20,火魔杖 FIRESTAFF_USES=20,傳送魔杖 TELESTAFF_USES=5,黃色魔杖 YELLOWSTAFF_USES=20,橙色魔杖 ORANGESTAFF_USES=20,綠色魔杖 GREENSTAFF_USES=5,龍卷風(fēng)魔杖 TORNADOSTAFF_USES=15,火腿短棍 HAMBAT_USES=100,蝙蝠棒 BATBAT_USES=75,多功能工具斧頭和鋤頭 MULTITOOL_AXE_PICKAXE_USES=400,遠(yuǎn)古短棒 RUINS_BAT_USES=150,紅色護(hù)身符 REDAMULET_USES=20,藍(lán)色護(hù)身符 BLUEAMULET_FUEL=total_day_time*0.75,紫色護(hù)身符 PURPLEAMULET_FUEL=total_day_time*0.4,黃色護(hù)身符 YELLOWAMULET_FUEL=total_day_time,橙色護(hù)身符 ORANGEAMULET_USES=225,綠色護(hù)身符 GREENAMULET_USES=5,排簫 PANFLUTE_USES=10,牛角 HORN_USES=10,牙齒陷阱 TRAP_TEETH_USES=10,帳篷 TENT_USES=6,午睡小屋 SIESTA_CANOPY_USES=6,傘(攻擊次數(shù)) UMBRELLA_USES=20,針線包 SEWINGKIT_USES=5,肥料 FERTILIZER_USES=10,鈴 GLOMMERBELL_USES=3,火炬 TORCH_FUEL=night_time*1.25,夜棍 NIGHTSTICK_FUEL=night_time*6,礦工帽 MINERHAT_LIGHTTIME=(night_time+dusk_time)*2.6,提燈 LANTERN_LIGHTTIME=(night_time+dusk_time)*2.6,蜘蛛帽 SPIDERHAT_PERISHTIME=4*seg_time,獨(dú)奏樂器 ONEMANBAND_PERISHTIME=6*seg_time,草傘 GRASS_UMBRELLA_PERISHTIME=2*total_day_time*perish_warp,傘 UMBRELLA_PERISHTIME=total_day_time*6,眼睛帽 EYEBRELLA_PERISHTIME=total_day_time*9,草帽 STRAWHAT_PERISHTIME=total_day_time*5,兔耳罩 EARMUFF_PERISHTIME=total_day_time*5,冬帽 WINTERHAT_PERISHTIME=total_day_time*10,牛毛帽 BEEFALOHAT_PERISHTIME=total_day_time*10,寒冬背心 TRUNKVEST_PERISHTIME=total_day_time*15,反射背心 REFLECTIVEVEST_PERISHTIME=total_day_time*8,夏威夷襯衫 HAWAIIANSHIRT_PERISHTIME=total_day_time*15,小巧背心 SWEATERVEST_PERISHTIME=total_day_time*10,饑餓腰帶 HUNGERBELT_PERISHTIME=total_day_time*8,熊背心 BEARGERVEST_PERISHTIME=total_day_time*7,雨衣 RAINCOAT_PERISHTIME=total_day_time*10,海象帽子 WALRUSHAT_PERISHTIME=total_day_time*25,羽毛帽 FEATHERHAT_PERISHTIME=total_day_time*8,高禮帽 TOPHAT_PERISHTIME=total_day_time*8,冰帽 ICEHAT_PERISHTIME=total_day_time*4,鼴鼠帽 MOLEHAT_PERISHTIME=total_day_time*1.5,防雨帽 RAINHAT_PERISHTIME=total_day_time*10,浣熊帽 CATCOONHAT_PERISHTIME=total_day_time*10,羽毛扇 FEATHER_FAN_USES=15,加大每行的數(shù)字,即可增加該裝備使用次數(shù)及時(shí)間。如讓牛毛帽使用時(shí)間增加10倍,就將BEEFALOHAT_PERISHTIME=total_day_time*10,替換為BEEFALOHAT_PERISHTIME=total_day_time*100,三十三.武器傷害值加大用記事本打開游戲目錄\data\DLC0001\scripts\tuning.lua文件,分別查找以下內(nèi)容:空手 UNARMED_DAMAGE=10,暗影劍 NIGHTSWORD_DAMAGE=wilson_attack*2,蝙蝠棒 BATBAT_DAMAGE=wilson_attack*1.25,枯竭蝙蝠棒 BATBAT_DRAIN=wilson_attack*0.2,狼牙棒 SPIKE_DAMAGE=wilson_attack*1.5,火腿短棍 HAMBAT_DAMAGE=wilson_attack*1.75,矛 SPEAR_DAMAGE=wilson_attack,瓦絲格雷斯矛 WATHGRITHR_SPEAR_DAMAGE=wilson_attack*1.25,斧頭 AXE_DAMAGE=wilson_attack*.8,鎬 PICK_DAMAGE=wilson_attack*.8,回旋鏢 BOOMERANG_DAMAGE=wilson_attack*.8,火炬 TORCH_DAMAGE=wilson_attack*.5,錘 HAMMER_DAMAGE=wilson_attack*.5,鏟子 SHOVEL_DAMAGE=wilson_attack*.5,草叉 PITCHFORK_DAMAGE=wilson_attack*.5,捕蟲網(wǎng) BUGNET_DAMAGE=wilson_attack*.125,魚桿 FISHINGROD_DAMAGE=wilson_attack*.125,雨傘 UMBRELLA_DAMAGE=wilson_attack*.5,手杖 CANE_DAMAGE=wilson_attack*.5,多功能工具 MULTITOOL_DAMAGE=wilson_attack*.9,遠(yuǎn)古短棒 RUINS_BAT_DAMAGE=wilson_attack*1.75,夜棍 NIGHTSTICK_DAMAGE=wilson_attack*.85,--Duetothedamagebeingelectric,itwillgetmultipliedby1.5againstanymob吹箭 PIPE_DART_DAMAGE=100,牙齒陷阱 TRAP_TEETH_DAMAGE=60,火藥 GUNPOWDER_DAMAGE=200,打火機(jī) LIGHTER_DAMAGE=wilson_attack*.5,眼睛炮塔 EYETURRET_DAMAGE=65,龍卷風(fēng) TORNADO_DAMAGE=7,加大每行最后的數(shù)字,即可增大各種武器的傷害值,游戲中的傷害值是你修改的數(shù)字乘34(主角攻擊力)。如將暗影劍的傷害值增大10倍,就將NIGHTSWORD_DAMAGE=wilson_attack*2,替換為NIGHTSWORD_DAMAGE=wilson_attack*20,三十四.盔甲在就不掉血(盔甲100%吸收傷害值)用記事本打開游戲目錄\data\DLC0001\scripts\tuning.lua文件,1.草盔甲:將ARMORGRASS_ABSORPTION=.6,替換為ARMORGRASS_ABSORPTION=1,2.木盔甲:將ARMORWOOD_ABSORPTION=.8,替換為ARMORWOOD_ABSORPTION=1,3.大理石盔甲:將ARMORMARBLE_ABSORPTION=.95,替換為ARMORMARBLE_ABSORPTION=1,4.蝸牛龜盔甲:將ARMORSNURTLESHELL_ABSORPTION=0.6,替換為ARMORSNURTLESHELL_ABSORPTION=1,5.遠(yuǎn)古盔甲:將ARMORRUINS_ABSORPTION=0.9,替換為ARMORRUINS_ABSORPTION=1,6.饑餓腰帶:將ARMORSLURPER_ABSORPTION=0.6,替換為ARMORSLURPER_ABSORPTION=1,7.豬皮帽:將ARMOR_FOOTBALLHAT_ABSORPTION=.8,替換為ARMOR_FOOTBALLHAT_ABSORPTION=1,8.蜻蜓盔甲:將ARMORDRAGONFLY_ABSORPTION=0.7,替換為ARMORDRAGONFLY_ABSORPTION=1,9.瓦絲格雷斯帽:將ARMOR_WATHGRITHRHAT_ABSORPTION=.8,替換為ARMOR_WATHGRITHRHAT_ABSORPTION=1,10.遠(yuǎn)古王冠:將ARMOR_RUINSHAT_ABSORPTION=0.9,替換為ARMOR_RUINSHAT_ABSORPTION=1,11.蝸牛帽:將ARMOR_SLURTLEHAT_ABSORPTION=0.9,替換為ARMOR_SLURTLEHAT_ABSORPTION=1,12.蜂帽:將ARMOR_BEEHAT_ABSORPTION=.8,替換為ARMOR_BEEHAT_ABSORPTION=1,13.夜魔盔甲:將ARMOR_SANITY_ABSORPTION=.95,替換為ARMOR_SANITY_ABSORPTION=1,即可讓盔甲100%吸收傷害值三十五.提高盔甲耐久力用記事本打開游戲目錄\data\DLC0001\scripts\tuning.lua文件,分別查找以下內(nèi)容:草盔甲 ARMORGRASS=wilson_health*1.5,木盔甲 ARMORWOOD=wilson_health*3,大理石盔甲 ARMORMARBLE=wilson_health*7,蝸牛龜盔甲 ARMORSNURTLESHELL=wilson_health*7,遠(yuǎn)古盔甲 ARMORRUINS=wilson_health*12,饑餓腰帶 ARMORSLURPER=wilson_health*4,豬皮帽 ARMOR_FOOTBALLHAT=wilson_health*3,蜻蜓盔甲 ARMORDRAGONFLY=wilson_health*9,瓦絲格雷斯帽 ARMOR_WATHGRITHRHAT=wilson_health*5,遠(yuǎn)古王冠 ARMOR_RUINSHAT=wilson_health*8,蝸牛帽 ARMOR_SLURTLEHAT=wilson_health*5,蜂帽 ARMOR_BEEHAT=wilson_health*5,夜魔盔甲 ARMOR_SANITY=wilson_health*5,加大每行最后的數(shù)字,即可提高盔甲耐久力。如讓草盔甲耐久力增大10倍,則將ARMORGRASS=wilson_health*1.5,替換為ARMORGRASS=wilson_health*15,三十六.盔甲永固(永遠(yuǎn)100%)用記事本打開游戲目錄\data\scripts\components\armor.lua文件,將下列內(nèi)容:functionArmor:SetCondition(amount)self.condition=amount替換為:functionArmor:SetCondition(amount)self.condition=self.maxcondition即可讓盔甲永固三十九.遠(yuǎn)程采集和拾起物品用記事本打開游戲目錄\data\DLC0001\scripts\actions.lua文件,將下列內(nèi)容:PICK=Action(),PICKUP=Action(1),替換為:PICK=Action(0,true,false,20),PICKUP=Action(1,true,false,20),即可用鼠標(biāo)左鍵點(diǎn)擊草、樹杈等物品,直接采集或撿起,主角不必跑過去,大大節(jié)約了時(shí)間四十.收割者(吹排簫一次采集周邊所有植物)用記事本打開游戲目錄\data\DLC0001\scripts\prefabs\panflute.lua文件,1.將下列內(nèi)容:localfunctionHearPanFlute(inst,musician,instrument) ifponents.sleeperthen ponents.sleeper:AddSleepiness(10,TUNING.PANFLUTE_SLEEPTIME) endend替換為:localfunctionHearPanFlute(inst,musician,instrument)localpos=Vector3(inst.Transform:GetWorldPosition())localents=TheSim:FindEntities(pos.x,pos.y,pos.z,30)fork,vinpairs(ents)doifponents.pickableandv.prefab~="flower"thenponents.pickable:Pick(GetPlayer())endifponents.cropthenponents.crop:Harvest(GetPlayer())endendend2.將下列內(nèi)容:ponents.instrument.range=TUNING.PANFLUTE_SLEEPRANGEponents.instrument:SetOnHeardFn(HearPanFlute)inst:AddComponent("tool")ponents.tool:SetAction(ACTIONS.PLAY)inst:AddComponent("finiteuses")ponents.finiteuses:SetMaxUses(TUNING.PANFLUTE_USES)ponents.finiteuses:SetUses(TUNING.PANFLUTE_USES)ponents.finiteuses:SetOnFinished(onfinished)ponents.finiteuses:SetConsumption(ACTIONS.PLAY,1)替換為:ponents.instrument:SetOnHeardFn(HearPanFlute)inst:AddComponent("tool")ponents.tool:SetAction(ACTIONS.PLAY)即可吹排簫一次采集周邊所有植物(除了花),包括農(nóng)田也可以收割,排簫原有催眠功能取消。排簫在魔法選項(xiàng)(畫著紅骷髏)下用5個(gè)蘆葦、1個(gè)曼德拉草、1個(gè)繩子制造。如果覺得曼德拉草不好找,可以按本修改技巧“用便便種曼德拉草”修改一下四十六.樹樁繼續(xù)長成樹用記事本打開游戲目錄\data\DLC0001\scripts\prefabs\evergreens.lua文件,1.將下列內(nèi)容:localfunctionchop_down_tree(inst,chopper)inst:RemoveComponent("burnable")MakeSmallBurnable(inst)inst:RemoveComponent("propagator")MakeSmallPropagator(inst)inst:RemoveComponent("workable")替換為:MakeLargeBurnable(inst)MakeLargePropagator(inst)2.將下列內(nèi)容:RemovePhysicsColliders(inst)inst.AnimState:PushAnimation(inst.anims.stump) inst:AddComponent("workable")ponents.workable:SetWorkAction(ACTIONS.DIG)ponents.workable:SetOnFinishCallback(dig_up_stump)ponents.workable:SetWorkLeft(1)inst:AddTag("stump")ifponents.growablethenponents.growable:StopGrowing()end替換為:inst.AnimState:PushAnimation(inst.anims.stump)即可讓樹樁繼續(xù)長成樹,取消用鏟子挖樹樁,如果不想要樹樁了,燒掉即可。注意這種再生樹不會(huì)燒成枯樹,燒完只會(huì)剩一團(tuán)灰。不要與“砍樹無樹樁”一同修改四十七.采礦時(shí)50%概率挖出寶石和銩礦石用記事本打開游戲目錄\data\scripts\prefabs\rocks.lua文件,將下列內(nèi)容:SetSharedLootTable('rock1',{{'rocks',1.00},{'rocks',1.00},{'rocks',1.00},{'nitre',1.00},{'flint',1.00},{'nitre',0.25},{'flint',0.60},})SetSharedLootTable('rock2',{{'rocks', 1.00},{'rocks', 1.00},{'rocks', 1.00},{'goldnugget',1.00},{'flint', 1.00},{'goldnugget',0.25},{'flint', 0.60},})SetSharedLootTable('rock_flintless',{{'rocks',1.0},{'rocks',1.0},{'rocks',1.0},{'rocks', 1.0},{'rocks',0.6},})SetSharedLootTable('rock_flintless_med',{{'rocks',1.0},{'rocks',1.0},{'rocks',1.0},{'rocks',0.4},})SetSharedLootTable('rock_flintless_low',{{'rocks',1.0},{'rocks',1.0},{'rocks',0.2},})替換為:SetSharedLootTable('rock1',{{'rocks',1.00},{'rocks',1.00},{'rocks',1.00},{'nitre',1.00},{'flint',1.00},{'nitre',0.25},{'flint',0.60},{'bluegem',0.50},{'redgem',0.50},{'orangegem',0.50},{'yellowgem',0.50},{'greengem',0.50},{'purplegem',0.50},{'thulecite',0.50},})SetSharedLootTable('rock2',{{'rocks', 1.00},{'rocks', 1.00},{'rocks', 1.00},{'goldnugget',1.00},{'flint', 1.00},{'goldnugget',0.25},{'flint', 0.60},{'bluegem',0.50},{'redgem',0.50},{'orangegem',0.50},{'yellowgem',0.50},{'greengem',0.50},{'purplegem',0.50},{'thulecite',0.50},})SetSharedLootTable('rock_flintless',{{'rocks',1.0},{'rocks',1.0},{'rocks',1.0},{'rocks', 1.0},{'rocks',0.6},{'bluegem',0.50},{'redgem',0.50},{'orangegem',0.50},{'yellowgem',0.50},{'greengem',0.50},{'purplegem',0.50},{'thulecite',0.50},})SetSharedLootTable('rock_flintless_med',{{'rocks',1.0},{'rocks',1.0},{'rocks',1.0},{'rocks',0.4},{'bluegem',0.50},{'redgem',0.50},{'orangegem',0.50},{'yellowgem',0.50},{'greengem',0.50},{'purplegem',0.50},{'thulecite',0.50},})SetSharedLootTable('rock_flintless_low',{{'rocks',1.0},{'rocks',1.0},{'rocks',0.2},{'bluegem',0.50},{'redgem',0.50},{'orangegem',0.50},{'yellowgem',0.50},{'greengem',0.50},{'purplegem',0.50},{'thulecite',0.50},})即可在采礦時(shí)50%概率挖出寶石和銩礦石。也可將bluegem(藍(lán)寶石)、redgem(紅寶石)、orangegem(橙寶石)、yellowgem(黃寶石)、greengem(綠寶石)、purplegem(紫寶石)、thulecite(銩礦石)換成其他物品,比如koalefant_summer(紅象)、koalefant_winter(冬象),并調(diào)整0.50的出現(xiàn)概率為你想要的數(shù)字六十八.生命號角(吹牛角讓農(nóng)田和植物迅速長出)用記事本打開游戲目錄\data\scripts\prefabs\horn.lua文件,1.在下列內(nèi)容:localfunctiononfinished(inst)inst:Remove()end的下一行插入以下內(nèi)容:functiongrowfn(inst,reader)localpos=Vector3(reader.Transform:GetWorldPosition())localents=TheSim:FindEntities(pos.x,pos.y,pos.z,30)fork,vinpairs(ents)doifponents.pickablethenponents.pickable:FinishGrowing()endifponents.cropthenponents.crop:DoGrow(TUNING.TOTAL_DAY_TIME*3)endifv:HasTag("tree")andponents.growableandnotv:HasTag("stump")thenponents.growable:DoGrowth()endendend2.將下列內(nèi)容:ponents.instrument.range=TUNING.HORN_RANGEponents.instrument:SetOnHeardFn(HearHorn)替換為:ponents.instrument.onheard=growfn即可在采集過的植物根附近吹牛角,使植物瞬間生長出來,小樹也可以長成大樹,牛角原有讓牛跟隨功能失效七十二.農(nóng)田不用施肥用記事本打開游戲目錄\data\DLC0001\scripts\components\grower.lua文件,將self.cycles_left=self.cycles_left-1替換為self.cycles_left=self.cycles_left即可讓農(nóng)田不用施肥七十五.冰箱容量增加3倍(27格)用記事本打開游戲目錄\data\DLC0001\scripts\prefabs\icebox.lua文件,1.將fory=2,0,-1do替換為fory=8,0,-1do2.將下列內(nèi)容:ponents.container.widgetanimbank="ui_chest_3x3"ponents.container.widgetanimbuild="ui_chest_3x3"ponents.container.widgetpos=Vector3(0,200,0)替換為:--ponents.container.widgetanimbank="ui_chest_3x3"--ponents.container.widgetanimbuild="ui_chest_3x3"ponents.container.widgetpos=Vector3(0,100,0)即可讓冰箱容量增加3倍至27格八十.木箱容量增加9倍(81格)用記事本打開游戲目錄\data\DLC0001\scripts\prefabs\treasurechest.lua文件,1.將下列內(nèi)容:fory=2,0,-1do forx=0,2do替換為:fory=8,0,-1do forx=0,8do2.將下列內(nèi)容: ponents.container.widgetanimbank="ui_chest_3x3" ponents.container.widgetanimbuild="ui_chest_3x3" ponents.container.widgetpos=Vector3(0,200,0)替換為: --ponents.container.widgetanimbank="ui_chest_3x3" --ponents.container.widgetanimbuild="ui_chest_3x3" ponents.container.widgetpos=Vector3(0,100,0)即可讓木箱容量增加9倍至81格八十一.蜻蜓箱子容量增加9倍(108格)用記事本打開游戲目錄\data\DLC0001\scripts\prefabs\dragonfly_chest.lua文件,1.將下列內(nèi)容:fory=2.5,-0.5,-1doforx=0,2do替換為:fory=8,0,-1doforx=0,11do2.將下列內(nèi)容:ponents.container.widgetanimbank="ui_chester_shadow_3x4"ponents.container.widgetanimbuild="ui_chester_shadow_3x4" ponents.container.widgetpos=Vector3(0,200,0)替換為:--ponents.container.widgetanimbank="ui_chester_shadow_3x4"--ponents.container.widgetanimbuild="ui_chester_shadow_3x4" ponents.container.widgetpos=Vector3(-200,100,0)即可使蜻蜓箱子容量增加9倍至108格八十二.精煉選項(xiàng)里的物品一次造10個(gè)用記事本打開游戲目錄\data\DLC0001\scripts\recipes.lua文件,將下列內(nèi)容:Recipe("rope",{Ingredient("cutgrass",3)},RECIPETABS.REFINE,TECH.SCIENCE_ONE)Recipe("boards",{Ingredient("log",4)},RECIPETABS.REFINE,TECH.SCIENCE_ONE)Recipe("cutstone",{Ingredient("rocks",3)},RECIPETABS.REFINE,TECH.SCIENCE_ONE)Recipe("papyrus",{Ingredient("cutreeds",4)},RECIPETABS.REFINE,TECH.SCIENCE_ONE)Recipe("nightmarefuel",{Ingredient("petals_evil",4)},RECIPETABS.REFINE,TECH.MAGIC_TWO)Recipe("purplegem",{Ingredient("redgem",1),Ingredient("bluegem",1)},RECIPETABS.REFINE,TECH.MAGIC_TWO)替換為:Recipe("rope",{Ingredient("cutgrass",3)},RECIPETABS.REFINE,TECH.SCIENCE_ONE,nil,nil,nil,10)Recipe("boards",{Ingredient("log",4)},RECIPETABS.REFINE,TECH.SCIENCE_ONE,nil,nil,nil,10)Recipe("cutstone",{Ingredient("rocks",3)},RECIPETABS.REFINE,TECH.SCIENCE_ONE,nil,nil,nil,10)Recipe("papyrus",{Ingredient("cutreeds",4)},RECIPETABS.REFINE,TECH.SCIENCE_ONE,nil,nil,nil,10)Recipe("nightmarefuel",{Ingredient("petals_evil",4)},RECIPETABS.REFINE,TECH.MAGIC_TWO,nil,nil,nil,10)Recipe("purplegem",{Ingredient("redgem",1),Ingredient("bluegem",1)},RECIPETABS.REFINE,TECH.MAGIC_TWO,nil,nil,nil,10)即可讓精煉選項(xiàng)(畫著白色寶石)里的繩子、木板、石磚、紙、噩夢燃料、紫寶石一次造10個(gè)八十六.收獲蜂箱不被蟄用記事本打開游戲目錄\data\DLC0001\scripts\prefabs\beebox.lua文件,將ponents.childspawner:ReleaseAllChildren(picker)替換為--ponents.childspawner:ReleaseAllChildren(picker)即可在收獲蜂箱不被蟄八十七.蜂箱容量增加10倍(最多可采60個(gè)蜂蜜)用記事本打開游戲目錄\data\DLC0001\scripts\prefabs\beebox.lua文件,1.將下列內(nèi)容:{amount=6,idle="honey3",hit="hit_honey3"},{amount=3,idle="honey2",hit="hit_honey2"},{amount=1,idle="honey1",hit="hit_honey1"},替換為:{amount=60,idle="honey3",hit="hit_honey3"},{amount=30,idle="honey2",hit="hit_honey2"},{amount=10,idle="honey1",hit="hit_honey1"},2.將ponents.harvestable:SetUp("honey",6,nil,onharvest,updatelevel)替換為ponents.harvestable:SetUp("honey",60,nil,onharvest,updatelevel)即可讓蜂箱容量增加10倍,可減少照管的時(shí)間九十一.快速找到牛(牛在地圖上顯示)用記事本打開游戲目錄\data\scripts\prefabs\beefalo.lua文件,在inst:AddComponent("inspectable")的下一行插入以下內(nèi)容:localminimap=inst.entity:AddMiniMapEntity()minimap:SetIcon("beemine.png")即可在地圖上看到牛的位置,顯示為炸彈圖標(biāo),因?yàn)槟悴恢浪裁磿r(shí)候會(huì)發(fā)狂九十二.牛產(chǎn)便便速度增加1倍用記事本打開游戲目錄\data\scripts\prefabs\beefalo.lua文件,將ponents.periodicspawner:SetRandomTimes(40,60)替換為ponents.periodicspawner:SetR

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論