安裝 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?