Commit Graph

63 Commits (8e6257434ac029f0c27b194328191d1ff576b5e8)

Author SHA1 Message Date
Icedream 8e6257434a Add comment for watchDisguiseDamage(). 2016-04-13 03:37:02 +02:00
Icedream 62c68028d3 +frag for rotation locking, +speed_throw for switching between rotation modes.
You can switch between modes using the +speed_throw keybind (usually right mouse key).
Initial mode will be 0 which is "full rotation" without any limitation.
1 will then be "limited rotation" which allows for more "default" rotation like "just left"/"just right"/"just forward"/"just backwards" or "just down"/"just up".
2 is only accessible through the +frag keybind (usually G) and completely locks the current angles.
2016-04-13 03:36:46 +02:00
Icedream 8e954ac94a Fix versioning.
- Generate a GSC instead since file functions are developer-only.
2016-04-13 01:19:34 +02:00
Icedream 40b7706b66 MakeDvarServerInfo("ui_model_...", ...) 2016-04-13 00:16:52 +02:00
Icedream 18f93f837e Remove unnecessary code.
- ui_allow_classchange already set in disableClassMenu.gsc.
- scr_oldschool has no effect at all.
2016-04-12 23:59:03 +02:00
Icedream 1e99421928 Mod versioning with watermark at the bottom right.
We will eventually remove the watermark again when the mod is stable and finished.
2016-04-12 23:58:03 +02:00
Icedream 1daad6f48e Only initialize model list after unwanted entities have been removed. 2016-04-12 20:36:04 +02:00
Icedream 4e7c19aa8d Precache hint strings. 2016-04-12 20:35:40 +02:00
Icedream 079997ee33 Remove now useless hints. 2016-04-12 20:35:24 +02:00
Icedream 244fcc727e Use already existing random() function to select random primary weapon. 2016-04-10 21:37:23 +02:00
Icedream dc0cf1ee51 Weapon dicing and unlimited reload moved to debug only. 2016-04-10 21:36:58 +02:00
Icedream e40dab1a8e Random model changing via menu or reload key. 2016-04-10 21:36:13 +02:00
Icedream c7039884e1 Remove debug messages for model menu. 2016-04-10 00:14:43 +02:00
Icedream 502026a640 Remove code to remove turrets as they never get placed anyways. 2016-04-10 00:13:12 +02:00
Icedream ee4bae83f1 Fix side switching. 2016-04-10 00:13:00 +02:00
Icedream d04a0030b1 Remove level.gameType hack. 2016-04-10 00:12:48 +02:00
Icedream bd3d2c0d9c Reintroduce the knife for hiders in order to break through glass.
Knifing seekers will not immediately lead to a kill, just like in previous Hide & Seek mods.
2016-04-10 00:02:13 +02:00
Icedream 8ad7afa455 Fix seeker weapon giving on spawn. 2016-04-10 00:01:20 +02:00
Icedream e7b0e1089d Implement model menu.
Can be opened using whatever is bound as the smoke grenade key.
2016-04-09 21:11:48 +02:00
Icedream 382f047f07 Remove "performance tweaking" code. 2016-04-09 07:00:36 +02:00
Icedream c04277b921 Move cg_thirdpersonrange adjustment into setDisguiseModel. 2016-04-09 06:28:18 +02:00
Icedream 5450a51907 Remove health adjustment from setDisguiseModel.
It wasn't in use anymore anyways.
2016-04-09 06:27:55 +02:00
Icedream a2418e0303 Don't allow class change. 2016-04-09 03:14:50 +02:00
Icedream 589616a0ad Downgrade hiders to Marathon when seekers released. 2016-04-09 02:12:35 +02:00
Icedream c71755e48d Remove now unnecessary code. 2016-04-09 02:12:10 +02:00
Icedream 519f1a10c4 Fix hider prerelease timer not disappearing when switching to seeker. 2016-04-09 02:11:34 +02:00
Icedream 60332c2088 Do not wait until giving max ammo to seekers. 2016-04-09 02:08:37 +02:00
Icedream f7ddd9c17c Don't show perks on spawn. 2016-04-09 02:08:09 +02:00
Icedream 317fdf878e Hide the timer during prerelease phase.
Now we no longer have the glitchy skippy timer during that phase anymore, yay!
2016-04-09 01:03:37 +02:00
Icedream 5481753645 Remove debug messages from helpingHints.gsc. 2016-04-08 19:03:22 +02:00
Icedream 890c5c0184 Fix first-person view for hiders, fix hitbox/collision and restructure code.
- Moved disguise code into their own methods (setDisguiseModel, deleteDisguiseModel, updateDisguiseView). Thinking about moving into its own file to avoid overly complex GSC file.
- Introducing player.isThirdPerson in order to keep track of the player's view. This allows determining whether the disguiseEntity should be hidden from the player's view or not.
- Make the entity solid and correct the target damage so that players actually have the entity as a hitbox (watchDisguiseDamage). I tried to get hit markers to work properly but it's yet untested.
- Improved tracing code to ignore the disguise entity since that entity is now solid (has collision).
2016-04-08 19:00:25 +02:00
Icedream 1e9a663a2e Use logPrint instead of logString. 2016-04-08 18:54:46 +02:00
Icedream 388ccfbee0 Fix helpful hints to be only shown once in a round.
It turns out localized strings can not be used reliably in context of array indexing (or even debug printing). Here we switch to hardcoded strings ("name") in order to manage the "already seen hints" array.
2016-04-08 18:53:44 +02:00
Icedream 1e19f035f2 Just a little comment fix. 2016-04-08 18:52:16 +02:00
Icedream da5734393d Use "lower message" for the prerelease timer for hiders. 2016-04-08 18:12:22 +02:00
Icedream 179f6fea3f Remove speeding code. 2016-04-08 18:08:49 +02:00
Icedream a3c5fe207c Remove excess whitespace for setMapCenter call. 2016-04-07 18:57:07 +02:00
Icedream 0191095593 Attempt on fixing perk display for hiders. 2016-04-07 18:56:47 +02:00
Icedream 6d436f75c2 Give hiders marathon pro perk. 2016-04-07 17:38:10 +02:00
Icedream 187f8f62d0 Delay perk display for seekers, remove cold-blooded perk. 2016-04-07 17:37:31 +02:00
Icedream a225f2e693 helpingHints: Use player GUID instead. 2016-04-07 17:36:21 +02:00
Icedream 7643cad34e Dump results from GetEntArray in developer mode. 2016-04-04 12:38:37 +02:00
Icedream ca3621d77c Try to make class change menu inaccessible from ingame menu. 2016-04-04 12:37:13 +02:00
Icedream 0c5b380bde This actually has no effect whatsoever. 2016-04-04 12:36:36 +02:00
Icedream 950c136332 Renaming menu functions in disableClassMenu.gsc.
Avoids conflicts on import.
2016-04-04 12:36:17 +02:00
Icedream 70cbb70398 Make use of the original auto-assign handler instead.
Reimplementing should be avoided when possible.
2016-04-04 10:54:36 +02:00
Icedream 1222ef59e6 Redirect change class menus to team menu. 2016-04-04 10:51:20 +02:00
Icedream 28a23eaf11 Fix auto-assign entry in team menu to not show class selection. 2016-04-04 10:50:49 +02:00
Icedream 6731ff5140 Localizing helpful hints. 2016-04-03 15:38:52 +02:00
Icedream 1f3982aff3 Flash player on minimap for teammates when they change models. 2016-04-03 14:58:34 +02:00