PDA

View Full Version : What is what?Weapon images...



Killer.Pro
17th February 2013, 14:51
In weapon images :

itemDef
{
name "sten_info"
visible 0
rect 0 0 224 112
origin ORIGIN_WEAPONIMAGE
style WINDOW_STYLE_SHADER
background "weapon_sten"
decoration
}


in rect what is 224 and what is 112, is it height width?so which one is height and which one is width?

Jeplaa
17th February 2013, 14:55
224 is width (x-axis)
112 is height (y-axis)

as much as I remember :D

Killer.Pro
17th February 2013, 15:01
Thanks jelpaa ;)

IzNoGoD
17th February 2013, 16:06
0 is the x-start seen from the x-origin of the item
0 is the y-start seen from the y-origin of the item
224 is the x-end seen from the x-origin of the item
112 is the y-end seen from the y-origin of the item