Naval energy unit

General discussion for players of Oolite.

Moderators: winston, another_commander

User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Re: Naval energy unit

Post by Eric Walch »

Griff wrote:
Eric Walch wrote:
I have once written a missile AI that remembers the position were the target cloaked and than flew to that position to explode. It can kill a target that didn't move after cloaking, but as soon as the target had moved a bit, the distance to the explosion is already to large to do real damage.
Eric, is this available anywhere to download?
I have it active fore some months now on my system. I'll put it for download on my box account for some weeks. I put the AI files in an oxp for the easy of the users. It just overwrites the internal AI files (if no other oxp does the same it should work)
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Naval energy unit

Post by Cody »

So if I was engaging an npc ship that had a cloak (say from Personalities oxp), would this work for my own missiles, Eric?
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Re: Naval energy unit

Post by Eric Walch »

El Viejo wrote:
So if I was engaging an npc ship that had a cloak (say from Personalities oxp), would this work for my own missiles, Eric?
Yes it would. But don't think it makes a missile more dangerous. Pure AI can't detect death on collision, meaning that on some occasions the missile smashes just into the cloaked ship doing no harm, and on other occasions the blast is already to far away. And once you know these missiles, you just make sure you move a bit while activating the cloak. The only thing the cloak knows is the last known location. With JS it would probably be possible to reset a target when the target de-cloaks as long the missile has fuel left. :lol:

For the personalities: just try and let us know. :mrgreen:
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Naval energy unit

Post by Cody »

Eric Walch wrote:
For the personalities: just try and let us know.
Will do... when the new version appears.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
TGHC
---- E L I T E ----
---- E L I T E ----
Posts: 2157
Joined: Mon Jan 31, 2005 4:16 pm
Location: Berkshire, UK

Re: Naval energy unit

Post by TGHC »

Thanks Gimi and Commander Maclane I managed to get it repaired at a higher tech level, can't remember which one now but I'm back on track.

In the process of this I've now noticed that my save files seem odd, looking in the Oolite\Oolite.app\oolite-saves folder, when I rename them they don't appear when Oolite is running, and if I go to Load new commander one of the saves is shown three times with the same spelling?
The Grey Haired Commander has spoken!
OK so I'm a PC user - "you know whats scary? Out of billions of sperm I was the fastest"
User avatar
Kaks
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 3009
Joined: Mon Jan 21, 2008 11:41 pm
Location: The Big Smoke

Re: Naval energy unit

Post by Kaks »

The commander's name shown in-game is taken from inside the file.

The file name is there only for the convenience of humans: to see the different spelling you need to change the inside of the files too!
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
User avatar
TGHC
---- E L I T E ----
---- E L I T E ----
Posts: 2157
Joined: Mon Jan 31, 2005 4:16 pm
Location: Berkshire, UK

Re: Naval energy unit

Post by TGHC »

OK so how do I fix it?
The Grey Haired Commander has spoken!
OK so I'm a PC user - "you know whats scary? Out of billions of sperm I was the fastest"
User avatar
Svengali
Commander
Commander
Posts: 2370
Joined: Sat Oct 20, 2007 2:52 pm

Re: Naval energy unit

Post by Svengali »

Change

Code: Select all

<key>player_name</key>
<string>myOwnName</string>
User avatar
TGHC
---- E L I T E ----
---- E L I T E ----
Posts: 2157
Joined: Mon Jan 31, 2005 4:16 pm
Location: Berkshire, UK

Re: Naval energy unit

Post by TGHC »

But not with notepad, right?
The Grey Haired Commander has spoken!
OK so I'm a PC user - "you know whats scary? Out of billions of sperm I was the fastest"
User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8515
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Re: Naval energy unit

Post by DaddyHoggy »

TGHC wrote:
But not with notepad, right?
By Jove, I think he's got it! :wink:
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
User avatar
TGHC
---- E L I T E ----
---- E L I T E ----
Posts: 2157
Joined: Mon Jan 31, 2005 4:16 pm
Location: Berkshire, UK

Re: Naval energy unit

Post by TGHC »

OK so I've installed Notepad++, opened my latest Oolite save file and it's certainly easier to read than Mshite Notepad, but can't find

Code: Select all

<key>player_name</key>
I've even used their search thingy and that can't find it either? What am I doing wrong?

I think I'll try and programme the VCR instead!!!!!
The Grey Haired Commander has spoken!
OK so I'm a PC user - "you know whats scary? Out of billions of sperm I was the fastest"
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: Naval energy unit

Post by Smivs »

TGHC wrote:
OK so I've installed Notepad++, opened my latest Oolite save file and it's certainly easier to read than Mshite Notepad, but can't find

Code: Select all

<key>player_name</key>
I've even used their search thingy and that can't find it either? What am I doing wrong?
It's after all the 'mission' stuff, nearly half way down.
TGHC wrote:
I think I'll try and programme the VCR instead!!!!!
It's not that bad :D
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: Naval energy unit

Post by Commander McLane »

TGHC wrote:
OK so I've installed Notepad++, opened my latest Oolite save file and it's certainly easier to read than Mshite Notepad, but can't find

Code: Select all

<key>player_name</key>
I've even used their search thingy and that can't find it either? What am I doing wrong?
It may help you to know that the <key>s are sorted alphabetically, starting with <key>aft_weapon</key> and ending with <key>written_by_version</key>. Therefore <key>player_name</key> will be a fair way down. :wink:
User avatar
TGHC
---- E L I T E ----
---- E L I T E ----
Posts: 2157
Joined: Mon Jan 31, 2005 4:16 pm
Location: Berkshire, UK

Re: Naval energy unit

Post by TGHC »

I managed to do it :D
Watch out lads I'll be writing OXP's and moving on to isomorphic translation of mnemonic statements next!
The Grey Haired Commander has spoken!
OK so I'm a PC user - "you know whats scary? Out of billions of sperm I was the fastest"
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: Naval energy unit

Post by Commander McLane »

TGHC wrote:
I managed to do it :D
Watch out lads I'll be writing OXP's and moving on to isomorphic translation of mnemonic statements next!
I'm looking forward to the latter one! :D
Post Reply