Join us at the Oolite Anniversary Party -- London, 7th July 2024, 1pm
More details in this thread.
More details in this thread.
Search found 40 matches
- Fri Jul 11, 2008 7:19 pm
- Forum: Expansion Pack
- Topic: Scripters cove
- Replies: 1717
- Views: 736169
- Thu Jul 10, 2008 8:05 pm
- Forum: Expansion Pack
- Topic: Scripters cove
- Replies: 1717
- Views: 736169
- Mon Jul 07, 2008 8:20 pm
- Forum: Expansion Pack
- Topic: Scripters cove
- Replies: 1717
- Views: 736169
I use the system name to create magic numbers: sum p^i * (a -'A'), p is a prime > 26. Like System Redux I can use the lower bits to decide how many planets the system should have, at most 7 are defined in the planetinfo (at least 32 should be possible). I put those planets on circles in the plane su...
- Mon Jul 07, 2008 5:41 pm
- Forum: Expansion Pack
- Topic: Scripters cove
- Replies: 1717
- Views: 736169
Hi, I've programmed a script which places planets on different orbits around the sun. It iterates over the system.planets list. Is there a way to see what planets were added by me? Actually the script could position planets of other scripts in own orbits as well, but it should skip moons. Don't you ...
- Sat Jul 05, 2008 9:58 am
- Forum: Expansion Pack
- Topic: plannets.oxp - is it still working?
- Replies: 349
- Views: 97290
- Fri Jul 04, 2008 4:57 pm
- Forum: Expansion Pack
- Topic: plannets.oxp - is it still working?
- Replies: 349
- Views: 97290
- Thu Jul 03, 2008 5:38 pm
- Forum: Expansion Pack
- Topic: plannets.oxp - is it still working?
- Replies: 349
- Views: 97290
- Mon Jun 30, 2008 5:18 pm
- Forum: Expansion Pack
- Topic: plannets.oxp - is it still working?
- Replies: 349
- Views: 97290
- Sat Jun 28, 2008 3:28 pm
- Forum: Expansion Pack
- Topic: plannets.oxp - is it still working?
- Replies: 349
- Views: 97290
Welcome Ebi That will teach me for stealing other peoples code. :D If your running version 1.71 you shouldn't need this code anymore, it was just a crap way of texturing the planet until Kaks added the setTexture function. Thank you for the welcome! Ohoh, sorry for being such a smartass, CaptKev, S...
- Fri Jun 27, 2008 10:07 pm
- Forum: Expansion Pack
- Topic: plannets.oxp - is it still working?
- Replies: 349
- Views: 97290
Hi. Replace the code in script.js (except the array at the top) with the code below ... this.movePlanet = function() { let p = system.mainPlanet; if(p) p.setPosition(p.position.add(p.position.subtract(system.sun.position)).multiply(this.multiple)); this.systemDone=true; } okay, this post is quite ol...