d515b42eac
Improve efficiency of states::utils::handle_orientation by reducing the conversions between Ori/Dir less frequent and optimizing the conversion of Dir -> Ori, also added a method to compute the angle between two Ori so that they don't need to be converted to Dir
2021-10-15 01:23:00 -04:00
2ae7bca9c0
Rebalanced boat speed
2021-10-05 00:02:03 +01:00
c6d3137612
Fixed sail boat thrust, removed dead water code, added comments
2021-10-05 00:02:03 +01:00
bfbca3e517
Added sail boat
2021-10-05 00:02:03 +01:00
0e5e2b46f2
Changed energy to internally use an integer with a high resolution, and externally to use a float.
2021-09-23 14:11:09 -04:00
5838a84568
Consolidates projectile offsets into utils
2021-09-22 03:05:57 +02:00
c069a3523d
Fix beam offsets
...
- Introduce notion of min and max radius for Body instead of old
`radius()` function (which is renamed to `max_radius()`).
2021-09-17 13:28:34 +03:00
c7291701e1
Sprite interaction fixes
2021-09-07 20:34:04 -04:00
970d57f905
Merge branch 'juliancoffee/skill_boost_rework' into 'master'
...
ECS & Diary info synchronization
See merge request veloren/veloren!2771
2021-09-02 16:04:23 +00:00
5dbc05730d
Moved pathfinding check to after distance check. Added a clear fallback for cases where sprite is not added to match statement.
2021-08-31 13:37:57 -04:00
2a3cc3d35a
No longer send collect inventory event if interactable sprite kind cannot be found.
2021-08-31 13:37:56 -04:00
6b71133c50
Fixed interaction to work underwater.
2021-08-31 13:37:55 -04:00
13fa154e55
Changelog and added arm length (body radius) to sprite pickup range.
2021-08-31 13:37:53 -04:00
6d91bae44b
Sprite interaction now uses pathfinding to check that it can be picked up.
2021-08-31 13:37:36 -04:00
28d23c89ed
Added simple distance check for sprite interaction.
2021-08-31 13:37:36 -04:00
9e5744f3ee
Entities will now attempt to orient towards the sprite they are interacting with.
2021-08-31 13:37:36 -04:00
538cb56b87
Sprites now go through a character state to be picked up.
2021-08-31 13:36:04 -04:00
54cb990d52
Move to one SKILL_MODIFIERS constant
2021-08-26 14:49:52 +03:00
b1bac83319
SkillTreeModifiers data structs
2021-08-26 14:49:52 +03:00
d5feca45c5
Merge branch 'pacmanmati/veloren-pacmanmati/1224-consolidate-redundant-stage-sections' into 'master'
...
Consolidate redundant stage sections
See merge request veloren/veloren!2748
2021-08-10 01:23:26 +00:00
52ee598cf1
Consolidated Use into Action as well.
2021-08-09 10:31:17 -04:00
5f37509a78
#1224 - Replace redundant StageSection: Swing, Shoot, Cast with Action
2021-08-09 10:27:53 -04:00
a48fa0f349
Buff swim thrust for humans reduce gains from skillpoints
...
This is intended to give a swim speed of 4.7 m/s when unskilled, and 7.2 when skilled
However, this turns out to be horrifically fps-dependant, both after this branch and in master. Needs further research into fixes
This commit tunes it for 60 fps
2021-08-09 10:06:16 +01:00
ebf489984c
Improve gliding
...
- make glider dimensions a factor of body height
- increase glider dimensions across the board
- remove delay from transition into glide
- enable glider control while wielding glider
- improve glide wield animation
2021-08-09 10:06:16 +01:00
cbd7c4481c
Make character upright itself even while idle
2021-08-05 08:34:21 +02:00
400734cc0a
Fix gliderwield downhill run jitter
2021-08-01 11:20:46 +00:00
f164d6036e
Made swapping equipped weapons a server event instead of being called in common to prevent server-client desyncs.
2021-07-25 18:30:17 -05:00
575db6f51d
Resolve unused '#[allow(clippy::assign_op_pattern)]' error supressions
2021-07-24 20:01:11 +02:00
578cacc194
Relocated BasicAura's combo reading to its static data
2021-07-21 16:46:26 -07:00
30119a6afc
Re-address approx_constant lint without using fractional constants and
...
re-add a few blank lines
2021-07-17 20:41:09 -04:00
9c72333741
Revert "Merge branch..."
...
This reverts merge request !2608
2021-07-17 22:04:59 +00:00
c1c331d59e
Resolve all '#[allow(clippy::approx_constant)]' error supressions
2021-07-15 16:56:55 +00:00
9b3b21f368
fix clippy warnings
2021-07-12 12:09:09 +02:00
be8b12845a
Added buff strength stat to weapons.
2021-07-11 12:50:38 -05:00
b499cf2c58
Added egui debug UI - a 100% rust UI framework (similar to imgui) allowing for rapid development of debug interfaces to aid development. This is feature-gated behind the egui-ui
feature which is enabled by default but removed for airshipper builds.
...
Included in the initial implementation is an entity browser which lists all entities in the client ECS, an entity component viewer which shows select components belonging to the selected entity including character state information, and a simple frame time graph.
This MR also includes an extraction of the animation hot reloading code which has been reused for egui to allow for hot-reloading of the egui interface to allow rapid development of the UI with realtime feedback upon save as is the case with aninmations. This is feature-gated behind the `hot-egui` feature which is not enabled by default due to the extra startup time that it adds.
2021-07-04 09:47:18 +00:00
f5533cdb92
Moved match on ItemUseKind to create durations to a function under ItemUseKind.
2021-06-29 05:59:02 -05:00
8a9de26132
Food now applies buff at end of state.
...
Rolling and poise states now cancel the potion buff.
UseItem character state now checks that the item in the slot has the same item_definition_id as when the entity enters the state.
Rolling can no cancel item use.
Rolling now checks for move_dir instead of velocity.
2021-06-29 05:59:02 -05:00
37c6fe9ee8
anims
2021-06-29 05:59:02 -05:00
9ff7ecea81
Item use now goes through use item character state if it is a consumable.
2021-06-29 05:59:02 -05:00
3559ce5803
Added UseItem character state.
2021-06-29 05:59:02 -05:00
d7f25627ab
Ajustments to new npcs
2021-06-24 19:31:21 +02:00
8760b69345
Husk brute animations
2021-06-24 19:31:19 +02:00
58b95d12d4
Adds alpaca and llama npcs
2021-06-24 19:30:15 +02:00
87ca00fac0
Adds new species
2021-06-24 19:29:44 +02:00
0a32b676c8
Vines now ensnare you by applying a buff.
2021-06-23 22:38:16 -05:00
763461ebef
Ensnaring vines now ensnare you.
2021-06-23 22:38:16 -05:00
81aaf30d00
stride speed backwardd-dependence
2021-06-22 22:08:34 -04:00
90e5bac395
Made movement slower when strafing in non-forward directions
2021-06-21 20:32:20 +01:00
288f2c13d4
Enable strafing in first-person mode
2021-06-21 13:27:19 +01:00
0941f03608
buffs to stretch progression
2021-06-16 20:50:46 -04:00