Search found 1000 matches

by impaktor
Wed Jul 10, 2024 12:34 pm
Forum: Pioneer development
Topic: Updating the wiki mission scripting tutorial
Replies: 51
Views: 20495

Re: Updating the wiki mission scripting tutorial

No, as you've no doubt noticed there's plenty of obsolete code examples on the wiki, because we've changed how things are done, how modules are imported, etc. However, the code that pioneer runs on is always valid (ehum, except when there's bugs in them). Either way, it's good to point a reader to m...
by impaktor
Tue Jul 09, 2024 8:20 pm
Forum: Pioneer development
Topic: Updating the wiki mission scripting tutorial
Replies: 51
Views: 20495

Re: Updating the wiki mission scripting tutorial

Btw, wiki code examples and such will sooner or later become obsolete.

I'd advice to add to the modding wiki, to encourage the student to look at simple modules we have, like the Advice module, 100 lines of code. then look at DonateToCranks for some menu interactions, and DeliverPackage for missions.
by impaktor
Sat Jul 06, 2024 10:39 am
Forum: Pioneer development
Topic: Updating the wiki mission scripting tutorial
Replies: 51
Views: 20495

Re: Updating the wiki mission scripting tutorial

how about a counter: "number of shots fired", using onShipFired
by impaktor
Fri Jul 05, 2024 8:48 pm
Forum: Pioneer development
Topic: Updating the wiki mission scripting tutorial
Replies: 51
Views: 20495

Re: Updating the wiki mission scripting tutorial

We have onGameStart, and plenty of other, like onShipFiring, see list of all events in margin here:

https://codedoc.pioneerspacesim.net/#LuaClass:Event

You could just add a note (and test that it is true): message will be shown next time player initiates docking / landing.
by impaktor
Fri Jul 05, 2024 6:39 pm
Forum: Pioneer development
Topic: Updating the wiki mission scripting tutorial
Replies: 51
Views: 20495

Re: Updating the wiki mission scripting tutorial

This is not just an artifact of "onShipDocked" event not being triggered if starting a new game with ship already docked? (I beleive that change was made "recently")

Anyway, I applaude the effort of bringing the wiki more up to date
by impaktor
Tue May 14, 2024 12:40 pm
Forum: Other space games
Topic: Elite!
Replies: 12
Views: 10376

Re: Elite!

On the MSX disk version of Elite https://thefoggiest.dev/2024/05/13/msx-elite Not that much in the article that is specific to the MSX version, but some interesitng points: On cloaking devices: cloaking devices are often misused in science fiction. When a ship is cloaked, it is invisible, which mean...
by impaktor
Fri Apr 26, 2024 3:14 pm
Forum: Pioneer development
Topic: Various astronomy news
Replies: 151
Views: 212989

Re: Various astronomy news

"China's Moon atlas is the most detailed ever made
The Geologic Atlas of the Lunar Globe doubles the resolution of Apollo-era maps and will support the space ambitions of China and other countries."
https://www.nature.com/articles/d41586-024-01223-0
by impaktor
Wed Apr 24, 2024 8:34 am
Forum: Pioneer development
Topic: Code inspiration and rendering resource
Replies: 120
Views: 147309

Re: Code inspiration and rendering resource

Generating the Jupyter pattern / flowfields (youtube demonstration at bottom of page)
https://emildziewanowski.com/flowfields/
by impaktor
Thu Mar 28, 2024 3:21 pm
Forum: Projects
Topic: New Settlement Sizes
Replies: 13
Views: 2726

Re: New Settlement Sizes

I doubt anyone will take time and read the code dump you did, and it's not clear what the current status in master is that you want to change, nor what the aim is beyond "make it better" / population depend on colony age? And another system, Epsilon Eridani: 1. My version, population of 11...
by impaktor
Wed Mar 27, 2024 10:46 am
Forum: Projects
Topic: New Settlement Sizes
Replies: 13
Views: 2726

Re: New Settlement Sizes

so you'll be more likely to see Megaloposis's of millions on older colony worlds, as opposed to the frontier, where you will see plenty of fresh encampments, 1. Granted. As long as not zero probability for big cities on the frotiner. There can still be new cities that grow explosively, due to being...