smallmodel
c77fcd2cbc
Clear the edict model when freeing the edict
...
This fixes an issue where configstrings or game state chars would overflow when many models (such as actors with random headmodels/headskins) are spawned
2025-02-04 21:28:37 +01:00
smallmodel
92a0a9c197
Cache all models inside the models/player directory
...
Some player models are missing from precache scripts. This caches all models inside the player directory to avoid a short hitch when a player spawns with a non-cached model
2025-01-22 20:29:27 +01:00
smallmodel
e7cddd47a5
Fix incorrect map name and spawnpoint when a spawnpoint ('$') is specified, causing crash
2025-01-13 20:45:53 +01:00
smallmodel
6a86fc8067
Fix num voters when calling vote
2025-01-05 17:50:06 +01:00
smallmodel
a6c168c289
Count from 0 instead of CS_OBJECTIVES for more clarity
2024-12-16 22:13:26 +01:00
smallmodel
c4a1175ad0
Clear the invulnerable override when loading
2024-12-08 15:53:37 +01:00
smallmodel
2da379bade
Fix typo for nodropweapons
2024-11-03 19:30:56 +01:00
smallmodel
679cf4b7ec
Correctly remove "prespawn"/"spawn" waittill when loading from save
2024-10-26 13:27:32 +02:00
smallmodel
0d53adf9bd
Rework bot spawning
...
- Add a sv_sharedbots to specify if real client slots should be used
- Removed m_bSpawnBot from level, bots are spawned directly in G_BotBegin instead
- sv_numbots can be used to directly configure the number of bots to spawn
- Fix the way bots spawn/unspawn on-demand
- Documented g_bot functions
2024-10-06 22:57:39 +02:00
smallmodel
f9d264058b
Use safe version of sprintf and strcpy
2024-09-20 23:08:53 +02:00
Sébastien Noel
a010e648ee
Fix a few typos
2024-09-19 10:52:47 +02:00
smallmodel
618223f01b
Ignore NumShaders in protocol version 8 and below
2024-06-09 19:32:15 +02:00
smallmodel
13ec3435b4
Fixed rain num shaders
2024-02-04 19:36:56 +01:00
smallmodel
70c71b69ee
Added a feature to let each team have their own objective location
2024-01-02 00:52:25 +01:00
smallmodel
0167f0a3a4
Using Added in OPM comments
2023-12-28 20:35:33 +01:00
smallmodel
096972827e
Fixed half of archived entities being deleted during restart
2023-11-13 19:35:46 +01:00
smallmodel
8c893acfff
Don't spawn the initial player if the game isn't single-player
2023-11-13 18:23:01 +01:00
smallmodel
f96b606a1a
Fixed ScriptThread timing
2023-10-27 21:02:18 +02:00
smallmodel
acf71610df
Don't inhibit pathnodes
2023-10-23 15:56:14 +02:00
smallmodel
0b1f796e0a
Fixed format string
2023-10-22 20:16:10 +02:00
smallmodel
49cb5af265
Shortened GetRandomHeadModel() and GetRandomHeadSkin()
2023-10-19 19:36:32 +02:00
smallmodel
e930768c67
Implemented OpenActorStats and WriteActorStats
2023-10-18 19:34:35 +02:00
smallmodel
484272aed4
Added OpenActorStats and WriteActorStats (unimplemented)
2023-10-12 18:58:04 +02:00
smallmodel
784fd825bb
Formatted level source file
2023-10-01 22:49:10 +02:00
smallmodel
99ba912d7b
Fixed radius in Level::GetNearestBadPlace()
2023-09-17 17:12:04 +02:00
smallmodel
7a67dc5dfd
Implemented bad places
2023-09-13 00:00:42 +02:00
smallmodel
ad75363028
Added more variables to archive for Level
2023-09-12 21:48:08 +02:00
smallmodel
aead97d29d
Implemented landmarks from mohaab
2023-09-12 21:39:19 +02:00
smallmodel
f468305a2c
Level::Init(): Remove archived entities, reset health queue, initialize vote and free landmarks
2023-09-12 20:37:01 +02:00
smallmodel
e160cf240c
Fixed vote not working properly
2023-09-12 20:12:09 +02:00
smallmodel
dcca3901d5
Initialize more Level variables
2023-09-12 00:18:09 +02:00
smallmodel
0ee4ffbfbc
Implemented vote system (from mohaas/mohaab)
2023-09-12 00:07:10 +02:00
smallmodel
8cfa909b73
Reset bots on CleanUp
...
Fixed issues with WaitTill registration
2023-08-19 18:22:01 +02:00
smallmodel
c366c10530
Fixed level/parm/game vars being overwritten
2023-08-17 16:09:09 +02:00
smallmodel
c80b360918
Fixed "ignoreclock" event name
2023-08-16 02:22:39 +02:00
smallmodel
c4738966fe
Using g_utils.cpp from fakk
2023-08-15 01:27:35 +02:00
smallmodel
e86e5c0d80
Renamed MOD_MINE to MOD_LANDMINE
...
Added MOD_AAGUN
2023-08-14 23:37:05 +02:00
smallmodel
9f268b0f6a
Using Director.Pause() instead
2023-08-13 17:59:59 +02:00
smallmodel
77a9cd5a9a
Call Director.Unpause() to execute running scripts
2023-08-12 03:04:31 +02:00
smallmodel
090b354b23
Added all mohaas/mohaab events, methods (partially implemented)
2023-08-10 03:56:13 +02:00
smallmodel
bd794fb286
Cleanup Level
2023-08-10 03:10:51 +02:00
smallmodel
7b03f953bf
Added Level::RoundStarted
2023-08-02 21:02:19 +02:00
smallmodel
5333c7ff4a
Removed empty line before opening braces
2023-07-05 20:52:55 +02:00
OM
e4fa0fff3a
Renamed **game** to **fgame**
2023-06-15 23:44:02 +02:00