juliancoffee
f16f8182cd
Add FIXME about Staff flamethrower
2021-08-08 00:41:39 +03:00
juliancoffee
a7922336ea
Expose beam_offsets to AI
2021-08-08 00:33:43 +03:00
juliancoffee
edd37ad491
Agent code TODO-s
2021-08-05 21:07:45 +03:00
Joshua Barretto
31a49d26a9
Added action timer system for agent code
2021-08-04 14:04:56 +01:00
juliancoffee
44916383c6
continue -> filter_map to handle new players
2021-08-03 16:43:56 +03:00
juliancoffee
d9e2d501cd
Prettify server/sys/msg/register.rs
2021-08-03 16:43:56 +03:00
juliancoffee
497a94cd7a
Post review refactoring
...
* inline `target_dodging` into struct declaration as they are named
anyway
* move `avoid_harm` check out of `Attack::apply_attack` so we don't need
to pass whole Player component.
* another cosmetic things
2021-08-03 16:43:55 +03:00
juliancoffee
9300353c98
Use emitter.emit() in server/sys/msg/register
2021-08-03 16:43:55 +03:00
juliancoffee
7d4a8cbfa4
Add battle_mode server setting and player flag
2021-08-03 16:42:58 +03:00
Knightress Paladin
b338abd761
Fix up comments relating to AI logic
2021-08-02 22:38:16 -07:00
Knightress Paladin
8dd2202e1a
Restyle logic in Staff AI
2021-08-02 16:22:40 -07:00
Knightress Paladin
a6acdbbfa7
Used adjusted_by_skills to correctly calculate ability values
2021-08-02 16:22:40 -07:00
Knightress Paladin
e87bfae5cd
Allowed staff AI to queue shockwave if occupied by animation
2021-08-02 16:22:40 -07:00
Knightress Paladin
38432cc880
Restructured logic for staff AI
2021-08-02 16:22:40 -07:00
Joshua Barretto
45f94b0bce
Better Agent API
2021-08-02 13:08:39 +01:00
Ludvig Böklin
400734cc0a
Fix gliderwield downhill run jitter
2021-08-01 11:20:46 +00:00
Joshua Barretto
422e1c30f4
Added menacing, made agent code less hacky
2021-07-31 20:33:28 +01:00
Monty Marz
14eb0f9aa2
Remove sceptre, add swords
2021-07-29 22:38:35 +00:00
Marcel
680492cea6
Merge branch 'juliancoffee/entity_refactor' into 'master'
...
Improve terms of EntityConfig and LoadoutBuilder
See merge request veloren/veloren!2688
2021-07-28 23:19:04 +00:00
Ben Wallis
01ca6911a9
* Pets are now saved on logout and spawned with the player on login
...
* Pets now teleport to their owner when they are too far away from them
* Limited the animals that can be tamed to `QuadrupedLow` and `QuadrupedSmall` to prevent players taming overly powerful creatures before the pet feature is further developed
* Added `Pet` component used to store pet information about an entity - currently only used to store the pet's database ID
* Added `pet` database table which stores a pet's `body_id` and `name`, alongside the `character_id` that it belongs to
* Replaced `HomeChunk` component with more flexible `Anchor` component which supports anchoring entities to other entities as well as chunks.
2021-07-28 22:36:41 +00:00
juliancoffee
14ac9a8b4e
Improve terms of EntityConfig and LoadoutBuilder
...
* rename LoadoutBuilder::new to LoadoutBuilder::empty
* remove LoadoutBuilder::default as Default makes no sense here
* move comments from template.ron to EntityConfig struct
* add FIXME comments to split EntityConfig into EntityBase and
EntityExtension
2021-07-28 19:19:10 +03:00
Joshua Barretto
37077b5703
Merge branch 'Resolve-unused-clippy-supressions' into 'master'
...
Resolve unused clippy supressions
See merge request veloren/veloren!2673
2021-07-24 20:44:06 +00:00
Dr. Dystopia
70d0840e96
Resolve unused '#[allow(clippy::unnecessary_wraps)]' error supressions
2021-07-24 20:14:26 +02:00
Joshua Barretto
6fa3ac610b
Merge branch 'aweinstock/fix-waypoint-2' into 'master'
...
Further improve handling of underground waypoints:
See merge request veloren/veloren!2665
2021-07-24 17:59:58 +00:00
Avi Weinstock
5dd56b724c
Rename find_space_opt
to try_find_space
.
2021-07-24 13:09:10 -04:00
Samuel Keiffer
85b9f70469
Merge branch 'knightresspaladin/fix-circle-charge' into 'master'
...
Fixed CircleCharge and buffed Rugged Hide droppers
See merge request veloren/veloren!2613
2021-07-23 14:56:36 +00:00
Avi Weinstock
ca10d89068
Further improve handling of underground waypoints:
...
- Set the waypoint to the valid position after chunk load, so that respawns work.
- Search for the nearest valid surface before falling back to the top of the chunk, so that waypoints inside caves/buildings work.
2021-07-22 23:03:52 -04:00
Marcel
e9f6ae6b37
Merge branch 'xMAC94x/job_metrics' into 'master'
...
implement slowjob metrics to measuere time in queue and execution time
See merge request veloren/veloren!2654
2021-07-22 19:17:30 +00:00
Marcel Märtens
7d93d907f6
implement slowjob metrics to measuere time in queue and execution time
2021-07-22 19:31:21 +02:00
juliancoffee
a03992a236
Wake birds up
...
* give large rtsim birds their default main tool which allows them to
use AI tactics
* force entities to fly on critical failing velocities to avoid suicide
2021-07-22 18:00:22 +03:00
Knightress Paladin
a97546dbff
Removed aimbot from ChargeMelee and cleaned up variable typing
2021-07-18 23:12:55 -07:00
Knightress Paladin
081c6e5362
Fixed CircleCharge and buffed Rugged Hide droppers
2021-07-18 23:12:55 -07:00
Samuel Keiffer
37147e2a83
Merge branch 'juliancoffee/overworld_assetization' into 'master'
...
Wildlife assetization
See merge request veloren/veloren!2591
2021-07-18 13:43:32 +00:00
Imbris
9c72333741
Revert "Merge branch..."
...
This reverts merge request !2608
2021-07-17 22:04:59 +00:00
juliancoffee
6654c9e372
Fix bug with ignoring second_tool in EntityInfo
2021-07-17 15:37:30 +03:00
Imbris
eb999b2821
Merge branch 'aweinstock/fix-waypoint' into 'master'
...
Spawn players aboveground when using `/site` or when their waypoint is underground.
See merge request veloren/veloren!2612
2021-07-16 23:18:33 +00:00
Avi Weinstock
a4d6f0f3c1
Address MR 2612 review comments.
2021-07-16 17:46:48 -04:00
Samuel Keiffer
f38cde9d40
Merge branch 'knightresspaladin/healing-aura' into 'master'
...
Knightresspaladin/healing aura
See merge request veloren/veloren!2587
2021-07-16 21:32:03 +00:00
Avi Weinstock
c417e8c5b9
Defer repositioning until after chunks are generated normally, to reduce latency and avoid duplicate work.
2021-07-16 15:42:50 -04:00
Marcel
0492b8dc87
Merge branch 'savalige/ai_spacing' into 'master'
...
Issue #1153 - Improve combat AI spacing between Agents of the same Alignment
Closes #1153
See merge request veloren/veloren!2451
2021-07-16 16:40:27 +00:00
Avi Weinstock
9e9cbd290b
cargo fmt
2021-07-15 15:52:10 -04:00
Knightress Paladin
0ded44d635
Cleaned up chunk-relative block setting math
2021-07-15 12:36:00 -07:00
Knightress Paladin
9864344cfe
Implemented setting blocks with the wiring system
2021-07-15 12:36:00 -07:00
Savalige
171113ea74
Added a spacing_radius method to body to make it possible to sett different spacing for different entities
2021-07-15 13:33:51 -04:00
Savalige
1e3cc3442f
Made the spacing also take the radius of the entity into account per @zesterer suggestion and added a baias variable to change how much priority should be given to separation vs target(1.0 being only focus on separating and 0.0 being only focus on target)
2021-07-15 13:33:51 -04:00
Savalige
2a5d4fa826
fixing issue #1153 - Improve combat AI spacing between Agents of the same Alignment
2021-07-15 13:33:51 -04:00
Jonathan Berglin
c1c331d59e
Resolve all '#[allow(clippy::approx_constant)]' error supressions
2021-07-15 16:56:55 +00:00
juliancoffee
aae3a159b8
Make all Ships constanly flying, not only rtsim
2021-07-14 23:23:35 +03:00
juliancoffee
d42c7be141
Teach AI how to interact in this evil world
2021-07-14 19:26:12 +03:00
juliancoffee
b6460f6c61
Teach AI how to forgive
2021-07-14 19:26:11 +03:00