Raised This Month: $ Target: $400
 0% 

Mini Module Request


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SkumTomteN
Veteran Member
Join Date: Oct 2013
Location: Asgard
Old 04-01-2015 , 12:03   Mini Module Request
Reply With Quote #1

Not totally sure if this is a "mini" module as i would call it lol. since i have never coded a module before. but its 1 function, so i guess its kinda mini?, right?

Also not sure if i should post a request for a module here. but i took a guess, so correct me if im wrong, and move this thread!.

I want to request a small module that hooks CBasePlayerWeapon::SendWeaponAnim, and then make a native so i can use it in my plugins.

I mainly want this to change pev_body on ViewModel "V_" on players successfully.

Correct me if im wrong, but it should work to change body on viewmodel trough module?


I have already tried in AMXX and it seems its either too slow, or i need a better way of doing it. (Tell me if you know a way in AMXX)
__________________
Contact: Steam
Videos: Youtube

Last edited by SkumTomteN; 04-01-2015 at 21:24.
SkumTomteN is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-01-2015 , 13:08   Re: Mini Module Request
Reply With Quote #2

Too slow? I can tell this is not, you issue is not AMXX or whatever, and creating a module just for that is silly.
Try to understand how works the game instead.
__________________

Last edited by Arkshine; 04-01-2015 at 13:12.
Arkshine is offline
SkumTomteN
Veteran Member
Join Date: Oct 2013
Location: Asgard
Old 04-01-2015 , 21:23   Re: Mini Module Request
Reply With Quote #3

Yeah, it might be silly, but honestly, i didnt know.

Ive seen that it is possible, i just need to wich way to do it. do you know how?.

Main problem i had while doing tests, was that it was changing back to body 0 when i was shooting.

body 1 = female, body 0 = male hands.

Edit: Video here.
__________________
Contact: Steam
Videos: Youtube

Last edited by SkumTomteN; 04-01-2015 at 21:25.
SkumTomteN is offline
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 04-01-2015 , 21:49   Re: Mini Module Request
Reply With Quote #4

Those plugins justs removes client-side prediction. That's because client's predicts animations, and that will override your own body set while sending animations to client. Just, crap
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
SkumTomteN
Veteran Member
Join Date: Oct 2013
Location: Asgard
Old 04-01-2015 , 22:11   Re: Mini Module Request
Reply With Quote #5

Quote:
Originally Posted by meTaLiCroSS View Post
Those plugins justs removes client-side prediction. That's because client's predicts animations, and that will override your own body set while sending animations to client. Just, crap
I found out how to do it now. so its ok.

Thanks for replying though.
__________________
Contact: Steam
Videos: Youtube
SkumTomteN is offline
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 04-01-2015 , 22:45   Re: Mini Module Request
Reply With Quote #6

Quote:
Originally Posted by SkumTomteN View Post
I found out how to do it now. so its ok.

Thanks for replying though.
Removing client-prediction isn't a good idea also, you'll spent more bandwidth recoding weapon's bullet holes, sounds and effects, but it's the unique way also.
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
yokomo
Surprise Ascot!
Join Date: May 2010
Location: Malaysia
Old 04-02-2015 , 00:12   Re: Mini Module Request
Reply With Quote #7

Quote:
Originally Posted by meTaLiCroSS View Post
Removing client-prediction isn't a good idea also, you'll spent more bandwidth recoding weapon's bullet holes, sounds and effects, but it's the unique way also.
I bet he dont even care about server performance.. All he need is fancy thing lol.
__________________
Team-MMG CS1.6 Servers:
✅ MultiMod -- 103.179.44.152:27016
✅ Zombie Plague -- 103.179.44.152:27015
✅ Zombie Escape -- 103.179.44.152:27017
✅ Klassik Kombat -- 103.179.44.152:27018
✅ Boss-Battle -- 103.179.44.152:27019
yokomo is offline
SkumTomteN
Veteran Member
Join Date: Oct 2013
Location: Asgard
Old 04-02-2015 , 02:10   Re: Mini Module Request
Reply With Quote #8

Quote:
Originally Posted by yokomo View Post
I bet he dont even care about server performance.. All he need is fancy thing lol.
My weapons are special, they use custom anims, sprites, sounds, and all. so i guess performance isnt the main thing here. i usually go with function first, then code it more efficent as time goes.

Yokomo, Its starting to look really fancy actually. been working alot on my zm
__________________
Contact: Steam
Videos: Youtube
SkumTomteN is offline
SkumTomteN
Veteran Member
Join Date: Oct 2013
Location: Asgard
Old 04-02-2015 , 02:15   Re: Mini Module Request
Reply With Quote #9

Quote:
Originally Posted by meTaLiCroSS View Post
Removing client-prediction isn't a good idea also, you'll spent more bandwidth recoding weapon's bullet holes, sounds and effects, but it's the unique way also.
yes, i will need to send new animation and sound to my weapons. i also need to add female hand texture to my models. this is very new atm and im still thinking about ways of doing stuffs.

thanks for the info about bandwidth, will keep an eye on it, and the cpu. so far, its running very low, but need to test with more players later ofcourse.
__________________
Contact: Steam
Videos: Youtube

Last edited by SkumTomteN; 04-02-2015 at 02:16.
SkumTomteN is offline
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 04-02-2015 , 21:09   Re: Mini Module Request
Reply With Quote #10

Quote:
Originally Posted by yokomo View Post
I bet he dont even care about server performance.. All he need is fancy thing lol.
Quality code doesn't seem to be appreciated much these days.
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet is offline
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 14:20.


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