Raised This Month: $95 Target: $400
 23% 

Zoomed Models Fix v0.1.1


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Technical/Development        Approver:   Hawk552 (427)
fezh
Veteran Member
Join Date: Dec 2008
Location: BANNED
Old 03-13-2010 , 20:00   Zoomed Models Fix v0.1.1
Reply With Quote #1

.: Description :.
The purpose of this plugin is fixing (custom) zoomed "view" models. Basically, there are models that you can still see when you are zooming with a weapon, so this plugin simply removes that. If you don't get it, here you are an example of what I said before:

[IMG]http://img690.**************/img690/6498/wawo.th.png[/IMG]


.: Changelog :.
Code:
- Version: 0.1.1 (February 13, 2010)
* Plugin updated adding changes suggested by ConnorMcLeod.

- Version: 0.1.0 (February 13, 2010)
* First public release.
.: Downloads :.
Attached Files
File Type: sma Get Plugin or Get Source (zoomed_models_fix.sma - 2845 views - 1.1 KB)
__________________
"There is no knowledge, that is not power"

Last edited by fezh; 03-14-2010 at 09:30.
fezh is offline
SpILL
Veteran Member
Join Date: Oct 2009
Location: Karachi, Pakistan
Old 03-13-2010 , 20:10   Re: Zoomed Models Fix v0.1.0
Reply With Quote #2

Appreciated that one, a very good job.
/10x
__________________


SpILL is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 03-13-2010 , 20:14   Re: Zoomed Models Fix v0.1.0
Reply With Quote #3

Why don't you check read_data(1) instead of pev_fov ? (i know result should be the same).

Ok i think there are 2 problems.

I think that First scout zoom is 45 and not 35, or second awp zoom is 10 and scout is 15, can't remember, but one of them is different according to weapon.
I think you could just fix it checking if 0 < fov < 55 (55 or whatever value that delimits when you see the black circle or not).
Second problem i think of is that if a plugin sends strip_user_weapon, fov will be reset and your plugin will try to restore the viewmodel, so you should check first get_user_weapon.
__________________
- tired and retired -
ConnorMcLeod is offline
fezh
Veteran Member
Join Date: Dec 2008
Location: BANNED
Old 03-13-2010 , 21:05   Re: Zoomed Models Fix v0.1.0
Reply With Quote #4

Updated, thanks Connor
__________________
"There is no knowledge, that is not power"
fezh is offline
Zombiezzz
Veteran Member
Join Date: Nov 2009
Location: Nov 2009
Old 03-13-2010 , 21:08   Re: Zoomed Models Fix v0.1.0
Reply With Quote #5

this works for any mod or zp 4.3 cus it dosnt say.
__________________
Zombiezzz is offline
Kiske
Veteran Member
Join Date: May 2009
Old 03-13-2010 , 21:27   Re: Zoomed Models Fix v0.1.0
Reply With Quote #6

GoodJob fish !!
__________________

Kiske is offline
Send a message via Skype™ to Kiske
fezh
Veteran Member
Join Date: Dec 2008
Location: BANNED
Old 03-13-2010 , 21:30   Re: Zoomed Models Fix v0.1.0
Reply With Quote #7

Quote:
Originally Posted by Zombiezzz View Post
this works for any mod or zp 4.3 cus it dosnt say.
Why shouldn't it work in any mod ? That's it's purpose.
__________________
"There is no knowledge, that is not power"
fezh is offline
kanatzu
Veteran Member
Join Date: Oct 2007
Location: Sweden
Old 03-13-2010 , 21:33   Re: Zoomed Models Fix v0.1.0
Reply With Quote #8

Quote:
Originally Posted by fezh View Post
Why shouldn't it work in any mod ? That's it's purpose.
Woow, you type just like me!



And this is cool.. and nice..
__________________




Quote:
Originally Posted by wrecked_ View Post
Stop saying words before I sodomize you with a cucumber.
kanatzu is offline
Send a message via MSN to kanatzu
g_often
Senior Member
Join Date: Jan 2010
Location: In your mind
Old 03-14-2010 , 00:02   Re: Zoomed Models Fix v0.1.0
Reply With Quote #9

good job!
__________________
Reality is wrong, dreams are for real.
g_often is offline
lazarev
Veteran Member
Join Date: Sep 2008
Old 03-14-2010 , 04:47   Re: Zoomed Models Fix v0.1.0
Reply With Quote #10

nice job! btw update the title ^^
lazarev is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:16.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode