How do you put in custom systems into the game? Please Reply

Need help testing contributed art or code or having trouble getting your newest additions into game compatible format? Confused by changes to data formats? Reading through source and wondering what the developers were thinking when they wrote something? Need "how-to" style guidance for messing with VS internals? This is probably the right forum.
Post Reply
Laraso
Mercenary
Mercenary
Posts: 99
Joined: Thu Apr 23, 2009 11:54 pm

How do you put in custom systems into the game? Please Reply

Post by Laraso »

Hi, I have just started the system project thing I said I would do about half a year ago (yes, I know, I'm lazy...).

Anyways, before I start this, I need to know...

If I create my own system, how do I get it to show up in-game? I didn't think about this at all until just now, when I was about to get started. Any help would be appreciated, any at all. Even just a quick reference to a folder that I may need to put the systems in would be nice, but I would like as much help as you can give me, as I am absolutely stumped as of how to get these systems to show up in the game.
Fendorin
Elite Venturer
Elite Venturer
Posts: 725
Joined: Mon Feb 26, 2007 6:01 pm
Location: France, Paris

Re: How do you put in custom systems into the game? Please Reply

Post by Fendorin »

HI Laraso

I have no idea how showing your created Star system into game i m a creative not a coder :(

Maybe by editing the Milkyway file and some other system file ... somebody can help ?
how mod universe was Set up?

The setting of Cephid17 can be a basic thing for you to study for understand perhaps :?:

2/ i never see Kubernan star system into my game which is means i m not sure the "storyline" are really represented in details into game.

Thanks
snow_Cat
Confed Special Operative
Confed Special Operative
Posts: 349
Joined: Thu Jan 05, 2006 12:43 am
Location: /stray/
Contact:

Re: How do you put in custom systems into the game? Please Reply

Post by snow_Cat »

The star systems in VegaStrike are defined in System Files. These files can be either created manually, or are generated from the universe/milky_way.xml file.
^ - - ^ Is this helpful?
Laraso
Mercenary
Mercenary
Posts: 99
Joined: Thu Apr 23, 2009 11:54 pm

Re: How do you put in custom systems into the game? Please Reply

Post by Laraso »

No, not really... I have already looked over that page before. Thanks anyways.
JsnMtth
Bounty Hunter
Bounty Hunter
Posts: 174
Joined: Wed May 27, 2009 6:38 am
Location: Fresno, California - United States of America
Contact:

Re: How do you put in custom systems into the game? Please Reply

Post by JsnMtth »

Well... here is a REALY cheesy example for creating your own "custom" system.

The custom systems are heald in data/sectors

At the terminal: <vegastrikedir> would need to be substituted with where your vegastrike checkout is.

Code: Select all

cd <vegastrikedir>/data/sectors/Crucible
cp Cephid_17.system MyCustomSystem.system
Next add a jump point for your new system.
1)Edit Cephid_17.system (in your favorite text editor)
I chose to change an existing jump-point since I have no idea what most of the fields do.
I made the following change to line 40.
Notice I changed the "name" attribute and the "destination" attribute for the "Planet" Element.

Code: Select all

Before:
    <Planet name="JumpToEverett" file="jump.texture" ri="-20080682.0" rj="42690276.0" rk="157634672.0" si="72114176.0" sj="-61331199.0" sk="-96111560.0" radius="3.11738037"  year= "7778511200.0" day="431.547974" alpha="ONE ONE" destination="Crucible/Everett" faction="klkk"  >
After:
    <Planet name="JumpToMyCustomSystem" file="jump.texture" ri="-20080682.0" rj="42690276.0" rk="157634672.0" si="72114176.0" sj="-61331199.0" sk="-96111560.0" radius="3.11738037"  year= "7778511200.0" day="431.547974" alpha="ONE ONE" destination="Crucible/MyCustomSystem" faction="klkk"  >
2) Customize the new system.
Make the same change (line 40) as above but to the MyCustomSystem.system except instead of changing the jump from from Everett to MyCustomSystem, change it from Everett to Cephid_17
Also change the "name" attribute in the "system" element on Line 1.

