Military Shield Enhancement

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: winston, another_commander

Post Reply
Mad Hollander
Dangerous
Dangerous
Posts: 84
Joined: Wed Nov 14, 2012 11:57 am

Military Shield Enhancement

Post by Mad Hollander »

How can I enable Military Shield Enhancement for ships such as Adder , Python or Moray Medical ?
I need this for my oxp.
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: Military Shield Enhancement

Post by Smivs »

As you have noticed not all ships can fit mil shields. It is mostly the 'older' designs (and small ships) which cannot have them. I've always assumed that this is an 'in-game' device to differentiate between different sizes of ship, and it also allows some to be 'cheaper' and others to be more desirable.
It is possible to allow all ships to have them - this is controlled (for player ships at least) by the 'optional_equipment' list in the shipyard.plist, so to allow those ships which can't normally have them to get them a shipyard-overrides.plist could be used to add them to the list of allowed equipment.
The only potential problem here is that in doing this - I'm assuming that you want to give players using such ships the option to buy mil shields - is that the shipyard-overrides.plist would allow any of these ships to buy them at any time while the OXP is installed, and this would remove the differentiation between ships and their relative desirability.
Alternatively, if you wish to award mil shields to a player who doesn't already have them, this could be done by script irrespective of the ship type the player is flying.
Commander Smivs, the friendliest Gourd this side of Riedquat.
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Re: Military Shield Enhancement

Post by Commander McLane »

Smivs wrote:
Alternatively, if you wish to award mil shields to a player who doesn't already have them, this could be done by script irrespective of the ship type the player is flying.
I don't think so. If an equipment item isn't available for a ship (either through shipyard.plist or through the available_to_all condition in equipment.plist, it cannot be awarded by script.

@ Mad Hollander: I think it's good that not all ships are the same, have not the same stats, and not every ship can fit each equipment item. Otherwise, what would be the point of having more than one ship type in the game? Thus I wouldn't touch this.
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: Military Shield Enhancement

Post by Smivs »

Commander McLane wrote:
Smivs wrote:
Alternatively, if you wish to award mil shields to a player who doesn't already have them, this could be done by script irrespective of the ship type the player is flying.
I don't think so. If an equipment item isn't available for a ship (either through shipyard.plist or through the available_to_all condition in equipment.plist, it cannot be awarded by script.
Er, yes, now I think about it, that is the case. :oops:
Commander Smivs, the friendliest Gourd this side of Riedquat.
Mad Hollander
Dangerous
Dangerous
Posts: 84
Joined: Wed Nov 14, 2012 11:57 am

Re: Military Shield Enhancement

Post by Mad Hollander »

Smivs thanks, it does work !
Mad Hollander
Dangerous
Dangerous
Posts: 84
Joined: Wed Nov 14, 2012 11:57 am

Re: Military Shield Enhancement

Post by Mad Hollander »

what would be the point of having more than one ship type in the game
Adder is very interesting ship in the game. Until you have lot's of money, you won't be able to have adder, because it is very difficult to do that using adder.
Another thing - even with military shield adder is not the strongest standard ship. Actually, single energy unit and single laser is very serious restriction
Post Reply