Page 3 of 3
Re: ** Urgent GalCop Broadcast to all pilots **
Posted: Mon Jan 09, 2012 12:55 am
by Commander McLane
No need to apologize, SandJ. You've done nothing wrong. I also think that it's meaningful to keep the conversation about a specific topic to as few threads as possible. I was just playfully teasing Kaks for replying to a post of mine which I had all but forgotten.
Re: ** Urgent GalCop Broadcast to all pilots **
Posted: Mon Jan 09, 2012 7:32 am
by Thargoid
Plus the Swarming Thargoids OXP I'm currently working on is using an AI similar to (and based on) the "evil" one I wrote for KW for this OXP. So it's actually timely, or even prescient
Re: ** Urgent GalCop Broadcast to all pilots **
Posted: Mon Jan 09, 2012 12:53 pm
by Kaks
Mind you, it's not the first time it's taken me years to reply to some posts!
Re: ** Urgent GalCop Broadcast to all pilots **
Posted: Sat Mar 10, 2012 3:21 pm
by SandJ
This .OXP when zipped up contains a couple of 'Thumbs.db' files which can be removed.
Am I right in thinking the following code (from
[size=120]\Scripts\nestscript.js[/size]
) results in only one defender being launched when the nest is attacked, because it only fires when the alert condition becomes red?
Code: Select all
this.alertConditionChanged = function(newCondition, oldCondition)
{
if(newCondition == 3)
{ // Red alert.
if (!this.launchDefenseShipTimer && this.ship.dockedDefenders > 0)
{
this.launchDefenseShipTimer = new Timer(this, this.launchShips, 0, 5); // Every five seconds, starting immediately
}
}
else
{ // Not red alert.
this.stopTimer();
}
}
I only see one defender emerge, anyway.
(I can never find this thread because I search for wasps.oxp and that text string did not appear within it.)
Re: ** Urgent GalCop Broadcast to all pilots **
Posted: Sat Mar 10, 2012 4:25 pm
by Thargoid
Not quite - when the station first goes on red alert it launches a defender and starts a timer. That timer will launch another defender every 5s whilst the station stays on red alert (and whilst there are some defenders left to launch).
However if you leave the station alone, it will drop down from red alert and then the timer is stopped, hence no more defenders get launched.
I suspect you shot the station and then left it alone to concentrate on the defender, hence the station dropped out of red alert and stopped launching. Either that or things got delayed in the launch queue, but that's beyond OXP control.
Re: ** Urgent GalCop Broadcast to all pilots **
Posted: Sat Mar 10, 2012 5:27 pm
by Switeck
Shouldn't damaging the defender (station defense ship?) cause the station to remain in red alert status?
Re: ** Urgent GalCop Broadcast to all pilots **
Posted: Sat Mar 10, 2012 5:39 pm
by Thargoid
Yes it should, as the defender is in the same ship group as the station.
But if the defender is killed quickly and the station not attacked further, it will drop in alert level through the AI.
Re: ** Urgent GalCop Broadcast to all pilots **
Posted: Mon Mar 12, 2012 6:36 pm
by SandJ
In the liners thread there is
a post showing a liner that is not centred.
I see the same problem exists with the wasp nest; it is centred on the entrance to the docking port.