When you load the game, the previous jump-point to Everett will go to your system. Which will be an exact duplicate as the system you came from except that the jump point go's back. You could also change the "background" it uses, plus instead of changing a jump-point you can add a new one. But you'll need to change it's orbital data so it doesn't overlap with something else.
Laraso
Mercenary
Mercenary
Posts: 99
Joined: Thu Apr 23, 2009 11:54 pm

Re: How do you put in custom systems into the game? Please Reply

Post by Laraso »

No offense, but I knew everything you just told me, and more. The only thing I didn't know is that you have to add a wormhole that goes to it. Never thought about that. Thanks.

I will try this right now and see if it works.

Seriously, thanks for the info about the wormhole part.

EDIT: You said you didn't know some of those tags, so I will just go over some of the tags that you didn't specifically talk about:

Code: Select all

file="jump.texture"
This tells the game that the wormhole looks like a wormhole, and not a sun or a uninhabitable gas giant.

Code: Select all

ri="-20080682.0" rj="42690276.0" rk="157634672.0" si="72114176.0" sj="-61331199.0" sk="-96111560.0"
These define the orbital rotation of the object. I always find it easier to just use static x,y,z coordinates, however I guess these could have a better effect in the long run.
Wiki wrote:# ri, rj, rk - the farthest point of the orbit (vector x,y,z in meters)
# si, sj, sk - the nearest point of the orbit (vector x,y,z in meters)

Code: Select all

radius="3.11738037"
This defines how large the wormhole is. Try setting a suns radius to 999999999999999999999999999999999999999999999 for a humorous effect.

Code: Select all

year= "7778511200.0" day="431.547974"
The tag "year" means how long it takes for the object to make a single revolution. The tag "day" means how long it takes for the object to spin around in a circle one time. Think of "year" and "day" as the same thing as it is in real life and you shouldn't have any problems.

Code: Select all

alpha="ONE ONE"
I don't really know how the alpha works that much, but here is some advice from the wiki:
Wiki wrote:alpha - The blend mode of the texture

Code: Select all

faction="klkk"  >
This should be self explanatory, however, if you don't know already, changing this tag from klkk to purist would make the Purist's own this wormhole.

If you need any more help, just visit the wiki:
http://vegastrike.sourceforge.net/wiki/ ... stem_Files
Laraso
Mercenary
Mercenary
Posts: 99
Joined: Thu Apr 23, 2009 11:54 pm

Re: How do you put in custom systems into the game? Please Reply

Post by Laraso »

You never told me what file to edit to find this code.

Code: Select all

    cd <vegastrikedir>/data/sectors/Crucible
    cp Cephid_17.system MyCustomSystem.system
JsnMtth
Bounty Hunter
Bounty Hunter
Posts: 174
Joined: Wed May 27, 2009 6:38 am
Location: Fresno, California - United States of America
Contact:

Re: How do you put in custom systems into the game? Please Reply

Post by JsnMtth »

I figured you had more background on the attributes than I did, I have the bad habit of assuming things that aren't clear to others. A good example is not mentioning what file you need to edit.

You need to edit the .system file you create. In my example I had you copy a file to a new filename. You should edit that new file. I called it in the example "MyCustomSystem.system". It's in the "<vegastrikedir>/data/sectors/Crucible" folder. You might need to name the file after the name of the system.


Thanks for the info on the coordinates. Those are the ones I was having trouble with. With the year and radius attributes I was starting to wonder if the unit was actually in orbit of something.... ohh that is because it IS in orbit. :mrgreen: I added a Agricultural Stations to Cephid17 the other day (for testing), and had to randomly move it around to get it out of a star. Thanks for the wiki link too.

