Search found 563 matches

by relanat
Thu Aug 16, 2018 3:56 am
Forum: Shipyards
Topic: exclusion distance when adding stations help please
Replies: 4
Views: 159

Re: exclusion distance when adding stations help please

There's a chance it'll end up too close to something ... because it picks the radius at random first That was, I think, the info I was missing. Thanks. So using a single value for radius will stop the erratic placement. So easy when you know how! I do however want to keep the randomness of the radi...
by relanat
Wed Aug 15, 2018 12:02 am
Forum: Modding Reference
Topic: Adding an XML attribute
Replies: 0
Views: 31

Adding an XML attribute

1.8b2 A basic example mod of using ' xmlAddAttrib'. 'xmlSetAttrib'. (Apologies: I messed up the function name) (xmlSetAttrib xml attrib value) -> value We use xml functions to add a background image to a dockscreen. There are two dockscreens in the attached mod. They are the same dockscreen but we w...
by relanat
Tue Aug 14, 2018 11:55 pm
Forum: Shipyards
Topic: inventory mod code queries
Replies: 1
Views: 37

inventory mod code queries

Working on a mod that duplicates the Captain's Log station inventory feature. There are a number of things I don't know how to do. 1. A way of updating the station's stored items data on undocking from the station. The mod stores a list of items (if any) from any station that has been docked at by t...
by relanat
Fri Aug 10, 2018 1:50 am
Forum: Shipyards
Topic: exclusion distance when adding stations help please
Replies: 4
Views: 159

Re: exclusion distance when adding stations help please

Got it working but not with sysVectorRandom. Stations were still within the specified distance. Game code examples use it with ships (a lot) and stargates, but not stations (but I didn't search very thoroughly). And a lot of the game examples use sysVectorRandom to create the 'pos' first, then creat...
by relanat
Thu Aug 09, 2018 1:16 am
Forum: Modding Reference
Topic: How do I open the debug console?
Replies: 2
Views: 2963

Re: How do I open the debug console?

Just adding a bit more detail to the second option in Betelgeuse's post above. Another way is to add the switch to a shortcut. Current for 1.8b2. Open the Transcendence game folder. This is the folder which contains the files 'Transcendence.exe' and 'Transcendence.tdb'. Right-click 'Transcendence.ex...
by relanat
Mon Aug 06, 2018 4:17 am
Forum: Modding Reference
Topic: sysFindObject info
Replies: 1
Views: 62

Re: sysFindObject info

Using the function. Using 'sysFindObject' gives us a list of objects. Unfortunately this is a list of numbers which don't mean much to us humans, although the computer likes them! To check if the criteria we have used is giving us the objects we want it can be handy to convert the list to a list of ...
by relanat
Mon Aug 06, 2018 4:15 am
Forum: Modding Reference
Topic: sysFindObject info
Replies: 1
Views: 62

sysFindObject info

Here's the function help (1.8b2). (sysFindObject source criteria) -> list of objects criteria is a string that must specify one or more of the following categories: * Include all categories b Include beams G Include ONLY stargates G:xyz; Include ONLY stargate with ID 'xyz' k Include markers m Includ...
by relanat
Mon Aug 06, 2018 4:10 am
Forum: Shipyards
Topic: various questions and stuff
Replies: 24
Views: 1375

Re: various questions and stuff

Are you sure the only difference is whether it's in a Type or Dockscreen? Nope. That's why I posted here and didn't ticket it. If you can get the info transferred then it was errors in my code, a not uncommon event! I worked around it using type data but didn't have the time to do a great deal of f...
by relanat
Mon Aug 06, 2018 4:05 am
Forum: Commonwealth
Topic: Tomorrow on Twitch: Spreading the Word
Replies: 8
Views: 323

Re: Tomorrow on Twitch: Spreading the Word

A whole heap of unrelated feedback and opinions dumped here because I can't Twitch or Discord easily. I found Transcendence when searching for a downloadable copy of a game I used to play. Got hooked and now can't even remember the name of the other game! I'm very interested in science-fiction and f...
by relanat
Fri Aug 03, 2018 4:29 am
Forum: Shipyards
Topic: graphics - overlay image query
Replies: 3
Views: 103

Re: graphics - overlay image query

Thanks for that info. I'm totally graphics-challenged! So if a 120 facings image of a black number '1' with a transparent background was created could this image be overlayed on a ship to rotate with it? Or if not overlayed somehow displayed in the same location so it appeared over the top of the sh...
by relanat
Fri Aug 03, 2018 3:27 am
Forum: Shipyards
Topic: various questions and stuff
Replies: 24
Views: 1375

Re: various questions and stuff

I was using scrAddAction inside <OnGlobalPaneInit> in a <Type> UNID recently. It seemed that having this sort of code (scrShowScreen gScreen &dsWhicheverDockscreen { thisData: (codeGetWhatever info) }) in the code section of scrAddAction wouldn't carry the info to the destination dockscreen from a <...
by relanat
Wed Aug 01, 2018 8:53 am
Forum: Shipyards
Topic: graphics - overlay image query
Replies: 3
Views: 103

graphics - overlay image query

One feature that would be handy is the ability to place a number, letter or small image on a ship image. As an example, using a small image of the number '1' and adding it as an overlay that rotates with the ship. Ths would simulate having a large painted number on the top of the ship and would be v...
by relanat
Wed Aug 01, 2018 8:51 am
Forum: Shipyards
Topic: exclusion distance when adding stations help please
Replies: 4
Views: 159

exclusion distance when adding stations help please

Is there a way of making sure that a station added with <OnGlobalSystemCreated> doesn't overlap a station placed by the system code? The attached mod adds two small stargates to binary systems. They are placed between 40 and 70 ls from the centre of the each star. Using 'objSetPos' the player can in...
by relanat
Wed Aug 01, 2018 8:39 am
Forum: Commonwealth
Topic: Requests for older mods to be updated or improved
Replies: 2
Views: 115

Requests for older mods to be updated or improved

This was mentioned a while back but never happened AFAIK. With the release of 1.8 and the updating of the mod section of the Multiverse coming soon it seems a good time to start this topic. So if there is a mod you like but it doesn't work anymore or doesn't work as well as it did in previous versio...
by relanat
Wed Aug 01, 2018 8:34 am
Forum: Commonwealth
Topic: Bringing any gameplay systems over from expansions?
Replies: 6
Views: 730

Re: Bringing any gameplay systems over from expansions?

The attached mod adds the "Armor Forge" action to all startons. EP needs to be in the Collections folder and the 'SOTP Nanoforges' mod needs to be selected for Part 1 (SOTP). I did no testing other than forging the three basic armor types at a starton so bugs may appear with further gameplay. The Ar...