流年饥荒控制台指令大全物品大全服务器管理命令大全.docx

上传人:牧羊曲112 文档编号:2028807 上传时间:2023-01-02 格式:DOCX 页数:51 大小:257.27KB
返回 下载 相关 举报
流年饥荒控制台指令大全物品大全服务器管理命令大全.docx_第1页
第1页 / 共51页
流年饥荒控制台指令大全物品大全服务器管理命令大全.docx_第2页
第2页 / 共51页
流年饥荒控制台指令大全物品大全服务器管理命令大全.docx_第3页
第3页 / 共51页
流年饥荒控制台指令大全物品大全服务器管理命令大全.docx_第4页
第4页 / 共51页
流年饥荒控制台指令大全物品大全服务器管理命令大全.docx_第5页
第5页 / 共51页
点击查看更多>>
资源描述

《流年饥荒控制台指令大全物品大全服务器管理命令大全.docx》由会员分享,可在线阅读,更多相关《流年饥荒控制台指令大全物品大全服务器管理命令大全.docx(51页珍藏版)》请在三一办公上搜索。

1、流年离伤2016流年饥荒控制台指令大全+物品大全+服务器管理命令大全一键搭建服务器请加qun四九七三九八四四五LiuNianLiShang目录一、服务器操作指令:2二、控制台命令函数原型6三、高级控制台命令:请自行翻译14四、全部道具配方翻译20五、修改料理食谱(含全部料理精确食谱)25六、常用物品中英文名称371.材料:372.工具武器:383.穿戴:404.建筑:415.食物:446.植物:477.动物:488.角色:50一、服务器操作指令:TheNet:Kick(userid)-踢出用户ID为“userid”的玩家TheNet:Ban(userid)-禁止用户ID为“userid”的玩家

2、加入c_save()-立即保存当前世界(一般会在每天早上自动保存)c_reset(true|false)-true删除当前世界并新建一个全新的世界;false重新加载当前世界。c_shutdown(true|false)-true保存并关闭当前世界;false不保存直接关闭当前世界c_rollback() 回档c_rollback(1) 回滚一个存档c_rollback(2) 回滚两个存档c_rollback(3) 回滚三个存档 服务器没有回过档时理论可以回到任何一个档,但是如果回档一次,最多只能往前回5个档TheNet:SetAllowIncomingConnections(true|fal

3、se)-true允许他人加入;false阻止任何人加入。TheNet:SetAllowIncomingConnections(false)TheNet:SetAllowIncomingConnections(true)-console -lan -player 6重新生成世界c_regenerateworld()测试模式c_testruins()超级上帝模式c_supergodmode()-定位-GetPlayer().Transform:SetPosition(22,0,33)地图全开:第一次输入 minimap=TheSim:FindFirstEntityWithTag(minimap)第