The game also generates a "universe" with exception to the systems you see in "sectors". Their probably stored in the file hierarchy with your config file. Just incase you don't want your system one-jump from the first system. Also, you don't HAVE to have your system be part of the vegastrike universe, the jump point was just an easy way to get to it. I suppose you could change the game to have you start there, or hack a save game (that is how I got to Earth).
Laraso
Mercenary
Mercenary
Posts: 99
Joined: Thu Apr 23, 2009 11:54 pm

Re: How do you put in custom systems into the game? Please Reply

Post by Laraso »

EDIT: I am putting this edit before all else because it is important that you know that the radius tag is NOT used for defining orbit path. Radius is used for defining the size of an object.

Hm... Assuming that this worked for you, did you use 0.5 or SVN? I am trying this with SVN, and when I hacked my save file to get there I got what I call the "Improvational System" glitch. What I mean by that is, well... I will give you the choice of reading a short story and a long story.

===Long Story===

One time I hacked a save file and changed my location to Nuclear/Muffins just to see what happens (I was expecting Vega Strike to crash), and to my surprise the game started right up and there were planets, a sun and everything. At first I thought that I had discovered a secret system or something, but then I noticed that it didn't have and wormholes. Then I remembered that there was systems without any wormholes, so I went back and tried Explosive/Water, and the same thing happened, except I was in a different system. So I formed a hypothesis that when your saved data tells the game that you are in a system that does not exist, a new (temporary) one is created using the universe/milky_way.xml file. (More information on that can be found here: http://vegastrike.sourceforge.net/wiki/ ... s:Milkyway) After testing it several more times, I confirmed this hypothesis (although I am not 100% sure if it is created from the universe/milky_way.xml file or not) and expanded my Vega Strike knowledge.

===Short Story===

Long-story-short, when the game reads your save file and it says something like Tacos/AreGood, if the system Tacos/AreGood doesn't really exist it will create a new temporary one to prevent crashes or something. This temporary system does not have any wormholes, so you are stuck in here until you change Tacos/AreGood back to whatever it was.

ANYWAYS, I made two wormholes in the system I made (started from scratch) and a sun, saved it in the folder labeled enigma_sector, and then decided to test before I went any further. I ended up with the Improvational System Glitch.

Here is the code for the system I made, I didn't get that much into detail (yet).

Code: Select all

<system name="Xenadriea" background="backgrounds/somered" nearstars="500" stars="1000" starspread="150">
<Light>
	<ambient red="10.000000" green="0.126813" blue="0.126813"/>
	<diffuse red="0.816497" green="0.764327" blue="0.520479"/>
	<specular red="1.000000" green="0.876293" blue="0.406348"/>
</Light>
<Planet name="Xenadriea A" file="stars/green_star.texture" ri="0.000000" rj="0.000000" rk="0.000000" si="0.000000" sj="0.000000" sk="0.000000" radius="98000000.000000" x="0" y="0" z="0"  Red="0.200300" Green="0.744255" Blue="0.240099" ReflectNoLight="true" light="0">
<Planet name="JumpToHeavens_gate" file="jump.png" ri="0.000000" rj="0.00000" rk="0.000000" si="0.000000" sj="0.000000" sk="0.000000" radius="75.000000" x="-382583916.000000" y="153582591.000000" z="7593235.000000" year="56728384.000000" day="3925321.750000" alpha="ONE ONE" destination="enigma_sector/heavens_gate">
</Planet>
<Planet name="JumpToCallimachius" file="jump.png" ri="0.000000" rj="0.000000" rk="0.000000" si=0.000000" sj="0.000000" sk="0.000000" radius="75.000000" x="-319392573.000000" y="153592819.000000" z="9273842.000000" year="52938357.000260" day="3725834.005000" alpha="ONE ONE" destination="enigma_sector/callimachius">
</Planet>
</system>
And the code for the two systems I edited to make the wormholes compatible. (For some reason, instead of their wormholes being named with the JumpTo it is named with the file location.)

Code: Select all

