Alternative hud, little changes

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: Alternative hud, little changes

Re: Alternative hud, little changes

by RaVeN-05 » Thu Dec 09, 2010 6:44 am

You right! :)

Re: Alternative hud, little changes

by Graf Zahl » Thu Dec 09, 2010 5:38 am

Doesn't matter which came first. One had to go. :P

Re: Alternative hud, little changes

by RaVeN-05 » Thu Dec 09, 2010 5:08 am

Lol duplicate? i created this topic first than this created http://forum.zdoom.org/viewtopic.php?f=15&t=27721
Ok but it no sence, all i hope is to see it implemented to zdoom and gzdoom too =)

Re: Alternative hud, little changes

by Ænima » Thu Aug 12, 2010 5:36 pm

Bumping suggestions doesn't really help. I'm sure the developers will post updates as they make them. :P

Re: Alternative hud, little changes

by RaVeN-05 » Thu Aug 12, 2010 10:32 am

Any updates?

Re: Alternative hud, little changes

by .+:icytux:+. » Thu Jun 10, 2010 8:08 am

RaVeN-05 wrote:Ok. Thanx =). Just don't know what to think. Don't know whats is going on? =) Sometimes my english very bad. I am wondering peoples understand me?? yes?
yeah its fine, feature suggestions just tend to take a reallly long time before someone does anything about them, and its standing kinda still right now because its summer and devs want to play outside :P

Re: Alternative hud, little changes

by RaVeN-05 » Wed Jun 09, 2010 12:07 am

Ok. Thanx =). Just don't know what to think. Don't know whats is going on? =) Sometimes my english very bad. I am wondering peoples understand me?? yes?

Re: Alternative hud, little changes

by ZDG » Tue Jun 08, 2010 11:58 pm

Hey, you waited only tWO days, don't think it will come that fast.

Re: Alternative hud, little changes

by RaVeN-05 » Tue Jun 08, 2010 11:31 pm

Topic Died =0 ?? I am scared. No responces (

Re: Alternative hud, little changes

by RaVeN-05 » Sun Jun 06, 2010 5:09 pm

A.C. = 5% Doom Armor
------------------------------------------------------------------------------------------------------------------------------------------------------
---------Initial Values--Amulet of Warding--Falcon Shield--Mesh Armor--Platinum Helm--Dragonskin Bracers--Total---Doom Armor--
Fighter----3------------------1--------------------4----------------5-------------3--------------------4-------------------20------100%---------
Cleric-----2------------------4--------------------5----------------2-------------1--------------------4-------------------18-------90%----------
Mage------1------------------5--------------------3----------------1-------------2--------------------4-------------------16-------80%----------
------------------------------------------------------------------------------------------------------------------------------------------------------

Re: Alternative hud, little changes

by Gez » Sun Jun 06, 2010 4:56 pm

InsanityBringer wrote:What exactly is the formula for absorb then?
The Slots[x] value correspond to the x5 scale, so if you have AC 10, savedPercent is 50.

Code: Select all

void AHexenArmor::AbsorbDamage (int damage, FName damageType, int &newdamage)
{
	if (damageType != NAME_Drowning)
	{
		fixed_t savedPercent = Slots[0] + Slots[1] + Slots[2] + Slots[3] + Slots[4];

		if (savedPercent)
		{ // armor absorbed some damage
			if (savedPercent > 100*FRACUNIT)
			{
				savedPercent = 100*FRACUNIT;
			}
			for (int i = 0; i < 4; i++)
			{
				if (Slots[i])
				{
					// 300 damage always wipes out the armor unless some was added
					// with the dragon skin bracers.
					if (damage < 10000)
					{
						Slots[i] -= Scale (damage, SlotsIncrement[i], 300);
						if (Slots[i] < 2*FRACUNIT)
						{
							Slots[i] = 0;
						}
					}
					else
					{
						Slots[i] = 0;
					}
				}
			}
			int saved = Scale (damage, savedPercent, 100*FRACUNIT);
			if (saved > savedPercent >> (FRACBITS-1))
			{	
				saved = savedPercent >> (FRACBITS-1);
			}
			newdamage -= saved;
			damage = newdamage;
		}
	}
	if (Inventory != NULL)
	{
		Inventory->AbsorbDamage (damage, damageType, newdamage);
	}
}

Re: Alternative hud, little changes

by InsanityBringer » Sun Jun 06, 2010 4:22 pm

What exactly is the formula for absorb then?

Re: Alternative hud, little changes

by Gez » Sun Jun 06, 2010 3:58 pm

NeuralStunner wrote:AC = HexenArmor / 5, right?
Yes.

Re: Alternative hud, little changes

by NeuralStunner » Sun Jun 06, 2010 3:48 pm

AC = HexenArmor / 5, right?

Re: Alternative hud, little changes

by Graf Zahl » Sun Jun 06, 2010 3:39 pm

The Hexen armor is not implemented in the alt HUD because I never figured out how the numbers actually work.

Top