4、二次打开地图输入: minimap=TheSim:FindFirstEntityWithTag(minimap)minimap.MiniMap:ShowArea(0, 0, 0, 10000)c_listplayers()-lan -console -player 10c_announce(大家记好房间名,回一下档)c_announce(流年离伤提醒你:卡?把小地图关了吧。)c_announce(亲们,重启一下,有点bug,封了那人之后,我也进不去了)c_announce(不早了,兄弟们都睡觉吧,服务器要关了,晚安)c_announce(流年离伤提醒你:复活密码#LNCS,重新选人密码#LNL

5、S,先按u然后输入密码方可)c_give(faroz_gls)c_give(scythe)复活所有人:for k,v in pairs(AllPlayers) do v:PushEvent(respawnfromghost) end把所有人聚集在一起:c_gatherplayers()传送到任意坐标:例子传送到(64.008,81.882)GetPlayer().Transform:SetPosition(64.008,0,81.882)GetPlayer().Transform:SetPosition(101,0,112)GetPlayer().Transform:SetPosition(7

6、3,0,145)minimap=TheSim:FindFirstEntityWithTag(minimap)minimap.MiniMap:ShowArea(0,0,0,10000)全图显示GetWorld().minimap.minimap:showarea(0,0,0,10000)代码示例:c_give(goldnugget,40) /金子c_give(rocks,240) /6组石头c_give(log,120) /6组木头c_give(wall_ruins_item,60) /铥墙c_give(log,80)/木头c_give(ancient_altar) /远古祭坛c_give(ce

7、llar_placer) /暴风地窖c_give(bonestew,40)c_give(bonestew,40)c_give(rope,40) /绳子papyrusc_give(papyrus,40) /zhic_give(trunk_summer,40) 夏象鼻c_give(cutstone,20) 砖块c_give(silk,40) 蛛网c_give(krampus_sack) 看普斯背包c_give(seeds,40) 种子c_give(poop,40) 便便c_give(spidergland,40)c_give(gears,40) 齿轮c_give(rope,40)c_give(ro

8、pe,40)c_give(rope,40)c_give(rope,40)c_give(rope,40)最大生命值:GetPlayer().components.health:SetMaxHealth(300)-GetPlayer().Transform:SetPosition(-1,-1,-1)自动回血GetPlayer().components.health:StartRegen(30,10)饥饿上限:GetPlayer().components.hunger:SetMax(500)设置sun上限GetPlayer().components.sanity:SetMax(1000)火的伤害为零

9、:GetPlayer().components.health.fire_damage_scale=0-晾肉架-c_give(twigs,30)c_give(charcoal,20)c_give(rope,30)-强心针-healingsalvec_give(healingsalve,20)c_give(papyrus,30)-猪窝-c_give(board,4)c_give(cutstone,3)c_give(pigskin,4)resurrectionstatue-建家植物-dug_grass(长草簇)dug_sapling(可种的树苗)dug_berrybush(可种的果树丛)c_give

10、(dug_grass,40)c_give(dug_sapling,40)c_give(dug_berrybush,40)c_give(dug_grass,13)c_give(dug_sapling,21)c_give(dug_berrybush,16)c_give(minerhat)c_give(lightbulb,40)暴风地窖5gecutstonec_give(cutstone,20)c_give(turf_woodfloor,20)c_give(goldenshovel,1)c_give(perogies,10)minimap=TheSim:FindFirstEntityWithTag(

11、minimap)GetWorld().minimap.MiniMap:ShowArea(0,0,0,10000)c_give(goldnugget,20)c_give(rocks,40)c_give(log,40)c_give(cutgrass,40)c_give(twigs,40)c_give(flint,40)c_give(perogies,20)c_give(krampus_sack)c_give(minerhat)c_give(lightbulb,40)GetPlayer().components.health:SetMaxHealth(300)GetPlayer().componen

12、ts.health:StartRegen(30,10)GetPlayer().components.hunger:SetMax(350)GetPlayer().components.sanity:SetMax(400)c_give(wall_ruins_item,60)GetPlayer().components.health:SetMaxHealth(9999)GetPlayer().components.health:StartRegen(50,10)GetPlayer().components.hunger:SetMax(3500)GetPlayer().components.sanit

13、y:SetMax(4000)c_give(goldnugget,20)c_give(rocks,40)c_give(log,40)c_give(cutgrass,40)c_give(twigs,40)c_give(flint,40)c_give(perogies,5)c_give(krampus_sack)c_give(minerhat)c_give(lightbulb,40)c_give(gears,4)c_give(flower_cave_triple)灯笼草单朵的:flower_cave双朵:flower_cave_double三朵:flower_cave_triple二、控制台命令函数

14、原型-以下为各个函数原型,使用时只需要输入函数比如c_save()-世界喊话- Show server announcements:- To send a one time announcement: c_announce(msg)- To repeat a periodic announcement: c_announce(msg, interval)- To cancel a periodic announcement: c_announce()c_announce(大家记好房间名,回一下档)-回滚- Roll back *count* number of saves (default 1

15、)function c_rollback(count)c_rollback(1)-保存-function c_save()-刷物品- Spawn At Cursor and select the new ent- Has a gimpy short name so its easier to type from the consolefunction c_spawn(prefab, count)-关闭服务器 (是否保存)- Shutdown the application, optionally close with out saving (saves by default)function

