Page 1 of 1

The Cloak

Posted: Sat Jun 23, 2007 1:22 pm
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...

Posted: Sat Jun 23, 2007 1:51 pm
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.