Justin Shipsey
a8ac051f33
Merge branch 'james/axe-hammer-keyframes' into 'master'
...
James/axe hammer keyframes
See merge request veloren/veloren!1497
2020-11-10 01:03:11 +00:00
jshipsey
cd188fd32b
tweaks
2020-11-09 18:32:23 -05:00
Joshua Barretto
71718d9c98
Better humidity, better snow trees
2020-11-09 15:06:37 +00:00
Sam
9b0e1c8dfc
Slight balance tweaks.
2020-11-08 19:33:24 -06:00
Sam
8fa7e246e9
Minor tweaks.
2020-11-08 18:11:53 -06:00
jshipsey
0618de138e
rebase
2020-11-08 19:02:48 -05:00
jshipsey
20efc692fd
ranged
2020-11-08 18:52:22 -05:00
Sam
edff3a75c3
Made bow stay in BasicRanged state while autofiring.
2020-11-08 18:51:36 -05:00
jshipsey
92aa6a1b12
axe basic
2020-11-08 18:51:35 -05:00
jiminycrick
33e87de17e
Initial combo melee for axe M1
2020-11-08 18:48:48 -05:00
Christof Petig
b56919b123
Make waypoints persistent
...
Closes #549
2020-11-08 22:15:47 +01:00
AlKabir
6535deae9c
added two meat assets for mobs to drop
2020-11-07 23:34:20 -06:00
Sam
158fb36420
Other stupid fix.
2020-11-07 21:07:53 -06:00
Imbris
133ba82a9b
Use item_definition_id for weapon asset mapping
2020-11-07 16:44:11 -06:00
Sam
a4046872b2
Yeeted from code files.
2020-11-07 15:53:10 -06:00
AlKabir
77f3c7e3c5
Minor combat fixes (see issue 785)
2020-11-07 18:00:07 +00:00
TheBoredProgrammer64
b2ec207979
Revert "Removed toolCategory"
...
This reverts commit 5b0ff408176ff00408cc90f2516a90d5cd303e56.
2020-11-06 15:33:20 +00:00
Marcel Märtens
40f5afc2b0
ci cleanup, dependency update
2020-11-06 14:34:42 +01:00
Samuel Keiffer
44f676d90c
Merge branch 'sam/make-roll-great-again' into 'master'
...
Roll overhaul
See merge request veloren/veloren!1484
2020-11-06 03:25:18 +00:00
Sam
37ecb165ef
Addressed comments. Roll now only provides i-frames to melee attacks. It also reduces height of hitbox.
2020-11-05 20:40:20 -06:00
Snowram
262ceac060
fmt
2020-11-06 01:08:35 +01:00
Monty Marz
642ad805a1
potion buff
2020-11-06 01:08:34 +01:00
Snowram
4b439e9b58
Adresses comment
2020-11-06 01:08:34 +01:00
Snowram
0d92f02deb
Buff stonegolem, nerf giants, add missing sfxs
2020-11-06 01:08:33 +01:00
Monty Marz
ca932f6c15
easier to get minor potions
...
increase cost of a minor potion to 4 apples
2020-11-06 01:08:32 +01:00
Snowram
a52f83e92c
Addresses some comments
2020-11-06 01:08:31 +01:00
Snowram
ce96af4363
Allow for an arbitrary array of effects and buffs for consumables
2020-11-06 01:08:30 +01:00
Sam
4a1a3f3ecc
Roll now gives i-frames.
2020-11-05 16:48:04 -06:00
Sam
860c766d62
Changed roll movement.
2020-11-05 14:22:30 -06:00
Sam
55e75adec0
Created new fields in roll. Centralized generation of abilities. Added builder function for rolls since they are not yet tied to equipment.
2020-11-05 12:28:18 -06:00
Marcel
121364821a
Merge branch 'xMAC94x/FeuerzeugBierflasche' into 'master'
...
xMAC94x/feuerzeugBierflasche
See merge request veloren/veloren!1478
2020-11-05 09:22:50 +00:00
Marcel Märtens
a7ce3e5a2e
switch back to cylindric entity <-> entity collision check.
...
I still doubt why we do cylindric vs cylindric in entity <-> entity check, but box vs box in entity <-> terrain check.
Though i did a spheric calculation here.
The cylindric one is alot slower though, 500 entities take 1.9s instead of 1.3s
2020-11-05 08:54:10 +01:00
Sam
a0af315930
Addressed comments.
2020-11-04 19:22:08 -06:00
Sam
bda7fefdc0
Removed Damages struct. Added GroupTarget enum. Changed RadiusEffect to use Effect instead of Daamges. Added Damage variant to Effect Eenum.
2020-11-04 19:22:07 -06:00
Sam
d38f1d319c
Energy and health change server events now reference EcsEntity instead of Uid. Added TargetGroup to use to determine targets of effects/damage. Added Entity(TargetGroup, Effect) to RadiusEffect enum.
2020-11-04 19:22:06 -06:00
Sam
87bff41a66
Addressed comments.
2020-11-04 19:22:05 -06:00
Sam
c48c022f7e
Separated out health from stats component.
2020-11-04 19:22:04 -06:00
Sam
b8f722af8d
Removed most hardcoded ability keys.
2020-11-04 19:22:02 -06:00
Sam
f1f5c2b21b
Added energy change server event.
2020-11-04 19:22:01 -06:00
Sam
e0cbbf52ed
Changed explosions to take a vec of RadiusEffects. Changed Damage to a struct of DamageSource and value. Added interpolation function to damage.
2020-11-04 19:22:00 -06:00
Joshua Barretto
87ac4bd998
Merge branch 'christof/home_town' into 'master'
...
implement /home to return to home town
See merge request veloren/veloren!1481
2020-11-04 15:58:35 +00:00
Marcel Märtens
a7123c6e14
put cache in ECS to get rid of allocations
2020-11-04 14:19:28 +01:00
Marcel Märtens
ce3173ecdf
add metrics for physics sys and implement concurrent physics
2020-11-04 11:53:13 +01:00
Marcel Märtens
bbe6e8be7c
Improve Phyiscs speed of entity handling.
...
Before we had accessed velocities in a nested loop O(n²).
Now we copy it only once out of the ECS system and store it in a tmp Vec.
As we no longer need to hold a mut and imutable reference, we can iter of `&mut velocities` again in the outer loop.
Also improved many calculations called in the loop to make the check if 2 entities are to far apart as easy as possible
2020-11-04 11:53:09 +01:00
jshipsey
28cde31bbb
setup for staff, more anim conversions
2020-11-04 01:48:05 +01:00
Christof Petig
ac92c8a6af
implement /home to return to home town
2020-11-04 00:55:15 +01:00
Joshua Barretto
6331ad9455
Implemented Flight
2020-11-03 22:46:07 +00:00
Marcel Märtens
00456c8373
extract a Presence Component, which is server
only and has state of Player
and Client
. Presence is only valid for Clients that are in game
2020-11-03 08:56:02 +01:00
Marcel Märtens
6bb74c9c6f
Fix clients are disconnecting GRACEFULLY by removing the Disconnect Request from a client, a client now sends a TERMINATE message directly
2020-11-03 08:55:54 +01:00
ubruntu
8c1e1fdc5c
Fixed sneak toggle, sneaking no longer has sound, rolling can return to sneaking state, sneaking reduces aggro distance
2020-11-03 04:09:38 +00:00
ubruntu
b11041dfa4
10% of bow hits cause bleed debuff
2020-11-01 18:38:57 +00:00
Sam
4d8a635843
Sceptre fix.
2020-10-31 12:57:51 -05:00
Imbris
64def3cde4
Allow interacting with nearby blocks without pointing at them, unify selection of block/entity interactors so that only one is select at once, rearrange pickup and mount range consts
2020-10-29 18:40:11 -04:00
Imbris
74ef766051
Rename running_tps_average -> running_average_delta
2020-10-29 18:30:19 -04:00
Sam
52c93f613e
Addressed comments.
2020-10-28 22:04:15 -05:00
Sam
1a8cf33a60
Transitioned forced movement to an enum.
2020-10-28 18:15:27 -05:00
Sam
981eee5936
Transitioned knockback to an enum.
2020-10-28 18:15:27 -05:00
Sam
1ccbdec35c
Tweaked dash melee some more.
2020-10-28 18:15:26 -05:00
Sam
a7e3e55a12
Transitioned damage and healing from u32/i32s to enums.
2020-10-28 18:15:25 -05:00
Sam
844e6f2b60
Slightly nerfed sword dash. Reduced particle count on fire aoe by factor of 3.
2020-10-28 18:15:25 -05:00
Sam
15286a094a
Leaps now require a non-negative vertical velocity to use.
2020-10-28 18:15:24 -05:00
Sam
555bc559f5
Axe no longer sets vertical velocity to 0, but instead preserves vertical velocity.
2020-10-28 18:15:24 -05:00
Sam
63011241ea
Added keyframes to all states that were lacking them.
2020-10-28 18:15:23 -05:00
Sam
6559df459e
Addressed comments.
2020-10-26 21:32:01 -05:00
Sam
e8f6338eb0
Admin armor now provides immunity to debuffs.
2020-10-26 19:49:40 -05:00
Sam
5d0fd3d9bc
Addressed more comments. Changed how buffs were sorted so that duration was also taken into account.
2020-10-26 19:30:18 -05:00
Adam Whitehurst
f759895d63
add maxhealthmodifier
...
oops variable
2020-10-26 19:30:18 -05:00
Adam Whitehurst
8aad7adab8
add comments
2020-10-26 19:30:17 -05:00
Sam
f60985d733
Transitioned buff storage from a vec to a hashmap. Addressed other comments. Only continuous buff effects are handled right now.
2020-10-26 19:30:17 -05:00
Sam
337cf6e137
Cleaned up UI code. Removed stuff added for testing. Added 10% for melee attacks to inflict a bleeding debuff. Renamed BuffId to BuffKind. Fixed memory leak. Set event emission to false when timer is decremented.
2020-10-26 19:30:10 -05:00
Sam
fdf8decb18
Handled health change over time buff effect better.
2020-10-26 19:28:27 -05:00
Monty Marz
8fa398954d
Initial implementation of buffs UI
...
player buffs animation
more testing debuffs
sorting and display limit fix
overhead buffs
fix
WIP buff removal function
fmt
Update buffs.rs
Now with compiling: WIP group UI buffs
positioning
Update group.rs
Update group.rs
Small optimizations.
Fixed positioning of buffs in group panel. Broke buff tooltips in group panel.
buff frame visuals
added setting for displaying buffs at minimap
2020-10-26 19:28:24 -05:00
Sam
007d3c09ac
Buffs now get removed on death by default. Buffs are now required to have either the 'Buff' or 'Debuff' tag. RemoveByCategory function now has support for blacklisting certain categories. Support for UI stuffs.
2020-10-26 19:28:23 -05:00
Samuel Keiffer
60a5346a0b
Addressed comments.
2020-10-26 19:28:22 -05:00
Sam
0df061a38e
Moved duration to inside BuffId enum to future-proof for when buffs are persisted.
2020-10-26 19:28:20 -05:00
Sam
1a1ceb54bc
Server event used to deal damage/heal with buffs. Buff kills now award xp.
2020-10-26 19:28:20 -05:00
Sam
de7191b985
Added functionality to remove buffs by category.
2020-10-26 19:28:19 -05:00
Sam
ccad1fa0b8
Separated buffs into active and inactive buffs. There can only be 1 active buff at a time of a particular buff id. If a new buff is stronger than an active buff, it moves the active buff to inactive buffs. When active buffs are removed, it checks inactive buffs for any buffs of the same id and moves the strongest one to active buffs.
2020-10-26 19:28:18 -05:00
Sam
19c7ed7885
Added builder function for buffs
2020-10-26 19:28:18 -05:00
Sam
b8690473e4
When buffs expire from duration, now only they expire rather than ending all buffs of the same type.
2020-10-26 19:28:17 -05:00
Sam
125de0b46e
Creatures and playrs now have buffs component, buffs that expire now only end their particular buff instead of every buff with the same type.
2020-10-26 19:28:16 -05:00
Sam
c50063ad0c
Move addition/removal of buffs to server event.
2020-10-26 19:28:15 -05:00
BottledByte
7ab99a3bbf
Initial WIP implementation of the Buff system
2020-10-26 19:28:14 -05:00
Marcel Märtens
1b47913835
fix clippy after toolchain update
2020-10-26 22:30:51 +01:00
Marcel Märtens
153c6c3b13
Fixing Tarpaulin isn't easy.
...
So first off all we had to update the toolchain, i think everything in september is okay, but we got with this current version.
Then we had to update several dependencies, which broke:
- need a specific fix of winit, i think we want to get rid of this with iced, hopefully, because its buggy as hell. update wayland client to 0.27
- use a updated version of glutin which has wayland-client 0.27 and no longer the broke version 0.23
- update conrod to use modern copypasta 0.7
- use `packed_simd_2` instead of `packed_simd` as the owner of the create abandoned the project.
- adjust all the coding to work with the newer glutin and winit version. that also includes fixing a macro in one of the dependencies that did some crazy conversion from 1 event type to another event type.
It was called `convert_event`
- make a `simd` feature which is default and introduce conditional compiling.
AS I HAVE NO IDEA OF SIMD AND THE CODE. AND I DIDN'T INTRODUCE THE ERROR IN THE FIRST PLACE, WE PANIC FOR NON SIMD CASE FOR NOW. BUT IT WORKS FOR TESTS.
- tarpaulin doesnt support no-default-features. so we have to `sed` them away. semms fair.
2020-10-26 17:04:20 +01:00
Adam Whitehurst
4dcac28f8a
Ensure leap melee swing animation and hit are sync
2020-10-24 20:15:19 +00:00
jiminycrick
b98e2a924d
Fixed hammer AI and added axe AI
2020-10-19 16:20:59 +02:00
Snowram
34ce8bb042
Addressed comments
2020-10-19 16:20:59 +02:00
jiminycrick
64ef7f39d6
Addressed comments on agent code
2020-10-19 16:20:59 +02:00
jshipsey
64d73abdec
roshwalr fix
2020-10-19 16:20:59 +02:00
jshipsey
caa048b1d5
small fixes
2020-10-19 16:20:59 +02:00
Snowram
7a62ddfd3f
Add BeastClaw npc weapontype
2020-10-19 16:20:59 +02:00
Snowram
f9383e4dd8
Add roshwalr npc
2020-10-19 16:20:59 +02:00
jiminycrick
be1596a703
fixed agent code for staff rework
2020-10-19 16:20:59 +02:00
jshipsey
66b1fe67dc
rebase
2020-10-19 16:20:58 +02:00
Snowram
c9985e14cb
Rename Saurok, various anim fixes
2020-10-19 16:20:58 +02:00
jshipsey
6a86567301
fix agent bug
2020-10-19 16:20:58 +02:00
jshipsey
65df398672
werewolf work
2020-10-19 16:20:58 +02:00
jiminycrick
50aac17d94
Added secondary skills to agent code (except bow)
2020-10-19 16:20:58 +02:00
Snowram
6c54e6d8fe
Add sand, snow and wood raptor npcs
2020-10-19 16:20:58 +02:00
Snowram
588f66a1ee
Add treant npc
2020-10-19 16:20:58 +02:00
unknown
d2f91bc3a0
Assigns a ToolKind to bipedlarge weapons
2020-10-19 16:20:58 +02:00
Snowram
0a9ec848a7
add lizardman npcs
2020-10-19 16:20:58 +02:00
Snowram
204fa50de9
Add werewolf npc
2020-10-19 16:20:57 +02:00
Sam
e6684009c2
Made ability key not hardcoded in tool.rs.
2020-10-15 20:05:58 -05:00
Sam
d869f7e430
Moved explsion struct from within comp to common.
2020-10-14 21:06:55 -05:00
Sam
14e4af7ab6
Addressed playtesting feedback.
2020-10-14 21:06:52 -05:00
jshipsey
6a744eed82
anims
2020-10-14 21:06:32 -05:00
Sam
1ba8a6cfb3
Balance tweaks to staff abilities.
2020-10-14 20:57:01 -05:00
Sam
b5091a5891
Ai for staff-wielding enemies. Keyframes for shockwave state.
2020-10-14 20:56:24 -05:00
Sam
1c21362bc3
Fixed shockwaves hitting entities multiple times. Explosions can now regen energy. Staff M1 now has particles instead of using bomb particles.
2020-10-14 20:56:23 -05:00
Sam
7ef73f5981
Added particles for fire shockwave. Added ability key enum so held abilities could differentiate what button they should check. Modified energy fields on basic beam so it could drain energy every second.
2020-10-14 20:56:22 -05:00
Sam
cbb72363af
Reworked explosions. Tweaked staff fireball.
2020-10-14 20:56:21 -05:00
Sam
04dcd012da
Flamethrower particles.
2020-10-14 20:56:21 -05:00
Sam
c80f16ae74
Started to add particles.
2020-10-14 20:56:20 -05:00
Sam
256846a669
Initial implementation of new staff abilities.
2020-10-14 20:56:16 -05:00
jiminycrick
4de42e36fd
Consolidated recover code in repeater_ranged
2020-10-14 17:10:27 -07:00
jiminycrick
512d881cd2
Fixed clippy errors and added SFX
2020-10-14 15:30:58 -07:00
jiminycrick
95c36cc3fb
Skill icons with proper rotation
2020-10-14 12:50:33 -07:00
jiminycrick
1f3bd0e1d2
Responded to testing feedback
2020-10-14 12:50:33 -07:00
jshipsey
3bb59b36cd
energy values, remove hotload
2020-10-14 12:50:33 -07:00
jshipsey
64f72a73f9
axeleap tweaks
2020-10-14 12:50:33 -07:00
jiminycrick
691acd730d
Smoother leap and recovery leap handling
2020-10-14 12:50:33 -07:00
jshipsey
22d8792c4b
adjustments to chargedmelee, repeater
2020-10-14 12:50:33 -07:00
jshipsey
521ffd64ba
cleanup
2020-10-14 12:50:33 -07:00
jshipsey
28eb58ddfa
anims
2020-10-14 12:50:33 -07:00
Sam
fadba23dde
Slight tweaks to leap
2020-10-14 12:50:33 -07:00
jshipsey
281155186f
hammer leap melee anim
2020-10-14 12:50:33 -07:00
Sam
e1634fa83a
Fixed errors from transitioning some states to keyframes.
2020-10-14 12:50:33 -07:00
Sam
21cf1e2168
Added keyframes to leap melee.
2020-10-14 12:50:33 -07:00
Sam
7e0cc2d8e5
Added keyframes to repeater ranged.
2020-10-14 12:50:33 -07:00
Sam
97f580be2b
Added keyframes to charged melee.
2020-10-14 12:50:32 -07:00
jiminycrick
9ebda3c353
Made bow leap more graceful and set energy costs and removed jitter for no leap
2020-10-14 12:50:32 -07:00
jiminycrick
431f99a791
Reducing the amount of data in character state
2020-10-14 12:50:32 -07:00
jiminycrick
05623eb8bd
Addressed comments
2020-10-14 12:50:32 -07:00
jiminycrick
04175bab09
Add skillbar stuff for 3rd skills
2020-10-14 12:50:32 -07:00
jiminycrick
951acfca21
Add 3rd skill for hammer, bow, and axe minus skillbar UI stuff
2020-10-14 12:50:32 -07:00
Imbris
9e7f521489
Fix system data folder name, panic when outside the project dir and there is no env var set
2020-10-13 02:29:32 -04:00
Marcel Märtens
f1c9b959f4
rename a file, fix error msg, dont spam persistence by default
2020-10-13 00:06:24 +02:00
Marcel Märtens
2a7378b4ae
pack together InGame, CharacterScreen and General variant in a single enum, as requested by zesterer.
...
His reason to reqeust that is, that there might not be a perfect disctinction in the future.
Now we need to send ServerGeneral over streams and do additional checking at various places to verify that not the wrong variant is send.
2020-10-12 11:27:21 +02:00
Marcel Märtens
ff374eab59
create a ServerMsg and ClientMsg enum and verify the state when in debug mode to benefit from the transition
2020-10-11 22:59:53 +02:00
Marcel Märtens
e8452fafc6
fix naming, replace NotInGame with CharacterScreen
2020-10-11 22:55:38 +02:00
Marcel Märtens
8b40f81ee2
No longer block the main thread for client connections, new clients will be handled by server without waiting.
...
- Instread we have a dedicated thread that will async wait for new participants to connect and then notify the main thread
- registry no longer sends a view distance with it.
- remove ClientMsg::Command again as it's unused
2020-10-11 22:55:02 +02:00
Marcel Märtens
017e004309
Rename enums to allow a super enum in the future, but i am not yet sure if we want to introduce this yet
...
```
//This is a helper structure, containing all possible data send over
pub enum ClientMsg {
Initial(ClientType),
General(ClientGeneralMsg),
InGame(ClientInGameMsg),
NotInGame(ClientNotInGameMsg),
Register(ClientRegisterMsg),
Ping(PingMsg)
}
```
2020-10-11 22:49:25 +02:00
Marcel Märtens
b1db5ef488
Redo Network Frontend.
...
Rather than having a single Stream to handle ALL data, seperate into multiple streams:
- Ping Stream, for seperate PINGS
- Register Stream, only used till the client is registered, then no longer used!
- General Stream, used for msg that can occur always
- NotInGame Stream, used for everything NOT ingame, e.g. Character Screen
- InGame Stream, used for all GAME data, players, terrain, entities, etc...
This version does compile, and gets the client registered (with auth too) but doesnt get to the char screen yet.
This fixes also the ignoring messages problem we had, as we are not sending data to the register stream!
This fixes also the problem that the server had to sleep for the Stream Creation, as the Server is now creating the streams and client has to sleep.
2020-10-11 22:49:14 +02:00
Monty Marz
e1a77d040d
loot table adjustments
...
- decrease blue glider drop rate
- decrease cloth scaprs drop rate from villagers
- add crafting mats to crates instead
2020-10-11 16:25:35 +00:00
Imbris
71251ca6a6
Change admins from Vec<String> into Hashset<Uuid>, add commands to server-cli-bin for adding and removing admins
2020-10-10 02:10:32 -04:00
Imbris
fb2cf1a292
Fix clippy warnings
2020-10-10 02:10:32 -04:00
Imbris
7c14a3f4a4
New userdata folder that holds voxygen settings and logs and server saves and settings, split up server settings file into parts that are persisted back to their files and parts that are read-only, misc fixes
2020-10-10 02:10:32 -04:00
Imbris
6c43a7cdc5
Change projectiles to not be pushed back by collisions, moved group check into projectile system from physics system
2020-10-10 02:10:31 -04:00
Monty Marz
2b800a2b63
make clippy happy
...
Delete glider.ron
2020-10-07 02:23:20 +00:00
Sam
47abf49751
Addressed comments
2020-09-29 20:48:23 -05:00
Sam
5f889773b5
Addressed comments
2020-09-29 19:48:17 -05:00
Sam
51141b2c1a
Changelog line, final balance tweaks.
2020-09-29 19:48:16 -05:00
Sam
0b80257aa3
Add migration
2020-09-29 19:48:15 -05:00
Sam
56d2afc0dc
Added keyframe support to basic beam state. Addressed some comments.
2020-09-29 19:48:15 -05:00
Sam
a8f31cbe6f
Beam tick rate now more responsive when aiming.
2020-09-29 19:48:14 -05:00
Sam
506ad1e80e
Improvements to beam collision.
2020-09-29 19:48:14 -05:00
Sam
ffe456c703
Fixed what broke after rebasing.
2020-09-29 19:48:13 -05:00
Sam
37fcfb8b6f
Created manifest for database to filepath for items.
2020-09-29 19:48:12 -05:00
Sam
3d6c26a3c7
Fully separated sceptres from staves.
2020-09-29 19:48:12 -05:00
Sam
3e2e06f2f8
Projectile effects are now drained, so that the same projectile can't trigger it's effects on multiple enemies.
2020-09-29 19:48:11 -05:00
Sam
67eafdabd0
Separated out energy cost for healing so it's not based off of the energy regen from dealing damage.
2020-09-29 19:48:11 -05:00
Monty Marz
3734fafcd8
doubled energy consumption for M1 healing
2020-09-29 19:48:10 -05:00
Sam
5bd6f0e26f
Addressed feedback in sceptre branch
2020-09-29 19:48:09 -05:00
Sam
de45784596
Addressed round of testing feedback.
2020-09-29 19:48:09 -05:00
Sam
18c2b850d3
Added healing healthsource logic to beam system.
2020-09-29 19:48:08 -05:00
Monty Marz
13d9b814ab
separate sceptres from staffs, show values below 1.0 as decimals in the SCT, add starting sceptre
...
remove firebolt from starting sceptre
2020-09-29 19:48:07 -05:00
Sam
7e95a93434
Energy no longer regens when heal target is at full health.
2020-09-29 19:48:07 -05:00
Sam
07fd9ac023
Re-added necessary functionality to beam (heal, lifesteal, energy regen).
2020-09-29 19:48:06 -05:00
Sam
095433abcc
Addressed comments.
2020-09-29 19:48:06 -05:00
Sam
799a6c1d1e
Tweaked beam collision logic to be more accurate.
2020-09-29 19:48:05 -05:00
Sam
a679a34a7b
Reverted changes to melee system that were added to when beam was initially in melee system.
2020-09-29 19:48:04 -05:00
Sam
46563e7008
Added beam system. Added collision code for spherical wedge/cylinder detection.
2020-09-29 19:48:04 -05:00
Sam
03b5cac2f9
Beams now have spherical hit detection.
2020-09-29 19:48:02 -05:00
Sam
6bb680f372
M1 now only regens stamina when healing allies if they are not at full health.
2020-09-29 19:48:02 -05:00
Sam
8f7d45100d
Tick rate now exposed as a variable.
2020-09-29 19:48:01 -05:00
Monty Marz
a2d74b71c4
change tick rate
2020-09-29 19:48:01 -05:00
Monty Marz
2b8d1e6fb9
test values
2020-09-29 19:48:00 -05:00
Sam
bcda944af9
Fixed energy cost for playtesting purposes.
2020-09-29 19:48:00 -05:00
Sam
6b23af6e0b
Tweaked particles. Added skill icons.
2020-09-29 19:47:58 -05:00
Sam
8b9202710f
New sceptre M2 is functional.
2020-09-29 19:47:57 -05:00
Sam
921d224ef6
Lifesteal now works. Added particles to healing beam.
2020-09-29 19:47:57 -05:00
Sam
f20134d7ea
Initial implementation for beam attack.
2020-09-29 19:47:56 -05:00
Joshua Yanovski
69f68ddf29
Reduce chunks / chonk by trimming the ends.
...
This improves the defragment operation for chonks by letting them remove
chunks at the top that match above, and bottom that match below. This
reduces the chunks / chonk from around 5.9 to around 3.4 at origin. From
my investigations, adding something for water would probably get us a
full 50% reduction, if we could collapse intermediate chunks; block
types other than rock / air / water never appear to have full chunks of
the same block, so any additional optimization will require changes to
the subchunk compression format or changes to the actual chunks we
generate.
2020-09-29 19:08:45 +02:00
Forest Anderson
25ab132d73
Merge branch 'xvar/add-clone-on-ref-ptr-clippy-lint' into 'master'
...
Added #![deny(clippy::clone_on_ref_ptr)] to all crates and fixed resulting lint errors
See merge request veloren/veloren!1411
2020-09-28 19:32:03 +00:00
Joshua Yanovski
7d6aebb316
Fix hacky solution with proper defragmentation.
...
After generating a chonk, we now find the highest frequency block (in
terms of the number of groups that uniformly consist of that block) and
replace the chunk's default with that one. We also resort the data in
the process to be in the same order as the original array index. This
improves our memory savings from 3x to almost 7x, and brings us within a
factor of 3 or so of what I hope a true average will be.
The defragmentation is not totally optimal and can probably be improved
from a performance perspective, but given how much of a hard bottleneck
RAM is this seems worthwhile. Also, this doesn't suffer from the issues
the previous solution did.
2020-09-28 16:56:26 +02:00
Joshua Yanovski
b9528da8f6
Improve chunk space consumption by a lot.
...
3x - 5x depending on terrain. We can do a lot better but this is a good
start.
Also, added chunk group count to metrics. This correlates with memory
usage specifically by chunk voxel data in a much more direct way than
chonk or chunk count do, so this should provide extra useful information
(especially for our average overhead per chonk / chunk).
2020-09-28 13:35:49 +02:00
Joshua Yanovski
443f3287e4
Merge branch 'sharp/remove-spurious-vox' into 'master'
...
Remove spurious uses of Vox.
See merge request veloren/veloren!1406
2020-09-27 16:41:29 +00:00
Ben Wallis
b3dd8e8a02
Added #![deny(clippy::clone_on_ref_ptr)] to all crates and fixed resulting lint errors
2020-09-27 17:25:33 +01:00
Joshua Yanovski
5af5ceb1f9
Address review comments.
2020-09-27 17:06:46 +02:00
Ben Wallis
11fc74642e
Refactored crafting to use ItemDef instead of Item
2020-09-27 14:55:31 +01:00
Joshua Yanovski
529533466c
Fix collision detection in liquid.
2020-09-26 16:53:49 +02:00
Joshua Yanovski
938039a56e
Remove spurious uses of Vox.
...
In the process, also try to address a few edge cases related to block
detection, such as adding back previously solid sprites and removing
filters that may be vestiges of earlier logic.
2020-09-26 16:30:40 +02:00
Marcel Märtens
b7dc17c11f
switch version to pre-alpha-2020-09-22
vs pre-alpha-v0.7.0
2020-09-22 12:04:07 +02:00
Marcel Märtens
8eec46424f
switching veloren naming scheme, to either one of the following:
...
`stable-0.7.0 (<hash>-<datetime>)` for release versions.
And
`nightly-<date> (<hash>)` for nightly and master versions
Reason is, many players only give information that they are running `0.x.0` but are not giving us the information which day, or commit they are running. So we should make master builds less confusing.
2020-09-22 11:47:18 +02:00
Snowram
fa2dd28587
Fixed various issues from better-things branch
2020-09-21 23:57:10 -04:00
Joshua Barretto
2f2e766ebb
Merge branch 'zesterer/better-block-format' into 'master'
...
Stopped all blocks being explodable
See merge request veloren/veloren!1402
2020-09-22 00:26:06 +00:00
Sam
2ff59c9f60
Addressed comments
2020-09-21 17:55:29 -05:00
Joshua Barretto
becb58e305
Stopped all blocks being explodable
2020-09-21 23:47:33 +01:00
Sam
b4018e7d42
Made 3rd ability interruptible. Final balance tweaks.
2020-09-21 17:40:16 -05:00
jshipsey
8070a38a89
spin anim
2020-09-21 17:38:57 -05:00
Sam
133e79ffd5
Modified how spin melee functions.
2020-09-21 17:38:56 -05:00
jshipsey
e79cef4824
dash animation
2020-09-21 17:38:55 -05:00
Sam
a8e834e754
Initial implementation of spin attack for sword.
2020-09-21 17:38:54 -05:00
Sam
fe70b7fbce
Addressed second round of feedback.
2020-09-21 17:38:53 -05:00
Sam
b06ab250cc
Addressed first round of feedback on sword overhaul.
2020-09-21 17:38:52 -05:00
Sam
c99e4c3c18
Added swing duration to dash melee. Added framework for animation to be added.
2020-09-21 17:38:51 -05:00
Sam
6dede05a0e
Combo now only increases when landing a hit.
2020-09-21 17:38:51 -05:00
Sam
2aac008b90
Attack speed now scales with combo in combo melee.
2020-09-21 17:38:50 -05:00
Sam
e54483d789
Shifted hit attempt to before swing duration, instead of after.
2020-09-21 17:38:49 -05:00
Sam
b79235b890
Dash melee now works as desired.
2020-09-21 17:38:49 -05:00
Sam
744843d03f
Dash now stops when colliding with entity
2020-09-21 17:38:48 -05:00
Sam
04af75bf8d
Initial implementation of new dash melee.
2020-09-21 17:38:48 -05:00
Sam
abcd0af1e3
Removed combo duration of combo melee (combo now activated from recover duration). Allowed for forced forward movement in combo melee, and added it to stages 1 and 3).
2020-09-21 17:38:47 -05:00
jshipsey
a18c23025e
stage 2 and 3 anim
2020-09-21 17:38:46 -05:00
Sam
847bddbd89
Removed swing_frac, added a swing duration instead to allow for more utility in character state. Moved location of stage_section enum to wielding so it could more easily be used by other character states.
2020-09-21 17:38:46 -05:00
Sam
2ba9d1e54f
Added support for different swings in the combo melee having differnt fractions of time buildup duration is split.
2020-09-21 17:38:45 -05:00
jshipsey
2451a64b97
stage 2 animation
2020-09-21 17:38:44 -05:00
Sam
0ba5740265
Added enum for stage section instead of using 4 bools.
2020-09-21 17:38:43 -05:00
Sam
440e45f2bc
Did stuff to support addition of keyframes for combo melee animation.
2020-09-21 17:38:43 -05:00
Sam
aab56ea636
Animation time for combo melee now resets between stages.
2020-09-21 17:38:42 -05:00
Sam
cf573a42bd
Initial implementation of combo melee attack.
2020-09-21 17:38:41 -05:00
Joshua Barretto
0ca42857fa
Addressed review issues
2020-09-21 21:10:32 +01:00
Joshua Barretto
388a899a7f
Added make_sprite command
2020-09-21 16:39:20 +01:00
Joshua Barretto
112b11c951
Fixed broken arrow physics
2020-09-20 11:56:57 +01:00
Joshua Barretto
49d1b3df6d
Improved docs
2020-09-20 11:46:12 +01:00
Joshua Barretto
ece4a01867
Improved representation of Block for better performance, more features, and better backwards-compatibility
2020-09-20 11:46:12 +01:00
Sam
45fef87f32
Addressed comments
2020-09-19 14:40:21 -05:00
Sam
e39770d1d9
Golem now spawns in dungeon.
2020-09-19 14:40:20 -05:00
Sam
99aba78422
Added healing healthsource logic to shockwave system.
2020-09-19 14:40:19 -05:00
Sam
6a1acd47a1
Added maximum vertical angle for shockwave.
2020-09-19 14:40:19 -05:00
Sam
d0f068ba63
Fixed shockwave and melee crit damage bypassing infinite armor. Made knockback not be applied if infinite armor.
2020-09-19 14:40:18 -05:00
Sam
6327dd18b6
Moved knockback to a server event so that it would actually be applied to the player.
2020-09-19 14:40:17 -05:00
Sam
819fb8ee77
Changed boss from cyclops to stone golem. Added ai specific for boss.
...
Tweaked shockwave.
Fix rebasing errors.
2020-09-19 14:40:16 -05:00
Sam
3e4615daea
Loadouts are now generated with loadout_builder.rs. Creatures spawned naturally and via command are now spawned with the same mechanics.
2020-09-19 14:40:14 -05:00
Sam
f5dad20899
Tweaked shockwave values. Added shockwave damage type. Changed how knockback was handled in shockwaves to make negative knockback work better.
2020-09-19 14:40:13 -05:00
Imbris
829d8a20d1
Add shockwave system to handle shockwaves colliding with other entities
2020-09-19 14:40:10 -05:00
Sam
717142d5ea
Started to implement shockwave system.
2020-09-19 14:29:06 -05:00
Sam
68ecfba291
Projectile speed is no longer hard-coded.
2020-09-19 14:29:05 -05:00
Sam
66b0fee3c7
Separated knockback out from basicmelee. Added weapon for cyclops boss to use, and added 1 ability to it.
2020-09-19 14:29:04 -05:00
Imbris
6cd6a96b64
Fix projectile/water interaction
2020-09-19 13:54:05 -04:00
Imbris
017d4a3c16
Increase entity vs entity repulsion factor, add check to ensure entities don't collide with themselves, fix possession projectiles not working on entities in the same group
2020-09-19 13:54:05 -04:00
scott-c
2686598f1f
Improve first-person projectile aiming
2020-09-19 19:14:23 +08:00
Monty Marz
5fe79e1c6a
new loading screen bgs (part 1)
...
Add a basic random feature to char creation
loading screen bg (part 2)
loading screen changes, random button graphics
Random appearance also pick a random npc name
2020-09-18 23:17:47 +00:00
Snowram
f9fada87cf
Addresses comments
2020-09-18 18:45:03 +02:00
jshipsey
8330d087e6
clippy
2020-09-17 22:58:02 -04:00
jshipsey
90e5bbaac0
rebase
2020-09-17 22:41:40 -04:00
jshipsey
5bb45a4861
spawn tweaks, improved odonto
2020-09-17 22:32:11 -04:00
Snowram
fecc40ad8e
Better quadmed legs/feet ratio
2020-09-17 22:32:11 -04:00
Snowram
62f6a5799a
Initial quadmed feed animation
2020-09-17 22:32:10 -04:00
jshipsey
06b39b9072
species specific improvement
2020-09-17 22:32:10 -04:00
jshipsey
b781a1765b
theropod run
2020-09-17 22:32:10 -04:00
Snowram
9308cabeb8
add deer, beaver and porcupine npcs
2020-09-17 22:32:10 -04:00
jshipsey
cd6e1ad45f
haul out the critter skele, add theropod
2020-09-17 22:32:10 -04:00
jshipsey
ecae71c016
gliders as items. anim improvements
2020-09-17 22:32:09 -04:00
jshipsey
412495e5fc
assets/manifests
2020-09-17 22:18:49 -04:00
jshipsey
bd1984bf28
golem addition, fix for axe attack
2020-09-17 22:18:49 -04:00
Ben Wallis
712f2e9c97
* Moved migrations to beginning of server initialisation
...
* Added migrations for entity ID changes to existing tables
2020-09-17 23:02:14 +00:00
Marcel Märtens
3c58b64689
add detailed information on state tick timings
2020-09-16 18:24:18 +02:00
Joshua Yanovski
19485b6a00
Add a DisconnectReason enum.
2020-09-14 08:16:09 +02:00
tylerlowrey
2b0c1e89f3
Refactored kicking the player into its own function + ran fmt on project
2020-09-14 07:54:05 +02:00
tylerlowrey
30c3146682
Added main menu kick message with kick reason after player is kicked
2020-09-14 07:52:31 +02:00
tylerlowrey
fee79720ee
Added ban message with reason when banned user attempts to login to server
2020-09-14 07:52:31 +02:00
tylerlowrey
07e33286ad
Changed reason field for kick & ban from Any to Message
2020-09-14 07:52:31 +02:00
tylerlowrey
c55a66d5ba
Added ban, unban, kick usage information and invocation aliases
2020-09-14 07:52:31 +02:00
Imbris
3fbf8d7ca0
Remove chunk from mesh todo if neighbour is deleted, be more careful with z_start and z_end in terrain meshing
2020-09-12 21:02:00 -04:00
Imbris
c3ae641fbb
Merge branch 'imbris/tracy' into 'master'
...
Add more tracing instrumentation and tracy support
See merge request veloren/veloren!1359
2020-09-10 05:07:51 +00:00
Matthew Martin
57c6160b72
* Set the KillType to Other for HealthSource::Healing
...
* Extend logic to projectiles and explosions
2020-09-09 23:34:10 +02:00
Matthew Martin
a9086b27a0
Do not make healing items deal damage
2020-09-09 23:22:49 +02:00
TheThirdSpartan
7fd673ecb2
Added localization config options for new death messages
2020-09-09 20:26:20 +00:00
Imbris
f39d1e9bb5
Use less verbose span names when the tracy feature is off
2020-09-07 00:59:16 -04:00
Imbris
7efbc74551
remove duplicate tracing filter code, fix compiling voxygen with the
...
tracy feature
2020-09-06 22:28:14 -04:00
Imbris
0683a40741
Use finish_continuous_frame directly
2020-09-06 22:28:14 -04:00
Imbris
63d60c212c
Add spans to server systems
2020-09-06 22:28:14 -04:00
Imbris
4f68a6df27
Update tracy crates, reduce overhead of timing, add more misc instrumentation
2020-09-06 22:28:14 -04:00
Imbris
e37a01be9d
Sprinkle instrumentation in common crate,in particular in the ecs systems
2020-09-06 22:28:14 -04:00
Imbris
50ceb1c93e
Add workaround for spans with winit loop, configure filtering when the tracy feature is on, spinkle some spans in the codebase
2020-09-06 22:28:14 -04:00
Imbris
d95e539495
Intial setup of tracy
2020-09-06 22:28:14 -04:00
Marcel Märtens
961b8a4d7c
Implement the Player Timeout as config
2020-09-06 23:34:57 +02:00
TheThirdSpartan
6dbd1bc132
adding feature requested in issue #153 - displaying your alias in game as 'you'
2020-09-06 19:42:32 +00:00
Joshua Barretto
49c713a071
Merge branch 'zesterer/rtsim' into 'master'
...
Beehives, Fireflies, and minor worldsim/lighting adjustments
See merge request veloren/veloren!1357
2020-09-05 17:16:08 +00:00
Monty Marz
a70567b644
make dummy cmd an admin cmd to avoid exp cheesing and entity spamming
2020-09-05 16:12:35 +02:00
Imbris
fb33a5e519
Merge branch 'termac/inventory_collect_when_full_fix' into 'master'
...
Fix bug collecting items into full inventory
See merge request veloren/veloren!1333
2020-09-05 06:51:22 +00:00
Joshua Yanovski
66f49d5386
Merge branch 'sharp/default-shadows' into 'master'
...
Create (segment, offset) just once per figure.
See merge request veloren/veloren!1360
2020-09-04 15:54:55 +00:00
Joshua Barretto
0c0f150140
fmt
2020-09-04 11:48:57 +01:00
Joshua Barretto
afe42e0b86
Fixed projectiles reorienting once stickied
2020-09-04 11:48:56 +01:00
Joshua Barretto
032ec9ef41
Added bee hives
2020-09-04 11:48:56 +01:00
Joshua Barretto
88add8456f
Added fireflies, reeds near rivers
2020-09-04 11:48:56 +01:00
Joshua Barretto
4405227ffb
Made light attenuation nicer, fixed campfire light offset
2020-09-04 11:48:54 +01:00
Monty Marz
821c7e5881
made npcs decline invites until we have a better recruitment system
2020-09-04 00:46:32 +02:00
termac
f05c120fab
Fix bug collecting items into full inventory
...
When the inventory is full and a player tries to reclaim an item from a
block, collecting always failed. If the item is stackable and already
present inside the inventory it should be collected though.
The collect case now behaves more like the pickup case, using
inventory's 'push' method to add the item and implicitly check for
available space.
2020-09-02 12:47:56 +02:00
Joshua Yanovski
4eeb131f4b
Create (segment, offset) just once per figure.
2020-09-01 11:23:19 +02:00
Joshua Yanovski
7e6975d881
Merge branch 'sharp/typed-body' into 'master'
...
Further generalize the typed module.
See merge request veloren/veloren!1346
2020-09-01 06:29:35 +00:00
Songtronix
11730f2136
change(common): remove find_folder
2020-08-31 16:43:16 +02:00
Songtronix
abaf6ee53e
fix: locate assets in almost all cases
2020-08-31 10:25:45 +02:00
Joshua Yanovski
6f3d5da6f3
Further generalize the typed module.
...
This enables us to automatically create configuration formats from enums
or structs. For enums, we create a structure with a field for each
case, representing a pattern match; the configuration format can then
enter a different expression for each case. For structs, we create an
enum with a variant for each field, representing projecting by that
field; the configuration format selects the field to project from, and
then can write a further expression on that field (for instance, it can
perform another pattern match).
So far we don't actually have anything that *uses* this functionality;
I decided to finish it for the purpose of specifying a default
lantern offset, only to discover that we already return a lantern offset
from the animation crate. So I fixed it there instead.
2020-08-31 05:59:44 +02:00
Joshua Yanovski
8be3648a4d
Move sprite data to a config file.
2020-08-28 09:23:43 +02:00
Joshua Yanovski
3a96b73b2c
Move figure meshing to a background thread.
2020-08-28 05:25:31 +02:00
Imbris
4790373ab3
Add State::read_component_copied
2020-08-26 20:47:41 -04:00