<system name="callimachius" background="backgrounds/turquoise" nearstars="500" stars="1000" starspread="150">
<Light>
	<ambient red="0.126813" green="0.126813" blue="0.126813"/>
	<diffuse red="0.816497" green="0.764327" blue="0.520479"/>
	<specular red="1.000000" green="0.876293" blue="0.406348"/>
</Light>
<Light>
	<ambient red="0.079898" green="0.079898" blue="0.079898"/>
	<diffuse red="0.816497" green="0.375258" blue="0.388958"/>
	<specular red="1.000000" green="0.211228" blue="0.226933"/>
</Light>
<Light>
	<ambient red="0.078358" green="0.078358" blue="0.078358"/>
	<diffuse red="0.816497" green="0.345735" blue="0.392545"/>
	<specular red="1.000000" green="0.179299" blue="0.231137"/>
</Light>
<Planet name="callimachius A" file="stars/orange_star.png" ri="0.000000" rj="0.000000" rk="0.000000" si="0.000000" sj="0.000000" sk="0.000000" radius="16000000.000000" x="0" y="0" z="0"  Red="0.666667" Green="0.584195" Blue="0.270899" ReflectNoLight="true" light="0">
	<Asteroid name="AFieldBase" file="AFieldBase" ri="3386811.000000" rj="214662400.000000" rk="-99427096.000000" si="105597408.000000" sj="-170841984.000000" sk="-365249664.000000" x="380610592.000000" y="-143727760.000000" z="137942064.000000" year= "562875200.000000"  />
	<Unit name="AsteroidFighterBase" file="AsteroidFighterBase" ri="3386811.000000" rj="214662400.000000" rk="-99427096.000000" si="105597408.000000" sj="-170841984.000000" sk="-365249664.000000" x="380610592.000000" y="-143727760.000000" z="137942064.000000" year= "562875200.000000" faction="confed"  />
	<Planet name="sol_sector/tingvallir" file="jump.png" ri="3842222.000000" rj="-89544544.000000" rk="-29341934.000000" si="-7277032.000000" sj="19995198.000000" sk="-61973448.000000" radius="100.227898" x="97236736.000000" y="-106933272.000000" z="72258008.000000" year= "84584328.000000" day="52314404.000000" alpha="ONE ONE" destination="sol_sector/tingvallir"  >
	</Planet>
	<Planet name="enigma_sector/axis" file="jump.png" ri="67987592.000000" rj="46963476.000000" rk="35904832.000000" si="31229236.000000" sj="6974222.500000" sk="-68256392.000000" radius="99.789467" x="-99726432.000000" y="31428322.000000" z="46656012.000000" year= "100733168.000000" day="31483150.000000" alpha="ONE ONE" destination="enigma_sector/axis"  >
	</Planet>
	<Planet name="enigma_sector/crichton" file="jump.png" ri="-29576520.000000" rj="-32992126.000000" rk="-21496458.000000" si="45652556.000000" sj="-40590312.000000" sk="-515576.000000" radius="72.409012" x="40951116.000000" y="-35416568.000000" z="-101582512.000000" year= "623185792.000000" day="480868832.000000" alpha="ONE ONE" destination="enigma_sector/crichton"  >
	</Planet>
	<Planet name="callimachius B" file="stars/red_star.png" ri="76389568.000000" rj="123820744.000000" rk="-130134600.000000" si="-160797024.000000" sj="81396048.000000" sk="-16941650.000000" radius="12689840.000000" x="0" y="0" z="0" year= "543194304.000000" day="435291488.000000"  Red="0.666667" Green="0.140819" Blue="0.151288" ReflectNoLight="true" light="1">
		<Planet name="enigma_sector/enigma" file="jump.png" ri="-24734808.000000" rj="23365594.000000" rk="11162366.000000" si="-28194682.000000" sj="-18316396.000000" sk="-24136154.000000" radius="308.874115" x="101019120.000000" y="-67812200.000000" z="-61607348.000000" year= "119745184.000000" day="61997652.000000" alpha="ONE ONE" destination="enigma_sector/enigma"  >
		</Planet>
		<Planet name="enigma_sector/heavens_gate" file="jump.png" ri="4271318.000000" rj="67387128.000000" rk="56696276.000000" si="34337364.000000" sj="12679372.000000" sk="-17657108.000000" radius="241.219772" x="-67930824.000000" y="-54248852.000000" z="-86542624.000000" year= "73414424.000000" day="10234599.000000" alpha="ONE ONE" destination="enigma_sector/heavens_gate"  >
		</Planet>
		<Planet name="enigma_sector/telamon" file="jump.png" ri="32518958.000000" rj="7965696.500000" rk="-39279900.000000" si="-31547574.000000" sj="58814868.000000" sk="-14190280.000000" radius="262.203857" x="-41877044.000000" y="-23646108.000000" z="63968116.000000" year= "59763528.000000" day="46004072.000000" alpha="ONE ONE" destination="enigma_sector/telamon"  >
		</Planet>
	</Planet>
	<Planet name="callimachius C" file="stars/red_star.png" ri="-10753653.000000" rj="37872560.000000" rk="-138259936.000000" si="107059664.000000" sj="-122014088.000000" sk="-41749392.000000" radius="8923124.000000" x="0" y="0" z="0" year= "4313522176.000000" day="2706170112.000000"  Red="0.666667" Green="0.119532" Blue="0.154091" ReflectNoLight="true" light="2">
		<Planet name="sol_sector/ella" file="jump.png" ri="32574132.000000" rj="40820892.000000" rk="-35844844.000000" si="-5604352.000000" sj="-6870923.000000" sk="-12917733.000000" radius="163.676453" x="-37563052.000000" y="-24811990.000000" z="65906768.000000" year= "91781968.000000" day="31315726.000000" alpha="ONE ONE" destination="sol_sector/ella"  >
		</Planet>
	</Planet>
