Search found 475 matches

by NMS
Thu Nov 29, 2018 5:33 am
Forum: Announcements
Topic: 1.8 Beta 3 is Ready!
Replies: 24
Views: 32821

Re: 1.8 Beta 3 is Ready!

Yes. It should be possible to deregister a game with TransData . But I can't get it to work. I just get "Error: can't open {fileName}." even if {fileName} is the name of the file (with or without the extension) in the same folder as TransData or the full path to the file. Looking at the code, this e...
by NMS
Thu Nov 29, 2018 4:38 am
Forum: Announcements
Topic: 1.8 Beta 3 is Ready!
Replies: 24
Views: 32821

Re: 1.8 Beta 3 is Ready!

Yes. It should be possible to deregister a game with TransData . But I can't get it to work. I just get "Error: can't open {fileName}." even if {fileName} is the name of the file (with or without the extension) in the same folder as TransData or the full path to the file. Looking at the code, this e...
by NMS
Sat Nov 17, 2018 5:42 am
Forum: Shipyards
Topic: setting cursor pos to an item in OnGlobalPaneInit
Replies: 6
Views: 3482

Re: setting cursor pos to an item in OnGlobalPaneInit

I fixed the version you uploaded by adding the error check to your function and using it in the action code. But the item moving around in the list is a bit annoying.
by NMS
Wed Nov 14, 2018 8:12 am
Forum: Ideas & Suggestions
Topic: Starting ship balance
Replies: 6
Views: 887

Re: Starting ship balance

Well, there are fewer 20s and more 19s, 21s, and 22s than I expected. But there's still a big cluster in the 18-22 range which contains most of the enemies that are both tough and potentially able to chase the player down. Most of the 25s, 30s, and 35s are Corsairs, Wind Slavers, and Hornets, respec...
by NMS
Tue Nov 13, 2018 9:59 pm
Forum: Ideas & Suggestions
Topic: Starting ship balance
Replies: 6
Views: 887

Re: Starting ship balance

In general, I'm not sure you're taking into account that most stats have decreasing marginal utility. For instance, the 3rd and 4th unrestricted slots on a gunship are much more valuable than the 6th and 7th non-weapon slots on the EI500, though the marginal benefit of weapon slots probably decrease...
by NMS
Mon Nov 12, 2018 7:48 am
Forum: Ideas & Suggestions
Topic: Fuel efficiency for starting ships
Replies: 2
Views: 221

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: 4737

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: 3482

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: 4653

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: 3482

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: 6175

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: 724

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: 4737

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: 407

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: 376

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...