Raised This Month: $32 Target: $400
 8% 

Third Person View (actually)


Post New Thread Reply   
 
Thread Tools Display Modes
EFFx
Veteran Member
Join Date: Feb 2016
Location: Sγo Paulo, Brasil
Old 03-16-2022 , 23:47   Re: Third Person View (actually)
Reply With Quote #11

I'm glad you liked, I had this version of Connors' camera for a couple years, all I had to do was to make the end point of the camera view be the same as the player actual vision (or vice-versa). Tried for 1 week and posted here.

Also tbh I already did that change of the decals and also the blood, I'm just waiting for more issues so I can update it once instead of a lot of unecessary changes unless I found a really bad issue.

Did not notice the TK issue tho.

Edit:

Updated the plugin, no issues were found until now:

- Fixed headshot damages.
- Fixed crash when attacking with the knife.
- Fixed issues with team kills.

- Changed bullet hit effects.
- Changed some values regarding damage.
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo

Last edited by EFFx; 03-27-2022 at 15:54.
EFFx is offline
MayroN
Senior Member
Join Date: Aug 2017
Location: Kyiv
Old 03-27-2022 , 20:08   Re: Third Person View (actually)
Reply With Quote #12

Again, this is very, very good.

But I still could not test the updated version of the camera in order to send the final to the server as such

Please support Zbot

Namely, so that it would be possible to kill them in camera mode, and they could kill you when you are in camera mode
Also, so that the bots would kill each other among themselves

Armor should also be taken into account.

Thank you in advance

Why don't you use
PHP Code:
MOVETYPE_FLY 
After all, the camera turns with the mouse are as sharp as in the first person

Also I would recommend you to use this
And you don't need to precache the model in the plugin


PHP Code:
        static iModelIndex;

        if(!
iModelIndex)
              
iModelIndex engfunc(EngFunc_ModelIndex"models/hgibs.mdl");

        
set_pev(iEntpev_modelindexiModelIndex); 
__________________
• МультиМод CS • 83.222.97.124:27015


Last edited by MayroN; 03-27-2022 at 20:15.
MayroN is offline
Send a message via ICQ to MayroN Send a message via Skype™ to MayroN
EFFx
Veteran Member
Join Date: Feb 2016
Location: Sγo Paulo, Brasil
Old 03-27-2022 , 20:44   Re: Third Person View (actually)
Reply With Quote #13

Well, I did not give my whole time in this plugin to be honest, I'm more focused to fix possible issues. I added the most basic things so people could enjoy. More accurate things as you asked such as armor support can indeed be added now.

The reason of MOVETYPE_FLYMISSILE was explained for the person who created the camera format: it doesn't make the camera shake.

About the hgibs models, I did not understand why you suggested that. The plugin itself doesn't precache any models for the camera, it uses the w_usp.mdl model.

I'm gonna use your Private Messages so we can provide more accurate tests with Zbots (If i'm not wrong, it is illegal isn't it?).
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo

Last edited by EFFx; 03-27-2022 at 20:46.
EFFx is offline
MayroN
Senior Member
Join Date: Aug 2017
Location: Kyiv
Old 03-27-2022 , 20:57   Re: Third Person View (actually)
Reply With Quote #14

No problem - we will arrange to chat and move towards unity and complete in the whole union - I check everything carefully

Until I forget - with sniper rifles in the camera - this is mega AIM

I haven't even seen movies like this.))))))

Something needs to be done about this urgently. ))))
__________________
• МультиМод CS • 83.222.97.124:27015

MayroN is offline
Send a message via ICQ to MayroN Send a message via Skype™ to MayroN
EFFx
Veteran Member
Join Date: Feb 2016
Location: Sγo Paulo, Brasil
Old 03-27-2022 , 21:00   Re: Third Person View (actually)
Reply With Quote #15

Quote:
Originally Posted by MayroN View Post
No problem - we will arrange to chat and move towards unity and complete in the whole union - I check everything carefully

Until I forget - with sniper rifles in the camera - this is mega AIM

I haven't even seen movies like this.))))))