</Planet>
<Planet name="enigma_sector/xenadriea" file="jump.png" ri="0.000000" rj="0.000000" rk="0.000000" si="0.000000" sj="0.000000" sk="0.000000" radius="75.000000" x="-50001021.000000" y="-47923125.000000" z="63259532.000000" year="9237823.000000" day="19238412.000000" alpha="ONE ONE" destination="enigma_sector/xenadriea">
</Planet>
</system>

Code: Select all

<system name="heavens_gate" background="backgrounds/blue_galaxy1" nearstars="500" stars="1000" starspread="150">
<Light>
	<ambient red="0.126813" green="0.126813" blue="0.126813"/>
	<diffuse red="0.816497" green="0.764327" blue="0.520479"/>
	<specular red="1.000000" green="0.876293" blue="0.406348"/>
</Light>
<Asteroid name="AFieldJumpSparse" file="AFieldJumpSparse" ri="0.000000" rj="0.000000" rk="0.000000" si="0.000000" sj="0.000000" sk="0.000000" x="202688160.000000" y="310367264.000000" z="284311136.000000"  />
<Planet name="enigma_sector/sterling" file="jump.png" ri="0.000000" rj="0.000000" rk="0.000000" si="0.000000" sj="0.000000" sk="0.000000" radius="200.000000" x="202688160.000000" y="310367264.000000" z="284311136.000000" alpha="ONE ONE" destination="enigma_sector/sterling"  >
</Planet>
<Planet name="heavens_gate A" file="stars/white_star.png" ri="0.000000" rj="0.000000" rk="0.000000" si="0.000000" sj="0.000000" sk="0.000000" radius="42000000.000000" x="0" y="0" z="0"  Red="0.666667" Green="0.584195" Blue="0.270899" ReflectNoLight="true" light="0">
	<Planet name="Huitzilopochtli" file="planets/molton_iron.png" ri="-59730312.000000" rj="54523588.000000" rk="-62331980.000000" si="-279406016.000000" sj="-90103328.000000" sk="188927888.000000" radius="2089841.875000" x="129079984.000000" y="69748544.000000" z="485131776.000000" year= "3998761728.000000" day="2663319040.000000"  >
		<Planet name="Huixtocihuatl" file="sol/charon.png" ri="8205990.000000" rj="7627822.000000" rk="10966084.000000" si="1547250.250000" sj="-3431388.000000" sk="1228998.375000" radius="777566.312500" x="23867016.000000" y="-5438703.500000" z="-10115873.000000" year= "46875324.000000" day="2799615.750000"  >
		</Planet>
		<Planet name="enigma_sector/novaya_kiev" file="jump.png" ri="-3032382.000000" rj="-3909148.250000" rk="14785888.000000" si="-7077898.000000" sj="2394109.500000" sk="-818615.937500" radius="378.257019" x="-2753044.000000" y="17041536.000000" z="6774614.000000" year= "14436876.000000" day="2702590.750000" alpha="ONE ONE" destination="enigma_sector/novaya_kiev"  >
		</Planet>
		<Planet name="enigma_sector/tesla" file="jump.png" ri="-624496.687500" rj="16165442.000000" rk="7981595.000000" si="14797647.000000" sj="-2209618.500000" sk="5633027.000000" radius="349.805878" x="15935768.000000" y="-5725783.500000" z="5972754.500000" year= "37323080.000000" day="34769340.000000" alpha="ONE ONE" destination="enigma_sector/tesla"  >
		</Planet>
	</Planet>
	<Planet name="Ometecuhtli" file="planets/wasteland.png" ri="-65553636.000000" rj="-32421822.000000" rk="-59429584.000000" si="256289488.000000" sj="-92567248.000000" sk="-232199280.000000" radius="1447959.875000" x="231273808.000000" y="-475813088.000000" z="183895216.000000" year= "833132800.000000" day="336258464.000000"  >
		<Planet name="enigma_sector/axis" file="jump.png" ri="4427316.500000" rj="-3989504.750000" rk="4108847.000000" si="6473091.000000" sj="75248.648438" sk="-6901745.000000" radius="255.245773" x="1677307.750000" y="-5383197.500000" z="-7013199.000000" year= "10579036.000000" day="5690989.500000" alpha="ONE ONE" destination="enigma_sector/axis"  >
		</Planet>
	</Planet>
	<Planet name="Metztli" file="planets/gas_midget2.png" ri="-2198791.000000" rj="-19947376.000000" rk="72162768.000000" si="94100392.000000" sj="-190955008.000000" sk="-49916932.000000" radius="1200256.375000" x="-171038816.000000" y="-134387536.000000" z="-535807040.000000" year= "484069952.000000" day="93232992.000000"  >
		<Unit name="MiningBase2" file="MiningBase2" ri="-2424678.750000" rj="531168.187500" rk="-1268612.000000" si="-2949648.500000" sj="1207965.250000" sk="6143394.000000" x="-5680103.500000" y="-2183850.250000" z="-7600493.500000" year= "5821433.000000" faction="confed"  />
		<Planet name="Ehecatl" file="sol/neptune.png" ri="7845857.500000" rj="6931292.500000" rk="1113478.375000" si="-1322572.375000" sj="776688.750000" sk="4484378.500000" radius="246864.468750" x="8071743.500000" y="-12100657.000000" z="-9246536.000000" year= "9112971.000000" day="5491089.000000"  >
		</Planet>
		<Planet name="enigma_sector/vespus" file="jump.png" ri="-4408964.000000" rj="-9388292.000000" rk="-90873.414063" si="-4061312.500000" sj="1907091.375000" sk="20352.322266" radius="232.161072" x="-6368114.000000" y="-3011283.750000" z="-5846750.000000" year= "9352870.000000" day="8185438.000000" alpha="ONE ONE" destination="enigma_sector/vespus"  >
		</Planet>
		<Planet name="enigma_sector/callimachius" file="jump.png" ri="-3268552.750000" rj="-2300735.250000" rk="358568.281250" si="529000.250000" sj="-1243970.750000" sk="-3159739.000000" radius="207.114197" x="-8690772.000000" y="4754989.000000" z="7864179.500000" year= "9067780.000000" day="1884012.875000" alpha="ONE ONE" destination="enigma_sector/callimachius"  >
		</Planet>
	</Planet>
	<Planet name="Mictlantecuhtli" file="planets/gas_dwarf.png" ri="162968912.000000" rj="-214125792.000000" rk="342527232.000000" si="-348772960.000000" sj="58410996.000000" sk="202455280.000000" radius="1959228.750000" x="-427199680.000000" y="236103024.000000" z="-176827584.000000" year= "19096053760.000000" day="11107846144.000000"  >
		<Planet name="enigma_sector/adams" file="jump.png" ri="1233294.125000" rj="-2190655.000000" rk="-2175538.500000" si="8085334.500000" sj="3423690.750000" sk="1136027.000000" radius="372.986603" x="-6319888.000000" y="-16779154.000000" z="10485717.000000" year= "16468421.000000" day="14417344.000000" alpha="ONE ONE" destination="enigma_sector/adams"  >
		</Planet>
	</Planet>
	<Planet name="Tonacatecuhtli" file="planets/m_class12.png" ri="-82590536.000000" rj="-21028100.000000" rk="66243144.000000" si="117279024.000000" sj="184488560.000000" sk="204784656.000000" radius="8370647.500000" x="534264640.000000" y="626022656.000000" z="606611328.000000" year= "394987264.000000" day="96724688.000000"  >
		<Planet name="Chalchiuhtlicue" file="planets/Dirt1.png" ri="5678846.500000" rj="-30415780.000000" rk="-4475178.000000" si="-3378082.500000" sj="-10379504.000000" sk="66258168.000000" radius="2838412.500000" x="97988520.000000" y="87007752.000000" z="-27696090.000000" year= "87250976.000000" day="80996128.000000"  >
		</Planet>
	</Planet>
	<Planet name="Paynal" file="planets/m_class3.png" ri="287515968.000000" rj="28293940.000000" rk="97615432.000000" si="-112818704.000000" sj="376862784.000000" sk="223061488.000000" radius="4619910.500000" x="-448995840.000000" y="150716752.000000" z="570827456.000000" year= "1279485440.000000" day="858196672.000000"  >
		<Planet name="Chicomecoatl" file="planets/Dirt6.png" ri="38016468.000000" rj="33707088.000000" rk="-27933750.000000" si="-49316816.000000" sj="48393856.000000" sk="-8721895.000000" radius="1773266.250000" x="-59475904.000000" y="30753324.000000" z="62263184.000000" year= "544652352.000000" day="177722192.000000"  >
		</Planet>
	</Planet>
	<Planet name="Patecatl" file="planets/Snow6.png" ri="19481900.000000" rj="143839200.000000" rk="142204832.000000" si="-157184112.000000" sj="245019600.000000" sk="-226301552.000000" radius="6293783.500000" x="138576880.000000" y="-565859136.000000" z="393752576.000000" year= "365007392.000000" day="59406852.000000"  >
		<Planet name="Centeotl" file="planets/red_rocky.png" ri="-5399366.500000" rj="-50959420.000000" rk="37716064.000000" si="-55234612.000000" sj="14815641.000000" sk="12110609.000000" radius="1665076.250000" x="68904736.000000" y="81143504.000000" z="-71166936.000000" year= "113396224.000000" day="63479324.000000"  >
		</Planet>
	</Planet>
	<Asteroid name="AFieldBaseThin" file="AFieldBaseThin" ri="262138448.000000" rj="201593552.000000" rk="-35938088.000000" si="112196632.000000" sj="-124680000.000000" sk="118992592.000000" x="372903488.000000" y="393391488.000000" z="271550880.000000" year= "827275904.000000"  />
	<Unit name="MiningBase3" file="MiningBase3" ri="262138448.000000" rj="201593552.000000" rk="-35938088.000000" si="112196632.000000" sj="-124680000.000000" sk="118992592.000000" x="372903488.000000" y="393391488.000000" z="271550880.000000" year= "827275904.000000" faction="confed"  />
