Commit Graph

1920 Commits

Author SHA1 Message Date
Jan
ae8dd7bb33 Rename Automelee that was mistakenly named autoaim 2021-08-30 16:09:52 +02:00
Jan
ff86a19cc3 Fix gamepad release compiling 2021-08-30 16:09:52 +02:00
Jan
e2552f1aeb Add remote control (predator) controls for gamepad 2021-08-30 16:09:52 +02:00
Jan
8adea24d67 Add gamepad location selection support 2021-08-30 16:09:52 +02:00
Jan
fea24a509a Remove button float value from gamepad plus(+) binds since basegame doesnt make use of it 2021-08-30 16:09:52 +02:00
Jan
edf060bd4a Remove unused gamepad fields 2021-08-30 16:09:51 +02:00
Jan
eaa6e6fb8c Swap kbm keybinds for gamepad commands when trying to displayed localized button string and using controller 2021-08-30 16:09:51 +02:00
Jan
2c3bfbe62a Retrieve gamepad dvars on creating dvars instead of referencing them by name 2021-08-30 16:09:51 +02:00
Jan
30c90e5985 Set mouse as used when mouse is moved instead of disabling it when gamepad is in use 2021-08-30 16:09:51 +02:00
Jan
e49e17d6e6 Add turnrates for controllers 2021-08-30 16:09:51 +02:00
Jan
ac1ade1976 Fix release mode issues with R_TextWidth_Hk 2021-08-30 16:09:51 +02:00
Jan
6043dabc3c Apply gamepad axis rotation to usercmds 2021-08-30 16:09:51 +02:00
Jan
6434526fcb Disable mouse cursor when controller is active 2021-08-30 16:09:51 +02:00
Jan
cc9a2b0bac Make dvar set methods also set the latched values 2021-08-30 16:09:51 +02:00
Jan
b3e5f461f2 Add gpad_in_use dvar that reflects whether a gamepad is currently being used 2021-08-30 16:09:51 +02:00
Jan
feef738c61 Make all material text icons (Hud icons) have white tint so they are not affected by color codes 2021-08-30 16:09:51 +02:00
Jan
05861a0df4 Draw only gamepad buttons when gamepad is in use 2021-08-30 16:09:51 +02:00
Jan
8b43ba490c Fix width calculation errors in R_TextWidth reimplementation 2021-08-30 16:09:51 +02:00
Jan
885f5c4688 Add localized button names for gamepad keys 2021-08-30 16:09:51 +02:00
Jan
57e305277b Consider material text icons when calculating text width 2021-08-30 16:09:51 +02:00
Jan
0875a87e26 Add commands for applying gamepad stick and button configurations 2021-08-30 16:09:51 +02:00
Jan
8cd99235c0 Write gamepad axis configuration to config file 2021-08-30 16:09:51 +02:00
Jan
dcbb120de1 Fix menu controller support taking keypad keys instead of normal keys 2021-08-30 16:09:51 +02:00
Jan
9b4a48f2c3 Implement menu navigation using gamepad 2021-08-30 16:09:51 +02:00
Jan
b6d7abdcd4 Execute gamepad keybinds 2021-08-30 16:09:51 +02:00
Jan
6d598df56d Add binding commands to keys for controllers 2021-08-30 16:09:51 +02:00
Jan
2decfa2c45 Apply patches important for dedicated servers as well in any case 2021-08-30 16:09:51 +02:00
Jan
ea8c35e063 Reformatted gamepad patch 2021-08-30 16:09:51 +02:00
Jan
d4d1520f65 Implement cod native controller support like xinput value retrieval 2021-08-30 16:09:51 +02:00
Jan
64fdd04343 Rename XInput patch to Gamepad 2021-08-30 16:08:48 +02:00
Diavolo
5db5f707a9
Remove name check 2021-08-29 22:13:03 +02:00
Diavolo
9a1ab2c660
Check for dvar type 2021-08-29 22:09:45 +02:00
Diavolo
89165a96b4
[Dvar] Use set raw method on dvars by default 2021-08-29 17:41:21 +02:00
Diavolo
01f8f36e30
Disable anticheat for good 2021-08-28 22:33:14 +02:00
Dss0
52748b4cbe
Merge pull request #113 from Laupetin/fix/2d-material-text-icons
Fix 2d material text icons
2021-08-21 13:22:18 +02:00
Jan
aaace9db35 Do not only strip material text icons from server names but for all server attributes that are displayed in the server list 2021-08-21 12:35:32 +02:00
Dss0
002dfa77c4
Merge pull request #114 from Laupetin/fix/invalid-playercounts
Ignore servers in serverlist that specify an invalid player count
2021-08-21 12:07:49 +02:00
Jan
d44039e82e Ignore servers in serverlist that specify an invalid player count 2021-08-21 00:18:34 +02:00
Jan
f3c2b999eb Strip material text messages from server names 2021-08-20 18:50:57 +02:00
Jan
a7a8207a34 Strip material text icons from chat messages 2021-08-20 18:50:53 +02:00
Jan
e84e0774a6 Fix material text icons with some techsets causing issues when rendering 2021-08-20 18:49:09 +02:00
Diavolo
933f00017f
Add space after push 2021-08-19 17:28:22 +02:00
Diavolo
0b85b4cefc
Order of names 2021-08-19 12:04:49 +02:00
Diavolo
fc73f4cd65
Fix style and slowmoStub 2021-08-19 11:45:40 +02:00
Dss0
e43206fbcc
Merge pull request #108 from Rackover/sound_mutex_fix_fix
Fix sound mutex fix
2021-08-16 21:24:39 +02:00
Dss0
44eded4e6d
Merge pull request #109 from Rackover/0_6_2_prep
Added DLC#9 (Classics pack 3)
2021-08-16 21:24:08 +02:00
Louvenarde
89254936e4 Whoops 2021-08-16 18:53:52 +02:00
Louvenarde
af9bb8b805 Added DLC#9 (Classics pack 3) 2021-08-16 18:53:33 +02:00
Dss0
1888e4c357
Merge pull request #107 from zweeej/SetSlowMotion-fix
slowmofix
2021-08-16 16:06:49 +02:00
zweej
ed62d96690 SetSlowMotion Fix #2 2021-08-16 02:01:21 +02:00
Louvenarde
f8c177085c Address review, clean up code 2021-08-15 14:10:13 +02:00
zweej
de0b8adc82 slowmofix 2021-08-15 00:10:42 +02:00
Louvenarde
0f8acb940e Better dvar handling 2021-08-14 13:51:22 +02:00
Louvenarde
cbfdde2029 Slight refactor, tweaked the acceleration value and deadzones a little bit 2021-08-14 10:38:00 +02:00
Louvenarde
ea926dfe67 Merge branch 'develop_official' into feature/xinput 2021-08-14 00:36:42 +02:00
Louvenarde
8e4c102984 Sound mutex workaround 2021-08-14 00:27:19 +02:00
Jan
99b5da72f6 Fix codol dynentity patch not respecting that the return type should be BOOL so 32bit instead of bool 8bit 2021-08-03 21:36:57 +02:00
Dss0
a52f2e9f32
Merge pull request #101 from Rackover/colordblind_team_colors
colorblind friendly team colors!
2021-08-01 18:01:26 +02:00
Diavolo
320412551b
Added comments 2021-08-01 14:31:32 +02:00
Diavolo
1bd4bcba05
Color dvar 2021-08-01 14:22:42 +02:00
Diavolo
a5680fdc61
Color dvar 2021-08-01 13:30:11 +02:00
Diavolo
b9087698df
forgot about alpha value 2021-08-01 10:39:40 +02:00
Diavolo
de0c3b2762
Color blind dvars 2021-08-01 10:35:59 +02:00
Diavolo
7d8f01b223
The game does not display this character 2021-07-31 19:31:37 +02:00
Diavolo
e2d3f0aa35
Finally a working stub 2021-07-31 19:28:08 +02:00
Diavolo
a3d9c9bd75
Remove asm instruction I shamelessly copied 2021-07-29 10:47:16 +02:00
Diavolo
8b4f177fcc
Minor 2021-07-29 10:11:27 +02:00
Diavolo
22f33921b6
Use push ecx is not destroyed 2021-07-28 21:44:17 +02:00
Diavolo
4db1c1b0a9
Remove function again 2021-07-28 19:15:47 +02:00
Louvenarde
2dd703c037 Another zones::version specific to the map 2021-07-28 18:49:39 +02:00
Louve
9de63a3772
Merge branch 'develop' into skip_specops_entities 2021-07-28 18:32:45 +02:00
Edoardo Sanguineti
e025f3420e
Removed unnecessary spaces 2021-07-28 14:57:13 +02:00
Diavolo
b728729ceb
Correct one mistake 2021-07-28 14:40:43 +02:00
Diavolo
ecf44c8580
Jump hook 2021-07-28 13:48:46 +02:00
Diavolo
ff50ecfddf
2 2021-07-28 09:35:21 +02:00
Diavolo
86a2159c17
Color dvar 2021-07-28 09:33:49 +02:00
Louvenarde
234c58161e colorblind friendly team colors! 2021-07-28 01:07:27 +02:00
Diavolo
ef1a902381
Changing the style to PascalCase 2021-07-21 18:44:58 +02:00
Diavolo
6197b0f5be
Removed unused/replaced function 2021-07-18 22:54:46 +02:00
Diavolo
f09305c315 Merge branch 'develop' of https://github.com/diamante0018/iw4x-client into develop 2021-07-18 22:47:35 +02:00
Edoardo Sanguineti
98272e4187
Indentation 2021-07-18 22:02:05 +02:00
Diavolo
97032e9d46 Quit f 2021-07-18 20:51:33 +02:00
Diavolo
a6b17cf64d Better quit_hard 2021-07-18 17:36:01 +02:00
Dss0
26d8a5885b
Merge pull request #94 from diamante0018/develop
New Premake option. Improved asm
2021-07-18 12:32:37 +02:00
Diavolo
ac2302b138 Better asm block 2021-07-17 11:31:46 +02:00
Louvenarde
781fb5b4f7 RCon hotfix to prevent listen servers from being stuck on Awaiting challenge... 2021-07-17 09:49:58 +02:00
Dss0
f534a09e35
Merge pull request #91 from Rackover/fix_rcon_party_lobby
Fix rcon not working properly on party servers
2021-07-15 23:15:11 +02:00
Louvenarde
9eb9273010 Disable rcon log by default 2021-07-15 23:12:11 +02:00
Louvenarde
5162c0c381 Log RCON on demand with a dvar 2021-07-15 21:45:46 +02:00
rackover
2930fef177 Unless explicitely defined, do not generate iw4x specific zones 2021-07-10 11:30:35 +02:00
Louve
434d0e93c9
Merge branch 'develop' into shellshock_parsing 2021-07-06 10:11:18 +02:00
rackover
54df979c2b Add comments, improve clarity 2021-07-05 21:23:57 +02:00
rackover
e99b642cec Whoops, forgot that print 2021-07-05 00:29:53 +02:00
rackover
6ab6f2cd62 Remove extra fluff & useless comments 2021-07-05 00:28:50 +02:00
rackover
2ad1d4a682 Fix rcon not working properly on party servers 2021-07-04 20:28:23 +02:00
rackover
993fe28a37 Wip skip specops entities part 2 2021-07-04 18:44:25 +02:00
rackover
d563379ab8 Do not check for Zones::Version 2021-07-02 11:49:24 +02:00
rackover
daeaf2e952 Add hooks for ParseShock 2021-07-02 11:44:57 +02:00
rackover
78eadd4eb1 WIP entity skipping 2021-07-02 11:43:04 +02:00
GEEKiDoS
2626c75926 Fix 461 weapon loading, add vision file lookup function 2021-07-02 17:34:03 +08:00
rackover
28ced14dd9 Parse shellshock for 461+ CODO maps (only for awp_arena so far ?) 2021-07-01 23:16:31 +02:00
GEEKiDoS
3785322171 Generate IWI instead of PGM
Also remove PGM loading code
2021-06-29 21:06:50 +08:00
GEEKiDoS
ecc21b4ac2 Add pgm read code for tuning fonts easier 2021-06-29 11:59:15 +08:00
GEEKiDoS
d222334313 Add support for building custom fonts 2021-06-29 02:25:23 +08:00
Emosewaj
6145d14fab
Don't rely on GitHub redirect, use new URL 2021-06-26 00:28:01 +02:00
GEEKiDoS
440ae1d9d7 Some change for loading codo maps 2021-06-12 07:58:12 +08:00
GEEKiDoS
6c13f4fb45
Fix compile 2021-06-07 21:24:28 +08:00
rackover
cd2d5f616e Corrected wc_unlit matching and a few others 2021-05-12 14:35:32 +02:00
rackover
3157f60e6b Better deadzone handling for view / movement 2021-05-09 18:56:10 +02:00
rackover
7f8995cf3e Fix all killstreaks (but thermal on ac/cg) 2021-05-09 01:24:37 +02:00
rackover
9f6b5c6214 Slap a bunch of DVars to make every parameter tweakable 2021-05-04 22:12:07 +02:00
rackover
0354dd985e Reduce sensitivity when aiming down sights 2021-05-04 21:45:47 +02:00
rackover
bac2afa028 Overriding mouse is much better than overriding client angles 2021-05-04 18:11:16 +02:00
rackover
1df84f7536 Allow the user to use their keyboard even if the gamepad is plugged in 2021-05-04 15:54:12 +02:00
rackover
b3adacb71d Gamepad support for menus 2021-05-04 15:47:46 +02:00
rackover
04ef6c3fbe Vibrate the controller on start 2021-05-04 15:42:22 +02:00
rackover
fe5572c179 Do not use C++20 std:lerp 2021-05-04 13:04:05 +02:00
rackover
123ec69910 Better sensitivity management & don't spam button command 2021-05-02 16:13:33 +02:00
rackover
784c4c8372 Bit of cleanup + horizontal gamepad view acceleration 2021-05-02 13:13:13 +02:00
Louve
a4ebcbeb60
Do not interrupt gameplay for GSC errors
Make iw4x developers life easier by not freezing their game up for GSC errors in basegame GSCs 🗡️ 
I understand why this feature exists, but it makes developing for iw4x impossible unless you comment it out - so maybe it doesn't belong on graphical clients.
2021-05-02 11:53:58 +02:00
rackover
332232b88f Merge branch 'develop' of https://github.com/XLabsProject/iw4x-client into feature/xinput 2021-05-02 11:47:33 +02:00
rackover
462148a4b0 Fixed signed/unsigned masquerade 2021-04-28 20:23:56 +02:00
rackover
368e339efc Aggressive material replacement 2021-04-28 19:05:11 +02:00
rackover
791bd35c53 It's okay if we don't write every asset we had in memory 2021-04-28 19:05:02 +02:00
rackover
63ccf0e2bd draw model names 2021-04-28 19:04:54 +02:00
rackover
ee5f6a70c0 Sorted techset match-ups, slightly more sane techset matching, still not perfect though! (mp_convoy won't work unless the createart.gsc is smashed) 2021-04-21 23:42:57 +02:00
rackover
3e9b05d8ce Load bounce sounds, better soundalias structure 2021-04-13 19:54:09 +02:00
rackover
1fe241c7e5 Load weapon sounds with zonebuilder 2021-04-13 10:29:17 +02:00
rackover
d98cfb55cb Fix typos in WAV loading and streamed sound path 2021-04-13 10:29:12 +02:00
rackover
eebd0ae1da Cleanup & handle flag conversion in iw3xport 2021-04-12 00:44:11 +02:00
rackover
eebc48ab7c Set correct type flags when loading soundaliases (this should be in iw3xport, i'll move it later) 2021-04-12 00:44:03 +02:00
rackover
7dbb258a47 Correct array allocation for loaded sounds 2021-04-12 00:43:55 +02:00
rackover
e19409f550 Zonebuilder builds sounds & loaded_sounds now 2021-04-12 00:43:38 +02:00
rackover
4db236c852 Additional techset matching 2021-04-12 00:43:29 +02:00
rackover
d6394f0c69 weapon zonebuilding fix? 2021-04-07 15:17:56 +02:00
rackover
a2c8705868 Do not overwrite a techniqueset with another, the game really doesn't like taht 2021-04-06 21:16:44 +02:00
rackover
ace08107fe Only read clipmap models if we have a clipmap model count 2021-04-06 21:16:37 +02:00
rackover
aa85b95740 Added more techset matching 2021-04-06 21:16:04 +02:00
rackover
aa9f98b0e7 Fix warnings, fix post-rebase issues 2021-04-05 18:13:00 +02:00
rackover
fe2e2f1b3c Read clipmap from clipmap file (already converted) instead of converting it on the fly 2021-04-05 17:29:57 +02:00
rackover
953dcd2057 Material error formatting using const char* instead of string 2021-04-05 17:29:57 +02:00
rackover
22d63bf3b6 Group dvars to draw triggers/trees 2021-04-05 17:29:56 +02:00
rackover
529e44ac51 Fixed clipmap trigger brushmodel conversion (correct indexing) 2021-04-05 17:29:55 +02:00
rackover
d610e85176 C-Compliant clipmap trigger conversion 2021-04-05 17:29:53 +02:00
Jan
e9f78eedb7 Add r_drawTriggers debugging dvar to draw triggers on the map 2021-04-05 17:29:49 +02:00
rackover
fe8571a0c6 Enhanced material matching for iw3 maps 2021-04-05 17:25:53 +02:00
rackover
2301892d1e More detailed sampler error message 2021-04-05 17:25:52 +02:00
rackover
a2832d606c Added r_drawSceneModelCollisions 2021-04-05 17:25:51 +02:00
rackover
f4838994f8 Small improvement to clipmap trigger generation code 2021-04-05 17:25:50 +02:00
Jan
b21e57ccc2 Add r_drawSceneModelBoundingBoxes debugging dvar to draw dobj and scene model bounding boxes 2021-04-05 17:25:49 +02:00
rackover
ff8e321836 Fix soundalias building for zonebuilder 2021-04-05 17:25:48 +02:00
rackover
bb979639d6 Hook triggers 2021-04-05 17:25:47 +02:00
OneFourOne
c64f3767d5
[Dvar] Unlock camera_thirdPersonCrosshairOffset 2021-03-19 00:02:48 +00:00
Maurice Heumann
8cb1fb1418 Yes 2021-02-16 10:38:22 +01:00
OneFourOne
c105b8e782
[Credits] Add contributor + Fix 2021-02-07 17:26:47 -05:00
Rackover Xiaochad
49a2fc8b70 Fix 332+ maps aswell as 359+ 2021-02-07 11:54:15 +01:00
Rackover Xiaochad
0c462c1152 Fix device recovery issues on CODO maps >359 2021-02-06 21:30:47 +01:00
INeedBots
2038ba5e8b [XInput] Added buttons 2021-01-03 02:33:12 -06:00
INeedBots
198a39c3db [XInput] RJoyStick working, need to do vanilla acceleration and sensitivity 2021-01-03 00:32:58 -06:00
INeedBots
16c6d11916 [XInput] Completed analog movement on server side 2021-01-02 19:06:40 -06:00
INeedBots
ef76acd8b4 [XInput] Stubbed user movement apply, make sure reading 8 bits for movement data 2021-01-02 17:37:46 -06:00
INeedBots
d123ade36f [XInput] Added sending movement components 2021-01-02 16:48:48 -06:00
INeedBots
a737dd16e4 [XInput] Got lJoystick working 2021-01-02 13:42:52 -06:00
INeedBots
01dc00bd7f [XInput] Polling for input 2021-01-02 01:17:37 -06:00
INeedBots
39c14fd775 [Modules] Added XInput stub module 2021-01-02 00:49:45 -06:00
INeedBots
28df9b651a [QuickPatch] Added G_Antilag dvar 2020-12-22 22:15:48 -06:00
OneFourOne
b09db145be
add contributors to credits 2020-12-22 16:16:14 -05:00
OneFourOne
7da79cc1ff
Add contributors to credits 2020-12-22 15:12:23 -05:00
OneFourOne
82bef71abe
Remove crash-helper 2020-12-22 15:00:15 -05:00
INeedGames
1f570fae79 Module is a keyword in c++20 2020-12-19 17:00:07 -06:00
INeedGames
75caede0b2 [Script] Added hitch warning 2020-12-19 16:50:51 -06:00
INeedBots
f61e770996 [Script] Fixed compiling on C++20 again 2020-12-16 21:49:26 -06:00
INeedBots
74ac166885 [Download] Register HTTP GSC functions to prevent script compile errors 2020-12-16 11:45:28 -06:00
INeedBots
442980c056 Merge branch 'develop' into runtime_errors 2020-12-10 03:32:23 -06:00
INeedBots
9066b5fc05 Merge remote-tracking branch 'iw4x/develop' into develop 2020-12-09 14:58:09 -06:00
INeedBots
fcdfb563e6 [News] Remove broken updater 2020-12-09 14:57:34 -06:00
INeedBots
5f887a0364 [Maps] Download DLC by opening link 2020-12-09 14:57:01 -06:00
INeedBots
1ac9fadc57 [Changelog] Updated changelog location 2020-12-09 14:56:19 -06:00
Dss0
730db584fb
Merge pull request #53 from ineedbots/develop
Fixed Compile errors on C++20, still compiles on C++17
2020-12-09 21:28:46 +01:00
Dss0
a753159113
Merge pull request #51 from OneFourOne/develop
disable steam for now + add custom title menu
2020-12-09 21:28:12 +01:00
INeedBots
eeb70a7da4 Fixed compile errors on C++20 2020-12-09 13:13:34 -06:00
INeedBots
096992672b Merge branch 'develop' into runtime_errors 2020-12-09 11:25:33 -06:00
INeedBots
7d8050a7c6 [Script] Changed .contains to .count so it doesn't need C++20 2020-12-09 11:06:26 -06:00
OneFourOne
e7986db81c
add popup for custom title 2020-12-08 21:50:14 -05:00
INeedBots
9f281ba3a1 [Script] Fixed indents 2020-12-08 16:18:09 -06:00
INeedBots
1176a15e71 [Script] Added Script Runtime Error printing when in Developer 2020-12-08 16:14:47 -06:00
Dss0
8d1b06203e
Merge pull request #46 from ineedbots/bot_scr
Bot GSC functions for bots pressing buttons and moving + fix for node system related crash
2020-12-05 02:41:08 +01:00
INeedBots
0bb12a9783 [Script] Added ScriptStorage, GetSystemTime, PrintConsole and Exec GSC Functions 2020-12-04 16:42:47 -06:00
Dss0
5f221e77cd
Merge pull request #48 from Joelrau/some-changes
Some changes
2020-12-04 22:39:06 +01:00
Dss0
767d3b3a64
Merge pull request #47 from OneFourOne/develop
unlock cg_fovscale
2020-12-04 22:33:56 +01:00
Dss0
98ccc64a5d
Merge pull request #42 from xerxes-at/develop
Unlocked safeArea_horizontal and safeArea_vertical
2020-12-04 22:33:06 +01:00
Joelrau
eb897f9a76 [Node] Use clcState instead of CL_IsCgameInitialized
Game::CL_IsCgameInitialized() only returns true when the player is actually in the game. With this clcState returns 0 when in main menu so if clcState isn't 0 we will return.
2020-12-04 23:20:15 +02:00
Joelrau
a9b7cb384f [Command] Reduce the duration of toasts when successfull
I felt like 3 seconds is a little too long, especially when toggling noclip on and off repeatedly.
2020-12-04 23:17:18 +02:00
OneFourOne
a21aaa2e22
add cg_fovscale thanks to @shit-ware 2020-12-04 16:04:50 -05:00
INeedBots
b3e8ce95b4 Merge branch 'node_crash_fix' into bot_scr 2020-11-17 01:13:59 -06:00
INeedBots
e5a45023f2 [Node] Fragment the nodeListResponse send messages 2020-11-17 01:06:02 -06:00
INeedBots
1b9748a703 [Bots] Readded bot name numbering when no bots.txt is found 2020-11-14 03:37:58 -06:00
INeedBots
e63b9591ae [Bots] Fixed wanring 2020-11-14 03:29:53 -06:00
INeedBots
4c3ca3ca5c [Bots] Use static 2020-11-14 03:28:58 -06:00
INeedBots
e1c534fc50 [Bots] Added GSC Functions
- SetPing; Sets the ping of only a bot client
 - isBot; Returns true if the client is a bot
 - botStop; Bot stops all buttons and movement
 - botWeapon; Bot changes to the weapon told
 - botMovement; Bot moves in the given direction
 - botAction, Bot presses the given buttons
2020-11-14 03:20:56 -06:00