[Info] About bullet/particle power change
Note #1: This information probably will not make much sence if you unfamiliar with the trace scripting.
I found the way to change a bullet/particle power directly through fraction traceresult. The problem is that the [power | fraction] dependence are nonlinear. This is a table for AWP TA leg damage: Code:
F D Note #3: Also you can use a negative fraction values to increase power. |
Re: [Info] About bullet/particle power change
This is very interesting. Are the fractions in the table the same with other weapons?
|
Re: [Info] About bullet/particle power change
what?
|
Re: [Info] About bullet/particle power change
The TR_flFraction value.
This is what im trying to do. Block the damage but still have the effect of getting shot. Quote:
|
Re: [Info] About bullet/particle power change
Quick question, what is TR_flFraction (and the other stuff for that matter). I haven't had much experience with trace_line() and would appreciate a quick explanation ;).
|
Re: [Info] About bullet/particle power change
It's a trace result data member. Probably represents a tracing time in some units. To reproduce hit effect without any damage you can set it to high value for example to 100.0.
|
Re: [Info] About bullet/particle power change
I was kind of asking for specifics, I know what it general is :p. Thanks anyway.
|
Re: [Info] About bullet/particle power change
http://www.thewavelength.net/forums/...ds/000775.html
Quote:
|
Re: [Info] About bullet/particle power change
Thanks.
|
All times are GMT -4. The time now is 20:12. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.