</Planet>
<Planet name="enigma_sector/xenadriea" file="jump.png" ri="0.000000" rj="0.000000" rk="0.000000" si="0.000000" sj="0.000000" sk="0.000000" radius="75.000000" x="-1000102.000000" y="4792312.000000" z="7329532.000000" year="9237823.000000" day="19238412.000000" alpha="ONE ONE" destination="enigma_sector/xenadriea">
</Planet>
</system>
Please tell me what I am doing wrong.
JsnMtth
Bounty Hunter
Bounty Hunter
Posts: 174
Joined: Wed May 27, 2009 6:38 am
Location: Fresno, California - United States of America
Contact:

Re: How do you put in custom systems into the game? Please Reply

Post by JsnMtth »

I'm using SVN.

You need to put JumpTo<systemname> in the "name" attribute. Your destinations seem ok. The conventions might be case sensitive though. So the case you use to name a system should be the same case as the filename and the same case as the destination.

Metztli is missing a closing </Planet> element.

The Jump Point to Callimachius is missing a quote for the "si" attribute. One of the systems was missing a background on my setup, also I had trouble accessing many jump points because they were inside the star they are orbiting.
Laraso
Mercenary
Mercenary
Posts: 99
Joined: Thu Apr 23, 2009 11:54 pm

Re: How do you put in custom systems into the game? Please Reply

