while examining HUD icons for missiles/mines i worked out a possible solution for the problem with having the fuel collector online at all times.
You might do not want it to extract fuel from a derelict ship, however with the failure of me finding a way to use a keyoress, i deviced another way to use a missile pylon as a way of activating the fuel collector..
I tried to use a missile pylon as way of activating the fuel collector, only problem is that it is possible to buy the same number of Fuel_collectors as the number of missile pylons there is on ship. using incompatible_with_equipment with itself, will not work, cause it is treated as if it where a missile or mine.. while it is neither.
I examined missiles and bombs.oxp and found that the chaffs are also bugged, if you mount all your missile pylons with chaffs, the mission variables will just count down 1 each time, and when you used 5 it will removed the chaff from the currently selected pylon, even though this should still hold 3 chaffs, and once you fire one from the other chaff mounts, these will also be removed as the mission variable is below 0...
I even managed to draw a nice F in in missile mount.. it is not a perfect F, as the hud drawing function for missiles is somewhat limited... seems like all vertices connects back to first vertice drawn.. i tried figurering out if the hud icons where drawn in sets of 3 vertices for each face, however that would not explain the data and shape of a ECM resiliant missile.
here is my notepad notes, each "*" represents a vertice
Code: Select all
"EQ_HARDENED_MISSILE" =
(
0, 3,
2, 1,
2, -3,
0, -1,
-2, -3,
-2, 1
);
EQ_hardend_missile
6 |
5 |
4 |
3 *
2 |
1 * | *
-0---------------------------
-1 *
-2 |
-3 * | *
-4 |
-5 |
-6 |
6543210123456
The icon will look like this.. X is the coordinate, while *** is just the what is inside the shape drawn... i did not find this very well descriped while looking at the wiki and the explanation for descriptions.plist
Code: Select all
EQ_FUEL_COLLECTOR
|
|
|
*****
*****
**|
-----------****----------------
****
**|
**|
|
|
|
however that is not the way it looks ingame, there it looks like this
Code: Select all
EQ_FUEL_COLLECTOR
|
|
|
*****
*****
*** <--- note an extra asterix is added
-----------****----------------
****
**|
**|
|
|
|
The extra asterix(read line), i cant tell why it is added, i tried several scenarios, and i´m confident my coordinates are correct, something that i dont know of is making this happen. prolly gl_polygon or something..
I would suggest in the suggestion thread that we be able to use our own special icons, one for armed and one for unarmed... but i´ll do that later.
using missile_pylons as attachment for extra equipment will also solve the keypress problem where multiple OXPs could be using the same keypress.
or we could make use of 3 new keys, namely 2 for selecting equipment, and 1 for on/off. that way we dont have to worry about confilcting keys
That also have to go into the guesstion thread..
well i´m rambling on, infact this reply took me 2 days to complete. thank god for the sleep button