[Sandbox] A function to "randomize" the nodes on the map

Freeform discussion about anything related to modding Transcendence.
Post Reply
george moromisato
Developer
Developer
Posts: 2998
Joined: Thu Jul 24, 2003 9:53 pm
Contact:

Regarding this ticket: http://wiki.neurohack.com/transcendence/trac/ticket/745

There is a function in 1.07 called sysSetKnown. You can use that to hide/reveal nodes:

(sysSetKnown "SE" True) or (sysSetKnown "SE" Nil)

I think that does what you need.

Also, to randomize the position of nodes on the map, I was thinking of allowing a dice range in the coordinates. E.g.:

Code: Select all

<Node ID="SE" x="25-50" y="30-60">
...
</Node>
Would that do what you want?
RPC
Fleet Admiral
Fleet Admiral
Posts: 2876
Joined: Thu Feb 03, 2011 5:21 am
Location: Hmm... I'm confused. Anybody have a starmap to the Core?

Yes, sysSetKnown is what I needed for the first two :D
As for dice range, I'm okay with that, but it would be nice if the computer could do XY coordinates for me instead ;)
(unless there is an engine issue that I can't bypass)
I do realize that the map shouldn't be too convoluted, so I can settle with a dice range if necessary.
Tutorial List on the Wiki and Installing Mods
Get on Discord for mod help and general chat
Image
Image
Der Tod ist der zeitlose Frieden und das leben ist der Krieg
Wir müssen wissen — wir werden wissen!
I don't want any sort of copyright on my Transcendence mods. Feel free to take/modify whatever you want.
Post Reply