Commit Graph

1293 Commits

Author SHA1 Message Date
David Markowitz
67cd990d98 Merge branch 'moreMovementAi' of https://github.com/DarkflameUniverse/DarkflameServer into moreMovementAi 2023-08-21 12:33:19 -07:00
David Markowitz
294efe0fe0 Fixed speed stuff
Should be tested more.
2023-08-21 12:33:13 -07:00
Aaron Kimbre
c70eb77c14 use SetMaxSpeed 2023-08-20 02:19:34 -05:00
David Markowitz
e3ae0b6304 fix frame stats in vehicle racing 2023-08-19 23:17:12 -07:00
David Markowitz
a9fd7c5e08 Always extract navmeshes 2023-08-19 23:09:47 -07:00
David Markowitz
4f447eb441 Merge branch 'moreMovementAi' of https://github.com/DarkflameUniverse/DarkflameServer into moreMovementAi 2023-08-19 22:44:13 -07:00
David Markowitz
11b1f5b9d4 Remove flags in controllablePhysics 2023-08-19 22:44:02 -07:00
Aaron Kimbre
8dd7553421 fix delay 2023-08-20 00:36:28 -05:00
Aaron Kimbre
5612e57590 respect try-parse
consolidate space trimming
2023-08-20 00:13:01 -05:00
Aaron Kimbre
2bb39f4fa5 fixe some spacey string
be smater about pausing
2023-08-16 15:53:13 -05:00
Aaron Kimbre
691a42ba20 Merge RC script from differnt branch
Add wandering vendor script
Update proximity monitors to move with their respective entityies
2023-08-15 14:35:35 -05:00
Aaron Kimbre
e35b95f3c8 Merge branch 'wbl-generic-and-rc-citizen' into moreMovementAi 2023-08-15 10:13:38 -05:00
Aaron Kimbre
b37574c05e Merge branch 'main' into wbl-generic-and-rc-citizen 2023-08-15 10:11:29 -05:00
Aaron Kimbre
5168404567 fix path starting waypoint 2023-08-15 09:47:45 -05:00
David Markowitz
92e2ab55d9 Update MovementAIComponent.cpp 2023-08-14 20:42:07 -07:00
David Markowitz
959d19c8eb remove hard coded start 2023-08-14 20:28:45 -07:00
David Markowitz
b659edd980 Yes 2023-08-14 20:28:27 -07:00
David Markowitz
abce40f17f format 2023-08-14 20:15:25 -07:00
Aaron Kimbre
a63d7df0d2 Add waypoint command handling 2023-08-14 09:31:10 -05:00
David Markowitz
1b54387677 Merge branch 'main' into moreMovementAi 2023-08-12 21:57:07 -07:00
David Markowitz
c26086aff5
perf: Add path height correction on world load (#1178)
* Add path height correction on world load

* Increase height because Nexus Tower is tall

* Update height checker

- Only go up and down, do not deviate from the point you are on
- As a backup, use the nearestPoint on the nearestPoly, should detour be able to find one.
- Add a debug assert to fail the program should toReturn differ from nearestPoint[1].

Update dNavMesh.cpp

Update dNavMesh.cpp

* Fix if condition to actually return the value...

---------

Co-authored-by: Aaron Kimbrell <aronwk.aaron@gmail.com>
2023-08-12 09:20:00 -05:00
Gie "Max" Vanommeslaeghe
0337449aa7
Merge pull request #1183 from DarkflameUniverse/fastcrashfixes
fix: dangling pointer in mission when saving character data
2023-08-12 12:21:14 +02:00
David Markowitz
598f4e1663 Fix dangling pointer 2023-08-12 02:11:25 -07:00
David Markowitz
56ab6bd4c3 updates 2023-08-12 00:40:18 -07:00
Aaron Kimbre
84ba38bd1d Add some command handlers 2023-08-12 00:40:48 -05:00
David Markowitz
2db8caadde Fix serialization for Controllable Physics 2023-08-11 21:37:35 -07:00
David Markowitz
5eca25e42a
refactor: Move CDClient Database away from constructor queries (#1164)
* Move away from constructor queries

Fix up other large tables to have proper backup lookups

Revert "idk im just dumb ig"

This reverts commit 5d5be5df53b8959b42b291613d7db749a65a3585.

idk im just dumb ig

* Fix slow components registry lookup

* add define for cdclient cache all

* Update CDBehaviorParameterTable.cpp
2023-08-10 23:27:40 -05:00
Gie "Max" Vanommeslaeghe
d233c7e2aa
Merge pull request #1182 from DarkflameUniverse/fixRawReading
fix: RAW to OBJ parsing
2023-08-10 23:50:11 +02:00
Aaron Kimbrell
beaceb947b
fix: Properly read in scene metadata (#1170)
* fix: Properly read in scene metadata

* Fix reading in rental time and period from property path

* remove useless name in var
change hex to decimal so it's readable
fix scene transistion loop logic

* fix typoe and remove whitespace
2023-08-10 16:35:12 -05:00
David Markowitz
2cc13c6499
chore: Make serialize actually virtual (#1156)
* Make serialize actually virtual

* fix serialize and make update virutal

* Update VendorComponent.h

* Remove flag var

* Update SoundTriggerComponent.h

---------

Co-authored-by: Aaron Kimbrell <aronwk.aaron@gmail.com>
2023-08-10 14:33:15 -07:00
David Markowitz
40c59c7f51 Ensure physics are predicted correctly
Update the PhysicsEntity position so it always matched the physics position.
2023-08-10 02:47:27 -07:00
David Markowitz
fba8fc9c45 Move blocks around 2023-08-10 02:09:58 -07:00
David Markowitz
a3b62d60f0 fixes and testing
Bounce works
add null check and default
2023-08-10 01:55:35 -07:00
David Markowitz
ad81e341da add operator *= for vectors 2023-08-09 22:13:20 -07:00
David Markowitz
fe6be21008 fix raw reading 2023-08-09 22:08:32 -07:00
Aaron Kimbre
facc225b82 block out some 2023-08-09 23:29:04 -05:00
David Markowitz
97b683fd59 Update Zone.cpp 2023-08-09 20:34:49 -07:00
Aaron Kimbre
1207d896a8 waypoint commands wip 2023-08-09 21:37:36 -05:00
David Markowitz
5f7a108154 woirking 2023-08-09 00:34:39 -07:00
David Markowitz
fc56777969 Update dNavMesh.cpp 2023-08-08 23:54:47 -07:00
David Markowitz
cceaa96415 Use proper initializer 2023-08-08 00:19:44 -07:00
David Markowitz
1d4d1414e9 lol lmao 2023-08-07 20:45:26 -07:00
David Markowitz
4fbd536e74 add movementAI on load 2023-08-07 19:23:17 -07:00
David Markowitz
ed0c979544 Add file for u aronwk 2023-08-07 18:40:06 -07:00
David Markowitz
d372278b25 add arrived handler 2023-08-07 02:03:09 -07:00
David Markowitz
b546c96193 Add reversing 2023-08-07 01:46:03 -07:00
David Markowitz
aa734ef7ae Working Pausing and Resuming 2023-08-07 00:44:57 -07:00
David Markowitz
6a5ff30a32 Working built in reverse for movementAI 2023-08-06 23:40:30 -07:00
David Markowitz
3e12dd782b working forward 2023-08-06 21:15:06 -07:00
David Markowitz
bce87aaa06 use indexes for pathing 2023-08-06 20:25:22 -07:00