Commit graph

3740 commits

Author SHA1 Message Date
smallmodel
b8cc3313b1
Check for valid tiki in PF functions 2024-11-08 19:26:37 +01:00
smallmodel
d1fca3e499
Check for valid skeletor 2024-11-08 19:24:07 +01:00
smallmodel
66b882346f
Clear the animation delta when the animation is invalid 2024-11-08 19:13:56 +01:00
smallmodel
b38fedb18c
Make the vehicle path drive from TurretMove
This fixes the issue where the AB41 can't be controlled
2024-11-07 20:23:24 +01:00
smallmodel
e6559c6ae6
Fire the turret only when attackleft is pressed 2024-11-07 20:02:49 +01:00
smallmodel
772aad79d7
Disable cubemap-based lighting due to rendering artifacts/bugs occurring 2024-11-07 19:37:12 +01:00
smallmodel
3e84dbe6ac
Initialize skipFade 2024-11-06 18:53:43 +01:00
smallmodel
f347102ecb
Add the skipFade parameter in bsptransition so the fade can be skipped
Useful for scripts that are using fadeout during cinematics and then transitioning to the nextmap, like in e2l2 where vehicles explode at the end of the mission
2024-11-05 22:37:33 +01:00
smallmodel
f5d2fdbcad
Return an empty string if the channel is neither playing nor paused
It was only checking if the channel was playing. This was an issue because, in the main menu the music is paused, which means saving from main menu would not save the music filename
2024-11-05 22:16:15 +01:00
smallmodel
ab037f1890
Properly center the window 2024-11-05 22:03:43 +01:00
smallmodel
a933c78d93
Explosions must not kill the window immediately 2024-11-05 22:02:30 +01:00
smallmodel
d08f539e6d
Correctly initialize the window object 2024-11-05 22:02:08 +01:00
smallmodel
caea6e6bba
Return a reference to a const str for the result of Target() 2024-11-05 21:58:19 +01:00
smallmodel
6970e2d00c
Properly check entity sight against passOwnerNum 2024-11-05 21:48:43 +01:00
smallmodel
af084542c4
Don't set the leadside 2024-11-05 21:48:14 +01:00
smallmodel
9f728580b6
Fix Y normal for the output color from cube being mistakenly used twice
This improves the overall lighting from cubemap
2024-11-05 20:31:56 +01:00
smallmodel
c25d0b668a
Only check if m_bVisible is non-zero 2024-11-05 20:30:30 +01:00
smallmodel
1e29fd7d2b
Refactor SetScript/SetThread 2024-11-05 19:52:13 +01:00
smallmodel
67f822d492
Process label of type 'none'
A none variable should be considered valid, it will just clear the label
2024-11-05 18:43:28 +01:00
smallmodel
effbbd6c62
Support long subtitles 2024-11-05 01:14:21 +01:00
smallmodel
fba40370af
Only create launchers for the standalone game 2024-11-04 22:52:49 +01:00
smallmodel
fc0ca18632
Add missing QUAKED comments 2024-11-04 21:32:16 +01:00
smallmodel
059b0ba34f
Override respondTo method for TriggerEntity
This makes TriggerEntity respond to any object that is a subclass of Entity. This is useful for scripts wanting script_model to touch triggers for cinematic purposes (for example, the bike crash gag at the end of e2l2)
2024-11-04 21:22:09 +01:00
smallmodel
e833b08a8e
Fix G_GetAngle returning the wrong angle (was flipped) 2024-11-04 20:37:28 +01:00
smallmodel
afc431c413
Add a basic launcher 2024-11-04 01:00:53 +01:00
smallmodel
81e407a924
Add EXE_EXT 2024-11-03 21:45:27 +01:00
smallmodel
1f232efdf3
Add the push velocity when jumping from a valid ground entity 2024-11-03 20:34:49 +01:00
smallmodel
94e1830895
Don't jump when on top of another sentient 2024-11-03 20:32:17 +01:00
smallmodel
406f804ef8
Don't jump when inside a vehicle or turret 2024-11-03 20:30:37 +01:00
smallmodel
437f20dfb9
Set the view angles when archiving 2024-11-03 20:21:01 +01:00
smallmodel
ff4438bce9
Properly load the statemap file and get the pain conditions when archiving 2024-11-03 20:12:14 +01:00
smallmodel
5cb343730b
Rename Conditions to m_conditions 2024-11-03 20:06:31 +01:00
smallmodel
dacaaa2cef
Add missing variables from archive 2024-11-03 20:02:55 +01:00
smallmodel
2e6e20cf09
Set the m_bHasJumped value when jumping 2024-11-03 20:01:21 +01:00
smallmodel
2da379bade
Fix typo for nodropweapons 2024-11-03 19:30:56 +01:00
smallmodel
cf8f755f6c
Make comment more clear 2024-11-03 19:23:11 +01:00
smallmodel
8114003c84
Add screenshot/levelshot allowed stuff commands 2024-11-03 18:54:34 +01:00
smallmodel
bb47ba468c
Fix game.skill and game.detail missing getters 2024-11-03 18:51:27 +01:00
smallmodel
b97c47ab32
Cast to clock_t before left-shift 2024-11-03 18:40:18 +01:00
smallmodel
9042ea320c
Refactor UI_RegisterLoadResource 2024-11-03 18:38:12 +01:00
smallmodel
98e725ef7b
Fix EV_StatsUpdater_UpdateStats missing parameter declaration 2024-11-03 18:28:00 +01:00
smallmodel
05b2d3529e
Implement UI_EndLoadResource 2024-11-03 18:27:41 +01:00
smallmodel
00dbc74269
Use MAX_WEAPON_ANIM_SLOTS instead of a constant 2024-11-03 15:36:55 +01:00
smallmodel
8addeedf5e
Fix event parameters being incorrectly archived 2024-11-03 15:33:14 +01:00
smallmodel
bc834b021c
Use and draw the marker material when specified
This is used by the fuse stopwatch hud
2024-11-03 15:09:47 +01:00
smallmodel
6bac4bd57a
Add assertions to check for valid squad mates 2024-11-03 15:09:27 +01:00
smallmodel
51324aa8e9
Archive the ProjectileTarget ID
The ID was missing during save, this caused issues with projectile generators when looking for a local target
2024-11-03 01:51:17 +01:00
smallmodel
7d1d92980a
Disable the charge life when set to 0 2024-11-03 01:40:34 +01:00
smallmodel
3d42197f50
Initialize the minlife field 2024-11-03 01:26:30 +01:00
smallmodel
8a774c02dc
Call G_BeginIntermission() instead of G_MissionFailed() when calling missionfailed 2024-11-03 00:41:26 +01:00