Commit graph

241 commits

Author SHA1 Message Date
smallmodel
8ea32fee31
Added Entities with all classes, methods and events (unimplemented) 2023-08-14 19:20:53 +02:00
smallmodel
f0571385d5
Export events for AISpawnPoint 2023-08-14 19:00:16 +02:00
smallmodel
83318af532
Export EV_Weapon_SetProjectile 2023-08-14 17:43:28 +02:00
smallmodel
860c9b33ef
Made AddObjective and SetCurrentObjective static 2023-08-14 15:02:25 +02:00
smallmodel
49850940d6
Using objective flags enumeration 2023-08-14 02:39:32 +02:00
smallmodel
c0726f0634
Added objective status and flags enum 2023-08-14 02:33:59 +02:00
smallmodel
ba2c3ed5fd
Fixed lean on protocols before 2.0 2023-08-14 02:12:30 +02:00
smallmodel
161f7e3313
Fixed wrong current objective
Added support for objective location per team
2023-08-14 02:11:26 +02:00
smallmodel
0898bffb43
Fixed getboundkey1/getboundkey2 crashing when the key is null 2023-08-14 01:56:43 +02:00
smallmodel
07e90d37ee
Fixed bad angle 2023-08-14 00:22:25 +02:00
smallmodel
71bd04e5b2
Fixed weapon bullet trace
Fixed projectile being always removed in single-player mode
2023-08-14 00:22:05 +02:00
smallmodel
95510279ed
Fixed trigger having no contents when a model is set 2023-08-14 00:21:44 +02:00
smallmodel
f1502833b2
Fixed primary/secondary attacks not working 2023-08-13 23:21:11 +02:00
smallmodel
1fd0cd097f
Fixed the objective index 2023-08-13 22:08:10 +02:00
smallmodel
c49d0c7afa
Fixed iprintln(bold) not working properly with multiple arguments 2023-08-13 20:22:39 +02:00
smallmodel
421b3d6375
Fixed crouch on mohaa and mohaas/mohaab 2023-08-13 20:20:36 +02:00
smallmodel
e1da6797c5
Using S_FLAG_DO_CALLBACK 2023-08-13 20:19:51 +02:00
smallmodel
430c7d1a57
Fixed ScriptCheck always failing regardless of the g_scriptcheck value 2023-08-13 20:19:40 +02:00
smallmodel
d3794c0dd9
Fixed bad event when using '$' key 2023-08-13 20:19:26 +02:00
smallmodel
9f268b0f6a
Using Director.Pause() instead 2023-08-13 17:59:59 +02:00
smallmodel
ea78d96bc3
Fixed disabled view model animation
Fixed pmove viewheight
2023-08-13 17:59:41 +02:00
smallmodel
0be9e69833
Added protocol for pmove_t for PM_CheckDuck 2023-08-13 17:59:21 +02:00
smallmodel
ee6014a30f
Fixed Player::CondCheckMovementSpeed returning wrong value (expects it to return true if below the weapon's max fire movement) 2023-08-13 16:11:59 +02:00
smallmodel
16c22a3ee5
Added "idle0", "idle1", "idle2" view model animations
Fixed respawn time after death
Fixed Sentient not switching to the primary weapon when spawning
Fixed weapon select not showing
Initialize all Player variables
Remove projectiles when switching teams
Set viewmodelanim to disabled when reaching the weapon's max fire movement
2023-08-13 16:11:25 +02:00
smallmodel
571e48fecf
Call Weapon::Charge in Sentient::ChargeWeapon
Don't charge again if sentient is already charging weapon
2023-08-13 16:07:46 +02:00
smallmodel
973d7c5f34
Implemented Weapon::Charge
Cancel overcooked events in Weapon::ReleaseFire
2023-08-13 16:07:11 +02:00
smallmodel
a1c5ca288a
Renamed m_iOwnerTeam to m_iTeam
Implemented SetFuse, ArcToTarget, BecomeBomb, and DieInwater
Fixed projectile life being wrong when charging
2023-08-13 16:06:49 +02:00
smallmodel
bb5cf24d5f
Fixed "isabandoned" mispelling 2023-08-13 03:34:28 +02:00
smallmodel
5e83e03e33
Major grammar/lexer/compiler fixes 2023-08-13 03:34:09 +02:00
smallmodel
f5af33b181
Major script engine fixes 2023-08-12 19:59:40 +02:00
smallmodel
0da1ed8764
Fixed canseenoents having the wrong name 2023-08-12 19:59:17 +02:00
smallmodel
8aa6f29c4c
Added all script functions from mohaas/mohaab 2023-08-12 14:02:43 +02:00
smallmodel
1b7a4442d3
Added no_fade parameter to G_BeginIntermission 2023-08-12 14:00:14 +02:00
smallmodel
a163df993c
Added MOD_MINE_EXPLOSION 2023-08-12 13:59:56 +02:00
smallmodel
cea2c178b5
Fixed header 2023-08-12 03:05:06 +02:00
smallmodel
77a9cd5a9a
Call Director.Unpause() to execute running scripts 2023-08-12 03:04:31 +02:00
smallmodel
ae02abba3b
Cleaned up ScriptMaster 2023-08-12 03:03:26 +02:00
smallmodel
bf960f6f32
Cleaned up ScriptThread 2023-08-12 02:40:30 +02:00
smallmodel
66a1087099
Moved ScriptMaster methods here 2023-08-12 02:40:03 +02:00
smallmodel
c1a431f857
Added all mohaas/mohaab features (SetWeaponIdleState, PingForMines, ForceLandmineMeasure, ForceDropWeapon and ForceDropHealth)
Set m_fDamageMultipliers depending on whether or not g_realismmode is set
Minor fixes in the sentient constructor
2023-08-12 00:49:07 +02:00
smallmodel
dac5279a59
Archive is_paused and angular_delta 2023-08-12 00:47:39 +02:00
smallmodel
a175ea27d7
Cleanup weapon class
Added ShowInfo, SetItemSlot and SetIdleState
2023-08-12 00:10:47 +02:00
smallmodel
ddac42e21e
Call Weapon::GetZoom() instead 2023-08-11 23:54:43 +02:00
smallmodel
c0597e441c
Moved AnimationEvent from Animate to a separate source file
Implemented whole animate class from mohaas/mohaab
2023-08-11 21:30:47 +02:00
smallmodel
04b66684dd
Added a function to get an animation's angular delta over time 2023-08-11 21:11:16 +02:00
smallmodel
41f7003747
Fixed SetPlayerView, SetupView, PlayerAngles
UpdateStats changes:
- Added support for allied and axis objective locations
- Vehicle health
- Healrate
- Secondary ammo
2023-08-11 03:13:36 +02:00
smallmodel
64ba900511
Use GetRemoteOwner() properly 2023-08-11 03:09:33 +02:00
smallmodel
e371b4bbd3
Replaced unused stats 2023-08-11 03:09:19 +02:00
smallmodel
aa44150525
Added some mohaas/mohaab methods (stubs) 2023-08-11 03:09:10 +02:00
smallmodel
3572be718a
Use usercmd_s instead of usercmd_t 2023-08-11 03:08:56 +02:00