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

velocity_by_aim to match normal weapon drop?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
frio
Junior Member
Join Date: May 2020
Old 06-27-2020 , 04:46   velocity_by_aim to match normal weapon drop?
Reply With Quote #1

I want to be able to "drop" an entity and match the path a normal weapon takes when you drop it.

I think the biggest thing is that when you look down and drop a weapon, it gets dropped a really long distance, but when you do the same to an entity with velocity_by_aim, it gets dropped right next to you.

Is there any way I can get it to look like a normal weapon drop?
frio is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 06-27-2020 , 05:55   Re: velocity_by_aim to match normal weapon drop?
Reply With Quote #2

https://github.com/s1lentq/ReGameDLL...ayer.cpp#L7968

This is how the game calculates the velocity for a weapon drop. Do the same thing for your entity.
__________________
HamletEagle 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 11:31.


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