Search found 546 matches

by relanat
Fri Jul 13, 2018 12:00 pm
Forum: Shipyards
Topic: function list stuff
Replies: 4
Views: 174

Re: function list stuff

'shpEnhanceItem' doesn't return True/Nil as indicated in the function list. It returns a number, 0-7, which as far as I can determine depends on the result of the enhancement. And this number varies depending on the option [mods] as well. The texts used in 'intItemEnhanceStatus' give an indicator of...
by relanat
Tue Jul 10, 2018 3:20 pm
Forum: The Drawing Board
Topic: Shiplog Captains Log
Replies: 4
Views: 577

Re: Shiplog Captains Log

I noticed a couple of crash reports from toxicfrog which had Captain's log loaded and... well... one thing led to another :!: . Here's a version which sorta works in 1.8b2. I found the source of the crashes and bypassed it so the game shouldn't crash anymore. Still has the vanishing scrDescs but onl...
by relanat
Tue Jul 10, 2018 2:04 pm
Forum: The Drawing Board
Topic: Ship scanning ROM
Replies: 12
Views: 719

Re: Ship scanning ROM

- Your OnCreate event creates a bunch of global variables. :lol: :lol: :lol: As I posted the mod I thought "I wonder what NMS would think of all those 'setq's". :D I started using local variables when writing mods but consistently had to go back and globalize them so I could check which bit of code...
by relanat
Tue Jul 10, 2018 1:27 pm
Forum: Shipyards
Topic: various questions and stuff
Replies: 21
Views: 1003

Re: various questions and stuff

Wow. Thanks for the Mammoth - explored work. That's excellent. RE looting; I'm pretty hazy on the details, it was a couple of version ago, but obj data is added to wrecks after they have been looted, something like '0000c100_marked', to stop NPCs and, I think, salvagers from relooting them. System t...
by relanat
Tue Jul 10, 2018 1:05 pm
Forum: New Developers
Topic: Getting started with git and github
Replies: 15
Views: 1836

Re: Getting started with git and github

Thanks, the terminology can get a bit confusing sometimes. I'm hoping to do some more git work in the next couple of days. George accepted/pulled/commited/merged (which is most appropriate term?) my pull request a couple of weeks ago. Since then this has happened twice: Merge branch 'master' of http...
by relanat
Sat Jul 07, 2018 1:49 am
Forum: Shipyards
Topic: various questions and stuff
Replies: 21
Views: 1003

Re: various questions and stuff

I'll request that 'setExplored thingy' since it should be fairly easy. Thanks. And I really wish that containers were still a hollow green square on the LRS. It makes sense and really helps in gameplay if objects that you want to loot all appear the same and all change color after looting/docking. Y...
by relanat
Sat Jul 07, 2018 1:18 am
Forum: Shipyards
Topic: recurring code query
Replies: 4
Views: 107

Re: recurring code query

Ahh. Got it. I was trying to figure out how 'apply cat' was affecting the 'map' function. But it doesn't. Not in the least. 'map' generates a list of four entries (in this example) and THEN 'apply' tells the 'cat' function to go to work on those four list entries. So all four list entries get con'ca...
by relanat
Sat Jul 07, 2018 1:12 am
Forum: The Drawing Board
Topic: Ship scanning ROM
Replies: 12
Views: 719

Re: Ship scanning ROM

Success. Using 'objSetOverlayEffectProperty' made it (relatively) easy. Thanks, NMS. It was confusing initially until I realized the NavSigns get their text from outside of the NavSign type. There are two ROMs and a mnemomic cube which scan devices up to level 4, 7 and 10 respectively. Using a ROM/c...
by relanat
Wed Jul 04, 2018 1:12 am
Forum: Shipyards
Topic: various questions and stuff
Replies: 21
Views: 1003

Re: various questions and stuff

Thanks. The highlighting stuff isn't critical, just easier. Its only for 'modding' mods which highlight "Find Objects". I'm optionally highlighting all objects of a type and then clearing the highlights by 'enum'ing all objects in a system on system exit. Not ideal but good enough. Eventually I'll s...
by relanat
Wed Jun 27, 2018 3:12 am
Forum: Shipyards
Topic: code query '
Replies: 1
Views: 49

code query '

Querying what ' does when used in code. This example works to format an item name with an item count and non quoted speech showing in unknown item names. (itmGetName theItem '(countAlways escapeQuotes)) but I'm copying, not understanding. It looks like it could be similar to 'and' or 'list'. What is...
by relanat
Wed Jun 27, 2018 3:05 am
Forum: Mod Announcements
Topic: Taipan GodShip
Replies: 3
Views: 237

Re: Taipan GodShip

Version 5 on xelerus. Requires 1.8b2. Fixes Ship's Interior duplicate actions. Added 'Search by Sovereign' and 'Search by Entity UNID' to Objects dockscreens. Also "Travel Entire Galaxy" as per GodMOD. Added an action to print all global variables to the debug screen. Ty, AP. And added DigaRW's targ...
by relanat
Wed Jun 27, 2018 3:00 am
Forum: The Drawing Board
Topic: Scorpion GodPlayership
Replies: 10
Views: 2623

Re: Scorpion GodPlayership/Taipan GodShip

Next version, V5, mainly to fix the duplicate actions appearing in the Ship's Interior screen due to game code changes. Finally got the optional EP ShipClass sorted. SOTP will give only the base version. EP loads the EP variant. Removed usesXML="true" as it is no longer needed in game versions of AP...
by relanat
Wed Jun 27, 2018 2:43 am
Forum: The Drawing Board
Topic: VOTG Eridan GodPlayership
Replies: 1
Views: 339

Re: VOTG Eridan GodPlayership

An updated version. Needs 1.8b2 or higher. Uses a lot of the new code from the Taipan GodShip V5. See that topic for a list of improvements but not all made it into this mod.
Not extensively tested so there, again, may be a few bugs. Dock services still a mess.
by relanat
Mon Jun 18, 2018 3:49 am
Forum: Shipyards
Topic: function list stuff
Replies: 4
Views: 174

Re: function list stuff

It might be worthwhile adding string to the 'subset' function help somehow. (subset string pos [count]) -> string I'm not sure if this is technically different to lists but it would help new modders IMO. It currently only mentions lists. (subset list pos [count]) -> list ==================== minor: ...
by relanat
Mon Jun 18, 2018 3:45 am
Forum: Shipyards
Topic: always pluralize currency name help please
Replies: 1
Views: 59

Re: always pluralize currency name help please

Solved! I was trying to think of ways to remove the zero from the beginning of, eg, 0 credits. (fmtCurrency (scrGetData gScreen 'currency) 0) --> 0 credits or --> 0 yuan Thinking back to a hideous piece of code I wrote a while ago trying to extract a decimal UNID from a list entry I had a look at 's...