Commit Graph

8840 Commits

Author SHA1 Message Date
Ludvig Böklin
208438a26c Add some util functions to Ori 2021-06-22 10:31:41 +02:00
Ludvig Böklin
74f9945ab3 Refactor and abstract fluid dynamics 2021-06-22 10:31:40 +02:00
Ludvig Böklin
5f44101486 Define humanoid dimensions as measured in-game
Make Body::dimensions and Body::height methods const

Modify humanoid dimensions for calculation of drag
2021-06-22 10:24:54 +02:00
Ludvig Böklin
986b413521 Sort cases in mass match 2021-06-22 10:23:42 +02:00
Treeco
856e3849f7 Vastly improve glide ratios and soaring capability
Character masses and dimensions have been vastly changed. This is necessary to limit drag - they were practically sails previously.
Character proportions are now closer to those of IRL humans than to their voxel models.
This may screw up entity collision, in which case body dimensions for aerodynamics and for everything else may need to be separated.
Gliders now scale with character size, with a wingspan 3x their height and a chord 1x/3.
Gliding is also now very very fast under 2.5g, but much tamer under Earth gravity. This may need dealing with.
2021-06-22 10:23:41 +02:00
Dominik Broński
8356e2ffca Merge branch 'aweinstock/lava' into 'master'
Lava

See merge request veloren/veloren!2482
2021-06-21 20:49:44 +00:00
Joshua Barretto
011f76dbf2 Merge branch 'zesterer/small-fixes' into 'master'
Small improvements

See merge request veloren/veloren!2488
2021-06-21 20:49:41 +00:00
Joshua Barretto
e930ff6779 Sanitise controller inputs 2021-06-21 21:13:49 +01:00
Joshua Barretto
90e5bac395 Made movement slower when strafing in non-forward directions 2021-06-21 20:32:20 +01:00
Joshua Barretto
b84708ca75 Added chat toggle 2021-06-21 20:16:03 +01:00
Joshua Barretto
8ab222bf80 Selectively disable glow flicker for small wins on low-end systems 2021-06-21 17:06:43 +01:00
Joshua Barretto
f85a59d33a Merge branch 'zesterer/small-fixes' into 'master'
A plethora of improvements

See merge request veloren/veloren!2486
2021-06-21 14:19:13 +00:00
Joshua Barretto
288f2c13d4 Enable strafing in first-person mode 2021-06-21 13:27:19 +01:00
Justin Shipsey
c744cd4365 Merge branch 'donovanlank/Cool_Blue_Lantern' into 'master'
made it so Cool Blue Lantern is actually blue

See merge request veloren/veloren!2474
2021-06-21 05:37:49 +00:00
Marcel
ec7d3b5e37 Merge branch 'swilliams/give_item_fix' into 'master'
Fix for Issue 1210

See merge request veloren/veloren!2484
2021-06-20 23:26:59 +00:00
Marcel
b0574b4ddc Merge branch 'imbris/tracy' into 'master'
Refactor Client message handling, improve use of tracy, increase coverage of profiling spans in voxygen

See merge request veloren/veloren!2479
2021-06-20 23:17:08 +00:00
Marcel
4e600814ee Merge branch 'yusdacra/chore/nix' into 'master'
build(nix): fix git ref not found and git lfs check

See merge request veloren/veloren!2480
2021-06-20 22:54:37 +00:00
Scott Williams
80c45b6396 Added another .replace 2021-06-20 22:55:58 +01:00
Dominik Broński
3f45f7f250 Merge branch 'jshipsey-master-patch-07838' into 'master'
Update difficulty_distribution.ron

See merge request veloren/veloren!2483
2021-06-20 20:40:07 +00:00
Justin Shipsey
667e667ac8 Update difficulty_distribution.ron 2021-06-20 19:42:21 +00:00
Dominik Broński
b046541b69 Merge branch 'christof/trade_optimization' into 'master'
Accelerate econsim using arrays instead of hashmaps

See merge request veloren/veloren!2216
2021-06-20 16:00:37 +00:00
Christof Petig
79d7e79776 Accelerate econsim using arrays instead of hashmaps 2021-06-20 16:00:37 +00:00
Avi Weinstock
0f9181cbcb Address MR 2482 comments.
- Change lava density to 3x water density.
- Use `ServerEvent::Buff` instead of modifying the buff component directly.
- Revert commented-out changes to fluid shaders.
2021-06-20 11:32:05 -04:00
Samuel Keiffer
b37106e71f Merge branch 'juliancoffee/hot_reload_dungeon_difficulty' into 'master'
Add config file for dungeon distribution