16、c_shutdown(save)-重启服务器(是否保存)- Restart the server, optionally save before restarting (does not save by default)function c_reset(save)-重新生成世界- Permanently delete the game world, rengerates a new world afterwordsfunction c_regenerateworld()-远程执行lua命令- Remotely execute a lua stringfunction c_remote( fns

17、tr )-使一个玩家重新开始进入选人阶段- Despawn a player, returning to character select screenfunction c_despawn(player)-c_despawn helper- c_despawn helperlocal function dodespawn(player)-列出当前活跃用户- Return a listing of currently active playersfunction c_listplayers()-与上一个命令感觉没有什么区别- Return a listing of AllPlayers tabl

18、efunction c_listallplayers()-获取选择的物品- Get the currently selected entity, so it can be modified etc.- Has a gimpy short name so its easier to type from the consolefunction c_sel()function c_select(inst)-光标下打印。- Print the (visual) tile under the cursorfunction c_tile()-应用场景脚本来选择和运行它。- Apply a scenario

19、 script to the selection and run it.function c_doscenario(scenario)-改变单位生命值- Some helper shortcut functionsfunction c_sel_health()function c_sethealth(n)function c_setminhealth(n) 最小生命值function c_setsanity(n) 脑残值c_sethunger(n) 饥饿值function c_setbeaverness(n) function c_setmoisture(n) 湿度function c_set

20、temperature(n) 温度-运行中直连- Work in progress direct connect code.- Currently, to join an online server you must authenticate first.- In the future this authentication will be taken care of for you.function c_connect( ip, port, password )-在背包中放入物品- Put an item(s) in the players inventoryfunction c_give(

21、prefab, count)-未知-function c_mat(recname)function c_pos(inst)function c_printpos(inst)function c_teleport(x, y, z, inst)-移动命令-function c_move(inst)function c_goto(dest, inst)未知function c_inst(guid)列举function c_list(prefab)function c_listtag(tag)查找下一个function c_findnext(prefab, radius, inst)-上帝模式-fun

22、ction c_godmode()-超级上帝模式-function c_supergodmode()-查找-function c_find(prefab, radius, inst)function c_findtag(tag, radius, inst)未知命令function c_gonext(name)未知命令function c_printtextureinfo( filename )function c_simphase(phase)function c_anim(animname, loop)function c_light(c1, c2, c3)function c_spawn_

23、ds(prefab, scenario)function c_countprefabs(prefab, noprint)function c_counttagged(tag, noprint)-计算所有物品数量-function c_countallprefabs()-加速 几倍-function c_speedmult(multiplier)c_speedmult(1.5)c_speedmult(1.3)c_speedmult(3)-实验模式-function c_testruins() ConsoleCommandPlayer().components.builder:UnlockReci

24、pesForTech(SCIENCE = 2, MAGIC = 2) c_give(log, 20) c_give(flint, 20) c_give(twigs, 20) c_give(cutgrass, 20) c_give(lightbulb, 5) c_give(healingsalve, 5) c_give(batbat) c_give(icestaff) c_give(firestaff) c_give(tentaclespike) c_give(slurtlehat) c_give(armorwood) c_give(minerhat) c_give(lantern) c_giv

25、e(backpack)end未知function c_teststate(state)-作战装备-function c_combatgear()-作战模拟器-function c_combatsimulator(prefab, count)-转储-function c_dump()-显示当前所处季节-function c_dumpseasons()例子:c_dumpseasons()04:48:05: ConsoleInput: c_dumpseasons()04:48:05: spring 14 - 6 days (70 %) cycle-打印世界信息-function c_dumpworl

26、dstate()例子04:49:27: ConsoleInput: c_dumpworldstate()04:49:27:04:49:27: /= DUMPING WORLD STATE =04:49:27: summerlength 1504:49:27: seasonprogress 0.704:49:27: elapseddaysinseason 1404:49:27: isfullmoon false04:49:27: moisture 1552.687133789104:49:27: springlength 2004:49:27: moonphase threequarter04:

