This OXP adds NPC "Medical Anaconda" Hospital Ships and their Moray Medical escorts to the game.
The Medical Anaconda vessels is an Anaconda-class (Smivs variant) heavy bulk transport converted for use as a hospital ship. They are operated by the GalCop Medical Corps as mobile treatment facilities to provide medical relief in planetary-wide natural disasters or war zones. The standard Anaconda cargo bays have been refitted as surgical operating rooms and hospital ward facilities, and the missile launchers have been removed to comply with GalCop interstellar conventions and to provide the required space for a medical laboratory. All Medical Anacondas are fitted with planetary landing capability and a single forward pulse laser for asteroid protection.
Because of GalCop interstellar conventions prohibiting hospital ships from carrying heavy weaponry, Medical Anacondas are completely dependent upon escorts of up to six Moray Medical Boats for protection.
Many thanks to Smivs for his assistance and for letting me use his model.
What I'd really like is to get the Random Ship Names to pick out "medical"-type names for these vessels, but I haven't managed to work out how to do this. Any ideas?If you have it installed, Random Ship Names OXP will generate "medical"-type names for these vessels.
Does the above "ship.displayName" code go into shipdata.plist, or somewhere else?
It's js code and you'll need a ship script with shipSpawned event for it. For example in RandomHits check random_hits_big_boss_fighter_adder's script definition from shipdata.plist and the actual scip script oolite-random-hits-bigboss-fighter.js from Scripts folder.
What I'd really like is to get the Random Ship Names to pick out "medical"-type names for these vessels, but I haven't managed to work out how to do this. Any ideas?
If the ship name contains "medical" or "hospital" (not case-sensitive), and the ship "name role" is "trader" it will get a medical name. So, this should be sufficient:
If the ship name contains "medical" or "hospital" (not case-sensitive), and the ship "name role" is "trader" it will get a medical name. So, this should be sufficient:
Yep, either this or simply talk with Commander McLane. A pm or a post in the Randomshipnames topic is not much work .-)
What I'd really like is to get the Random Ship Names to pick out "medical"-type names for these vessels, but I haven't managed to work out how to do this. Any ideas?
Hi Ranthe, you don't actually need to do anything, randomshipnames.oxp does it all for you already.
Because your ship has "trader" as its role and the word "Medical" in its name, randomshipnames automatically recognizes it as a medical ship. Thus, it qualifies for medical-type names. However, not every medical ship will get a medical name. It's just one possibility among others (the odds are about 10%). One reason is that there a potentially many medical ships, and not so many purely medical names. Thus, if every medical ship would have a medical name, the names would have to repeat pretty quickly. (For the same reason not every bulk hauler gets a bulk hauler name.)
So long story short: you don't have to do or modify anything.
It won't change anything though. By default will any ship with "medical' in it's shipname, release narcotics when shot down. By declaring the content explicit, you are not depending on the 'medical' string in its name. (In my opinion we should have done this also with the Oolite's MorayMed)
It won't change anything though. By default will any ship with "medical' in it's shipname, release narcotics when shot down. By declaring the content explicit, you are not depending on the 'medical' string in its name. (In my opinion we should have done this also with the Oolite's MorayMed)
I had to run that idea through my head a few times to work out why a hospital ship would be carrying Narcotics... then the penny dropped that her pharmaceuticals would be classed as narcotics in the wrong hands.
Interesting concept!
Commander Ranthe: Flying the Anaconda-class transport Atomic Annie through Galaxy 2. Combat Ranking: Dangerous
"Big ships take more booty on your interstellar flights..."