|
|
Re: Anyone remember me? I worked on Renegade and SS at Westwood... [message #340087 is a reply to message #325506] |
Thu, 10 July 2008 04:33 |
StealthEye
Messages: 2518 Registered: May 2006 Location: The Netherlands
Karma: 0
|
General (2 Stars) |
|
|
Thanks for that Surth.
The points = damage thing Spoony talked about is not correct though. It should be:
damage = rawdamage * warheadmultiplier;
for infantry/buildings/nongreen health vehicles: points == damage * pointsmultiplier.
for green health vehicles: points != damage * pointsmultiplier
The formula for calculating the points is correct, although it is done before the points get calculated (it will do * pointsmultiplier later on)
so the exact formulas would be:
green health vehicles:
damage = rawdamage * damagemultiplier * warheadmultiplier
points = rawdamage * damagemultiplier * warheadmultiplier / warheadmultiplier * pointsmultiplier
other objects:
points = rawdamage * damagemultiplier * warheadmultiplier
points = rawdamage * damagemultiplier * warheadmultiplier * pointsmultiplier
This explains the high points for ramjets and such perfectly well. The rawdamage for ramjets is very high (200 opposed to ie. 5 for an auto rifle) and the warhead multiplier for ramjet vs vehicle is very low. Because of that the ramjet does not apply a lot of damage. However since the damage multiplier is missing from the green health vehicles points calculation, the points will be significantly higher than the actual damage.
I based these formulas on reverse engineering the DefenseObjectClass::Do_Damage function in renegade.
Thanks for the info btw, and sorry for getting offtopic here...
BlackIntel admin/founder/coder
Please visit http://www.blackintel.org/
[Updated on: Thu, 10 July 2008 04:37] Report message to a moderator
|
|
|
|
|
Re: Anyone remember me? I worked on Renegade and SS at Westwood... [message #344491 is a reply to message #325506] |
Sat, 02 August 2008 03:50 |
|
sadukar09
Messages: 2812 Registered: May 2007 Location: Ottawa,Canada
Karma: 0
|
General (2 Stars) |
|
|
Very nice update.
Quote: | [19:16:48] <APBBR> @ryan3k: THE ENFIELD DEFIES THE LAWS OF PHYSICS BECAUSE THE BULLETS INSTANTLY HIT THEIR TARGETS LOL
[19:16:52] <APBBR> @ryan3k: CHRONO TECHNOLOGY IN TEH BULLETS
|
Quote: | [22:48]<APBBR> @V0LK0V: AOL COMING UR WAI K
[22:48] <APBBR> Host: Quitting due to Westwood Online connection loss.
|
|
|
|