News

Working with MODs

An early help thread / request help thread

Posted on Monday, April 20, 2015

First:

 

If Mods are not working this is a known issue, if your My Documents is in a non-standard location:

A workaround is to edit:

Tools\

DataCompiler.bat

CampaignCompiler.bat

CoreCompiler.bat

ParticleCompiler.bat

 

So that:

SET moddir=%docsdir%\My Games\GalCiv3\Mods

is hard coded to the right directory

(Example: 

SET moddir=D:\Users\myusername\My Documents\My Games\GalCiv3\Mods

)

 

 

Second for my question perhaps some one can help give pointers on.

 

Adding a new StarSsystem intended for a faction start.

 

Do you have to totally duplicate the entire star system group 'Faction Start' to add one?

 

with this in my mod directory:

<StarSystemList

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../Schema/StarSystemDefs.xsd">
<StarSystemGroup>
<InternalName>FactionStart</InternalName>
<StarSystem>
<InternalName>HavenSystem</InternalName>
<DisplayName>HavenSystem_Name</DisplayName>
<Description>HavenSystem_Dec</Description>
<OrbitLane>
<LaneType>Star</LaneType>
<Body>
<BodyType>UnaryStar</BodyType>
<BodyDef>IcosStar</BodyDef>
</Body>
</OrbitLane>
<OrbitLane>
<LaneType>DeadZone</LaneType>
<MinPlanets>0</MinPlanets>
<MaxPlanets>1</MaxPlanets>
</OrbitLane>
<OrbitLane>
<LaneType>HabitableZone</LaneType>
<Body>
<BodyType>Planet</BodyType>
<BodyDef>PlanetHaven</BodyDef>
<IsHomeworld>true</IsHomeworld>
<Position>3</Position>
</Body>
</OrbitLane>
<OrbitLane>
<LaneType>NoRandom</LaneType>
<Body>
<BodyType>Asteroid</BodyType>
<BodyDef>NormalAsteroid</BodyDef>
<Position>14</Position>
</Body>
<Body>
<BodyType>Asteroid</BodyType>
<BodyDef>NormalAsteroid</BodyDef>
<Position>16</Position>
</Body>
</OrbitLane>
</StarSystem>
</StarSystemGroup>
</StarSystemList>

 

I get a duplicate internal name error "FactionStart",  so how do I add a new faction start, unless I duplicate ALL of them,  which then means next udpates, I have to redit,  seems I should be able to add a new leaf/limb to an existing tree

 

Edit:  To list the multiple Batch files that need to be edited