Field manualСправочник / MechanicsМеханика
PickupSystem
src/DustConvoy.Sim/Systems/PickupSystem.cs
ConstantsКонстанты
| NameИмя | ValueЗначение | NoteЗаметка |
|---|---|---|
MaxCans | 16 | |
PawnPickupRadius | 0.8f | |
SpillChance | 0.75f | |
CanAmount | 8f | |
CanFlingSpeedMin | 6f | Cans flung out of a wreck fly off at this speed (m/s) before skidding to a stop. |
CanFlingSpeedMax | 11f | Cans flung out of a wreck fly off at this speed (m/s) before skidding to a stop. |
CanFriction | 2.2f | A skidding can loses this share of its speed per second. |
MaxDrops | 40 | |
ItemPickupReach | 1.4f | |
ThrowSpeed | 7f | |
ThrowSpeedMax | 11f | Hardest a pawn can pitch something (a drag released far away). |
FlingSpeedMin | 2.5f | |
FlingSpeedMax | 6.5f | |
DropFriction | 3.5f | Sliding items lose this share of their speed per second. |
ThrowFlightFriction | 0.8f | A thrown item in flight (still armed) sheds speed slower: a hard throw carries several metres. |
ThrowHurtSpeed | 3f | A thrown item hurts what it hits while moving at least this fast (m/s). |
ThrowDamagePerSpeed | 1.2f | Impact damage per m/s of a thrown item, times its weight class (ThrowWeight). |
ThrownGunDamageShare | 0.5f | Half the gun's one-shot damage comes along when a gun is what's thrown (it's heavy and has corners). |
HoverPickRadius | 0.7f | A hovered item counts as under the cursor within this distance of the aim point. |
HoverPickupReach | 2.0f | Pointing at an item stretches the pickup reach a little (no need to stand right on it). |
HardDrops | 280 | Past this many loose items, even a pile on screen gives up its oldest piece. Off-screen ones go at MaxDrops. |
MinTopUp | 1f | Room the tank must have before a can on the ground is worth picking up. |
DropRadius | 0.36f | Footprint of an item lying on the ground (metres): two can't lie closer than twice this. |
SlotRadius | 0.45f | Footprint of a module bolted in a slot, for items dropped next to it. |