Search found 431 matches
- Fri Apr 13, 2018 1:56 am
- Forum: Shipyards
- Topic: customPicker list counting query
- Replies: 2
- Views: 91
Re: customPicker list counting query
(enum (unvFindObject (cat "t +unid:" theUnid ";")) theEntry ([email protected] result (@ theEntry 2) (lnkAppend (@ result (@ theEntry 2)) theEntry)) ) Assuming result is Nil to start, this should set it to a struct where each key is a node and the corresponding value is a list of the entries returned by unvFind...
- Mon Apr 09, 2018 10:38 am
- Forum: Ideas & Suggestions
- Topic: mission feedback
- Replies: 4
- Views: 538
Re: mission feedback
These seem to be related to msKorolovAtCharon in KSMissionC01.xml. The ship classes are Ronin A and B and EI200. The orders are guard and dock. So the first set of errors are probably from the OnGlobalSystemStarted event, but I don't see why it wouldn't work. The other error is in the OnTimerAttack2...
- Thu Apr 05, 2018 7:07 am
- Forum: Commonwealth
- Topic: The Uzun Targeting Scanner is Real!
- Replies: 2
- Views: 183
Re: The Uzun Targeting Scanner is Real!
In all seriousness, I did manage to implement the Uzun. But George didn't want to pull it into Corporate Command because it's really hacky and complicated and he wants to do it by allowing tracking to be an enhancement, which would be useful for other purposes and break any saves using my version. F...
- Sat Mar 31, 2018 4:43 am
- Forum: Modding Reference
- Topic: Function List — 1.8b1 (API 40)
- Replies: 5
- Views: 341
Re: Function List — 1.8b1 (API 40)
Looks like you're using a version of the script that doubles % characters to escape them, and it's no longer necessary. I think this is my newest version, which excludes aliases of primitives, finally fixing the last out-of-place entry, and adds a list of lambda functions.
- Tue Mar 27, 2018 5:59 am
- Forum: Shipyards
- Topic: various questions and stuff
- Replies: 7
- Views: 234
Re: various questions and stuff
I think "type" and "design type" mean the same thing in this context.
- Sat Mar 24, 2018 9:23 pm
- Forum: Shipyards
- Topic: various questions and stuff
- Replies: 7
- Views: 234
Re: various questions and stuff
The level 6 Centurion playership which has been added in 1.8b1 for ship broker screens is level 6 but I can't see where this is set. Is it auto-calculated by the game if no level is set in code? If not specified, it uses the highest level installed equipment. With github and pull requests, etc, how...
- Sat Mar 24, 2018 8:38 pm
- Forum: Announcements
- Topic: 1.8 Beta 1 is ready!
- Replies: 58
- Views: 9020
Re: 1.8 Beta 1 is ready!
I'll submit a pull request and Ministry ticket.
Edit: Nevermind, George has already got it in his version.
Edit: Nevermind, George has already got it in his version.
- Thu Mar 22, 2018 4:38 am
- Forum: The Drawing Board
- Topic: Derakon plays around with ideas
- Replies: 20
- Views: 637
Re: Derakon plays around with ideas
If there's no code in the block after the local variable list, it evaluates to Nil, which in this event tells the game to fire the normal shot.
- Wed Mar 21, 2018 7:55 am
- Forum: The Drawing Board
- Topic: The Final Strike
- Replies: 55
- Views: 5496
Re: The Final Strike
Although the first 16 or so UNIDs in TheFinalStrike.xml have 8 digits after the '0x' as is usual, after that they all have 9 digits. eg, dsAquilaShipInterior is 0xDE1100801. Doesn't appear to affect anything though. A 32 bit int is equivalent to 8 hexadecimal digits, so I think all but the last 8 w...
- Wed Mar 21, 2018 7:45 am
- Forum: The Drawing Board
- Topic: Derakon plays around with ideas
- Replies: 20
- Views: 637
Re: Derakon plays around with ideas
I see, the sprinkler is oscillating in a narrow arc, not rotating all the way around (that would be pretty hard to use, I guess). Nice. But does the call to objSetItemData actually do anything? Do you check the data somewhere else? If not, you could just replace it with 'shotFired (or really anythin...
- Wed Mar 21, 2018 7:20 am
- Forum: Shipyards
- Topic: invalid xml tag only in debug
- Replies: 2
- Views: 122
Re: invalid xml tag only in debug
Someone pointed out that proper XML doesn't allow tags to start with numerals. But the game handles it, so it's only checked in debug mode.
00182001_Donation should be replaced with sisters.donation, or even more properly, Data id="sisters.donation".
00182001_Donation should be replaced with sisters.donation, or even more properly, Data id="sisters.donation".
- Wed Mar 21, 2018 7:14 am
- Forum: Ideas & Suggestions
- Topic: visible charges
- Replies: 6
- Views: 231
Re: visible charges
There is a ticket for making the number of charges visible. However, armor repair items don't use charges, they just have a chance of not being used up when repairing less than the maximum amount. (The chance of being used up is the fraction of the maximum amount that they repair plus a constant, s...
- Tue Mar 20, 2018 9:47 am
- Forum: The Drawing Board
- Topic: Derakon plays around with ideas
- Replies: 20
- Views: 637
Re: Derakon plays around with ideas
These are really neat! So you got the "sprinkler" working the way you wanted? Because there are several issues with the code you posted for that which I could get into. The wiki is not kept perfectly up to date, but it does have a lot of useful information. For instance, the weapon page has info abo...
- Wed Mar 14, 2018 7:25 am
- Forum: Announcements
- Topic: 1.8 Beta 1 is ready!
- Replies: 58
- Views: 9020
Re: 1.8 Beta 1 is ready!
Oh, I was looking at a single commit. You added the call to StrSubString in a later one.
- Wed Mar 14, 2018 12:56 am
- Forum: Announcements
- Topic: 1.8 Beta 1 is ready!
- Replies: 58
- Views: 9020
Re: 1.8 Beta 1 is ready!
Edit: Found one of my typos in the engine (can you see it?): https://github.com/kronosaur/Mammoth/blob/a4fb05b21762cd608a09c69bc55b2e9cd790b66a/TSE/CDesignCollection.cpp#L795 Ah, copy/paste error. for (i = 0; i < m_EventsCache[evtOnGlobalIntroStarted]->GetCount(); i++) Should be evtOnGlobalIntroCom...