Commit Graph

43 Commits (c04277b9219423b80b9c27694c7a1e280392ed9e)

Author SHA1 Message Date
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
Icedream 13d58e2388 Implemented showing model entities on the minimap. 2016-04-03 14:58:12 +02:00
Icedream fb83115eeb Remove 0.5s waiting before blinding/freezing seekers. 2016-04-03 13:19:37 +02:00
Icedream d51e711b7a Added helpful hints for first-time players!
TODO: Localize that!
2016-04-03 13:18:22 +02:00
Icedream 8c86e26997 modellist: Generalized initScriptModels to initFromEntArray. 2016-04-03 13:11:54 +02:00
Icedream 3dc124fcf1 "Nothing to change into here!" 2016-04-03 13:11:31 +02:00
Icedream 7b2eefcdd7 Change sounds.
- Changed seekers released sound to mp_war_objective_taken as per suggestion by @dekart811.
- Hiders changing sound has been removed as the sound was audible over the whole map of Afghan.
2016-04-02 22:15:37 +02:00
Icedream c30cef6d62 Reimplement model changing via secondary entity (disguiseEntity).
Fixes #4.
2016-04-02 22:13:50 +02:00
Icedream a9aca2a922 Remove hack on level.livesCount for seekers. 2016-04-02 21:49:35 +02:00
Icedream 0a1f966159 Uninstall enableWeaponDicing thread on death/game_ended/disconnect.
Fixes #5.
2016-04-02 21:27:22 +02:00
Icedream 3b3dd02382 Failsafe for when no hiders_changed_sound is defined. 2016-04-02 20:59:55 +02:00
Icedream 4655ed0adc Remove detaching code temporarily. 2016-04-02 20:17:16 +02:00
Icedream 35ee413929 Attempt on fixing #3 by attaching an invisible j_head. 2016-04-02 20:11:37 +02:00
Icedream 20c73de7a5 Initial commit. 2016-04-02 19:40:56 +02:00