安装 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 上 






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?
give this a read: https://community.bistudio.com/wiki/Class_Inheritance
In short: if your item class inherits from the "original" item class, then yes, it will inherit optics effects too
[code]
class OriginalOptic : ItemOptics {
name = "Original optic";
s_pipMagnification = 0.69;
// other things here...
};
class YourOptic : OriginalOptic {
name = "your new fancy optic";
};
[/code]
YourOptic will inherit pip attributes