1) I think you can't really rotate items properly but you can experiment with
align ITEM_ALIGN_RIGHT
align ITEM_ALIGN_LEFT
align ITEM_ALIGN_CENTER
where applicable (health bars, for example). Also just switching the last two rect numbers, for example
//INVENTORY
itemDef
{
name "inventory"
rect 158.5 425 325 25
visible 1
decoration
forecolor 1 1 1 .6
ownerdraw CG_PLAYER_SELECT
}
//INVENTORY
itemDef
{
name "inventory"
rect 158.5 425 25 325
visible 1
decoration
forecolor 1 1 1 .6
ownerdraw CG_PLAYER_SELECT
}
works in some items.
2) I think this is correct.
The way I understand it is: x and y values in rect are from "0 0" (for top left corner) to "640 480" (bottom right), which is then scaled to match your screen resolution. The other 2 values are width and height, from the point defined by x and y towards bottom right corner.