Garry's Mod

Garry's Mod

138 ratings
Extended Calcview
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun
File Size
Posted
Updated
4.806 KB
24 Apr @ 2:10am
13 May @ 12:28am
5 Change Notes ( view )

Subscribe to download
Extended Calcview

Description
Don't you just hate the traditional calcview hook?.. no? Well I do.

This tool adds two new hooks: CalcViewEx and CalcViewModelViewEx. Both of them provide you with the ability to change given data by calling methods on an object, before CalcView and CalcViewModelView get called respectively.

As it stands, this will most likely break mods that rely on those hooks. Please report them to me, along with steps to reproduce the bug.

Documentation can be found on the github page, where you can also make bug reports if you want me to notice them quicker and get them fixed faster: https://github.com/relaxtakenotes/extended-calcview

25 Comments
mangoz23 17 May @ 5:31pm 
i tried that but theres no setting that can stop it other than turning off the whole entire thing
rlx  [author] 17 May @ 4:15am 
sorry but i don't think i will be making it work better with gm++. i draw the line on basic support and making sure nothing catastrophically breaks. if you use gm++, you can utilize the modules it has instead of my addon
mangoz23 16 May @ 2:59pm 
hopefully that one made sence more or im a lil retarded
mangoz23 16 May @ 2:59pm 
ok doke so regular hl2 viewmodels yk they stop swaying once they reach bottom of the screen even if you push your mouse down. the enhanced hl2 viewmodel makes it when the viewmodel reach bottom or top of the screen it sways a little bit and when you continue to move your mouse down when its already at the bottom of the screen its sways even more. which make its look weird with the gm++ addon enabled
rlx  [author] 16 May @ 7:33am 
uh i genuinely dont know what you are saying. could you use more periods?
mangoz23 15 May @ 3:35pm 
i have this problem i thought it was gm++ causing it but it was making it more noticeable it was the enhanced hl2 viewmodels when i look down and keep moving my mouse down my viewmodel sways downwards but does not move making it look shaky but it didnt look bad but when i disabled the mod regular hl2 viewmodels stop and dont sway anymore when moving the mouse downwards all the way to the border of where the viewmodel can go it can happen when i move my mouse upwards too what im saying is ae you able to make it so the viewmodel doesnt sway upwards or downwards when it reaches the border of the screen because it looks bad downloaded with gm++ make it compatible?
rlx  [author] 1 May @ 8:15am 
it overwrites the nearz argument in calcview which always breaks shit. i might be able to apply a patch though
gegaomega 1 May @ 4:50am 
[Extended Calcview] stack overflow
1. Vector - [C]:-1
2. SetOrigin - lua/includes/util.lua:233
3. RunCalcViewEx - lua/autorun/client/!!unpooped_calcview.lua:44
4. Call - lua/autorun/client/!!unpooped_calcview.lua:93
5. v - lua/gravityhull/cl_main.lua:157
6. HookCallOriginal - lua/includes/modules/hook.lua:102
7. Call - lua/autorun/client/!!unpooped_calcview.lua:95
8. v - lua/gravityhull/cl_main.lua:157
9. HookCallOriginal - lua/includes/modules/hook.lua:102
10. Call - lua/autorun/client/!!unpooped_calcview.lua:95
11. v - lua/gravityhull/cl_main.lua:157
12. HookCallOriginal - lua/includes/modules/hook.lua:102
13. Call - lua/autorun/client/!!unpooped_calcview.lua:95
14. v - lua/gravityhull/cl_main.lua:157
15. HookCallOriginal - lua/includes/modules/hook.lua:102
16. Call - lua/autorun/client/!!unpooped_calcview.lua:95 (x250)
rlx  [author] 27 Apr @ 3:14am 
this seems to be an error with gm++, as the "neck.is_offsets_allowed" function tries to get a variable called "wep" from seemingly nowhere. my mod appeared in the call stack due to hooking hook.call
mangoz23 27 Apr @ 2:04am 
did i send the right error