Page 1 of 1

Two things

Posted: Mon Mar 03, 2008 8:39 pm
by Lestradae
One:

There will soon be a complete list of all Oolite ships in existence stats. :shock: I am making one. I don`t know when it will be complete, but perhaps end of march is reasonable. So no one else needs to do the work twice, as this was discussed concerning ship stubs on the wiki.

But I think the probability that after creating my first oxp I want to enter the data into the wiki is low. So, my ship stats file can be used by whomever wants to use it in whatever way ... wiki, trunk ship stats table bla etc. ... but perhaps not by me, besides for the aforementioned oxp. :?

Two:

I found something in the A-Wing oxp I don`t understand. It says there
<key>weapon_facings</key> <integer>20</integer>
But. As far as I understand, the laser mountings are numbered as 1, 2, 4 and 8 and the number between the integers refers to the sum, thereby cunningly encoding all possible laser combinations a ship might have.

So what the :evil: is 20 :?: I mean, all four mountings would be 15, is that a turret or a typo or some unknown supercode?

If someone knows, please help me out,

L

Posted: Mon Mar 03, 2008 8:53 pm
by JensAyton
I don’t know why it says that, but I feel confident in saying it serves no useful purpose. From the game’s persecutive, it’s the same as 4.

Posted: Mon Mar 03, 2008 8:55 pm
by Cmdr James
My guess would be that its a bit mask, and anything to the left of 8 is ignored.

20 is
00010100
00008421

So its the same as just 4.

Edit, as Ahruman just said :lol:

Ok thanks, I`ll just go ahead and edit it then! n/T

Posted: Mon Mar 03, 2008 9:45 pm
by Lestradae
...

Posted: Mon Mar 03, 2008 9:54 pm
by TGHC
I like the idea that it's a super code, something between an AK47, a trail gun and and a plasma cannon!!!!!


:oops: too much red wine.............again!

That`s ...

Posted: Mon Mar 03, 2008 9:59 pm
by Lestradae
:lol:

Oh, and nastrovje! :)

Re: Two things

Posted: Tue Mar 04, 2008 6:10 am
by Commander McLane
I think the question isn't yet properly answered:
Lestradae wrote:
So what the :evil: is 20 :?: I mean, all four mountings would be 15, is that a turret or a typo or some unknown supercode?

If someone knows, please help me out,
The concise answer would be (my guess, but I'm pretty sure): It is neither of the aforementioned, but simply the OXP-creator's lack of understanding of how the weapon_facings work.

Weapon Facings

Posted: Tue Mar 04, 2008 8:11 am
by Lestradae
simply the OXP-creator's lack of understanding of how the weapon_facings work.
I think so too, especially after I found out what he did to the B-Wing :shock: ... there the integer was 30 :?

With the Realistic Shipyards OXP, the A- and B-Wings will simply have four weapon mountings, I re-set the integer to 15 for both.

Re: Weapon Facings

Posted: Tue Mar 04, 2008 8:23 am
by Commander McLane
Lestradae wrote:
... what he did to the B-Wing :shock: ... there the integer was 30 :?
30 is very nice. The same as 14: Everywhere but in the front. :wink: Perhaps a little frustrating for a fighter pilot? :twisted:

Anyway, I wonder why we never had complaints about the A-Wing (one side laser only) or the B-Wing (no front laser). Can it be that nobody actually ever tried to fly one of these ships??? :shock:

Posted: Tue Mar 04, 2008 9:12 am
by goran
I tried the b-wing and it has front, back and left laser mountings.

Posted: Tue Mar 04, 2008 9:54 am
by Captain Hesperus
gorans wrote:
I tried the b-wing and it has front, back and left laser mountings.
I concur, the B-wing has the front laser off-set waaaaay to the right. Very confusing when you are fighting and almost useless if you get too close....

Captain Hesperus

Posted: Tue Mar 04, 2008 10:00 am
by Commander McLane
Strange. It indicates that the bitmask might work differently from what is explained in the wiki...?

Posted: Tue Mar 04, 2008 5:10 pm
by Eric Walch
Commander McLane wrote:
Strange. It indicates that the bitmask might work differently from what is explained in the wiki...?
The key is not read in at the usual place. (I couldn't find it there) Maybe it is only used when buying the stuff. Than a ship that was pre-equipped with it would still have it no mater what the key said.

Posted: Tue Mar 04, 2008 7:07 pm
by Kaks
Yep, I can confirm that weapon_facings is used when buying equipment. It' s an interesting way of stopping the player from changing their front laser... :)