Commit Graph

44 Commits (736318a7309f9f808e75ee45c7b2691a77545de6)

Author SHA1 Message Date
Icedream 2cf2fbe95a Also apply velocity to view entity in third person. 2014-10-20 11:30:37 +02:00
Icedream 0d59d285d1 This line confused me a bit. 2014-10-20 11:30:22 +02:00
Icedream 1799760eab Make thirdperson and isDisguised independent to reduce chances of PlayerDeath hook conflicts. 2014-03-03 01:22:59 +01:00
Icedream f65cc5fb03 Don't crash on faulty player (missing GetAimVector, fixes the bug mentioned on the front page). 2014-03-03 01:22:36 +01:00
Icedream fba811e125 popycasta fail. Related to #11. 2013-12-27 16:32:55 +01:00
Icedream fc671ec6b6 Reset bounding box when player dies. This should get rid of #11. 2013-12-27 16:30:21 +01:00
Icedream c8a3a64d38 Remove explosion effect and just re-set victim blood color. Closes and will not fix #10 for now. 2013-12-27 05:56:40 +01:00
Icedream d23af759d5 *non-static. Related to #10 somehow. 2013-12-25 18:50:32 +01:00
Icedream 64428b54ef Argh, deleted the wrong part. Related to #10. 2013-12-25 18:48:01 +01:00
Icedream 744a73a3c3 Removing blood client-side trigger as not working. Replaced with small bleeding + explosion. Related to #10. 2013-12-25 18:45:34 +01:00
Icedream 2772c9905a Attempt on forcing effect on client-side. Not working though, I guess. Related to #10. 2013-12-25 18:18:05 +01:00
Icedream 1ab7c74f9a Corrected "player" => "ply" and made some hooks pass down to base properly. Fixes #8.
NOTE: This will disable proper blood rendering. Gotta test it out on multiplayer though.
2013-12-25 17:45:53 +01:00
Icedream 6c636543ad Fixing UndisguiseSilent (how did I not notice that?) and 3rd person crashing game on death. 2013-12-24 04:07:08 +01:00
Icedream e895aff152 SetColor also needs application of skin from player. Fixes #6 again. 2013-12-21 20:49:53 +01:00
Icedream 91c4630abc Also apply color to breaking entity. Fixes #6. 2013-12-21 20:30:48 +01:00
Icedream 72f305e004 Only avoid disguising when color also matches. Fixes #7. Also removed AllowFullRotation code. 2013-12-21 20:29:06 +01:00
Icedream 2555495d07 Precache weapon inside SWEP:Precache hook. Fixes #3. 2013-12-21 11:25:28 +01:00
Icedream 4689558141 Nevermind. 2013-12-21 11:21:30 +01:00
Icedream 9c954fd952 Do not trigger Undisguise on removal if we're dead (as being dead resets us anyways for the most part) 2013-12-21 10:53:01 +01:00
Icedream 82d4581f12 Move Remove weapon hook to server-side code. 2013-12-21 10:49:21 +01:00
Icedream 6b50ca2218 Add worldtip compatibility layer. 2013-12-21 10:46:51 +01:00
Icedream bdb9c22507 Make error message for missing sound file red in the debug console. 2013-12-21 10:06:05 +01:00
Icedream 904f9b3326 Force the player to undisguise when the SWEP gets removed. 2013-12-21 10:04:57 +01:00
Icedream ecb77db28b Hide model properly by using a Think hook. Fixes #5. 2013-12-21 10:04:23 +01:00
Icedream 7a3c9949e0 Well, that's what happens if we end up copy-pasting all the stuff, right? :P 2013-12-21 04:58:12 +01:00
Icedream 4d20224340 Typo. 2013-12-21 04:42:30 +01:00
Icedream edd3f9d9f0 Use network bool to inform the client of disguise status. Needed for draw model hiding on client-side. 2013-12-21 04:41:01 +01:00
Icedream d54d2465e1 Prevent the weapon from shooting when pointing at invalid model. See #1 for more info on invalid model. 2013-12-21 04:17:33 +01:00
Icedream e5a04781bf Epic fail. Grrr. 2013-12-21 04:14:05 +01:00
Icedream 449a819b70 Seriously, if I fuck up simple "if" conditions like this, I should go to bed. Fixes #1 now for reals. 2013-12-21 04:04:10 +01:00
Icedream e9de7f4a46 How the fuck did I even end up putting the last fix under :Undisguise()!? 2013-12-21 03:57:30 +01:00
Icedream 73c3a720c2 Only support models of type *_prop_*/prop_*/*_prop. Fixes #1 once again. 2013-12-21 03:53:33 +01:00
Icedream 63f29c4018 Do not allow "star models" (those prefixed with a "*"). Fixes #1. 2013-12-21 03:05:50 +01:00
Icedream 62615511d9 I guess the default functions for attack cause the click sound. 2013-12-21 01:43:41 +01:00
Icedream ea301d4f85 GetSkin can have no value and also apply color. 2013-12-21 00:41:01 +01:00
Icedream 6619c066e4 Fix ammo system deactivation issue. 2013-12-21 00:33:15 +01:00
Icedream 46d36fcfef DrawWorldModel is a server-only function. 2013-12-21 00:20:38 +01:00
Icedream 88e00c13e1 if-Condition inside disguiserShootFX handler fails terribly. 2013-12-21 00:16:59 +01:00
Icedream 6a537cd924 IsValid doesn't work on functions. 2013-12-21 00:12:40 +01:00
Icedream d6795521e6 So not even the documentation told me that LocalPlayer() doesn't even have GetWeapon. 2013-12-21 00:11:16 +01:00
Icedream 5aa438d6b1 Missing ")". I hate how I need to debug everything on a separate server. 2013-12-21 00:08:01 +01:00
Icedream 95d24ee304 LocalPlayer():GetWeapon == nil, wat!? 2013-12-21 00:02:40 +01:00
Icedream d4defe253e Sorry, I was too lazy. Fixed '=' syntax error. 2013-12-20 23:55:54 +01:00
Icedream 895a860506 Initial commit. 2013-12-20 23:44:28 +01:00