Search found 400 matches

by NMS
Sat Nov 18, 2017 10:31 pm
Forum: Beginner's Luck
Topic: How do I Destroy a Ares Phobos Class Destroyer?
Replies: 8
Views: 64

Re: How do I Destroy a Ares Phobos Class Destroyer?

Fighting a Phobos at close range with a forward-firing weapon is possible, but difficult. With a maneuverable ship like the Wolfen, it's possible to dodge its main gun shots. With a bit of experience, it's also possible to anticipate when its turrets are about to be ready and back away. With a bit m...
by NMS
Tue Nov 14, 2017 4:27 am
Forum: Shipyards
Topic: autom naming bug?
Replies: 1
Views: 48

Re: autom naming bug?

This is a consequence of the <GetName> event I added to the auton item base class recently. Unfortunately, there doesn't currently seem to be any way to write this event so it respects certain flags passed to (itmGetName). I've opened a Ministry ticket . In the mean time, you can use '(actual noEven...
by NMS
Sat Nov 11, 2017 9:03 pm
Forum: Announcements
Topic: 1.8 Alpha 3
Replies: 15
Views: 1524

Re: 1.8 Alpha 3

griffen26 wrote:
Sat Nov 11, 2017 1:38 am
i have 1.7 my game will not update to 1.8 please help
The current 1.8 release is still an alpha version. Release versions only update to other official release versions. You can download 1.8 from the link in the first post.
by NMS
Tue Nov 07, 2017 4:07 pm
Forum: Shipyards
Topic: partial name item search query
Replies: 5
Views: 98

Re: partial name item search query

One thing I was wondering is whether I need to destroy the stations after using them. If I'm doing a lot of testing I can use the item lists dozens of times. Do they build up and cause problems in any way? According to George, virtual stations cease to exist as soon as nothing is referencing them, ...
by NMS
Tue Nov 07, 2017 3:28 pm
Forum: Shipyards
Topic: new language guidelines help please
Replies: 6
Views: 115

Re: new language guidelines help please

I'm pretty sure global variables will not replace parameters, they have to be in a struct. But (scrSetData gScreen parameter value) or ([email protected] gData parameter value) might work if the screen is already open but the text you want to affect isn't generated yet.
by NMS
Mon Nov 06, 2017 3:10 pm
Forum: Mod Announcements
Topic: Close Quarter Combat
Replies: 4
Views: 375

Re: Close Quarter Combat

Updated to version 1.3 Nov 6 2017 to fix a mistake in handling weapons with relativisticSpeed < 90.
The multiplier is actually 100 / (100 - speed) .
by NMS
Sat Nov 04, 2017 4:00 pm
Forum: Shipyards
Topic: partial name item search query
Replies: 5
Views: 98

Re: partial name item search query

Glad it's working. But a couple points: - It looks like you're passing searchTerm to the station as a global variable. This works, but isn't considered best practice. It's better to pass it via the data argument of scrShowScreen or set data on a type or object. - I think you're permanently identifyi...
by NMS
Sat Nov 04, 2017 3:24 pm
Forum: Shipyards
Topic: new language guidelines help please
Replies: 6
Views: 115

Re: new language guidelines help please

I didn't know about the non-hex name flags. Good stuff and much easier. ... More of your work, I believe. I'm not responsible for the human-readable flags, but I did suggest the need for the last two. (scrSetActionLabel gScreen 'actionDone Nil Nil '(default cancel)) I finally worked out that this l...
by NMS
Wed Nov 01, 2017 11:22 am
Forum: Commonwealth
Topic: Ship prices
Replies: 29
Views: 2875

Re: Ship prices

A lot of the wiki is pretty out of date. You can get the game data by decompiling the files or downloading them from gitHub . Also, this kind of thing is much quicker to get via a TLisp function. Here's one I just wrote, and the result. (This only gets the value of one possible configuration for shi...
by NMS
Wed Nov 01, 2017 9:56 am
Forum: Shipyards
Topic: partial name item search query
Replies: 5
Views: 98

Re: partial name item search query

I don't think there are any other functions that do that. Lookup is the same as find except it returns the thing it finds rather than its position in a string or list. (This could have been useful in conjunction with the keyIndex argument, but most things it would have been used for are probably eas...
by NMS
Wed Nov 01, 2017 8:10 am
Forum: Shipyards
Topic: new language guidelines help please
Replies: 6
Views: 115

Re: new language guidelines help please

I've already updated this screen in this commit . Here's the new version (sorry about the indentation; it looks better with indent size 4): <DockScreen UNID="&dsRPGLoot;" type= "itemPicker" nestedScreen= "true" inherit= "&dsDockScreenBase;" > <ListOptions dataFrom= "=(or (@ gData 'sourceObj) 'statio...
by NMS
Sun Oct 29, 2017 6:24 am
Forum: Commonwealth
Topic: Ship prices
Replies: 29
Views: 2875

Re: Ship prices

First, this thread was almost 7 years old. Second, I think they were trying to estimate the cost of building ships in a more realistic way, taking into account the cost of the hull, drive, labor, etc., not just the removable devices. Third, don't bother with the autons, I already have that info in a...
by NMS
Thu Oct 26, 2017 9:19 am
Forum: Shipyards
Topic: .Bat file text for compiling a .TDB ?
Replies: 6
Views: 136

Re: .Bat file text for compiling a .TDB ?

Are you trying to run them by opening them in Explorer? That doesn't work. You have to run them from the command line or via a .bat file or shortcut, so you can specify one or more arguments.
by NMS
Sun Oct 22, 2017 3:04 am
Forum: Shipyards
Topic: decimal UNIDs to hex format
Replies: 6
Views: 122

Re: decimal UNIDs to hex format

Not bad, but it doesn't work on negative numbers. Here's a version that does. Maybe I'll add it to my pull request for core. (setq mathDecToHex (lambda (decimal) (block (tokens result negative) (setq tokens '(0 1 2 3 4 5 6 7 8 9 A B C D E F)) (setq decimal (convertTo 'int32 decimal)) (if (ls decimal...
by NMS
Thu Oct 05, 2017 3:42 am
Forum: Ideas & Suggestions
Topic: Proposal: switch the gimmicks on the Freyr and Manticore
Replies: 19
Views: 435

Re: Proposal: switch the gimmicks on the Freyr and Manticore

Added a third poll option. Sorry to the 2 other users who had voted, you'll have to re-vote. Now that devices can enhance armor, the nano repairer could give all armor +50% hp or something to compensate for no shield and offset Manticore's squishiness. Admittedly, it will not help if player wants a ...