Commit graph

348 commits

Author SHA1 Message Date
84399e33c9 func_bomb_target: Fix triggering upon C4 explosion. 2019-01-10 11:14:13 +01:00
b9902e94ea ambient_generic: Made it fully serverside to avoid headache. 2019-01-10 11:13:49 +01:00
3c42426b43 Added env_message and game_text support. 2019-01-10 11:13:12 +01:00
d4fc1b8ca1 ambient_generic: Made it so that the PHS controls the networking, rather than just ignoring PVS/PHS altogether. This will increase performance. 2019-01-06 22:01:11 +01:00
76c34de632 Fix the C4 Bomb not being cleared from the inventory after every round. 2019-01-06 22:00:17 +01:00
f0d107bb8a worldspawn: Make sure it's only called once, to avoid multiple worldspawn entities (this can happen...) from messing everything up. 2019-01-06 21:59:58 +01:00
3ef5e6c009 Fix the 'kill' command 2019-01-06 00:22:06 +01:00
7bb9281db7 Finally added the 5th weapon slot, where the C4 rightfully belongs. 2019-01-05 21:35:38 +01:00
910c94a15f Actually, this is the right coordinate for the defusal kit HUD icon... 2019-01-05 20:31:10 +01:00
09667d161c Added missing escape-zone, vip-zone and defusal-kit HUD icons 2019-01-05 20:28:31 +01:00
45d44149fd func_ladder: Fix the placeholder ladder not colliding/rendering properly. 2019-01-05 18:30:47 +01:00
9268524b4d Disabling debug info for the GS-EntBase. 2019-01-05 18:30:24 +01:00
b6321abd82 hostage_entity: Slight sound optimisation. 2019-01-05 18:30:02 +01:00
f17914d241 Fixed you starting with more than the allowed money. Now respecting the limtis. 2019-01-05 18:29:35 +01:00
a0745b550f Removed EntHostage.c 2019-01-05 18:29:11 +01:00
eed328c36f hostage_entity: Experimenting with a new duckling type follow AI. Not perfect, but better results than before 2019-01-05 16:36:22 +01:00
2e4498ec3d Changed some attack-delay/cycle values to ones I could poke from AMX-X/AlliedModders 2019-01-05 16:35:45 +01:00
78ccd2f4ec trigger_multiple: Added wait = -1 behaviour (fixes de_survivor's car light flickering) 2019-01-05 16:34:28 +01:00
098b701fe5 Renamed sv_voxannounce to fcs_voxannounce. As it is FreeCS specific. 2019-01-05 16:33:39 +01:00
86038ac612 Added some angle velocity to the shell ejections 2019-01-05 16:33:17 +01:00
1397d9a533 ambient_generic: Fixed triggers, networking and whatnot. Should behave a lot closer now 2019-01-05 11:50:30 +01:00
675ecc323c cycler_sprite: Fixed it not being a trigger, so now the chickens on cs_italy work again. Praise the chicken.mdl 2019-01-05 11:50:02 +01:00
c454f9f801 hostage_entity: Slightly better pathing, by walking to the last-traceable position of the rescuer 2019-01-05 10:39:09 +01:00
a02b1f516c env_sprite: Make sure m_flFramerate is set 2019-01-05 10:38:22 +01:00
b3753047ad hostage_entity: Memorize who your last rescuer was and attribute $$$ to him, in case he's too far away and no longer the user. 2019-01-05 09:10:14 +01:00
0adf64a82f Cleaned up func_buyzones' Game_CreateBuyZones to not use findchain. 2019-01-05 08:58:21 +01:00
3f3438cc1c hostage_entity: allows being pushed around (when you're CT)
hostage_entity: added animations for idle/walk/running that were missing
2019-01-05 08:51:32 +01:00
a1dcd36575 Fixed func_buttons in that their touch function was set when it shouldn't have been after using them via +use 2019-01-05 03:19:36 +01:00
af6904631e Added the missing class file entries for cycler and cycle_sprite 2019-01-05 03:18:57 +01:00
992251b030 Fixed a bug with not giving the helmet when you've already got Kevlar. 2019-01-05 03:18:38 +01:00
d4d6e8a6da The HUD will now display when you've got Kevlar and the Helmet 2019-01-05 03:18:23 +01:00
4621358ffd Added custom GLSL with support for the new gl_fake16bit, gl_affinemodels
Added support for respawns of map entities
Started redoing hostages... they don't have any animations right now. Don't be surprised.
Moved most/if-not-all CS specific entities into their own class files
2019-01-05 02:02:12 +01:00
4f9e8c2a75 Moved info_map_parameters into its own entity file, removed the old associated fields. 2019-01-04 21:58:19 +01:00
0e7fcf8012 Fixed env_sprite functionality.
Moved some things around.
2019-01-04 21:39:07 +01:00
c4eb753f63 env_spark autostart fix 2019-01-04 20:39:45 +01:00
e7f1db0543 Commited some minor stuff, unimportant 2019-01-04 05:56:14 +01:00
6678a562ae VoIP 3D-Ingame Indicator added 2019-01-03 23:33:40 +01:00
59c637c6ea Fixed trigger_hurt 2019-01-03 12:23:11 +01:00
5fa7002844 - Added everything needed for networked sprays
- Switched to custom pmove code (early, WIP) instead of the engine one, again
- Made nightvision compatible with splitscreen modes
- Player animation fixes
- Prediction fixes
- Fixed radius damage, so grenades and bombs should apply proper damage now
- Added func_wall_toggle
- Small entity fixes
2019-01-03 02:26:39 +01:00
32b6e85d28 Some AUG improvements, simple crosshair for both AUG and SG552 2019-01-03 02:23:21 +01:00
07b72429f6 Switched the majority of entities over to my new object oriented entity codebase also featured in The Wastes 1.2 2018-12-31 02:00:38 +01:00
88710b3bb2 Player animation fixes 2018-12-31 01:58:02 +01:00
d1ad1b13bf Misc prediction fixes 2018-12-30 06:37:53 +01:00
ff7e6b6c41 Made the connect button work in the Internet/LAN menus 2018-12-28 00:03:00 +01:00
8ffd4bb134 Initial New-Menu Commit. 2018-12-27 23:53:24 +01:00
0d5b490fac Tweaks to the default HUD color and radar position to be more like 1.5 2018-12-27 23:50:36 +01:00
aaf8241bc2 Gun offset command added (v_gunofs) 2018-12-27 18:19:14 +01:00
468996b9e6 Reset the bomb defusal progress in case the time runs out and is neither detonated nor successfully defused. 2018-12-25 22:59:10 +01:00
a02b781e9a Fix func_buyzones not being affected by fcs_swapteams 2018-12-25 22:53:44 +01:00
b1fa74a63a Added fcs_fix_bombtimer for overriding weird/buggy CS 1.5 timer behaviour 2018-12-23 09:12:12 +01:00
8d2093353c HUD Bomb Indicator Fix 2018-12-23 09:11:02 +01:00
afc8d8dbb2 more ecologically friendly infodecal entities
fixed autoreload behaviour! it's now like in 1.5
added some glsl replacements that are more performance friendly
2018-12-15 15:50:10 +01:00
a21d0d597b Fixed a small VOX sample-time logic error. This should fix the sync issues. 2018-12-09 06:33:38 +01:00
523f1e0284 Changed some of the menu sound to represent the WON menu better. Yes a nicer menu is coming, too. Patience! 2018-12-09 06:28:19 +01:00
a8c05e95d3 Added VOX sound precache. 2018-12-09 06:27:50 +01:00
c43906bff4 That's the proper way of disabling the impact effects for the knife... *cough* 2018-12-09 06:06:32 +01:00
807bfb00e0 The knife in 1.5 doesn't create decals apparently (the beta versions do, though) make this a switch? Does anyone care?... 2018-12-09 05:59:13 +01:00
c1497341a8 Moved all entity field definitions into one file. 2018-12-09 05:58:28 +01:00
701f0e8737 Added damage indicator. 2018-12-09 05:56:34 +01:00
628097eff9 Added early infodecal ents. They don't align to the texture coords YET. 2018-12-07 20:03:07 +01:00
1e1d02411b Fix for being unable to defuse the C4 with the new input-button swap. 2018-12-07 14:14:30 +01:00
f5bb0748ff Clear scope-zoom upon respawn. 2018-12-06 05:34:40 +01:00
f15217db91 Swapped the internal button bits for use/attack2 as it was causing problems in new engine binaries. 2018-12-05 20:52:27 +01:00
40c247a823 Small centerprint alignment fix. 2018-12-05 20:51:40 +01:00
efeaa2822d - Changed mp_fillweapons to fcs_fillweapons to reflect its origin
- fcs_fillweapons will basically act as a switch for CS:S ammo behaviour
- Some default.cfg and ftesrv.cfg changes
2018-12-05 17:02:49 +01:00
a44a39f91d Got rid of an old debug print for the C4 2018-12-05 15:55:55 +01:00
86e40f90c3 Fixed the reloading-logic to avoid an "ammo-loss" bug. 2018-12-05 15:55:40 +01:00
cdec0d9e79 - Fixed BombZone detection logic for planting the C4
- Fixed counting of players during events such as escape, disconnect and team switching
- Fixed flashbang nades not tracing against players correctly
- Fixed the C4 bomb planting logic which regressed a couple engine revisions ago
2018-12-05 15:05:56 +01:00
Marco Hladik
7b848d78ec - Redone crouching physics code
- Fixed the gamerules regarding bomb defusal kills
- Implemented mp_friendlyfire
- Fixed cl_thirdperson cvar
2018-09-20 13:38:01 -07:00
Marco Hladik
2f354c2e54 Removing Physics.c references, as it is no longer used. 2018-06-14 12:06:07 +02:00
Marco Hladik
537ec5d15d Changed the FreeCS Project license to MIT. 2018-06-14 12:05:23 +02:00
Marco Hladik
26efc3588e - Added sound hack that'll stop LFO sounds (e.g. cs_747 jet flyby) from killing your ears
- Fixed the spectator camera from caring about VIEWHEIGHT
- Added menu labels and checkbox graphics (still WIP menu improvements)
- Fix for not-loop ambient_generic entities
2018-06-10 11:40:44 +02:00
Marco Hladik
6b3504c560 Added bot source files (oops)
Removed old project file
2018-06-10 02:29:08 +02:00
Marco Hladik
53d4ac9591 Added custom, white bitmap font to resemble WON closer
Fixed the chat parsing
Fixed crouching not working
2018-06-10 02:26:15 +02:00
Marco Hladik
6e9268d764 - Physics are now handled partially by the engine again
- Added first bot prototypes (only use with the latest FTEQW and ENGINE_ROUTING enabled
2018-06-09 18:37:42 +02:00
Marco Hladik
4260036e84 Slope fix, set acceleration to 10 for now - also view-step prediction fix to make it not seem like you're falling at a constant pace. 2018-02-17 11:02:03 -08:00
Marco Hladik
d78d12fd71 Physics code update, including switch to TTF for text for easier handling of international languages. Delte your fte.cfg's for all this new stuff to take effect. More testing required also. 2018-02-12 07:24:08 -08:00
5633ad7d59 Fixed the player models not looking up/down in the external view 2018-01-29 21:51:13 -08:00
84aea16001 Added a IP-Connect option by request 2018-01-29 21:18:17 -08:00
4b3ef40880 Fixed mp_timelimit! Thanks to wastelandpanda for reporting this. 2018-01-29 20:32:00 -08:00
0eaf9f5bc3 Added mp_halftime and fixed the behaviour of not flushing the round before a second player joins. 2018-01-29 10:14:30 -08:00
f78ece6005 Added mp_winlimit and fixed a bug with selecting the C4 Bomb as well as changed the way input works during freezetime. 2018-01-29 09:03:22 -08:00
c94019bfea Progs update 2018-01-24 10:36:09 -08:00
ce03562663 Add cmd menu_quit, since that was bothering me for a while. 2018-01-23 02:52:00 -08:00
3d6cb51060 Make crouch jumping somewhat viable again. 2018-01-23 02:25:55 -08:00
e016772037 Adjusting a few things, as well as adding a soon-custom gfx.wad 2018-01-11 22:07:12 -08:00
da4450c0b1 pm_bunnyspeedcap will also affect landing slowdowns. Aka you can bunnyhop again once that's off. 2018-01-07 12:39:31 -08:00
f011126858 Fixed the crouch-stay bug on a new round trigger, tried fixing crouching-jumping a little so you can't hover across the map 2018-01-01 12:20:51 -08:00
d37546c131 Fixes for ArmouryEntity and fixed grenade weapon switching. 2017-12-28 19:56:54 -08:00
6f682653b1 Added invlast, added buyammo1 and buyammo2 commands. 2017-12-28 19:16:30 -08:00
acd61228d1 Stepping and crouch fixes, because we needed those. Badly. 2017-12-28 15:01:05 -08:00
b003b933b4 Adjusted most fonts for the new FTE features... for now. Also made it so that the menu headers fade in closer to how it was done in WON Half-Life. Also func_vehicles spawn - but don't even bother testing them unless you're ready for glitches. 2017-12-28 05:31:31 -08:00
47c43544bf Big improvements to sprays. No more infokeys, support for colored sprays and much more. 2017-12-19 13:02:01 -08:00
057420ed4c Added some new cvars, such as fcs_knifeonly, fcs_swapteams, fcs_nopickups, fcs_reward_kill, fcs_penalty_pain, fcs_penalty_kill, fcs_maxmoney. Also fixed that exploding C4 does traceline collision checks against its targets. Sprays are sort-of in, but not fully. 2017-12-01 13:02:58 -06:00
5969fc35c9 Actual sources for commit dccd39b66c8f76221277e16482d44af9b5a63581 2017-11-27 00:52:25 -06:00
94774c7fd1 Delete Overview.c~ 2017-11-22 15:38:54 -06:00
b76d39796c Fixed a possible problem with hostages being rescued... multiple times in one frame. 2017-11-22 15:34:09 -06:00
581190b98f Fixed overview FOV at 90. 2017-11-22 13:27:11 -06:00
979c1d1d95 Added sv_autoreload for those who really want it
Tweaked shell ejections just a little bit
2017-11-20 23:51:19 -06:00
57bf1c9576 Added shell ejection to the view
Added headshot notification
Health goes red now when it's below 25 or equals
Fixed a CSQC error with no overview present
Fixed spacing in the muliplayer server browser
2017-11-20 11:16:42 -06:00
6c3c7dc381 Changed dlight positions a little, since the seat/splitscreen stuff changed the view viewmodels are positioned.s 2017-11-19 20:39:25 -06:00
cd6263299e Fixed #79 by updating the spectator check
Fixed the smoke-grenade smoke not clearing upon next round
Changed in_rawinput to 0 for now, since it was causing problems
Fixed the RadiusDamage function in regards to regular explosions
Deleted the unnecessary lines trying to respect 'timelimit', which is deprecated afaik
Changed the sizes of individual grenades so that they'll be thrown more easily across crates and corners
Added an early preview of loading map overviews. They are not really usable and merely a work in progress on my end. They will be finished soon though.
2017-11-19 20:03:30 -06:00
2ec9213437 Added sv_voxannounce, which will advertise the time remaining
Added support for c4bombs to align to walls
Fixed the infamous crouch-defusal bug
Reworked the way the Glock does Burst-Fire
Added support for voice overlays when pressing the Voice Communication key
Fixed some bad grammar I must have written while either drunk or lazily copy/pasting things
2017-11-18 15:21:39 -06:00
7770b250d5 Fixed #65
Fixed #66
Fixed #67
Fixed #72
2017-11-18 00:30:20 -06:00
794b08d64c Added a hostname field to the menu
Fixed that a dropped C4 Bomb could not be picked up again
2017-11-17 15:45:48 -06:00
251d8908b2 Fixed a stupid assumption about footsteps
Got rid of an unused serverinfo key
Some prediction improvements
2017-11-17 15:20:51 -06:00
e18f0dae6d Added splitscreen stuff (experimental)
Added a simple reward for losers
Fixed that round-draw would give the teams a reward
Changed cl_movespeedkey to 0.5
Changed prediction quite a lot (jumping glitch fixed)
More changes to the HUD to compensate for multiple screeninstances (splitscreen)
2017-11-16 16:53:02 -06:00
73ff73851f Fixed some equipment purchases
Added sounds when purchasing equipment
Redid the way rounds get restarted when an opponent joins
Fixed a bug that'd cause the bomb to never reset once planted
Added mapcycle support ( new cvar: mapcyclefile for server owners)
2017-11-15 20:25:20 -06:00
ec5d21b91b Added the weapon recoil/viewkick
Added support for newlines in MOTDs
D
Server owners can now specify custom MOTDs with the cvar 'motdfile', e.g. 'motdfile coolmotd.txt'
2017-11-15 15:36:55 -06:00
faa0ddf24a Fixed shit, once again. 2017-11-13 23:39:04 -06:00
d86ddeff76 Fixed a potential client crash with cl_thirdperson set to 1
Made it so you can at least navigate the UI with the number keys
2017-11-13 16:52:01 -06:00
e4a0a778cc Added a new sv cmd: vox
Clients can test it with vox_test
2017-11-13 11:03:23 -06:00
cbe9b42d93 Message of the day is now actually being networked. Hurray for infokeys. 2017-11-12 18:43:16 -06:00
d0f0322fc5 Tweaked configs and added slighty better chat logging to the server 2017-11-12 16:23:18 -06:00
8fd82126df Fixed the TMP weapon selection showing the P90 sprite 2017-11-12 14:45:40 -06:00
eba1491409 Fixes #59 by actually testing this shoddy code I wrote
Adds color sliders for the HUD, Crosshair etc. in the Player options
Fixed some other small things someone might notice
2017-11-12 13:57:23 -06:00
4568b0a31c Fixes #55 by not letting events play on (dead, world) players.
Fixes a bug in which the bomb would not be removed after the round ends when players killed eachother first.
2017-11-11 16:13:40 -06:00
3c1f53ac3d kill command kevlar fix. fixes #53 2017-11-11 15:46:04 -06:00
b409c6426a Fixed a few things with joining 2017-11-11 04:34:08 -06:00
24c0898f47 Fixed the weapon-magazine-drop problem.
Fixed the sniper rifle zooms.
Fixed the kill command.
2017-11-11 01:25:59 -06:00
79ff25a686 Added nickname field to the options menu, as well as fixed the controls menu 2017-11-10 21:27:26 -06:00
1d76c69a66 HDPI Mode added... because 4K display users! 2017-11-10 19:05:48 -06:00
9ddf09029c Changed fullscreen/windowed behaviour, config saving behaviour 2017-11-10 18:44:32 -06:00
edc1ca3e1e More fixed and functionality for the server browser. 2017-11-10 18:35:21 -06:00
5b214fffbd Server browser filter fix 2017-11-10 18:16:44 -06:00
f767bf8340 A couple more video options before I get overrun by Phoronix readers! Aaa! 2017-11-10 16:50:18 -06:00
bcae0060bc Configuration Update
Merge branch 'master' of https://github.com/eukara/FreeCS
2017-11-10 15:49:19 -06:00
52d08ba727 Fixed the obnoxious grenade-bounce sound issue. 2017-10-27 00:22:57 -05:00
edc0f6ac8d Fixed #41 and added HUD 'Caliber' graphics for the explosives
Removed temporary menu cursor fix, because the SVN version of FTE addressed the cursor issue! Yay for Spike!
2017-10-26 19:43:38 -05:00
a6e7a22d95 Adds explosion sounds to the HE Grenade 2017-10-23 11:10:38 -04:00
8931e3cd18 Temporary fix for the menu/fullscreen issue on Linux 2017-10-22 01:24:11 -05:00
2d764ca306 Client mouse delta guff added 2017-10-22 01:00:40 -04:00
c28123ae68 Added menu/mouse delta guffins 2017-10-22 00:56:54 -04:00
c48199140f Backing these changes, less menu crashes and (coming soon) usable options menu 2017-09-29 01:05:40 -05:00
076c2bf09e Yeah, the ratio should probably be multiplied first... 2017-09-26 00:43:17 -05:00
3c591536dc This should work a bit better. 2017-09-26 00:35:03 -05:00
54ab0cf6ed Take kevlar out of the inventory once depleted. 2017-09-26 00:18:32 -05:00
b95120e965 Basic kevlar detection stuff 2017-09-26 00:10:21 -05:00
62eb3468b1 Disregard the last commit or something, misunderstood request. 2017-09-04 21:42:17 +02:00
1c27fb93f6 Using getimagesize to allow more variable btn_main.bmp files. 2017-08-30 16:54:27 +02:00
3188c43bc0 Cleaned a few things up and fixed doors being able to be triggered from above 2017-07-03 13:55:11 +02:00
dbde5342d7 Fixed range of TraceAttack weapons
Fixed AWP inaccuracy
2017-07-03 05:11:53 +02:00
940fd4b084 Fixed hostage movement so that it fixes #22 2017-07-03 04:12:45 +02:00
d8987e4135 Implemented smoke and flash grenades.
Fixed some equipment menu bug that caused you to money despite not getting any nades.
v_lefthanded exists now! Use only on the newest FTE SVN build though.
2017-07-02 22:49:22 +02:00
06d1cf7a3c Weapon selection now cares about the grenade slot again.
Overhauled chat handling and display
HUD and VGUI colors now reflect 1.5 more closely
Fixes to func_door
Fixes to func_door_rotating
Overhauled radio message handling and diplay to match chat
2017-07-01 20:31:35 +02:00
d25eb3850f Fixed multi_source trigger problem on complex maps like de_aztec
Added env_spark
Added scope border type 1
Misc fixes
2017-07-01 02:39:15 +02:00
072820002c Player drops primary weapon/bomb now upon death
Few fixes here and there I guess
2017-06-27 02:04:25 +02:00
f19f73ffc8 Simplified a whole bunch of GUI stuff
Basic, albeit mathematically lame angle correction for p_ weapons
2017-06-26 11:12:16 +02:00
79fa38562a Made some tweaks to the bomb (Fixes #13)
Fixed a crash related to grenades and func_breakables.
2017-06-26 00:04:06 +02:00
cb5a002c45 Fixed player animations
Added weapon model to player models
Fixed networking of weapon events
Cleaned up the whole font business
2017-06-24 14:36:36 +02:00