Results 1 to 4 of 4

Thread: What is what?Weapon images...

  1. #1
    Corporal Killer.Pro's Avatar
    Join Date
    Jul 2012
    Location
    belgium
    Posts
    274
    Thanks
    102
    Thanked 213 Times in 141 Posts

    Post What is what?Weapon images...

    In weapon images :
    Code:
    		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?
    Please call me Killer.Pro

  2. #2
    Private First Class
    Join Date
    Dec 2012
    Posts
    127
    Thanks
    132
    Thanked 114 Times in 63 Posts
    224 is width (x-axis)
    112 is height (y-axis)

    as much as I remember

  3. The Following 2 Users Say Thank You to Jeplaa For This Useful Post:

    Killer.Pro (17th February 2013),kung foo man (17th February 2013)

  4. #3
    Corporal Killer.Pro's Avatar
    Join Date
    Jul 2012
    Location
    belgium
    Posts
    274
    Thanks
    102
    Thanked 213 Times in 141 Posts
    Thanks jelpaa
    Please call me Killer.Pro

  5. #4
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    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

  6. The Following 3 Users Say Thank You to IzNoGoD For This Useful Post:

    Killer.Pro (17th February 2013),kung foo man (17th February 2013),pollo (17th February 2013)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •