SetViewEntityBody
3 Attachment(s)
http://s01.geekpic.net/di-C5KBP1.png Version: Release 1.7 Requirements: latest AmxModX 1.8.3 Description: The main function of this plugin is changing the viewmodel bodygroup. It doesn't matter how high is player latency/ping, low fps count - the player will see only bodygroup you pointed without bugs. The custom weapons are also supported. Also this plugin comes with custom v_ models, you don't need to replace original, just put them into cstrike/models/weapons. The default v_ models are removed from precache. As you know, Counter-Strike Online uses two hands bodygroup in v_ models. So let's make it now work in Counter-Strike 1.6! Some functions are still need to do. 1. Spectators support - DONE (Release 1.0) 2. Remove trace attack and use default cs decals - TODO There is three native functions: Main: native SetViewEntityBody(pPlayer, iValue); //pPlayer - player index, iValue - bodygroup number Secondary: native SetUserSex(pPlayer, iValue); //pPlayer - player index, iValue /1 - MALE, 2 - FEMALE native GetUserSex(pPlayer); //pPlayer - player index /Getting the player sex Usage example: Code:
14/9/16: First Beta release Update 15/9/16: Release 1.0, added Spectator support, redefined MALE, FEMALE, added sex checks into deploy, fixed dead player bodies non disappear. Update 15/9/16: Release 1.1, some bugfix. Update 15/9/16: Release 1.2, removed value msg check Update 15/9/16: Release 1.3, i've made one big mistake while setting the spectating target anim, so it's now fixed. The spectator target body now will be fine. Update 15/9/16: Release 1.4, while playing online, i've seen a bug with spectators hands, so i decided to lookout what's the problem. Instead of using SpecHealth, i've replaced it with StatusValue. Why? The first player who killed us in previous version always was bugged. Now it's fixed. The attack bug is also fixed. Also... I randomized the connected players hand body. Look at: Code:
//test functions only P.S. Enough for today. Update 15/9/16: Release 1.6, again bugfix. Update 16/9/16: Release 1.7, bugfixes. Now i started to lookout for attack system. I have 2 ideas currently and one of them is replacing atk system with custom trace, but the way it can be done - with Orpheu. Need some time to think. P.S: download both include and source again. |
Re: SetViewEntityBody
Screens?
|
Re: SetViewEntityBody
Later i'll upload video.
I forgot to fix dead player bodies disappear. Just replace Playback forward function with this: Code:
public Forward_PlaybackEvent(iFlags, id, iEvent) The attack i dunno, maybe replace using custom trace and ham damage. |
Re: SetViewEntityBody
Quote:
Most people use 1.8.2 Cant you make it work on it? |
Re: SetViewEntityBody
Don't use .7z, u should use .zip.
|
Re: SetViewEntityBody
Gonna reupload resources a bit later.
|
Re: SetViewEntityBody
You can delete your older posts, there's no need of bumping this thread each hour I guess.
|
Re: SetViewEntityBody
Update: Release 1.6 - bugfixes while spectating and the target died at the moment we are tried to look him from first person.
Redownload both include and source. |
Re: SetViewEntityBody
Quote:
Edit: found LOL. |
Re: SetViewEntityBody
insane job
|
All times are GMT -4. The time now is 01:07. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.