Commit Graph

725 Commits

Author SHA1 Message Date
Skull
06a30e0458 small fix 2023-01-01 18:37:06 +03:00
Skull
befd3653fc use our online json data
Co-Authored-By: Hosseinpourziyaie <hosseinpourziyaie@gmail.com>
2023-01-01 07:12:40 +03:00
Skull
a688c40177 add and enable marketing 2023-01-01 06:42:28 +03:00
Skull
6d38fdca52 label marketing_motd_once_per_day 2023-01-01 06:36:09 +03:00
Skull
7f29c661ba marketing comms 2023-01-01 06:32:11 +03:00
Skull
2827f4dfba
Merge pull request #429 from h1-mod/game_console
prevent print spam
2022-12-31 04:30:49 +03:00
m
aee62b4f32 fs_game disclaimer [skip ci] 2022-12-29 12:14:34 -06:00
m
d1ff8a8f9c integrate mods system w/ fs_game + cleanup
doing `+set fs_game "mods/deathrun` or `-mod "mods/deathrun"` will result in the same effect. `-mod` is mainly for singleplayer usage but also works in multiplayer.
2022-12-29 12:08:46 -06:00
Vlad
17d2f550e8
Make com_maxfps saved dvar for SP too (#431) 2022-12-29 10:34:39 -06:00
m
8e7e2982db add "Mods" tab 2022-12-26 06:45:36 -06:00
fed
308485be98 Fix executecommand 2022-12-26 03:38:47 +01:00
m
2c6da84d54 fix third person spectating #320 2022-12-25 06:09:33 -06:00
Skull
b3e245e85c make it like old cods 2022-12-24 17:12:36 +03:00
Skull
d71627fe49 prevent print spam? 2022-12-24 17:10:14 +03:00
fed
f898a6fcb7 Add some fs paths 2022-12-24 04:23:37 +01:00
fed
6bd59cc6c0 Fix skip extra zones patch 2022-12-24 00:29:20 +01:00
Vlad
4fe93f9ae5
Localization: additions for 'Server list' (#426) 2022-12-23 15:40:23 -06:00
m
e0ae1b14fe use set/clear mod functions 2022-12-22 11:33:44 -06:00
m
0c2c90e786 use fs_game w/ mod support 2022-12-22 11:07:51 -06:00
fed
09bba63918
Merge pull request #420 from h1-mod/confirmation-v2 2022-12-22 14:49:09 +00:00
m
0398b8cfad better branding 2022-12-22 08:39:14 -06:00
m
f2dd9315aa handle popup in lua instead 2022-12-22 08:22:52 -06:00
m
2abdb74885 cleanup and fixes 2022-12-22 07:27:28 -06:00
m
2a454e096b Merge branch 'develop' into confirmation-v2 2022-12-22 07:10:33 -06:00
m
729578e641 fix return type 2022-12-22 06:55:48 -06:00
fed
9397a8dda4 Check http response code 2022-12-22 13:38:35 +01:00
fed
b5a26eb82f Cache file hashes 2022-12-22 13:21:30 +01:00
Vlad
69f1fef1ea
Add localized zone loading (mp) (#421) 2022-12-21 18:20:32 -06:00
fed
d75c361cc4 Clean gametype 2022-12-22 00:28:20 +01:00
m
bf965d0688 fix map patches 2022-12-21 16:53:47 -06:00
fed
7a1b9cf6ee Small fix 2022-12-21 23:33:16 +01:00
m
f2632dc448 dont use pointers for json 2022-12-21 15:46:02 -06:00
m
af51706f7d put forward declaration next to first use case 2022-12-21 15:41:45 -06:00
m
c8b8eef200 add trusted ips (whitelist) 2022-12-21 15:39:59 -06:00
m
52151e9ed8 only show prompt if there are files 2022-12-21 14:34:58 -06:00
m
d8ff4697dc cleanup 2022-12-21 14:24:36 -06:00
m
de26138f5b yes/no popup before download 2022-12-21 14:10:29 -06:00
m
03d7667213
clear reverse map 2022-12-16 04:50:10 -06:00
Vlad
29c2771f5e
Fix 'Language' menu exception (#400)
…if config file is not created
2022-12-11 22:30:58 -06:00
m
e24c5cf8b3 move wine check to utils [skip ci] 2022-12-03 20:39:55 -06:00
fed
87d20bb856 Fix gsc crash 2022-11-13 20:03:34 +01:00
fed
15fdab136f Fix script leaks + increase memory 2022-11-11 21:15:26 +01:00
fed
e62fc74d98 Add arena file to download + fixes 2022-11-11 15:54:32 +01:00
fed
7a5798d247 Fix custom scoreboard icons 2022-11-10 21:47:09 +01:00
quaK
2f21d655e6 use override rawfiles if found 2022-11-10 21:56:35 +02:00
fed
664264259a Small fix 2022-11-10 19:10:28 +01:00
fed
1c5a01bcf7 Cleanup menus 2022-11-10 01:38:53 +01:00
fed
1b8dbc535f Cleanup arena 2022-11-10 01:16:50 +01:00
quaK
3a11cd4296 custom map stuff 2022-11-10 00:54:34 +02:00
m
79ce249c2f cleanup 2022-11-03 12:43:50 -05:00
m
d745e9df04 random cleanup and changes 2022-11-01 00:09:02 -05:00
fed
3a04ad3132 Small fix 2022-10-31 16:50:53 +01:00
m
da59ed854c fixes and little changes 2022-10-26 22:23:00 -05:00
m
11260db99e throw error on getfunction + cleanup 2022-10-24 16:00:40 -05:00
m
bc781cfd76 better patch for dev rawfiles compiling 2022-10-24 03:29:08 -05:00
fed
01bb6df9ba Fix build 2022-10-23 23:31:32 +02:00
fed
f51794d0bd SP fixes 2022-10-23 23:14:59 +02:00
m
4893a44954 add say/tell + update submodules 2022-10-22 23:21:05 -05:00
m
8aa10c7dc5 fix build 2022-10-21 17:15:58 -05:00
m
e94f25db54 organize gsc components 2022-10-21 17:05:18 -05:00
m
6810cc54c7 extra bdstorage tasks
not needed, but felt like adding anyways
2022-10-18 06:02:03 -05:00
m
8cdb4690c4
scripting additions, changes, and cleanup (#330) 2022-10-18 05:38:06 -05:00
Vlad
33ebc72bf3
Sync with h2-mod’s b4d3ea9 (#333) 2022-10-17 14:57:39 -05:00
m
4e6a66c0f9 add root folder IO 2022-10-14 14:02:18 -05:00
fed
b502f3531c Merge branch 'develop' of https://github.com/h1-mod/h1-mod into develop 2022-10-14 20:16:56 +02:00
fed
aa6108b4fe Mapents fixes 2022-10-14 20:16:10 +02:00
m
59718fc9d5
better GSC api (#310) 2022-10-14 11:39:27 -05:00
FutureRave
cbe4cd3557
fix logger 2022-10-13 22:38:06 +01:00
fed
8e55f8dc17 Mapents parser 2022-10-13 02:22:16 +02:00
fed
7c17c66b15 More usermap fixes 2022-10-12 23:40:17 +02:00
fed
ce4a586809 Some fixes 2022-10-11 18:29:53 +02:00
fed
e73d871418 Usermap support 2022-10-11 05:11:54 +02:00
fed
e2e1c908d4 Fix reconnect crashing 2022-10-11 00:10:24 +02:00
m
36739acae4 name some demonware stuff 2022-10-10 16:09:15 -05:00
m
a04f90858a allow custom scripts to include stock scripts 2022-10-10 13:21:14 -05:00
m
b09cb3a034 unnecessary use of Dvar_FindVar 2022-10-10 13:10:40 -05:00
fed
f41ab591d9 Dont load localized zone on custom maps 2022-10-09 20:51:19 +02:00
m
873cdebaf5 fix build 2022-10-04 21:18:43 -05:00
m
60cf2c2b30 re-add io gsc functions 2022-10-04 21:09:22 -05:00
Vlad
c8941e0ac2
Dont always load eng ff (#297) 2022-10-02 15:08:59 -05:00
fed
c7e7b88af1 Fix build 2022-09-25 21:09:11 +02:00
m
4e9e2b8b16 tiny changes 2022-09-25 10:46:55 -05:00
Vlad
367548e86e
Fallback fonts + localizations (#262)
* Fallback fonts + localizations

* cannot find address on h1 [skip]

* fix build

* fix language menu

* small fix

* improved regular font

* format LUI stuff [skip ci]

Co-authored-by: m <mjkzyalt@gmail.com>
2022-09-25 10:12:58 -05:00
fed
6dbb1c6312 Delete io.cpp 2022-09-23 20:25:19 +02:00
fed
2fa95b16e7 Gsc changes 2022-09-23 19:30:09 +02:00
m
d105d132c8 hehe 2022-09-12 16:03:46 -05:00
m
ad4736b71e add gsc io funcs 2022-09-12 15:51:23 -05:00
Skull
2c2e52d952 use command instead [skip ci] 2022-09-12 23:42:29 +03:00
Skull
3af7d507ff add lui_close command 2022-09-12 23:41:54 +03:00
quaK
faf8050c88 fix script main menu for controllers 2022-09-12 19:24:19 +03:00
quaK
7d8b9c6fb8 fix custom weapon index mismatch
fix for custom attachments
2022-09-12 04:33:58 +03:00
fed
29a29644c7 Remove this 2022-09-11 21:27:55 +02:00
fed
abb8cc7c0b Another fix 2022-09-11 20:50:12 +02:00
fed
a6fd9181a6 Update symbols.hpp 2022-09-11 20:45:32 +02:00
fed
2424a7a088 Small fix 2022-09-11 20:29:53 +02:00
fed
19c3219f96 Small fix 2022-09-11 20:13:56 +02:00
m
99b3831dd8 GSC support (#247)
Co-authored-by: Federico Cecchetto <fedecek3@gmail.com>
2022-09-11 12:40:27 -05:00
Federico Cecchetto
b1b6699435 Some fixes 2022-09-11 16:26:11 +02:00
m
10e1395de8 Mod downloading (#228)
* basic template for mod downloading

* better checks for unloading?

* Mod download stuff

* debug prints

* basic UI popup for mod downloading

* change notify location + abort download

* Prevent mods from loading lua files

* cleanup, fixes, mod aborting

* use correct pipelines

* change some messages

* fix mod downloading

* not a component

* fix hardcoded changes

Co-authored-by: Federico Cecchetto <fedecek3@gmail.com>
2022-09-11 08:09:50 -05:00
Federico Cecchetto
1f6622fce3 Use defines 2022-09-11 13:32:19 +02:00
Diavolo
0e62d816e8
fastfiles: Use defines instead of magic numbers 2022-09-11 12:55:40 +02:00
Federico Cecchetto
f1e261a7b3 Close fastfiles handles during update + fixes 2022-09-11 02:21:38 +02:00
fed
574ced26ed
Merge branch 'develop' into filesystem-and-mods 2022-09-10 21:00:23 +00:00
Federico Cecchetto
b36a26b81b Support loading fastfiles from appdata 2022-09-10 22:59:55 +02:00
m
e7972a270d register fs game path on fs startup [skip ci] 2022-09-09 20:38:04 -05:00
Skull
6b994def0d spacing? [skip ci] 2022-09-09 22:26:53 +03:00
Skull
3c370dd109 bdStats 2022-09-09 22:25:09 +03:00
Skull
53d5e87019 dw small changes 2022-09-09 22:05:12 +03:00
Skull
be6adbfe13 label some more 2022-09-09 17:30:58 +03:00
Skull
b9a7dc50a6 label demonware services and tasks 2022-09-09 17:06:54 +03:00
quaK
6b6aa66f93 small dw changes 2022-09-08 08:09:43 +03:00
quaK
dbd33c6392 fix stub return value 2022-09-08 07:32:29 +03:00
Skull
251144fa88 for now
for some reason values are changed back to the originals, needs small investigation.
2022-09-06 18:28:44 +03:00
Skull
79d52e4462 bruh 2022-09-06 17:46:12 +03:00
Skull
7b4c694add don't use this for wine for now 2022-09-06 17:39:58 +03:00
Federico Cecchetto
5e4310c494 Fix build 2022-09-04 04:28:19 +02:00
m
328e6c611a
Add legacy menus (#249)
* fix legacy menu files

* minor changes

* make setclientdvar behave more like older games

Co-authored-by: quaK <38787176+Joelrau@users.noreply.github.com>
2022-09-03 20:40:06 -05:00
m
4c081b1fee cleanup + fixes
i think our sys_createfile hook needs fixed
2022-09-03 17:57:24 -05:00
Vlad Loktionov
fbc5c9763f use the binary variable 2022-09-03 18:21:02 +03:00
m
22ca646021 appdata folder to h1 2022-09-03 06:03:27 -05:00
m
748ab6899e add new data directory, and update updater 2022-09-03 06:00:31 -05:00
m
b913ea7129 tiny changes 2022-09-03 05:25:59 -05:00
m
9fce064632 add mods menu in lobby 2022-09-03 05:06:45 -05:00
m
eba62a20ca fix fs_startup + fs_game file path 2022-09-03 04:50:08 -05:00
m
ddab3315cf fix system check [skip ci]
actually fix lmao
2022-09-03 02:48:19 -05:00
m
d7ffafd4e9 some h2 mod stuff i'm storing here temp 2022-09-03 00:23:04 -05:00
m
418c4bd34e
fix system check [skip ci] 2022-09-03 00:10:49 -05:00
m
99e047a8c9
Wine compatibility and patches (#219)
Co-authored-by: Skull <86374920+skkuull@users.noreply.github.com>
2022-09-02 21:54:39 -05:00
quaK
a5e91259a8 use tag_weapon when other tags aren't found 2022-08-30 19:23:41 +03:00
quaK
fa41a6a8d3 singleplayer mod stuff 2022-08-20 16:27:41 +03:00
m
9df6257732 move sol2 specific warning to where it's needed
https: //github.com/XLabsProject/iw6x-client/pull/638
Co-Authored-By: Edo <edoardo.sanguineti222@gmail.com>
2022-08-16 23:31:38 -05:00
m
690310fd76
allow loading of custom zones (basic mod support) (#172)
* allow loading of custom zones

* remove game::

* remove unnecessary hook

* mod support

- fs_game support
- precache all weapon files loaded in database
- parse startup variables correctly

Co-authored-by: quaK <38787176+Joelrau@users.noreply.github.com>
2022-08-16 17:23:36 -05:00
m
dc9a5b49f8
change macro [skip ci] 2022-08-16 01:30:44 -05:00
m
ead98780f7 only warn the user once 2022-08-14 17:01:02 -05:00
m
a7a0f03e54 warn if steam registry doesn't exists 2022-08-14 16:56:23 -05:00
Skull
a3072c68ae [skip ci] 2022-08-12 10:19:56 +03:00
m
a9d207d2f2
additional launcher changes (#210)
* format code to look nicer

* stay true to old style + about page changes

* stick to color scheme

* make green colored text easier to see
2022-08-07 19:51:27 -07:00
Skull
da04969f18 check if steam not found
Which also fixes the crash if steam was on login window
2022-08-04 10:36:43 +03:00
Skull
772af52ce3 more css edit 2022-08-04 10:24:16 +03:00
Skull
280e6593a8 new look 2022-08-04 09:48:09 +03:00
Andrew
c504fb6ec5
Fixed a typo (#209) 2022-08-04 01:13:55 -05:00
Andrew
0b7867fc28
Mid-Air Sprinting (#208) 2022-08-04 01:02:31 -05:00
Skull
f4d179eddb fix escape drawing symbols
which is now clears the console input
2022-07-28 00:50:09 +03:00
Skull
50ea7a0bea set comapsssize min to 0.1 2022-07-27 23:28:07 +03:00
Skull
36c5c8e103 use size_t 2022-07-27 09:25:55 +03:00
Skull
c7d9f74bc9 useless file [skip ci] 2022-07-23 23:48:38 +03:00
mjkzy
e2cd532c47 add a bunch of new tokens from gsc-tool
thank you to @xensik for getting these tokens
2022-07-19 23:08:31 -05:00
Skull
3a688e85c3 add gameTime 2022-07-19 18:06:13 +03:00
Skull
9f45ee322a sustainammo for sp 2022-07-18 06:14:35 +03:00
Skull
2bc11cec20 elevators for sp and list some dvars 2022-07-18 04:51:24 +03:00