饥荒专用服务器全图显示代码,饥荒开全图代码

用记事本打开游戏目录\data\DLC0001\scripts\prefabs\player_common.lua文件,在inst:AddComponent("resurrectable")下一行插inst:AddComponent("resurrectable")下一行插入以下内容:  TheInput:AddKeyUpHandler(KEY_1, function()function()  if TheInput:IsKeyDown(KEY_CTRL) then  local map = TheSim:FindFirstEntityWithTag("minimap")FindFirstEntityWithTag("minimap")  local x,y,z = GetPlayer().Transform:GetWorldPosition()GetWorldPosition()  map.MiniMap:ShowArea(x, y, z, 10000)  end  end)  即可在游戏中按Ctrl + 1使地图全开

57a3314b06d09bf8ccfa428176d8ffc2.png

关键字:饥荒 副标题:饥荒

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值