Search found 47 matches

by Commander Xvyto
Mon Oct 14, 2013 2:52 pm
Forum: Oolite-Mac
Topic: Key Remapping Conflict
Replies: 2
Views: 4270

Re: Key Remapping Conflict

Okay, thanks.
by Commander Xvyto
Sun Oct 13, 2013 10:15 pm
Forum: Oolite-Mac
Topic: Key Remapping Conflict
Replies: 2
Views: 4270

Key Remapping Conflict

I used the application linked to on this page (http://wiki.alioth.net/index.php/Oolite_Keyboard_Controls) called Keyconfig to change my flight controls from the arrow keys to the number pad. When I did this, they began to conflict with the ship view keys. Is there any way to remap the keys to change...
by Commander Xvyto
Sat Jun 08, 2013 10:17 pm
Forum: Discussion
Topic: Tales from the spacelanes...
Replies: 1308
Views: 303903

Re: Tales from the spacelanes...

Thanks Ranthe! I actually just restarted my save file, as I haven't played for about a year. Apparently I wasn't as rusty as I thought.
by Commander Xvyto
Sat Jun 08, 2013 1:46 pm
Forum: Discussion
Topic: Tales from the spacelanes...
Replies: 1308
Views: 303903

Re: Tales from the spacelanes...

So I had just jumped into Ra from Relaes. As I just restarted my save file, I had the bare starter equipment on my Cobby MKIII, besides the expanded cargo bay. I torus-jumped away from the lanes, hoping to avoid pirates and mass-locks. However, the station was on the other side of the lanes, and whe...
by Commander Xvyto
Wed Jun 06, 2012 3:36 am
Forum: Expansion Pack
Topic: Station Defense Minigame
Replies: 57
Views: 4424

Re: Station Defense Minigame

If I want to have an event triggered when a certain number of ships are killed: a. What function would I put the code in? I don't see a player.killedShip(); b. would the code be something like this: var killArray = system.shipsWithRole("coriolisStationStationDefense"); var i=0 var specKills = 0 for(...
by Commander Xvyto
Tue Jun 05, 2012 1:03 pm
Forum: Expansion Pack
Topic: Station Defense Minigame
Replies: 57
Views: 4424

Re: Station Defense Minigame

Ok, thanks. That seems like it would work.

Edit: Tested, it does indeed work. Thanks again.
by Commander Xvyto
Tue Jun 05, 2012 12:57 pm
Forum: Expansion Pack
Topic: Station Defense Minigame
Replies: 57
Views: 4424

Re: Station Defense Minigame

I don't believe that this is what you wanted to ask. Can you try to rephrase? What I meant was, if the player goes into the system with the special station, docks at the main station, saves, and exits oolite, the station won't still exist. This is because the station is spawned in this.shipExitedWi...
by Commander Xvyto
Tue Jun 05, 2012 3:57 am
Forum: Expansion Pack
Topic: Station Defense Minigame
Replies: 57
Views: 4424

Re: Station Defense Minigame

How do I ensure that a station is spawned even if the player quits the game and logs back out? Something like:

Code: Select all

if(!station)
    {
    spawnStation();
    }
/pseudocode
I believe it would be put in this.startUp().
by Commander Xvyto
Mon Jun 04, 2012 8:46 pm
Forum: Outworld
Topic: Science Fiction Trivia
Replies: 4714
Views: 507942

Re: Science Fiction Trivia

Indeed sir! Your turn.
by Commander Xvyto
Sun Jun 03, 2012 11:59 am
Forum: Expansion Pack
Topic: Station Defense Minigame
Replies: 57
Views: 4424

Re: Station Defense Minigame

Okay, thanks guys. Its working now.
by Commander Xvyto
Sun Jun 03, 2012 4:12 am
Forum: Expansion Pack
Topic: Station Defense Minigame
Replies: 57
Views: 4424

Re: Station Defense Minigame

From my tests, the station spawns (with its ASC letter) quite well, until I add this: this.shipWillLaunchFromStation = function(station) { if(station.role=="coriolisStationStationDefense") { player.consoleMessage("Launched from research station."); } } Is this valid code? I think that the station.ro...
by Commander Xvyto
Sat Jun 02, 2012 4:43 pm
Forum: Expansion Pack
Topic: Station Defense Minigame
Replies: 57
Views: 4424

Re: Station Defense Minigame

Ok, cool. Now to test-fly.
by Commander Xvyto
Sat Jun 02, 2012 4:08 pm
Forum: Expansion Pack
Topic: Station Defense Minigame
Replies: 57
Views: 4424

Re: Station Defense Minigame

should cause the ship to attack the station, or if that is destroyed or 'lost' as a target, the ship will turn on the player.
Will it also break from attacking the station and attack the player if the player attacks it?
by Commander Xvyto
Sat Jun 02, 2012 12:07 pm
Forum: Outworld
Topic: Science Fiction Trivia
Replies: 4714
Views: 507942

Re: Science Fiction Trivia

Who is Jole Turbor and what is he from?
by Commander Xvyto
Sat Jun 02, 2012 12:02 pm
Forum: Expansion Pack
Topic: Station Defense Minigame
Replies: 57
Views: 4424

Re: Station Defense Minigame

I am spawning the ships within range of the object. I just need them to attack the station above the player. So, what part of the AI does the scanForNearestShipWithRole: coriolisStationStationDefense go? ATTACK_SHIP > ENTER?