Something needs to be done about this urgently. ))))
Some parts about accuracy was done on purpose, it was not an issue ^^.
Also, about the issue with zbots, try downloading this version below, it has the kevlar support as well so you can check by yourself.
Attached Files
File Type: sma Get Plugin or Get Source (third_camera_view.sma - 118 views - 23.1 KB)
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo

Last edited by EFFx; 03-27-2022 at 21:14.
EFFx is offline
MayroN
Senior Member
Join Date: Aug 2017
Location: Kyiv
Old 03-27-2022 , 21:12   Re: Third Person View (actually)
Reply With Quote #16

Yes, it turns out there .. I don’t even know how to explain ...

Yes, you can remove it, but in Trace attacks ...
Before this update, I could easily play with bots and kill them,

And when you did it

PHP Code:
static iActualVictim;iActualVictim g_iEntityEndPosition[iAttacker]
    if(!
is_user_connected(iActualVictim) || (iVictim != iActualVictim))
    {
        
bulletHitDecals(g_fEntityEndPosition[iAttacker])
        return 
HAM_IGNORED
    
}
    
    new 
bool:bSameTeam bool:(get_user_team(iActualVictim) == get_user_team(iAttacker))
    if(
bSameTeam && !get_pcvar_num(pCvarPointerFF))
        return 
HAM_IGNORED 
No check is_user_bot helps unfortunately
__________________
• МультиМод CS • 83.222.97.124:27015

MayroN is offline
Send a message via ICQ to MayroN Send a message via Skype™ to MayroN
EFFx
Veteran Member
Join Date: Feb 2016
Location: Sγo Paulo, Brasil
Old 03-27-2022 , 21:15   Re: Third Person View (actually)
Reply With Quote #17

Quote:
Originally Posted by MayroN View Post
Yes, it turns out there .. I don’t even know how to explain ...

Yes, you can remove it, but in Trace attacks ...
Before this update, I could easily play with bots and kill them,

And when you did it

PHP Code:
static iActualVictim;iActualVictim g_iEntityEndPosition[iAttacker]
    if(!
is_user_connected(iActualVictim) || (iVictim != iActualVictim))
    {
        
bulletHitDecals(g_fEntityEndPosition[iAttacker])
        return 
HAM_IGNORED
    
}
    
    new 
bool:bSameTeam bool:(get_user_team(iActualVictim) == get_user_team(iAttacker))
    if(
bSameTeam && !get_pcvar_num(pCvarPointerFF))
        return 
HAM_IGNORED 
No check is_user_bot helps unfortunately
I noticed it as well, I was probably tired that day and for some reason I thought (iVictim != iActualVictim) check was correctly placed, download the plugin from the #15 reply please.
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx is offline
MayroN
Senior Member
Join Date: Aug 2017
Location: Kyiv
Old 03-27-2022 , 21:20   Re: Third Person View (actually)
Reply With Quote #18

Yes, thank you very much and I'll check in a couple of hours, because it's already late at night - and we need to sleep.

My answer will be immediate
__________________
• МультиМод CS • 83.222.97.124:27015

MayroN is offline
Send a message via ICQ to MayroN Send a message via Skype™ to MayroN
EFFx
Veteran Member
Join Date: Feb 2016
Location: Sγo Paulo, Brasil
Old 03-27-2022 , 21:24   Re: Third Person View (actually)
Reply With Quote #19

Quote:
Originally Posted by MayroN View Post
Yes, thank you very much and I'll check in a couple of hours, because it's already late at night - and we need to sleep.

My answer will be immediate
Thank you for all your informations, looking forward to hear the feedbacks.
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo

Last edited by EFFx; 03-27-2022 at 21:24.
EFFx is offline
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 03-27-2022 , 22:33   Re: Third Person View (actually)
Reply With Quote #20

1. Use a sprite instead of a model(i personally used radio.spr for my camera). For some odd reason, the client still renders it even if you hide it with EF_NODRAW and lowers the clients' fps.
2. It is possible to use a single entity for all the players instead of one for each. Just update its origin in UpdateClientDataPre if i remember right.
Haven't read your code but it sounds like you unnecessarily complicated it. Will also give you my exact code if you can't find and apply the above suggestions yourself.
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
Reply



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 18:33.


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