ตั้งค่า (Config)Config
ทุกค่าอยู่ในไฟล์เดียว config/static_resonance-common.toml ใช้ปรับสมดุลสำหรับเซิร์ฟEverything lives in one file, config/static_resonance-common.toml, for tuning balance on your server.
- บนเซิร์ฟเวอร์ ไฟล์ของเซิร์ฟเป็นตัวตัดสิน ค่าประจุ ระยะ และเวลาOn a server, the server's file decides costs, ranges and durations.
- มี Cloth Config 11 ขึ้นไป จะแก้ในเกมได้ที่ Mods → Static Resonance → ConfigWith Cloth Config 11+, edit in-game at Mods → Static Resonance → Config.
- หน่วยเวลาเป็น tick (20 tick = 1 วินาที) ค่าส่วนใหญ่มีผลตั้งแต่การใช้สกิลครั้งถัดไปTimes are in ticks (20 ticks = 1 second). Most changes apply from the next cast.
[charge]
| Key | ค่าเริ่มต้นDefault | ช่วงRange | คำอธิบายWhat it does |
|---|---|---|---|
regenIntervalTicks | 35 | 1–1200 | tick ระหว่างรอบฟื้น/รั่วประจุTicks between dry/wet charge ticks |
dryGain | 2 | 0–100 | ประจุที่ได้ต่อรอบตอนตัวแห้งCharge gained per tick while dry |
wetDrain | 3 | 0–100 | ประจุที่รั่วต่อรอบตอนอยู่ในน้ำหรือฝนCharge lost per tick in water or rain |
motionIntervalTicks | 20 | 1–1200 | tick ระหว่างรอบเก็บประจุจากการเคลื่อนไหวTicks between motion-harvest scans |
motionMinDist | 0.5 | 0–16 | ระยะใกล้สุดของสิ่งมีชีวิตที่นับClosest moving mob that counts |
motionMaxDist | 5.0 | 0.5–32 | ระยะไกลสุดของสิ่งมีชีวิตที่นับFarthest moving mob that counts |
motionCap | 8 | 1–32 | นับได้มากสุดกี่ตัวต่อรอบMax movers counted per scan |
[dust]
| Key | ค่าเริ่มต้นDefault | ช่วงRange | คำอธิบายWhat it does |
|---|---|---|---|
burstCost | 5 | 0–100 | ค่าประจุ Single Target (จ่ายเมื่อโดน)Single Target cost (paid on hit) |
zoneCost | 10 | 0–100 | ค่าประจุ Smoke ZoneSmoke Zone cost |
zoneRadius | 6.0 | 0.5–32 | รัศมีโซนZone radius |
zoneDurationTicks | 200 | 1–72000 | โซนอยู่นานกี่ tickZone lifetime in ticks |
[sense]
| Key | ค่าเริ่มต้นDefault | ช่วงRange | คำอธิบายWhat it does |
|---|---|---|---|
scanCost | 8 | 0–100 | ค่าประจุตอนเริ่มสแกนCost when a scan starts |
scanRadius | 32 | 1–128 | รัศมีคลื่นสแกน (บล็อก)Scan pulse radius (blocks) |
[control]
| Key | ค่าเริ่มต้นDefault | ช่วงRange | คำอธิบายWhat it does |
|---|---|---|---|
targetCost | 15 | 0–100 | ค่าประจุ Magnetic Lock (จ่ายเมื่อโดน)Magnetic Lock cost (paid on hit) |
fieldCost | 40 | 0–100 | ค่าประจุ Control FieldControl Field cost |
fieldMaxRadius | 30 | 1–64 | รัศมีสนามสูงสุดField max radius |
fieldDurationTicks | 1200 | 1–72000 | สนามอยู่นานกี่ tickField lifetime in ticks |
targetRange | 64.0 | 1–128 | ระยะเล็งล็อกLock look range |
lockEffectTicks | 100 | 1–72000 | ล็อกนานกี่ tickLock duration in ticks |
moveAbortThreshold | 0.12 | 0–8 | ขยับได้ไกลแค่ไหนก่อนสนามยุบHow far you may move before the field collapses |
[faraday]
| Key | ค่าเริ่มต้นDefault | ช่วงRange | คำอธิบายWhat it does |
|---|---|---|---|
manualCost | 50 | 0–100 | ค่าประจุยกกรงเอง (ฉุกเฉินฟรี)Manual raise cost (emergency is free) |
durationTicks | 600 | 1–72000 | กรงอยู่นานกี่ tickCage lifetime in ticks |
cooldownTicks | 2400 | 0–72000 | คูลดาวน์หลังกรงลงCooldown after the cage drops |
repelRadius | 10.0 | 0.5–32 | รัศมีวงนอก (ทำให้ช้า)Outer radius (slows) |
hardRadius | 5.0 | 0.5–32 | กำแพงผลักแข็งHard push wall |
midRadius | 7.0 | 0.5–32 | วงผลักเบาSoft push ring |
holdTicks | 35 | 1–200 | กระสุนค้างกลางอากาศนานกี่ tickHow long a caught projectile hangs |
emergencyMinHealth | 2.0 | 0–20 | เลือดต่ำกว่านี้กรงฉุกเฉินยกขึ้นEmergency cage raises below this health |
[circuit]
| Key | ค่าเริ่มต้นDefault | ช่วงRange | คำอธิบายWhat it does |
|---|---|---|---|
toggleCost | 8 | 0–100 | ค่าประจุต่อการสลับCost per flip |
lookRange | 16 | 1–32 | ระยะเล็งบล็อกLook range |
toggleTicks | 160 | 1–72000 | สลับค้างนานกี่ tickHow long a flip lasts |
[climb]
| Key | ค่าเริ่มต้นDefault | ช่วงRange | คำอธิบายWhat it does |
|---|---|---|---|
climbSpeed | 0.18 | 0.01–1.0 | ความเร็วปีนกำแพง (บล็อก/tick)Wall-climb speed (blocks/tick) |
[visuals]
| Key | ค่าเริ่มต้นDefault | ช่วงRange | คำอธิบายWhat it does |
|---|---|---|---|
seeThroughWalls | false | true / false | มุมสแกนเห็นทะลุกำแพง ใช้ค่าของเซิร์ฟ (ตั้งแต่ 1.0.28)Scan corners draw through walls. The server’s value applies (1.0.28+) |
ตัวอย่าง: อยากให้กรงฟาราเดย์ใช้ได้บ่อยขึ้นในเซิร์ฟ PvE ตั้ง faraday.cooldownTicks = 1200 (60 วินาที)Example: for a PvE server with a shorter cage cooldown, set faraday.cooldownTicks = 1200 (60 s).