安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题






在 Twitter 上
在 Youtube 上
在 Reddit 上 






thanks ♥
About the error, it looks like it is caused by some other mod loaded before sGunplay https://github.com/simonvic/sGunplay/blob/main/scripts/5_Mission/sUDE/gui/Inventory.c#L14
Follow the error Stack trace for more info :)
Awesome mod, really well made and super fun to use ! nice !
I just wanted to report a recurring log error tht shows up :
Function: 'UpdateInterval'
Stack trace:
MyMODS/sGunplay/scripts/5_Mission/sude\gui\inventory.c:14 Function Update
SCRIPT (E): NULL pointer to instance. Variable '(null)' during call 'ScrollWidget.Update'
Thanks again for the great work !
it is described in the FAQ above How can I stop my players to change the in-game settings?
This is S-tier mod. Absolute masterpiece. I hope one day devs will change DayZ gunplay close one to what you did. And I also hope that one day Ill launch my own vanilla server with your essential mod like this one and sVisual
Anyway, you can simply redefine the `magnification` attribute
class PistolOptic;
class RangerOptic : PistolOptic {
s_pipMagnification = 0.69;
};
About the requiredAddons, assuming that `RangerOptic` is an item you've created, I suggest not adding sGunplay as a required addon; this way your mod will work with or without sGunplay :)
If instead you're "overriding" a property of an item that I define in sGunplay itself, you want to add it as a required addon to ensure your mod gets loaded after, hence effectively overriding the property
class RangerOptic: PistolOptic
thats how its set up on my config and seems to act like the vanilla PistolOptic, tho i'd want it to have just a tad more(so the head stays still but the pip zooms in a bit more than by default). Do i add sGunplay as req and add the code under the scope or in the main config?