Search found 1101 matches

by UK_Eliter
Wed Aug 21, 2019 3:28 pm
Forum: Discussion
Topic: Oooops ... how far can I go?
Replies: 8
Views: 1772

Re: Oooops ... how far can I go?

The only way to travel: it's a shame. I imagine the game could be changed (with some work) to allow allow a manual switch from one system to another. If so, then when one leaves one's ship running its jump drive in deep space and comes back, what, a few days later (or less than that if one is using ...
by UK_Eliter
Mon Jul 29, 2019 11:37 pm
Forum: Expansion Pack
Topic: Known errors: a summary
Replies: 47
Views: 4374

Re: Known errors: a summary

The OXZ at issue with the latest problem you found seems to be: Additional Planets SR Others Gas Giants pack. The maintainers of that seem to be 'Redspear, spara and collaborators'. I suggest you contact Redspear or Spara - if you don't hear from them - by commenting on one of their threads or, perh...
by UK_Eliter
Tue Jul 09, 2019 3:12 pm
Forum: Suggestion Box
Topic: star trek ships?
Replies: 44
Views: 9876

Re: star trek ships?

You might want to ask on the Linux subforum about freeware programs (for, even if you are not on Linux, those folks are likely to know of freeware stuff - some of which might work on other operating systems). As to unweaving the rainbow, as it were: I haven't found that this diminishes my appreciati...
by UK_Eliter
Mon Jun 24, 2019 2:00 pm
Forum: Expansion Pack
Topic: Commies.oxp (v2.07)
Replies: 141
Views: 74281

Re: Commies.oxp (v2.07)

Good stuff, phkb!
by UK_Eliter
Mon Jun 03, 2019 2:59 am
Forum: Expansion Pack
Topic: How to check an entity's altitude?
Replies: 16
Views: 2965

Re: How to check an entity's altitude?

Thanks very much Rustem. I'm seeing what I can get working . .
by UK_Eliter
Fri May 31, 2019 12:21 pm
Forum: Expansion Pack
Topic: Scripters cove
Replies: 1474
Views: 356020

Re: Scripters cove

Thanks! I'll have a go with that code and with the ideas offered elsewhere by rustem.
by UK_Eliter
Thu May 30, 2019 10:59 pm
Forum: Expansion Pack
Topic: Scripters cove
Replies: 1474
Views: 356020

Re: Scripters cove

Dear all I am after a way of setting a (any) perpendicular course from a celestial object (sun or planet or secondary planet - or, better: a roughly - not exactly, i.e. I want some randomisation. I know how to get the celestial entity - with all its properties, I think - as an element in an array, b...
by UK_Eliter
Thu May 30, 2019 9:22 pm
Forum: Expansion Pack
Topic: How to check an entity's altitude?
Replies: 16
Views: 2965

Re: How to check an entity's altitude?

phkb, Yes indeed! That's the stuff! The magic of Oolite and Javascript! I now have the escorts recognising - without too much system load - when they are close to celestial bodies, messaging the player about it, and sometimes temporarily refusing to go further. The next and - for the moment, last - ...
by UK_Eliter
Wed May 29, 2019 1:31 pm
Forum: Expansion Pack
Topic: How to check an entity's altitude?
Replies: 16
Views: 2965

Re: How to check an entity's altitude?

Thanks, phkb! One more (slightly involved) thing, if I may. I'm making progress, but I'd like the calcAltitudeForShip function to return, additionally, a boolean that is true if and only the player is moving towards the nearest celestial body. To that, I imagine we'd need to check the ship's speed (...
by UK_Eliter
Wed May 29, 2019 1:57 am
Forum: Expansion Pack
Topic: How to check an entity's altitude?
Replies: 16
Views: 2965

Re: How to check an entity's altitude?

Also, I've forgotten how to get AI state changes - using plist AIs - to get logged in the main Oolite log. The following, in a ship script, doesn't seem to do it (even though I have the debugOXZ installed). this.debug = true; var consoleDebugMessages; if ( this.debug === true ) { this.logging = true...
by UK_Eliter
Wed May 29, 2019 12:45 am
Forum: Expansion Pack
Topic: How to check an entity's altitude?
Replies: 16
Views: 2965

Re: How to check an entity's altitude?

Hmm! I have not yet tested - I've only just finished the first draft of my code - but: The aegis check is part of the system update and messages needs no command to generate them. The following messages are only generated when the status changes. "AEGIS_CLOSE_TO_PLANET": Within 3x planetary radius o...
by UK_Eliter
Tue May 28, 2019 11:32 pm
Forum: Expansion Pack
Topic: How to check an entity's altitude?
Replies: 16
Views: 2965

Re: How to check an entity's altitude?

Marvellous. I will use that code - in conjunction with the automatically generated AI messages. For, I'll do this. When a hiredGun receives a 'CLOSE_TO_<SOMETHING>' message, I'll start a timer that calls your js code and reacts to its findings; when a hiredGun receives an 'AWAY_FROM_<SOMETHING>' mes...
by UK_Eliter
Tue May 28, 2019 5:47 pm
Forum: Expansion Pack
Topic: How to check an entity's altitude?
Replies: 16
Views: 2965

Re: How to check an entity's altitude?

phkb: thanks for the reply. Now . . > What I did notice is that the older plist AI methods have some messages you can respond to: AEGIS_CLOSE_TO_MAIN_PLANET, CLOSE_TO_PLANET, CLOSE_TO_MOON, and CLOSE_TO_SECONDARY_PLANET. I'm not sure if equivalent functions exist in the newer PriorityAI. I am using ...
by UK_Eliter
Sun May 26, 2019 7:41 pm
Forum: Expansion Pack
Topic: How to check an entity's altitude?
Replies: 16
Views: 2965

How to check an entity's altitude?

Dear all I'm updating Thargoid's HiredGuns OXP (with his permission). One thing that needs changing is the tendency of the escorts (the 'hired guns') to crash into planetary bodies. Now, I am having trouble determining how close they are to such bodies. True, there are various messages Oolite gives ...
by UK_Eliter
Fri May 10, 2019 3:48 pm
Forum: Expansion Pack
Topic: Escape Pod Tweaks
Replies: 34
Views: 11506

Re: Escape Pod Tweaks

OK, thanks!