Commit graph

1070 commits

Author SHA1 Message Date
smallmodel
2592aeab8b
Fixed improper bullet path on wood and metal 2023-11-13 01:21:08 +01:00
smallmodel
34d4225ea0
Trigger must have CONTENTS_CLAYPIDGEON content mask set if it has DAMAGE spawnflag set when setting the model 2023-11-13 01:20:19 +01:00
smallmodel
17dcb4b00e
Entity's clipmask must be MASK_SOLID 2023-11-13 00:58:33 +01:00
smallmodel
eb1d096539
Fixed vehicle turret gun indefinitely shaking 2023-11-13 00:35:55 +01:00
smallmodel
05c74655be
Fixed SimpleActor::SetPath not setting path correctly 2023-11-13 00:35:32 +01:00
smallmodel
3e0e0ba3b1
Fixed FindCover() wrong algorithm 2023-11-13 00:35:11 +01:00
smallmodel
f90b6cd18c
Fixed State_Turret_Wait() not checking if enemy can shoot, and fixed last enemy visible time not being set 2023-11-13 00:34:26 +01:00
smallmodel
d6b7fecb69
Refactored navigation with moh 2.0 features 2023-11-09 23:44:53 +01:00
smallmodel
51a0ee56aa
Refactored FindNearestSniperNode() 2023-11-09 21:55:28 +01:00
smallmodel
2ed369568c
Fixed AllocPathNode() and FreePathNode() not working as intended 2023-11-09 21:10:43 +01:00
smallmodel
e5b7e16d1a
Added AI_CONCEALMENT_MASK and use AI_LOW_WALL_ARC 2023-11-09 21:10:20 +01:00
smallmodel
4a9f676d5d
Tidied up FindPathX methods 2023-11-09 21:01:30 +01:00
smallmodel
0e0da3d767
Added MASK_CORNER_NODE 2023-11-09 21:01:03 +01:00
smallmodel
343ce4a6a7
Using vec3_t type for start/end/position 2023-11-09 19:58:46 +01:00
smallmodel
df8b854cb7
Cleaned up GeneratePath methods 2023-11-09 19:52:53 +01:00
smallmodel
831dc770d8
Added droptofloor() 2023-11-09 19:37:25 +01:00
smallmodel
8a9285c64f
Cleaned up navigate source files and added low-wall arc 2023-11-09 19:31:20 +01:00
smallmodel
7e4e06b09d
Fixed FinishReloading not working properly 2023-11-08 22:24:07 +01:00
smallmodel
22eadf2c08
Removed code that prevent pausing in debug builds 2023-11-07 19:20:26 +01:00
smallmodel
3cea097b48
Added EV_Turret_SetMaxUseAngle and EV_Turret_SetStartYaw to TurretGun's event responses 2023-11-06 19:41:34 +01:00
smallmodel
d0ba1df4e0
G_BroadcastAIEvent: ignore non-actor and non-bots 2023-11-05 21:02:07 +01:00
smallmodel
2b92869683
Moved eAIEvent enum to entity.h 2023-11-05 21:00:41 +01:00
smallmodel
379a4b0ce4
Fixed AI not being able to open doors 2023-11-05 20:58:37 +01:00
smallmodel
d4c7d4a7e1
Avoid broadcasting to AI if the entity has notarget set 2023-11-05 20:58:25 +01:00
smallmodel
dcac24c9e2
Fixed EventStopAtEnd() incorrectly stopping the vehicle 2023-11-05 20:39:04 +01:00
smallmodel
753589d840
Made TriggerSave only trigger once 2023-11-05 20:37:37 +01:00
smallmodel
382903c9e1
Added cSpline() constructor (sets points to 0) 2023-11-05 20:09:39 +01:00
smallmodel
f29fec0b31
Formatted spline source file 2023-11-05 19:09:29 +01:00
smallmodel
c5e48c67bb
Return "unarmed" for item prefix/name that cannot be found 2023-11-04 19:02:08 +01:00
smallmodel
cc62ebcffc
Don't display an error for viewmodelanim fps tiki 2023-11-04 19:01:48 +01:00
smallmodel
0f36504959
Implemented vote options for cgame module 2023-11-04 18:43:10 +01:00
smallmodel
7899e5161e
Add a newline at the end of dmmessage errors 2023-11-04 00:20:27 +01:00
smallmodel
95603b1142
Convert chat prefix for localization 2023-11-04 00:08:53 +01:00
smallmodel
bf8e0eb812
Other player was not receiving the private message 2023-11-04 00:05:18 +01:00
smallmodel
0c04ffc1e8
Added and implemented InfoLandmark 2023-11-03 22:10:14 +01:00
smallmodel
6caa16444e
Return an str for battle language instead of const char* 2023-11-03 22:00:49 +01:00
smallmodel
94d4cbeb82
Enhanced Player's dmmessage implementation (say + voice) 2023-11-03 21:56:31 +01:00
smallmodel
b31f4bc00c
Added and implemented CG_xxxVote functions 2023-11-03 21:28:46 +01:00
smallmodel
cf0808e119
Added client vote options code (partially implemented) 2023-11-03 21:09:18 +01:00
smallmodel
9c68af92be
Added more console commands to initialize 2023-11-02 20:23:45 +01:00
smallmodel
bc5d7f5e93
Added "reloadmap" console command from moh 2.0 and above 2023-11-02 20:20:58 +01:00
smallmodel
f2ba9a88be
Reimplemented G_ScriptCmd() 2023-11-02 20:15:08 +01:00
smallmodel
81b711364e
Use Event::Exists() instead of getting it, to see if an event exists 2023-11-02 20:14:34 +01:00
smallmodel
554e0c7fac
Formatted gamecmds source files 2023-11-02 20:07:29 +01:00
smallmodel
2c3180813a
Fixed improper path lookahead 2023-11-02 19:33:10 +01:00
smallmodel
a262fe5d9d
Removed pAnimThread assert as it can be NULL 2023-11-02 19:11:44 +01:00
smallmodel
a69249ee22
Fixed an issue where PathAvoidsSquadMates() would set bad coordinates for path 2023-11-02 19:11:29 +01:00
smallmodel
3a6be342ce
Added new ScriptModel functions from mohaas 2.0 and above 2023-11-01 22:35:07 +01:00
smallmodel
6616bfe53e
Formatted document 2023-11-01 22:21:09 +01:00
smallmodel
bafe60f48f
Move must fail if the Actor wants to become a runner but the idle think state is neither Runner nor Patrol 2023-11-01 20:16:44 +01:00