27、49:27: precipitationrate 004:49:27: iswet false04:49:27: winterlength 1504:49:27: iswinter false04:49:27: issummer false04:49:27: moistureceil 3359.318847656304:49:27: isday false04:49:27: remainingdaysinseason 604:49:27: isnight false04:49:27: isdusk true04:49:27: isspring true04:49:27: isautumn fa

28、lse04:49:27: issnowing false04:49:27: snowlevel 004:49:27: issnowcovered false04:49:27: autumnlength 2004:49:27: phase dusk04:49:27: temperature 38.15128462902204:49:27: wetness 14.7615089416504:49:27: pop 0.3672803087533404:49:27: season spring04:49:27: israining false04:49:27: time 0.7947306811809

29、504:49:27: cycles 4904:49:27: precipitation none04:49:27: timeinphase 0.9593844141278904:49:27: =/-隐藏-function c_makeinvisible()-作用未知function c_selectnext(name)以下应该是召唤boss召唤鹿的马蹄声function c_summondeerclops()召唤熊德function c_summonbearger()-聚集队员-function c_gatherplayers() local x,y,z = ConsoleWorldPosit

30、ion():Get() for k,v in pairs(AllPlayers) do v.Transform:SetPosition(x,y,z) endend-加速-function c_speedup() TheSim:SetTimeScale(TheSim:GetTimeScale() *10) print(Speed is now , TheSim:GetTimeScale()end-跳过多少天-function c_skip(num) num = num or 1 LongUpdate(TUNING.TOTAL_DAY_TIME * num)end-投票-function c_to

31、gglevotekick()TheWponents.voter:ToggleVoteKick()end-地面类型-function c_groundtype() local index, table = ConsoleCommandPlayer():GetCurrentTileType() print(Ground type is , index) for k,v in pairs(table) do print(k,v) endend-搜索-function c_searchprefabs(str)例如c_searchprefabs(log)04:57:55: ConsoleInput: c

32、_searchprefabs(log)04:57:55: Found 10 matches:04:57:55: log04:57:55: yellowgem04:57:55: maxwellphonograph04:57:55: livinglog04:57:55: glommerwings04:57:55: deerclopswarning_lvl104:57:55: deerclopswarning_lvl404:57:55: deerclopswarning_lvl304:57:55: deerclopswarning_lvl204:57:55: teleportato_ring-锁定健

33、康-function c_maintainhealth(player, percent) player = player or ConsoleCommandPlayer() if player.debug_maintainhealthtask = nil then player.debug_maintainhealthtask:Cancel() end player.debug_maintainhealthtask = player:DoPeriodicTask(3, function(inst) ponents.health:SetPercent(percent or 1) end)end-

34、锁定san-function c_maintainsanity(player, percent) player = player or ConsoleCommandPlayer() if player.debug_maintainsanitytask = nil then player.debug_maintainsanitytask:Cancel() end player.debug_maintainsanitytask = player:DoPeriodicTask(3, function(inst) ponents.sanity:SetPercent(percent or 1) end)

35、end-锁定饥饿-function c_maintainhunger(player, percent) player = player or ConsoleCommandPlayer() if player.debug_maintainhungertask = nil then player.debug_maintainhungertask:Cancel() end player.debug_maintainhungertask = player:DoPeriodicTask(3, function(inst) ponents.hunger:SetPercent(percent or 1) e

36、nd)end-锁定温度-function c_maintaintemperature(player, temp) player = player or ConsoleCommandPlayer() if player.debug_maintaintemptask = nil then player.debug_maintaintemptask:Cancel() end player.debug_maintaintemptask = player:DoPeriodicTask(3, function(inst) ponents.temperature:SetTemperature(temp or 25) end)end-锁定湿度-function c_maintainmoisture(player, percent) p

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 生活休闲 > 在线阅读


备案号:宁ICP备20000045号-2

经营许可证:宁B2-20210002

宁公网安备 64010402000987号