Join us at the Oolite Anniversary Party -- London, 7th July 2024, 1pm
More details in this thread.

Search found 364 matches

by dajt
Sat Feb 03, 2007 1:43 am
Forum: Suggestion Box
Topic: Anyone want to write scripts using JavaScript?
Replies: 37
Views: 24188

Yes, you can use local vars, functions, etc. All JavaScript language features are available.

Local vars won't hold their value between two different invocations of the script.
by dajt
Fri Feb 02, 2007 9:33 am
Forum: Oolite-PC
Topic: Textured planets experiment - discussion here
Replies: 85
Views: 63231

We can unload the textures and I did have code to try and do that for the planet textures, but my lack of Obj-C knowledge bit me and I couldn't make a simple LRU cache work! Pretty embarrasing. If we pre-generate all textures for all planets we'll end up with 2048 images on disk which will take a lo...
by dajt
Fri Feb 02, 2007 5:23 am
Forum: Suggestion Box
Topic: Anyone want to write scripts using JavaScript?
Replies: 37
Views: 24188

I have posted a Win32 installer for the latest code from the "javascript" branch. Get it from the Oolite-PC site: https://developer.berlios.de/project/showfiles.php?group_id=2999 This has the basic JavaScript scripting ability, which should be able to reproduce any existing OXP's main scri...
by dajt
Fri Feb 02, 2007 3:32 am
Forum: Discussion
Topic: What is happening on the PC?
Replies: 15
Views: 8630

I've transferred the equipment work to the javascript branch, because it could turn into a huge job and I don't want to wreck the trunk. I have managed to colour-code each item on the status screen now with orange if it is up to 75% damaged, and red if it is worse than that. Same goes for the equip ...
by dajt
Thu Feb 01, 2007 11:37 pm
Forum: Oolite-PC
Topic: Textured planets experiment - discussion here
Replies: 85
Views: 63231

libnoise can make planets look every bit as good as that, including all the way down to the surface. But it is too slow to do that in-game. The basic idea for well textured planets is simple - the planet just asks for its texture when it is being initialised, and something generates it. The "so...
by dajt
Thu Feb 01, 2007 11:33 pm
Forum: Discussion
Topic: Detailed Textures*
Replies: 183
Views: 77193

That's excellent Sung. Thankyou very much for helping Oolite look really cool.

You, Griff, and a few others can make a huge difference Oolite with these new textures and ships.
by dajt
Thu Feb 01, 2007 11:28 am
Forum: Discussion
Topic: What is happening on the PC?
Replies: 15
Views: 8630

There is an "else" so you can make a "not" with that. See http://wiki.alioth.net/index.php/Script.plist . Something like this to make something happen everywhere but Lave: <key>conditions</key> <dict> <array> <string>planet_number equal 7</string> <string>galaxy_number equal 0</s...
by dajt
Thu Feb 01, 2007 3:05 am
Forum: Discussion
Topic: What is happening on the PC?
Replies: 15
Views: 8630

*And to be able to have the player's ship stored while he flies a borrowed ship for racing or military missions. *And to check and set variables for the state of repair for the hull and installed equipment. While looking at the first of these (for the capture ships feature I was doing) I decided to...
by dajt
Tue Jan 30, 2007 11:07 am
Forum: Suggestion Box
Topic: Wishes, pleas, suggestions and demands!
Replies: 50
Views: 28412

Giles posted the wings files for the basic set of ships at http://capnhack.com/hosting/oolite/Oolite/OoSat.html.
by dajt
Mon Jan 29, 2007 3:51 am
Forum: Oolite-PC
Topic: Textured planets experiment - discussion here
Replies: 85
Views: 63231

Various people have requested texures for the suns. I am playing around with this, on and off. Here is a sample rendering of a sun texture . There is no atmosphere and no sunspots yet. As LB hinted near the beginning of the thread they could be done similarly to how the clouds are done. Nor is the s...
by dajt
Sun Jan 28, 2007 9:58 pm
Forum: Discussion
Topic: Lights and reflections?
Replies: 7
Views: 2599

Hey, you are still here :) Good to hear from you again.
by dajt
Sun Jan 28, 2007 10:24 am
Forum: Expansion Pack
Topic: Tescoo Bulk Carrier
Replies: 37
Views: 22861

Try the switchLightsOn AI command. See http://wiki.alioth.net/index.php/OXP_howto_AI. If you've defined the lights the same way as on the vipers it will probably work.
by dajt
Sat Jan 27, 2007 10:19 pm
Forum: Discussion
Topic: Lights and reflections?
Replies: 7
Views: 2599

Giles and Ahruman had a few conversations in the theads about this that went over everyone else's heads. I think the shader work was meant to do some of this stuff. But shaders can only be guaranteed on the Mac - for instance I have no hardware capable of running Giles shader code. There might be ot...
by dajt
Sat Jan 27, 2007 10:45 am
Forum: Suggestion Box
Topic: Salvaging ships
Replies: 19
Views: 15006

Made some progress tonight. Now the sequence of events is: 1. Find yourself an abandoned ship. 2. Fire the REMORA at it. 3. If the REMORA hits it sends a signal to the GalCop station to launch a pilot boat to carry a pilot out to fetch the wreck. 4. The pilot boat comes out and "drops off a pil...
by dajt
Sat Jan 27, 2007 1:35 am
Forum: Expansion Pack
Topic: Enterprise-D ship- Coming to life in Oolite!
Replies: 38
Views: 28381

It could be something to do with the docking ports facing backwards. I think the behemoths have this feature so maybe a look at how they are put together would provide enlightenment.