The Cloak

An area for discussing new ideas and additions to Oolite.

Moderators: winston, another_commander

Post Reply
Killer Instinct
Dangerous
Dangerous
Posts: 103
Joined: Wed Jan 03, 2007 8:20 pm
Location: Czech Republic

The Cloak

Post by Killer Instinct »

Much talk about the cloak being a cheat ect.. Would like to be fired apon by a cloaked ship too. Spice things up a bit and press Galcop more so they'd leave my innocent trading alone sometimes...
It's a fine line between clever and stupid
User avatar
LittleBear
---- E L I T E ----
---- E L I T E ----
Posts: 2882
Joined: Tue Apr 04, 2006 7:02 pm
Location: On a survey mission for GalCop. Ship: Cobra Corvette: Hidden Dragon Rated: Deadly.

Post by LittleBear »

adding:-

Code: Select all

<key>has_cloaking_device</key>
<real>0.10</real>
to any ship's shipdata entry would give the ships a chance of having a cloaking device fitted. In the example its 0.10 so the ship has a 10% chance of having one. 1.0 would give it a 100% chance of having it. A simple shipdata only OXP using like_ship, could be done to give selected native and OXP ships a chance of having a cloak. (Only be a couple of k)!

Giles's code will make any ship with a cloak use it. Its just a question of telling Oolite that a ship has it. ATM no OXP features a cloaked ship.
OXPS : The Assassins Guild, Asteroid Storm, The Bank of the Black Monks, Random Hits, The Galactic Almanac, Renegade Pirates can be downloaded from the Elite Wiki here.
Post Reply