安装 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(越南语)
Українська(乌克兰语)
报告翻译问题
You can add a server.nut file to your scripts/vscripts directory if you haven't already, and in that file you can add your own custom chat triggers and command. Here's a code example:
If that doesn't work, you may need to remove the if statement that checks if the player is an admin.
Let me know if you need anything else.
FYI, I had already tried the "!limit boomer" command etc... but it did not seem to work (tested by setting to 0 but some still appeared - otherwise you're right, if you raise the limit of one type but don't change the rest you might not see a difference).
I may need more time to figure it out but what puzzles me right now is that the example above looks like it is about limiting boomers, yet I don't see anywhere the text "!limit boomer" in the example so it is not clear to me how it is set that "!limit bommer" would trigger that file or that particular bit of the file to activate when used in chat. I presume this is set by the function "ChatTriggers::boomer_limit" but since the text does not exaclty correspond there must be some "translating " rule which I do not understand (or else this is specified in another file). Thus whilst I might be able to adapt this to make it work with other SI, I'm not sure I can work it out for other commands such as respawn time.
Sorry if my question is not clear in which case it is probably due to my limited experience with squirrel (I've only used simpler scripts so far, modifying basic cvars and director options) and you'd be entitled to respond I just need to get more experience to understand.
This is an example on how you could add additional chat commands that can do whatever you want with. So you can add another command using the template above, to change respawn intervals, or whatever.
Let me know if you need any assistance.
Since you're mentionning the console, I will bother you with one further question for now although it might best belong in another thread. The alternative to chat commands is of course make changes directly through the console but the problem I ran into there is that whilst I could make it work for cvars, I could not find the proper syntax to modify the director options (which I had no problem to do with mutations). For instance, something like director_cm_MaxSpecials X (and some other variants I tried) does not work when using the console. Any idea?