mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Reduced tree density, shortened chunk load timeout
This commit is contained in:
parent
76dca0b0cf
commit
732ba9ac02
@ -299,7 +299,7 @@ impl Client {
|
||||
// If chunks are taking too long, assume they're no longer pending.
|
||||
let now = Instant::now();
|
||||
self.pending_chunks
|
||||
.retain(|_, created| now.duration_since(*created) < Duration::from_secs(10));
|
||||
.retain(|_, created| now.duration_since(*created) < Duration::from_secs(3));
|
||||
}
|
||||
|
||||
// Send a ping to the server once every second
|
||||
|
@ -58,7 +58,7 @@ impl WorldSim {
|
||||
warp_nz: BasicMulti::new().set_octaves(3).set_seed(seed + 8),
|
||||
tree_nz: BasicMulti::new()
|
||||
.set_octaves(12)
|
||||
.set_persistence(0.9)
|
||||
.set_persistence(0.75)
|
||||
.set_seed(seed + 9),
|
||||
cave_0_nz: SuperSimplex::new().set_seed(seed + 10),
|
||||
cave_1_nz: SuperSimplex::new().set_seed(seed + 11),
|
||||
@ -461,7 +461,7 @@ impl SimChunk {
|
||||
.add(1.0)
|
||||
.mul(0.5)
|
||||
.mul(1.0 - chaos * 0.85)
|
||||
.mul(1.25)
|
||||
.mul(1.2)
|
||||
.add(0.1)
|
||||
.mul(if alt > SEA_LEVEL + 2.0 { 1.0 } else { 0.0 }),
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user