Missiles vs max_missiles

General discussion for players of Oolite.

Moderators: winston, another_commander

Post Reply
User avatar
Ark
---- E L I T E ----
---- E L I T E ----
Posts: 664
Joined: Sun Dec 09, 2007 8:22 am
Location: Athens Greece

Missiles vs max_missiles

Post by Ark »

What is the deference in missiles key and max_missiles key in the shiptada plist. The first one is for the missile capacity of a players ship and the second one for the likely missiles of an NPC ship?
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Post by Thargoid »

Other way around.

Missiles is the number of missiles the NPC ship has.

Max_missiles is the maximum number of missiles (or more accurately these days pylon-mounted equipment) that a player ship can accomodate.

Max_missiles is a player-ship only key, OXP verifier will complain at you if you try and use it on an NPC one.
User avatar
_ds_
Deadly
Deadly
Posts: 180
Joined: Thu Jan 22, 2009 5:34 pm
Location: In a cloaked ship behind you

Post by _ds_ »

Thargoid wrote:
Max_missiles is a player-ship only key, OXP verifier will complain at you if you try and use it on an NPC one.
Or it could be used to allow a random number of missiles, missiles being the lower bound.
http://tartarus.org/~ds/oolite/patches, Buzzer OXP etc.
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Post by Thargoid »

Could but currently doesn't. And I should elaborate that missiles is the maximum number the NPC ship can have. It doesn't necessarily follow that this is the number it will fire at you if provoked. That may be less.
Post Reply