Search found 485 matches

by NMS
Mon Nov 12, 2018 7:48 am
Forum: Ideas & Suggestions
Topic: Fuel efficiency for starting ships
Replies: 2
Views: 265

Re: Fuel efficiency for starting ships

Players generally spend a lot more time traveling and in dockscreens than fighting, so the standby power use is more important. That's much more heavily weighted towards shields' power use.
by NMS
Fri Nov 09, 2018 7:23 am
Forum: Shipyards
Topic: various questions and stuff
Replies: 32
Views: 5046

Re: various questions and stuff

I think you'd have to use XML functions to get the damage string and find "mining:" in it.
by NMS
Fri Nov 09, 2018 6:49 am
Forum: Shipyards
Topic: setting cursor pos to an item in OnGlobalPaneInit
Replies: 6
Views: 3569

Re: setting cursor pos to an item in OnGlobalPaneInit

The reason you're getting freezes is that you removed this section from my code: (if (neq (scrGetListCursor gScreen) cursor) (block Nil (scrSetListCursor gScreen 0) (setq done True) ) ) If you set the cursor to a value, but then getting the cursor doesn't return that value, you've reached the end of...
by NMS
Wed Oct 31, 2018 11:49 am
Forum: Beginner's Luck
Topic: A few beginner's questions
Replies: 4
Views: 4712

Re: A few beginner's questions

Welcome to the forum! I don't think you'll be able to complete the mission, and it will prevent you from getting a few more missions. But they're not important to completing the game and don't seem to have any rewards. You seem well equipped, assuming you have decent armor and missiles. I don't thin...
by NMS
Wed Oct 31, 2018 10:51 am
Forum: Shipyards
Topic: setting cursor pos to an item in OnGlobalPaneInit
Replies: 6
Views: 3569

Re: setting cursor pos to an item in OnGlobalPaneInit

Maybe this? (block ( (theItem (scrGetItem gScreen)) (cursor 0) done ) (scrRefreshScreen gScreen) (loop (not done) (scrSetListCursor gScreen cursor) (if (neq (scrGetListCursor gScreen) cursor) (block Nil (scrSetListCursor gScreen 0) (setq done True) ) ) (if (eq theItem (scrGetItem gScreen)) (setq don...
by NMS
Thu Oct 25, 2018 11:44 pm
Forum: Bug Reports & Tech Support
Topic: Eternity Port main story broke
Replies: 2
Views: 6241

Re: Eternity Port main story broke

The very first Ministry ticket I opened was about problems with gating out during certain missions, including that one.

That station name belongs to the type stNAUAtlasBase, but I don't see anything wrong with its dockscreens. Weird.
by NMS
Thu Oct 25, 2018 11:32 pm
Forum: Stable (v1.7) Bug Reports
Topic: Autons hit stations which trigger them to become hostile to you
Replies: 1
Views: 754

Re: Autons hit stations which trigger them to become hostile to you

In 1.8 AI ships are more accurate and better at avoiding friendly fire.
by NMS
Mon Oct 22, 2018 4:25 am
Forum: Shipyards
Topic: various questions and stuff
Replies: 32
Views: 5046

Re: various questions and stuff

Stations can use <ImageVariants>, but I'm not sure about ships.
by NMS
Thu Oct 11, 2018 7:35 am
Forum: Shipyards
Topic: finding jettisoned cargo crates on creation help please
Replies: 2
Views: 449

Re: finding jettisoned cargo crates on creation help please

Hmm. The global variables gSource and aScreenUNID get set when a screen opens, but they don't get unset when it's closed. Also, if your code is in another type's event, it may set gSource to its own type or object. So it's better to rely on (scrGetScreen gScreen). But note that it's an error if no s...
by NMS
Thu Oct 11, 2018 6:30 am
Forum: Shipyards
Topic: detecting system map use query
Replies: 2
Views: 400

Re: detecting system map use query

I don't think there's currently a way to do this without modifying the code of the items. There's no event like OnGlobalPlayerUsedItem, although it could be useful. And OnInvokedByPlayer only works for powers. Technically, a mod could use XML functions to add code to their Invoke events without chan...
by NMS
Tue Sep 25, 2018 6:21 am
Forum: Shipyards
Topic: auton naming bug?
Replies: 2
Views: 869

Re: auton naming bug?

In 1.8 Beta 3.3 you can now get the actual names of autons without using 'noEvent.
by NMS
Fri Sep 21, 2018 3:20 am
Forum: Shipyards
Topic: finding lists in lists code help please
Replies: 2
Views: 497

Re: finding lists in lists code help please

Is entryToAdd a global variable that you aren't clearing each time, by any chance? That would cause the new results to be appended to the previous results each time you run it. If that's not the case, then I'd guess there are repeated entries in sortedMatchingItemList. However, there's probably a be...
by NMS
Wed Sep 05, 2018 8:54 am
Forum: Announcements
Topic: 1.8 Beta 2 is ready!
Replies: 23
Views: 21026

Re: 1.8 Beta 2 is ready!

The "Unable to initialize universe" error only occurs if there's a crash in CUniverse::Init. Unfortunately, that's a long function that calls many other functions. Hmm, I guess I could compile a version of the engine where each one is in a separate try/catch to narrow it down.
by NMS
Tue Sep 04, 2018 6:38 am
Forum: Shipyards
Topic: adding Benedict to other adventures query
Replies: 2
Views: 465

Re: adding Benedict to other adventures query

If The Network is an adventure itself, probably extending another adventure doesn't work. If it's an extension, I would think that extending SotP would work, but might include things you don't want or prevent you from creating the topology you want. (I don't know much about that.) I'm not sure if ex...
by NMS
Tue Aug 28, 2018 2:29 am
Forum: Ideas & Suggestions
Topic: Looking for comment/suggestions: Tinker redevelopment WIP
Replies: 12
Views: 4212

Re: Looking for comment/suggestions: Tinker redevelopment WIP

Tinkers are already useful financially. I don't know if they also need a huge number of new features. Repairing damaged items (up to a reasonable level) would be on-theme though. Mostly, they need need recipes for items that are useful but not overpowered at levels where you can find the stations an...