More systems per game

Freeform discussion about anything related to modding Transcendence.
Post Reply
minitru
Anarchist
Anarchist
Posts: 7
Joined: Sun Jul 10, 2011 2:10 pm

Hi all. Thanks in advance for any advice I can get, and sorry if this has been asked a hundred times, I couldn't find any current info on the subject.

This is my first try with an Adventure extension, previously I've just added playerships and tweaked numbers to my personal preferences.

So basically, I'm trying to create an updated version of this mod, an old one that simply increased the number of systems in the game from 24 to ~40 or so. It's extremely old so the code isn't much use for my own efforts.

For a long time I was using Pixelfck's excellent Beyond the Mainline, but it's not compatible with Corporate Command (also no Elysium).

So, is there a simple way to add more systems to the game while maintaining compatibility with Corporate Command?


EDIT: I don't plan on publishing so my solution can be messy as hell so long as it works.
User avatar
pixelfck
Militia Captain
Militia Captain
Posts: 571
Joined: Tue Aug 11, 2009 8:47 pm
Location: Travelling around in Europe

Beyond the Mainline should be compatible with Corporate Command, or at least, it used to be.

~Pixelfck
Image
Download the Black Market Expansion from Xelerus.de today!
My other mods at xelerus.de
relanat
Militia Captain
Militia Captain
Posts: 941
Joined: Tue Nov 05, 2013 9:56 am

I'm no expert but will offer what help I can (and it may be wrong so be wary!). I think you can either overwrite the whole topology (number of stars and how they are arranged) like Kaama did in the "Long way to go" mod or add to the existing one like Corporate Command does.

Check out Wolfy's "Topology example extension" topic http://forums.kronosaur.com/viewtopic.php?f=8&t=7644, JBW's Pale Blue Light tutorial mod (highly recommended) http://xelerus.de/index.php?s=mod&id=1505, PM's Xen System mod http://xelerus.de/index.php?s=mod&id=1487 and my Nirvana Modders System mod http://xelerus.de/index.php?s=mod&id=1520. They should help with code. Pale Blue Light is a new standalone topology whereas the other two mods are additions to the standard "vanilla" game.

Also try a search on xelerus for Systems and Topology mods, as well as search the forum for topics with system or topology in them.

The Network mod may also help you otherwise start a topic with your problem and we'll see if we can help. If you get to a point where you can't make something work after trying a heap of different ways to do it, that's the time to stick some code up for us to have a look at and see if we can sort it out together. And IRC can help too if someone's on there when you need advice.

Happy modding :D .
Stupid code. Do what I want, not what I typed in!
minitru
Anarchist
Anarchist
Posts: 7
Joined: Sun Jul 10, 2011 2:10 pm

relanat wrote:I'm no expert but will offer what help I can (and it may be wrong so be wary!). I think you can either overwrite the whole topology (number of stars and how they are arranged) like Kaama did in the "Long way to go" mod or add to the existing one like Corporate Command does.

Check out Wolfy's "Topology example extension" topic http://forums.kronosaur.com/viewtopic.php?f=8&t=7644, JBW's Pale Blue Light tutorial mod (highly recommended) http://xelerus.de/index.php?s=mod&id=1505, PM's Xen System mod http://xelerus.de/index.php?s=mod&id=1487 and my Nirvana Modders System mod http://xelerus.de/index.php?s=mod&id=1520. They should help with code. Pale Blue Light is a new standalone topology whereas the other two mods are additions to the standard "vanilla" game.

Also try a search on xelerus for Systems and Topology mods, as well as search the forum for topics with system or topology in them.

The Network mod may also help you otherwise start a topic with your problem and we'll see if we can help. If you get to a point where you can't make something work after trying a heap of different ways to do it, that's the time to stick some code up for us to have a look at and see if we can sort it out together. And IRC can help too if someone's on there when you need advice.

Happy modding :D .
Thanks a bunch, I'll get on that!

EDIT: Got it! Pale Blue Light was very helpful. For now, I'm doing it the messiest way possible; I'm running the game with the source code extracted and modifying that. I'm basically just manually splitting each minor node into 2:

Code: Select all

<Node ID="C1" x="18" y="-139">
			<System
					level=			"1"
					attributes=		"humanSpace, mainline, newBeyond"
					>
				<Table>
					<System chance="50" name="Groombridge"	UNID="&ssEarthSpaceStandard;"/>
					<System chance="50" name="Lalande"		UNID="&ssEarthSpaceRedDwarf;"/>
									</Table>
			</System>
		</Node>

<Node ID="C1A" x="30" y="-139">
			<System
					level=			"1"
					attributes=		"humanSpace, mainline, newBeyond"
					>
				<Table>
					
					<System chance="50" name="5 Indi"		UNID="&ssEarthSpaceAsteroids;"/>
					<System chance="50" name="Foum Alhaut"	UNID="&ssEarthSpaceDesert;"/>
				</Table>
			</System>
		</Node>

And adding the stargates into the topology:

Code: Select all

<Stargate from="SE:Outbound"	to="C1:Inbound"/>
			<Stargate from="C1:Outbound"	to="C1A:Inbound"/>
			<Stargate from="C1A:Outbound"	to="C3:Inbound"/>
			<Stargate from="C3:Outbound"	to="C3A:Inbound"/>
It's dirty, but it's working. Eventually with some effort I'll hopefully make this into something more polished.
relanat
Militia Captain
Militia Captain
Posts: 941
Joined: Tue Nov 05, 2013 9:56 am

Hey minitru, any chance of you attaching your mod here so others can have a look and use it. I'm always interested in other people's code and it sounds like a good one to play. Don't worry if it seems messy to you; if you listen carefully you can hear experienced modders vomiting in the background where they've looked at my code :lol: .
Stupid code. Do what I want, not what I typed in!
Post Reply