And then fleeing fast, far away from the combat center, before coming back to your designated victimDisembodied wrote: ↑Tue Jul 18, 2017 11:17 amwhich is an argument in favour of getting in close, fast.
Join us at the Oolite Anniversary Party -- London, 7th July 2024, 1pm
More details in this thread.
More details in this thread.
Search found 545 matches
- Tue Jul 18, 2017 1:51 pm
- Forum: Discussion
- Topic: Any combat tips?
- Replies: 29
- Views: 23809
Re: Any combat tips?
- Tue Jul 18, 2017 7:00 am
- Forum: Discussion
- Topic: How do you change the FOV?
- Replies: 10
- Views: 9298
- Mon Jul 17, 2017 8:10 am
- Forum: Expansion Pack
- Topic: [WIP] Diplomancy OXP
- Replies: 109
- Views: 130061
Re: [WIP] Diplomacy OXP
I think a single message saying "Allegiances have changed" and then creating an F4 screen that lists all of them that are relevant to the current system (like a short range screen version of the galactic map you currently have) would be helpful. Alternate proposition: - instead of some ne...
- Sun Jul 16, 2017 8:36 am
- Forum: Expansion Pack
- Topic: [WIP] Diplomancy OXP
- Replies: 109
- Views: 130061
Re: [WIP] Diplomacy OXP
Day, I'm noticing something strange going on. After I jump into a system and dock at a station, shortly afterwards I start getting a whole pile of Snooper's news items telling me about a dozen or so new allegiances that have just taken place. Well yes, they're the initial alliances. It's what's exp...
- Sat Jul 08, 2017 9:15 am
- Forum: Expansion Pack
- Topic: OXP Performance tips
- Replies: 89
- Views: 210081
Re: OXP Performance tips
Cool! And certainly 'not obvious' (to me, at least). Remember most of us are self-taught wrt JScript - at first I thought that was another keyword, like self in Python :) I had the same problem the first time I encountered "that" :lol: So you're basically storing a (far) reference as a fu...
- Thu Jul 06, 2017 2:24 pm
- Forum: Expansion Pack
- Topic: OXP Performance tips
- Replies: 89
- Views: 210081
Re: OXP Performance tips
The tip I gave phkb, and I realized then that although it is implicit in what was already exposed, it is not obvious: From: this.$rand = function(max) { return Math.floor((Math.random() * max) + 1); } To: this.$rand = function $rand(max) { var that = $rand; var floor = (that.floor = that.floor || Ma...
- Wed Jul 05, 2017 8:53 am
- Forum: Expansion Pack
- Topic: (Release) Station Dock Control OXP
- Replies: 219
- Views: 177330
Re: (Release) Station Dock Control OXP
Thank you
- Tue Jul 04, 2017 8:20 am
- Forum: Expansion Pack
- Topic: Anarchies 2.8 now available
- Replies: 59
- Views: 59686
Re: Anarchies 2.8 now available
Here is a random idea: what if some very few anarchist systems had their Coriolis station on fire? Griff has made a very nice model back in 2008 but it seems nobody has used it in any OXP yet, perhaps this would be an idea. See his post here: https://bb.oolite.space/viewtopic.php?t=3460&start=1...
- Mon Jul 03, 2017 9:13 am
- Forum: Expansion Pack
- Topic: OXP Performance tips
- Replies: 89
- Views: 210081
Re: OXP Performance tips
In the other scripts: And the subscribers will put their startUp code in: this._startUp = function() { // move your startUp code here }; Submit to you, compel everyone, how will you, 'Master', hmm? :) Granted, your solution is easier to grasp than http://wiki.alioth.net/index.php/Handling_OXP_Depen...
- Mon Jul 03, 2017 9:02 am
- Forum: Suggestion Box
- Topic: Space elevator
- Replies: 8
- Views: 9220
Re: Space elevator
No, space doesn't work like that - there is gravity as long as you're anywhere near a planet or a star, which heavily restricts how real spacecraft behave, and also, a rocket's fuel is a huge component of its mass and most of a Saturn V's take-off weight was fuel + somewhere to put it. In order to ...
- Fri Jun 30, 2017 2:40 pm
- Forum: Expansion Pack
- Topic: OXP Performance tips
- Replies: 89
- Views: 210081
Re: OXP Performance tips
By returning myinnerfunc, you're telling JS that you'll be back (ie. will call the function later) and so it preserves its environment or scope. This is a 'closure': any variables you define will be preserved over each call (but the code itself won't be duplicated if you create many copies). [...] ...
- Fri Jun 30, 2017 1:09 pm
- Forum: Suggestion Box
- Topic: Space elevator
- Replies: 8
- Views: 9220
Re: Space elevator
I assumed it was because no gravity + no friction implies eternal travel?Malacandra wrote: ↑Thu Jun 29, 2017 7:09 amWe know that ships' drives (normal space - not Witchdrive) can run indefinitely without refuelling.
Energy would only be needed to steer.
Malacandra wrote: ↑Thu Jun 29, 2017 7:09 amBut we should have a Space Elevators OXZ anyway, because Rule of Cool.
- Fri Jun 30, 2017 1:06 pm
- Forum: Suggestion Box
- Topic: Fuel Scooping
- Replies: 40
- Views: 44829
Re: Fuel Scooping
I hadn't read the full thread. Now I have :mrgreen: Fuel scooping. Do we have the information of how quirium is produced? If not, probably through industrial fuel scooping. We could have industrial fuel scooping installations :-) And the player could interoperate with them. Solar storms I would inst...
- Fri Jun 30, 2017 8:29 am
- Forum: Expansion Pack
- Topic: OXP Performance tips
- Replies: 89
- Views: 210081
Re: OXP Performance tips
Exactly.hoqllnq wrote: ↑Thu Jun 29, 2017 5:36 pmShould that be:Day wrote: ↑Thu Jun 29, 2017 1:06 pmFor example:Code: Select all
var r = Math.random(); var z = 1000; while (z--) { r(); }
without the parentheses,Code: Select all
var r = Math.random;
so that the value of r becomes (a reference to) the function itself, not the result of calling the function?
- Fri Jun 30, 2017 8:28 am
- Forum: Expansion Pack
- Topic: OXP Performance tips
- Replies: 89
- Views: 210081
Re: OXP Performance tips
Ok, so this part is useless.At best we gain a fraction of a millisecond (averaged over 10k iterations, 100s of nano-seconds), so not much at all, at the expense of readability & explicit typing.
Thanks a lot for the profiling