He means you need to open his SBARINFO file and only take the codes you need and merge them into your own SBARINFO file.
I think the codes you need to merge if you only need the monster statusbar are the following :
Code: Select all
// Enemy Healthbar
InInventory "EnemyHealthBarTop", 1
{
InInventory TargetHealth, 1
{
DrawBar "HBARTOP", "HBARBOT", Ammo TargetHealth, Horizontal, -126 + Center, 2;
DrawNumber 5, confont, White, Ammo TargetHealth, Alignment(Right)|WhenNotZero, -4 + Center, 2;
DrawString confont, White, "/", 0 + Center, 2, 0, Alignment(Center);
DrawNumber 5, confont, White, AmmoCapacity TargetHealth, Alignment(Left)|WhenNotZero, 4 + Center, 2;
DrawImage "HBARBRD", -128 + Center, 0;
InInventory DrawTargetTag, 1
DrawString confont, White, GlobalArray 9, 0 + Center, 14, 0, Alignment(Center); // Gets the target's name tag, if it has one (uses class name if not defined)
}
}
InInventory "EnemyHealthBarBottom", 1
{
InInventory TargetHealth, 1
{
DrawBar "HBARTOP3", "HBARBOT3", Ammo TargetHealth, Horizontal, Reverse, -126, -52;
DrawNumber 5, confont, White, Ammo TargetHealth, Alignment(Right)|WhenNotZero, -67, -52;
DrawString confont, White, "/", -63, -52, 0, Alignment(Center);
DrawNumber 5, confont, White, AmmoCapacity TargetHealth, Alignment(Left)|WhenNotZero, -59, -52;
DrawImage "HBARBRD3", -128, -54;
InInventory DrawTargetTag, 1
DrawString confont, White, GlobalArray 9, -2, -65, 0, Alignment(Right);
}
}
InInventory "EnemyHealthBarLeft", 1
{
InInventory TargetHealth, 1
{
DrawBar "HBARTOP2", "HBARBOT2", Ammo TargetHealth, Vertical, 2, 40;
DrawNumber 5, confont, White, Ammo TargetHealth, Alignment(Right)|WhenNotZero, 42, 176;
DrawString confont, White, "/", 46, 176, 0, Alignment(Center);
DrawNumber 5, confont, White, AmmoCapacity TargetHealth, Alignment(Left)|WhenNotZero, 50, 176;
DrawImage "HBARBRD2", 0, 38;
InInventory DrawTargetTag, 1
DrawString confont, White, GlobalArray 9, 0, 168, 0, Alignment(Left);
}
}
InInventory "EnemyHealthBarRight", 1
{
InInventory TargetHealth, 1
{
DrawBar "HBARTOP2", "HBARBOT2", Ammo TargetHealth, Vertical, -15, 40;
DrawNumber 5, confont, White, Ammo TargetHealth, Alignment(Right)|WhenNotZero, -50, 176;
DrawString confont, White, "/", -46, 176, 0, Alignment(Center);
DrawNumber 5, confont, White, AmmoCapacity TargetHealth, Alignment(Left)|WhenNotZero, -42, 176;
DrawImage "HBARBRD2", -17, 38;
InInventory DrawTargetTag, 1
DrawString confont, White, GlobalArray 9, -4, 168, 0, Alignment(Right);
}
}
Code: Select all
// Player Health bar (vertical)
DrawBar "hp_top", "hp_bot", Health, Vertical, 0, -64;
DrawImage "hp_brdr", 0, -64;
PlayerType StrifePlayer
DrawNumber 2147483647, bigfont, White, Health, Alignment(Center), 32, -42;
Else PlayerType ClericPlayer
DrawNumber 2147483647, bigfont, White, Health, Alignment(Center), 32, -40;
Else PlayerType MagePlayer
DrawNumber 2147483647, bigfont, White, Health, Alignment(Center), 32, -40;
Else PlayerType FighterPlayer
DrawNumber 2147483647, bigfont, White, Health, Alignment(Center), 32, -40;
Else
DrawNumber 2147483647, bigfont, White, Health, Alignment(Center), 32, -38;
Since jpalomo identified each block you just have to take the block you need. I hope it helps