Search found 599 matches

by relanat
Fri Nov 09, 2018 1:12 am
Forum: Shipyards
Topic: setting display order in ItemListDisplay
Replies: 0
Views: 18

setting display order in ItemListDisplay

The items listed in an ItemListDisplay screen control box appear to sort by level and then alphabetically. So highest level items appear first then lower level items, etc. If two items have the same level they seem to sort alphabetically. Possibly this is the auto-sort feature which sorts the list d...
by relanat
Fri Nov 09, 2018 1:10 am
Forum: Shipyards
Topic: various questions and stuff
Replies: 31
Views: 2636

Re: various questions and stuff

I'm looking to check if a weapon has the ability to mine. I'm fairly sure there is a way to do this but can't think what it is. Something to do with damage type?
ATM I'm checking for the attribute 'miningEquipment' but this won't work if a weapon can mine but doesn't have that attribute.
by relanat
Fri Nov 09, 2018 1:08 am
Forum: Shipyards
Topic: setting cursor pos to an item in OnGlobalPaneInit
Replies: 3
Views: 749

Re: setting cursor pos to an item in OnGlobalPaneInit

Thanks. Got it working as a lambda or event run outside of 'scrAddAction'. But not in the 'scrAddAction' code block. I often have trouble getting code to work in 'scrAddAction'. Much butchered code where 'theItem' is the item to set the cursor on: (setq rpgD789SetCursorToItem (lambda (theItem) (bloc...
by relanat
Fri Nov 09, 2018 1:04 am
Forum: Shipyards
Topic: function list stuff
Replies: 6
Views: 508

Re: function list stuff

1.8b3.3 'itmGetProperty' needs property 'unknownType' added. ========================== 'ItmSetProperty' The 'level' property needs a line break. It currently shows on the same line as 'installed'. (itmSetProperty item property value) -> item property 'charges charges 'damaged [True|Nil] 'disrupted ...
by relanat
Fri Nov 09, 2018 1:02 am
Forum: The Drawing Board
Topic: idea boosted NAMI mines
Replies: 2
Views: 102

idea boosted NAMI mines

I had an idea of an upgraded mine based on the CRM500 which could track slowly towards the enemy (like they do now) until the mines get within a certain distance, say 20 ls, then thrust at the object and slam into it. Or a static mine which sits there and does the same thing if an enemy gets within ...
by relanat
Tue Oct 30, 2018 11:58 pm
Forum: Shipyards
Topic: setting cursor pos to an item in OnGlobalPaneInit
Replies: 3
Views: 749

setting cursor pos to an item in OnGlobalPaneInit

Noticed a glitch when updating TransGeek's Identify Before Buying mod. Using (scrShowPane gScreen "Default") will show the same item but the item description can be larger for items after they have been IDed. This can overlap the item below. See composite before/after image of the cannon accelerator...
by relanat
Tue Oct 30, 2018 11:36 pm
Forum: Bug Reports & Tech Support
Topic: Eternity Port main story broke
Replies: 2
Views: 1178

Re: Eternity Port main story broke

There isn't anything wrong with the dockscreen for the Atlas base.
But it is confusing.
"Abandoned" generally means destroyed in the game. Here it is used to describe no people present.

Ministry ticket: https://ministry.kronosaur.com/record.hexm?id=82855
by relanat
Tue Oct 30, 2018 11:12 pm
Forum: Shipyards
Topic: function list stuff
Replies: 6
Views: 508

Re: function list stuff

1.8b3.3 (or thereabouts) (dbgOutput [string]*) -> True if in debug mode, else Nil It would be helpful if the function help explained that this only prints to the console. ---------------------------------- Could add the 0-359 values to objGetDestiny. (objGetProperty obj 'destiny) 'destiny -> 0-359 -...
by relanat
Mon Oct 22, 2018 2:39 am
Forum: Shipyards
Topic: various questions and stuff
Replies: 31
Views: 2636

Re: various questions and stuff

I really like the Taipan image (by Xephyr) in the GodShip mod but also like the Scorpion too! Greedily, I thought "How about having both!". Is there a way of having a ship image be randomly selected from 2 or more images? So there could be a 50/50 chance of using the Taipan or Scorpion images on cre...
by relanat
Fri Oct 19, 2018 2:04 am
Forum: Shipyards
Topic: mission queries
Replies: 2
Views: 350

Re: mission queries

Much better. And very well explained.Thanks. I've just found the wiki mission page as well http://wiki.kronosaur.com/modding/xml/missiontype?s[]=mission which is great. Well done to whoever did that. (Now if only the stupid Twitch site would work, grrr.) There are also mission comments in Commonweal...
by relanat
Fri Oct 19, 2018 1:34 am
Forum: Shipyards
Topic: detecting system map use query
Replies: 2
Views: 109

Re: detecting system map use query

Excellent. I've added code to the map ROMs using xml functions and it works great. Map ROM usage shows in the screen description. I wasn't sure what you meant at first about new blocks but when I saw the Invoke code it clicked. For others the map ROMs uses an XML element called <Invoke>. This contai...
by relanat
Fri Oct 19, 2018 1:30 am
Forum: Shipyards
Topic: code query '
Replies: 2
Views: 236

Re: code query '

See the link that AP posted. (Thank you.) The quote character is used when you don't want to evaluate the arguments in the list. The list function is used when you do. So if you want to select or compare a value but not do anything to it then use '. Examples from 1.8b3.3 SOTP listed here for easy re...
by relanat
Fri Oct 19, 2018 1:22 am
Forum: Shipyards
Topic: finding jettisoned cargo crates on creation help please
Replies: 2
Views: 110

Re: finding jettisoned cargo crates on creation help please

With no actual dock object when in the cargo hold there doesn't seem to be a way (that I can find) of using <GetGlobalDockscreen>, which has an annoying habit of causing endless game loading if there isn't valid gSource code. The critical need is to record the items at or near the time of creation. ...
by relanat
Thu Oct 11, 2018 3:38 am
Forum: Shipyards
Topic: mission queries
Replies: 2
Views: 350

mission queries

It sounded so easy. Use Xephyr's mission example topic for reference and blend the Juan mission with the Fleet supplies mission and create a simple new mission! Mostly working. Just as couple of things I can't work out. The mission runs from Fleet settlements in the Loyal Fleet Settlements mod. On s...
by relanat
Thu Oct 11, 2018 3:33 am
Forum: Shipyards
Topic: finding jettisoned cargo crates on creation help please
Replies: 2
Views: 110

finding jettisoned cargo crates on creation help please

The Commander's Log mod records the uninstalled items in most stations. This is meant to include abandoned cargo crates, &stGenericCargoCrate;, created by the player when they jettison from the cargo hold. All other stations have their uninstalled items recorded when the player undocks from them. Th...