Commit Graph

65 Commits (244fcc727e6ba135cc673c8d277cca0443f53e70)

Author SHA1 Message Date
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 cea89c1927 build_iwd.sh should fail on any errors. 2016-04-10 00:25:01 +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 16dd739740 Disable class change button when ui_allow_classchange == false. 2016-04-09 03:14:01 +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 c4f1bc092d Fix build_iwd.sh. 2016-04-07 18:56:36 +02:00
Icedream 610a774649 Use hns.iwd as output file name instead of z_svr_hns.iwd. 2016-04-07 17:54:51 +02:00
Icedream 6054ae4621 Set executable flag on build_iwd.sh. 2016-04-07 17:41:50 +02:00
Icedream 4beb573d97 Add linux script to generate z_svr_hns.iwd package.
z_svr_hns.iwd will contain all necessary files to run the game mode and is an attempt to replace mod.ff with a complete version of the game that should get sent over by the server when running with an IW4M-based mod.
2016-04-07 17:40:43 +02:00
Icedream 183b72892d Remove mod.ff files. 2016-04-07 17:39:13 +02:00
Icedream d11bccbd41 Replace "class" script menu to allow disabling the "choose class" button. 2016-04-07 17:38:56 +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 5dc86d2a43 Attempt on fixing localization on servers. 2016-04-03 17:11:25 +02:00
Icedream 6731ff5140 Localizing helpful hints. 2016-04-03 15:38:52 +02:00
Icedream 5691c6a6d5 Experimentally adding mod.ff and its CSV counterpart.
This should fix localization of this mod on actual dedicated servers.
2016-04-03 15:25:49 +02:00