Search found 348 matches

by NMS
Sat May 20, 2017 5:05 am
Forum: Ideas & Suggestions
Topic: Let's argue about cargo holds!
Replies: 26
Views: 354

Re: Let's argue about cargo holds!

I rarely fail to find a cargo hold in the first few systems, but I wouldn't object to it being more reliable. Maybe shipyards should carry other non-combat equipment, like cargo holds and drives?
by NMS
Fri May 19, 2017 1:49 am
Forum: Ideas & Suggestions
Topic: Let's argue about cargo holds!
Replies: 26
Views: 354

Re: Let's argue about cargo holds!

So if you're serious about retaining the tradeoffs between cargo capacity and performance (whether this is a good idea is a separate conversation entirely), then at bare minimum you need to make that be an explicit choice the player can make. That means a) telling them that cargo holds exist, b) gi...
by NMS
Thu May 04, 2017 4:42 pm
Forum: Beginner's Luck
Topic: Quick Question about looted items
Replies: 13
Views: 264

Re: Quick Question about looted items

Not all weapon or shield stations will buy damaged wepons/shields and they may also refuse to buy anymore if you sold too many to them. Specifically, each weapon/armor station is for a specific manufacturer (e.g. a Rasiermessier station) and will only buy equipment made by that manufacturer. No, th...
by NMS
Mon Apr 24, 2017 7:30 pm
Forum: Modding Reference
Topic: Function List — 1.7 (API 35)
Replies: 5
Views: 226

Re: Function List — 1.7 (API 35)

I could tell that most of it was joking, but I thought there might be some serious complaints in there. Anyway, "leave" is fine, it's the imperative tense. :P (It is a bit confusing that the property is 'alwaysLeaveWreck while the XML attribute is leavesWreck=, but they both work and changing it now...
by NMS
Mon Apr 24, 2017 3:55 am
Forum: Modding Reference
Topic: Function List — 1.7 (API 35)
Replies: 5
Views: 226

Re: Function List — 1.7 (API 35)

This is... more insane than usual, but I'll point out a few things: - This isn't really the place to complain about changes to the API. You should probably make a new thread in Shipyards, or a Ministry ticket if they actually break existing functionality. - Deprecated functions generally still work,...
by NMS
Sun Apr 23, 2017 11:54 pm
Forum: Transcendence Tech Support
Topic: Just Noticed Code.Xml missing this :
Replies: 2
Views: 83

Re: Just Noticed Code.Xml missing this :

scrShowBuyScreen is defined in HSCompatibility.xml. You shouldn't need to include that code in your mod as long as you declare unidHumanSpaceLibrary.
by NMS
Sat Mar 25, 2017 7:32 am
Forum: Ideas & Suggestions
Topic: Armor balance discussion
Replies: 52
Views: 853

Re: Armor balance discussion

There are a lot of good points here. But I disagree with the people who are down on titanium barricades. I consider the doubles (level 3) about as good as level 5s and the quads (level 4) better than level 6s (except maybe blast plate because of the convenience of rad immunity). Sure, they have less...
by NMS
Sat Mar 18, 2017 12:27 am
Forum: Commonwealth
Topic: Forum theme
Replies: 42
Views: 1051

Re: Forum theme

Well, if you can tolerate a light background, prosilver is still working, and more compact.
by NMS
Wed Mar 15, 2017 3:56 am
Forum: Modding Reference
Topic: XML modification tutorial
Replies: 5
Views: 153

Re: XML modification tutorial

IMPORTANT EDIT: I put a typo in my request topic which was inadvertantly carried over to this topic. I corrected the string in the first post. Some clarification if possible. "Tag" is the term for the name of an XML element. Any element that's inside another element is considered a subelement of th...
by NMS
Sun Mar 12, 2017 3:08 pm
Forum: Modding Reference
Topic: Function List — 1.7b6 (API 35)
Replies: 8
Views: 261

Re: Function List — 1.7b6 (API 35)

You're welcome. And I'd been meaning to write a function that substitutes for arbitrary text in a string anyway. You may find there are more changed functions than expected. It turns out a bunch of functions have had % symbols in their help text all along, but they were being stripped in the output ...
by NMS
Sun Mar 12, 2017 5:19 am
Forum: Modding Reference
Topic: Function List — 1.7 (API 35)
Replies: 5
Views: 226

Function List — 1.7 (API 35)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ F U N C T I O N L I S T (!= x1 x2 ... xn) -> True if any arguments are not equal (* x1 x2 ... xn) -> z (+ x1 x2 ... xn) -> z (- x y) -> z (- x) -> -x (/ x y) -> z (< x1 x2 ... xn) -> True if x1 < x2 < ... < xn (<= x1 x2 ... xn) -> True if x1 <= x2 <= ... <= xn (= x1 ...
by NMS
Sat Mar 11, 2017 10:48 pm
Forum: Modding Reference
Topic: XML modification tutorial
Replies: 5
Views: 153

Re: XML modification tutorial

Thanks! OK, advanced topics: Deleting a subelement by name The (xmlDeleteSubelement) function doesn't accept a tag, only an index. So you have to find the index of the element you want to delete. For instance, suppose that the <Trade> element in the Korolov example might already have a <SellShip> el...
by NMS
Sat Mar 11, 2017 8:29 am
Forum: Shipyards
Topic: XMLAppendSubElement perhaps?
Replies: 1
Views: 55

Re: XMLAppendSubElement perhaps?

We've been in need of a tutorial on these functions, so I used this as an example to write one:
https://forums.kronosaur.com/viewtopic.php?f=8&t=8049
by NMS
Sat Mar 11, 2017 8:28 am
Forum: Modding Reference
Topic: XML modification tutorial
Replies: 5
Views: 153

XML modification tutorial

Have you ever wanted to make a mod that makes a small change to an existing type? If you read the Modding Reference section, I'm sure you have. Overriding the entire type may mean including huge amounts of code from the core game with only slight changes, and makes your mod incompatible with other m...
by NMS
Sat Mar 11, 2017 5:37 am
Forum: Beginner's Luck
Topic: Little known facts that could help your game
Replies: 10
Views: 589

Re: Little known facts that could help your game

I think you're both right. If the player has more of the item than the station, they will always be willing to buy and pay full price. If not, they may still pay full price as long as the number they have is small compared to the typical quantity of the item (numberAppearing). I'm not sure exactly w...