Page 1 of 2

Pylon Icons

Posted: Wed Mar 30, 2011 2:57 pm
by Smivs
Following discussions on another thread, I thought it might help others to know how i work-out and design the Icons for the missile/mine pylons.
These graphics are based on a 5x7 grid, and the pairs of numbers used are the x/y co-ordinates on this grid.

Image

The convention is to start in the top-right corner and go round clockwise, so for a simple rectangle, you would use:-

Code: Select all

{
"EQ_YOUR_RECTANGULAR_DEVICE" =
       (
         2,  3,
         2, -3,
        -2, -3,
        -2,  3,
         2,  3
       );
}
in the 'descriptions.plist' within Config.

The 'G' used for my GalDrivePod looks like this:-

Code: Select all

{
"EQ_GAL_DRIVE_MINE" =
         (
                 0,  1,
	              0,  0, 
                 1,  0,
                 1, -1,	
                -1, -1,
                -1,  2,
                 2,  2,
                 2,  3,
                -2,  3,
                -2, -2,
                 2, -2,
                 2,  1
	);
}
Hope this is of some help.

Re: Pylon Icons

Posted: Wed Mar 30, 2011 5:58 pm
by DGill
Smivs wrote:
Hope this is of some help.
Thank you! its been driving me nuts trying to figure it out :D

Re: Pylon Icons

Posted: Wed Mar 30, 2011 6:05 pm
by Okti
Thanks Smivs,

I will be using this information. But it will be nice to have an image file with certain atributes set in the further releases :?:

Re: Pylon Icons

Posted: Wed Mar 30, 2011 11:53 pm
by Kaks
And from 1.74 you don't have to limit yourself to integers anymore: 1,1.3 is miles apart from 1,1! :)

Re: Pylon Icons

Posted: Thu Mar 31, 2011 8:01 am
by Smivs
Kaks wrote:
And from 1.74 you don't have to limit yourself to integers anymore: 1,1.3 is miles apart from 1,1! :)
Oooo! Now I didn't know that. Very useful. :)

Re: Pylon Icons

Posted: Thu Mar 31, 2011 7:38 pm
by JensAyton
If you use small values, make sure to test with a small window.

Re: Pylon Icons

Posted: Thu Mar 31, 2011 7:52 pm
by Eldon
Also beware of the yellow border from having the icon selected.

I had a few months off oolite and when I came back I'd forgotten what I'd loaded my pylons with, so I played arround a little and came up with these. Any guesses?
Image

Re: Pylon Icons

Posted: Fri Apr 01, 2011 1:28 pm
by TGHC
Eldon wrote:
I had a few months off oolite and when I came back I'd forgotten what I'd loaded my pylons with
I guess with so many more pylon options these days, and the "wireframe" style of the icons, perhaps the F5 screen should show what is loaded, it shows everything else.

Re: Pylon Icons

Posted: Fri Apr 01, 2011 2:12 pm
by Disembodied
Eldon wrote:
Also beware of the yellow border from having the icon selected.

I had a few months off oolite and when I came back I'd forgotten what I'd loaded my pylons with, so I played arround a little and came up with these. Any guesses?
Image
Repair bots, fuel tank, er ... and a mine and a missile of exotic functionality. Q-bomb and cascade missile, perhaps?

Re: Pylon Icons

Posted: Fri Apr 01, 2011 3:31 pm
by Thargoid
Can you post or PM me the co-ord list for the repair bots one?

With your permission I'd like to include it in the OXP as the default icon for them, it's nice.

Re: Pylon Icons

Posted: Fri Apr 01, 2011 3:58 pm
by Zireael
Eldon wrote:
Also beware of the yellow border from having the icon selected.

I had a few months off oolite and when I came back I'd forgotten what I'd loaded my pylons with, so I played arround a little and came up with these. Any guesses?
Image
Repair bots, fuel tank, Q-bomb and some sort of an awful missile...
By the way, I love the icons, any chance of making them official for the relevant OXPs?

Re: Pylon Icons

Posted: Fri Apr 01, 2011 6:53 pm
by Commander McLane
IIRC from another thread, the last two are the ETT Homing Beacon and Torpedo, respectively.

Re: Pylon Icons

Posted: Fri Apr 01, 2011 7:57 pm
by Eldon
Between you, you've got them all :) repair bots, fuel tank, ETT Homing Beacon and Torpedo.
co-ords for the mine and missile can be found here, and I've sent Thargoid, a PM for repair bots, which just leaves the fuel tank:

Code: Select all

{
	// icons for the hud
	"EQ_FUELTANK_MINE" =
	(
		 0.0, 3.0,
		 0.2, 2.9,
		 1.0, 2.0,
		 1.7, 1.0,
		 2.0, 0.0,
		 2.0,-1.0,
		 1.8,-1.8,
		 1.4,-2.4,
		 0.8,-2.8,
		 0.0,-3.0,
		-0.8,-2.8,
		-1.4,-2.4,
		-1.8,-1.8,
		-2.0,-1.0,
		-2.0, 0.0,
		-1.7, 1.0,
		-1.0, 2.0,
		-0.2, 2.9,
		 0.0, 3.0,
		 0.3, 1.3,
		 0.9, 1.0,
		 0.9, 0.4,
		 0.3,-0.1,
		 0.3,-0.3,
		 0.9,-0.8,
		 0.9,-1.4,
		 0.3,-1.7,
		-0.7,-1.7,
		-0.7,-1.3,
		 0.3,-1.2,
		 0.3,-0.9,
		-0.5,-0.4,
		-0.5, 0.0,
		 0.3, 0.5,
		 0.3, 0.8,
		-0.7, 1.0,
		-0.7, 1.3,
		 0.3, 1.3
	)
}

Re: Pylon Icons

Posted: Sat Apr 02, 2011 6:47 pm
by Kaks
Impressive stuff!

Icons: not just for polygons anymore! :P

Re: Pylon Icons

Posted: Sat Apr 02, 2011 9:52 pm
by JensAyton
Eldon wrote:
which just leaves the fuel tank
You know, you can use multiple contours. It’s easier and less likely to look glitchy.

Code: Select all

(
    (
        // Outer drop shape
        0.0, 3.0,
        1.0, 2.0,
        1.7, 1.0,
        2.0, 0.0,
        2.0,-1.0,
        1.8,-1.8,
        1.4,-2.4,
        0.8,-2.8,
        0.0,-3.0,
        -0.8,-2.8,
        -1.4,-2.4,
        -1.8,-1.8,
        -2.0,-1.0,
        -2.0, 0.0,
        -1.7, 1.0,
        -1.0, 2.0
    ),
    (
        // Inner 3 (?)
        0.3, 1.3,
        0.9, 1.0,
        0.9, 0.4,
        0.3,-0.1,
        0.3,-0.3,
        0.9,-0.8,
        0.9,-1.4,
        0.3,-1.7,
        -0.7,-1.7,
        -0.7,-1.3,
        0.3,-1.2,
        0.3,-0.9,
        -0.5,-0.4,
        -0.5, 0.0,
        0.3, 0.5,
        0.3, 0.8,
        -0.7, 1.0,
        -0.7, 1.3,
        0.3, 1.3
    )
);