流年饥荒控制台指令大全+物品大全+服务器管理命令大全Word格式文档下载.docx
《流年饥荒控制台指令大全+物品大全+服务器管理命令大全Word格式文档下载.docx》由会员分享,可在线阅读,更多相关《流年饥荒控制台指令大全+物品大全+服务器管理命令大全Word格式文档下载.docx(75页珍藏版)》请在冰点文库上搜索。
FindFirstEntityWithTag("
minimap"
)
第二次打开地图输入:
minimap=TheSim:
minimap.MiniMap:
ShowArea(0,0,0,10000)
c_listplayers()
-lan-console-player10
c_announce("
大家记好房间名,回一下档"
流年离伤提醒你:
卡?
把小地图关了吧。
。
"
亲们,重启一下,有点bug,封了那人之后,我也进不去了"
不早了,兄弟们都睡觉吧,服务器要关了,晚安"
复活密码#LNCS,重新选人密码#LNLS,先按u然后输入密码方可"
c_give("
faroz_gls"
scythe"
复活所有人:
fork,vinpairs(AllPlayers)dov:
PushEvent('
respawnfromghost'
)end
把所有人聚集在一起:
c_gatherplayers()
传送到任意坐标:
例子传送到(64.008,81.882)
SetPosition(64.008,0,81.882)
SetPosition(101,0,112)
SetPosition(73,0,145)
ShowArea(0,0,0,10000)
全图显示
GetWorld().minimap.minimap:
showarea(0,0,0,10000)
代码示例:
goldnugget"
40)//金子
rocks"
240)//6组石头
log"
120)//6组木头
wall_ruins_item"
60)//铥墙
80)//木头
ancient_altar"
)//远古祭坛
cellar_placer"
)//暴风地窖
bonestew"
,40)
40)
rope"
40))//绳子papyrus
papyrus"
40)//zhi
trunk_summer"
40)夏象鼻
cutstone"
20)砖块
silk"
40)蛛网
krampus_sack"
)看普斯背包
seeds"
40)种子
poop"
40)便便
spidergland"
gears"
40)齿轮
最大生命值:
GetPlayer().components.health:
SetMaxHealth(300)
-------------------------------------------------------------
SetPosition(-1,-1,-1)
自动回血
StartRegen(30,10)
饥饿上限:
GetPlayer().components.hunger:
SetMax(500)
设置sun上限
GetPlayer().components.sanity:
SetMax(1000)
火的伤害为零:
GetPlayer().components.health.fire_damage_scale=0
---------晾肉架-------------
twigs"
30)
charcoal"
20)
----------强心针---------
healingsalve
healingsalve"
----------猪窝---------------
board"
4)
3)
pigskin"
resurrectionstatue
-----------建家植物--------
dug_grass(长草簇)
dug_sapling(可种的树苗)
dug_berrybush(可种的果树丛)
dug_grass"
dug_sapling"
dug_berrybush"
13)
21)
16)
minerhat"
lightbulb"
暴风地窖5ge
cutstone
turf_woodfloor"
goldenshovel"
1)
perogies"
10)
GetWorld().minimap.MiniMap:
cutgrass"
flint"
SetMax(350)
SetMax(400)
60)
SetMaxHealth(9999)
StartRegen(50,10)
SetMax(3500)
SetMax(4000)
5)
flower_cave_triple"
灯笼草单朵的:
flower_cave
双朵:
flower_cave_double
三朵:
flower_cave_triple
二、控制台命令函数原型
--------------------以下为各个函数原型,使用时只需要输入函数比如c_save()-----------------
----------------世界喊话-------------------------------------
--Showserverannouncements:
--Tosendaonetimeannouncement:
c_announce(msg)
--Torepeataperiodicannouncement:
c_announce(msg,interval)
--Tocancelaperiodicannouncement:
c_announce()
----------------回滚---------------------------
--Rollback*count*numberofsaves(default1)
functionc_rollback(count)
c_rollback
(1)
----------------保存----------------------------
functionc_save()
----------------刷物品-------------------------------
--SpawnAtCursorandselectthenewent
--Hasagimpyshortnamesoit'
seasiertotypefromtheconsole
functionc_spawn(prefab,count)
----------------关闭服务器(是否保存)--------------------------------
--Shutdowntheapplication,optionallyclosewithoutsaving(savesbydefault)
functionc_shutdown(save)
----------------重启服务器(是否保存)--------------------------------
--Restarttheserver,optionallysavebeforerestarting(doesnotsavebydefault)
functionc_reset(save)
----------------重新生成世界--------------------------------
--Permanentlydeletethegameworld,rengeratesanewworldafterwords
functionc_regenerateworld()
----------------远程执行lua命令--------------------------------
--Remotelyexecutealuastring
functionc_remote(fnstr)
----------------使一个玩家重新开始进入选人阶段--------------------------------
--Despawnaplayer,returningtocharacterselectscreen
functionc_despawn(player)
----------------c_despawnhelper--------------------------------
--c_despawnhelper
localfunctiondodespawn(player)
----------------列出当前活跃用户--------------------------------
--Returnalistingofcurrentlyactiveplayers
functionc_listplayers()
----------------与上一个命令感觉没有什么区别--------------------------------
--ReturnalistingofAllPlayerstable
functionc_listallplayers()
-----------------获取选择的物品-------------------------------
--Getthecurrentlyselectedentity,soitcanbemodifiedetc.
functionc_sel()
functionc_select(inst)
-----------------光标下打印。
-------------------------------
--Printthe(visual)tileunderthecursor
functionc_tile()
-----------------应用场景脚本来选择和运行它。
--Applyascenarioscripttotheselectionandrunit.
functionc_doscenario(scenario)
-----------------改变单位生命值-------------------------------
--Somehelpershortcutfunctions
functionc_sel_health()
functionc_sethealth(n)
functionc_setminhealth(n)最小生命值
functionc_setsanity(n)脑残值
c_sethunger(n)饥饿值
functionc_setbeaverness(n)
functionc_setmoisture(n)湿度
functionc_settemperature(n)温度
-----------------运行中直连-------------------------------
--Workinprogressdirectconnectcode.
--Currently,tojoinanonlineserveryoumustauthenticatefirst.
--Inthefuturethisauthenticationwillbetakencareofforyou.
functionc_connect(ip,port,password)
-----------------在背包中放入物品-------------------------------
--Putanitem(s)intheplayer'
sinventory
functionc_give(prefab,count)
-----------------未知-------------------------------
functionc_mat(recname)
functionc_pos(inst)
functionc_printpos(inst)
functionc_teleport(x,y,z,inst)
-----------------移动命令-------------------------------
functionc_move(inst)
functionc_goto(dest,inst)
未知
functionc_inst(guid)
列举
functionc_list(prefab)
functionc_listtag(tag)
查找下一个
functionc_findnext(prefab,radius,inst)
------------------上帝模式------------------------------
functionc_godmode()
------------------------------------------------
-------------------超级上帝模式-----------------------------
functionc_supergodmode()
-------------------查找-----------------------------
functionc_find(prefab,radius,inst)
functionc_findtag(tag,radius,inst)
未知命令
functionc_gonext(name)
functionc_printtextureinfo(filename)
functionc_simphase(phase)
functionc_anim(animname,loop)
functionc_light(c1,c2,c3)
functionc_spawn_ds(prefab,scenario)
functionc_countprefabs(prefab,noprint)
functionc_counttagged(tag,noprint)
---------------计算所有物品数量---------------------------------
functionc_countallprefabs()
---------------加速几倍---------------------------------
functionc_speedmult(multiplier)
c_speedmult(1.5)
c_speedmult(1.3)
c_speedmult(3)
----------------实验模式--------------------------------
functionc_testruins()
ConsoleCommandPlayer().components.builder:
UnlockRecipesForTech({SCIENCE=2,MAGIC=2})
c_give("
20)
5)
batbat"
icestaff"
firestaff"
tentaclespike"
slurtlehat"
armorwood"
lantern"
backpack"
end
functionc_teststate(state)
-----------------作战装备-------------------------------
functionc_combatgear()
-----------------作战模拟器-------------------------------
functionc_combatsimulator(prefab,count)
-----------------转储-------------------------------
functionc_dump()
-----------------显示当前所处季节-------------------------------
functionc_dumpseasons()
例子:
c_dumpseasons()
[04:
48:
05]:
ConsoleInput:
"
c_dumpseasons()"
spring14->
6days(70%)cycle
--------------打印世界信息----------------------
functionc_dumpworldstate()
例子
49:
27]:
c_dumpworldstate()"
//========================DUMPINGWORLDSTATE===========