Alternative hud, little changes
Moderator: GZDoom Developers
Alternative hud, little changes
Add "i" that this means "items"
i: 0/10 !!!
k: 0/100
s: 0/10
---------------------------------
for hexen, down, after health add "AC: 14"
AC = Armor Class #
---------------------------------
A little right (where a free space, after health, AC) you can add
symbols of third weapon, so player always know what part leak,
and need to be finded
i: 0/10 !!!
k: 0/100
s: 0/10
---------------------------------
for hexen, down, after health add "AC: 14"
AC = Armor Class #
---------------------------------
A little right (where a free space, after health, AC) you can add
symbols of third weapon, so player always know what part leak,
and need to be finded
Re: Alternative hud, little changes
Items are already there; just not set on true by default. See the [wiki]Alternative HUD[/wiki] article for more info.
Re: Alternative hud, little changes
Thank you, now i know hud_showitems true (i am use it).
But how to be a with hexen? Armor class, and 3 icons (parts of last weapon)
use these lumps
But how to be a with hexen? Armor class, and 3 icons (parts of last weapon)
use these lumps
Code: Select all
WCH1A0
WCH2A0
WCH3A0
WFR1A0
WFR2A0
WFR3A0
WMS1A0
WMS2A0
WMS3A0
- Attachments
-
- new.jpg (172.5 KiB) Viewed 1927 times
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49230
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Alternative hud, little changes
The Hexen armor is not implemented in the alt HUD because I never figured out how the numbers actually work.
- NeuralStunner
-
- Posts: 12328
- Joined: Tue Jul 21, 2009 12:04 pm
- Preferred Pronouns: No Preference
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia with Vulkan support
- Location: capital N, capital S, no space
- Contact:
Re: Alternative hud, little changes
AC = HexenArmor / 5, right?
Re: Alternative hud, little changes
Yes.NeuralStunner wrote:AC = HexenArmor / 5, right?
- InsanityBringer
- Posts: 3392
- Joined: Thu Jul 05, 2007 4:53 pm
- Location: opening the forbidden box
Re: Alternative hud, little changes
What exactly is the formula for absorb then?
Re: Alternative hud, little changes
The Slots[x] value correspond to the x5 scale, so if you have AC 10, savedPercent is 50.InsanityBringer wrote:What exactly is the formula for absorb then?
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
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%----------
------------------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------------------------------
---------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
Topic Died =0 ?? I am scared. No responces (
Re: Alternative hud, little changes
Hey, you waited only tWO days, don't think it will come that fast.
Re: Alternative hud, little changes
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?
- .+:icytux:+.
- Posts: 2661
- Joined: Thu May 17, 2007 1:53 am
- Location: Finland
Re: Alternative hud, little changes
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 outsideRaVeN-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?

Re: Alternative hud, little changes
Any updates?
Re: Alternative hud, little changes
Bumping suggestions doesn't really help. I'm sure the developers will post updates as they make them. 