Post by Laraso »

Thanks for telling me that I forgot the ", anyways I didn't do anything to the heavens_gate and chamillus systems besides add a wormhole that leads to Xanedria. In the heavens_gate and chamillus systems, the JumpPointTo was already messed up. I don't know why, but they were. Unfortunatley, I can do no further testing or anything. I just got a trojan last night and I am typing this message via my Wii's internet browser.
Laraso
Mercenary
Mercenary
Posts: 99
Joined: Thu Apr 23, 2009 11:54 pm

Re: How do you put in custom systems into the game? Please Reply

Post by Laraso »

I figured out how to get this working. When I make the systems, what do I do after that? Like, how will they help in any way?
klauss
Elite
Elite
Posts: 7243
Joined: Mon Apr 18, 2005 2:40 pm
Location: LS87, Buenos Aires, República Argentina

Re: How do you put in custom systems into the game? Please Reply

Post by klauss »

I believe you have to add them to milky_way.xml, and add jump points connecting them to the rest of the galaxy, so you can get there. In case you didn't.

Then, that's it I think.
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
Laraso
Mercenary
Mercenary
Posts: 99
Joined: Thu Apr 23, 2009 11:54 pm

Re: How do you put in custom systems into the game? Please Reply

Post by Laraso »

No I figured out how to get it to work, but what do I do with them after I finish? Fendorin wanted me to do this about one and half years ago, and I just recently found out how to make it all work, but when I finish making the systems what do I do then?

He said it was for something on a TODO list.
klauss
Elite
Elite
Posts: 7243
Joined: Mon Apr 18, 2005 2:40 pm
Location: LS87, Buenos Aires, República Argentina

Re: How do you put in custom systems into the game? Please Reply

Post by klauss »

I may be out of context here...

...you want those systems for you privately, or are they contributions?

If you're seeking to contribute them, which systems are we talking about? What's interesting in them (that the auto-builder wouldn't provide)? Is there any polishing left to do? Did you follow the distance scales in SVN (ie: crucible/cephid17)?
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
Laraso
Mercenary
Mercenary
Posts: 99
Joined: Thu Apr 23, 2009 11:54 pm

Re: How do you put in custom systems into the game? Please Reply

Post by Laraso »

It was going to be a contribution. Fendorin had asked me a while ago if I could make some homeworld systems for various factions after seeing the system I made for multiplayer, he said it was on a todo list, and I told him I could do that.

However I don't even know what factions I am supposed to be making systems for, and at this point I don't really feel like making them anymore. Sorry, forget I said anything.
Post Reply