Search found 600 matches

by relanat
Sat Jul 07, 2018 1:18 am
Forum: Shipyards
Topic: recurring code query
Replies: 4
Views: 375

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

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: 31
Views: 2865

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: 2
Views: 269

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

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

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

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: 6
Views: 551

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

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...
by relanat
Mon Jun 18, 2018 3:43 am
Forum: Shipyards
Topic: recurring code query
Replies: 4
Views: 375

Re: recurring code query

Thanks. It works beautifully. I've used the 'for' example as I'm still working through how the 'apply' example works. The 'for' function runs the code and then runs it again for every value up to the 'to' value. And 'i' increases value by one on every cycle. Every cycle adds another line to 'desc' u...
by relanat
Thu Jun 14, 2018 1:56 am
Forum: Shipyards
Topic: various questions and stuff
Replies: 31
Views: 2865

Re: various questions and stuff

Is there a way of determining with code if an object is highlighted? As in 'setShowAsDestination'ed with the green or red circles showing around the object.
by relanat
Tue Jun 12, 2018 1:59 am
Forum: Shipyards
Topic: always pluralize currency name help please
Replies: 1
Views: 253

always pluralize currency name help please

The screen description of the currency dockscreen in the Taipan GodShip mod has the line of text: (cat "Enter amount of " (scrGetData gScreen 'currency) " to add or subtract.\n" where scrGetData 'currency is the list entry of the dockscreen which shows 'map'ped type names from typFind '$. Examples a...
by relanat
Tue Jun 12, 2018 1:53 am
Forum: Shipyards
Topic: recurring code query
Replies: 4
Views: 375

recurring code query

Currently using hacky code to show the varying number of lines of text in a screen description in the Taipan GodShip mod. Currency type names from (typFind '$) are listed in a custompicker screen. The screen description shows the current player balance for every available currency and updates in OnP...
by relanat
Tue Jun 12, 2018 1:11 am
Forum: Announcements
Topic: 1.8 Beta 2 is ready!
Replies: 23
Views: 20163

Re: 1.8 Beta 2 is ready!

Ronins look great. A nice surprise. And the turrets and duals too, and the new item images in VOTG. Anyone else getting docking problems at the Efreet Metropolis? "No station in range" when there are 5 ports empty. Have attached a patch for the mission screen error. https://ministry.kronosaur.com/re...
by relanat
Mon Jun 04, 2018 3:19 am
Forum: Mod Announcements
Topic: Elysium Storage
Replies: 0
Views: 487

Elysium Storage

An upgraded version of TranscendentGeek's Elysium Player Storage Station. It overwrites the TanRuDorem station in the Elysium system to make it a secure storage bin for the player. Uses a separate modified dsRPGLoot dockscreen. Thanks to NMS for updated code. As per the original mod a jumpdrive is i...