Search found 1103 matches

by UK_Eliter
Tue Aug 27, 2019 6:57 am
Forum: Expansion Pack
Topic: Tinkerer's Workshop - OXP tweaking for fun and profit!
Replies: 234
Views: 140841

Re: Tinkerer's Workshop - OXP tweaking for fun and profit!

This sounds fun! I'll test it if I get a mo. (Sorry for the very late reply!)
by UK_Eliter
Tue Aug 27, 2019 6:53 am
Forum: Expansion Pack
Topic: Known errors: a summary
Replies: 50
Views: 7703

Re: Known errors: a summary

Fleurgy (if I may so call you), I've just noticed that in your initial post in this thread you said No errors found in Extra Thargoids, but it has a tendency to report them when errors occur in other OXZs. Can anyone explain? I think you have in mind error messages in the log about ships wanting to ...
by UK_Eliter
Wed Aug 21, 2019 3:28 pm
Forum: Discussion
Topic: Oooops ... how far can I go?
Replies: 8
Views: 2187

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: 50
Views: 7703

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: 10657

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: 142
Views: 77941

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: 3748

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: 362388

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: 362388

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: 3748

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: 3748

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: 3748

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: 3748

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: 3748

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: 3748

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 ...