See merge request veloren/veloren!2481
2021-06-20 04:07:26 +00:00
juliancoffee
0ec6a4e5ff Create distribution map for dungeons
* tl;dr T0 - 27%, T1/T2 - 22%, T3/T4 - 11%, T5 - 5%.
Before every dungeon had 16% chance to be created.
2021-06-20 00:14:54 +03:00
Avi Weinstock
f1a1160b80 Make lava solid w.r.t. rendering while still being liquid w.r.t. physics. 2021-06-19 16:52:21 -04:00
juliancoffee
ecd61df49b Tip how to make map with dungeons of same level 2021-06-19 23:32:54 +03:00
Avi Weinstock
2226a4c6a9 Add lava to caves, which sets you on fire if you swim in it. Currently requires uncommenting #define LAVA in the shaders, and only looks good with cheap fluid mode. 2021-06-19 16:31:21 -04:00
juliancoffee
e5c63b2ca7 Add config file for dungeon distribution
- Now you can specify probability of "spawn" of dungeon with specific
difficulty
2021-06-19 23:26:13 +03:00
Yusuf Bera Ertan
81bc3d1966
build(nix): fix git ref not found and git lfs check 2021-06-19 22:05:22 +03:00
Samuel Keiffer
e7f54d6306 Merge branch 'juliancoffee/clay_golem_tweak' into 'master'
clay golem tweak

See merge request veloren/veloren!2478
2021-06-19 14:49:11 +00:00
Imbris
83c49895ae Improve rendering spans for tracy 2021-06-19 04:27:51 -04:00
Imbris
315ab872f5 add prof_span to hud elements 2021-06-19 04:27:51 -04:00
Imbris
659b42e813 Remove tracy features that are no longer needed now that macros have been fixed 2021-06-19 04:27:50 -04:00
Imbris
044b2316a6 Eliminate strange wait time of ~1 ms during message handling on the
client where nothing seemed to be occuring
2021-06-19 04:27:50 -04:00
Imbris
2bb91e8d7d Fix span macros by putting cfgs outside the macro (they are evaluated in the crate where the macro is used), add shorthand for common case of prof_span macro, add some spans to the client code and spiff bits of it 2021-06-19 04:27:50 -04:00
Imbris
380c58b6fc Merge branch 'imbris/init-error' into 'master'
Log the raw client error at the ERROR level and include the dates in the...

See merge request veloren/veloren!2464
2021-06-19 07:53:16 +00:00
juliancoffee
41b6d80635 Add CHANGELOG 2021-06-19 10:47:45 +03:00
juliancoffee
7bf8c67808 Don't spawn enemies in boss room 2021-06-19 10:47:45 +03:00
juliancoffee
57649a2e90 tweak clay_golem HP 2021-06-19 10:47:45 +03:00
juliancoffee
573607c32a Nerf golem laser dmg and ori_rate, make it fire
+ Make laser state duration lower
2021-06-19 10:47:45 +03:00
Samuel Keiffer
2abd23ec64 Merge branch 'juliancoffee/not_explodable_sprites' into 'master'
Proof of concept non-explodable sprites

See merge request veloren/veloren!2475
2021-06-19 01:10:20 +00:00
Samuel Keiffer
ec5a4c61d9 Merge branch 'juliancoffee/quick_trading_balancing' into 'master'
trading.ron rebalance

See merge request veloren/veloren!2471
2021-06-19 01:10:18 +00:00
Samuel Keiffer
0b8039c3b0 Merge branch 'juliancoffee/trade_pricing_refactor' into 'master'
Refactor trade_pricing.rs

See merge request veloren/veloren!2469
2021-06-19 01:10:16 +00:00
juliancoffee
384409a1ed Load ori_rate for BasicBeam from assets
+ make fire turret ori_rate slower
2021-06-18 22:33:00 +03:00
juliancoffee
36fa8bf4f7 Use Golem Shockwave only after loosing 30% health
+ Make shockwave buildup longer
2021-06-18 22:32:43 +03:00
Imbris
4dc14dbe66 Merge branch 'juliancoffee/fix_common_build' into 'master'
use bg_main.jpg instead of bg_main.png in common/build.rs

See merge request veloren/veloren!2477
2021-06-18 18:11:05 +00:00
juliancoffee
9a5f749bc7 use bg_main.jpg instead of bg_main.png 2021-06-18 20:41:18 +03:00
Joshua Barretto
46dfc119fb Merge branch 'aweinstock/tighten_e2t' into 'master'
Make e2t hitboxes tighter by checking the floating point coordinates before looking up voxels.

See merge request veloren/veloren!2460
2021-06-18 16:27:20 +00:00
Joshua Barretto
05c375a8b0 Merge branch 'zesterer/meta' into 'master'
Optimising for size

See merge request veloren/veloren!2468
2021-06-18 12:35:16 +00:00