Modding advise again.

Hey Guys.

One of my (unready) mods crashes the game always. I used the Thalan as a base race and made a new one ....

Now always if i start a new game, it crashes ... But only if playing The new race or Thalan.

I dont know what it is. I left all the Pics and Videos at the Thalan "description".

I have added many Traits to that Race, I don't know if that may crush the game but with another Race it was no problem. Tech Tree stayed the same (Thalan),  Sun System didnt. I changed Unary Star to Binary Star without adding anything else, but that should not affect the Thalan race.

Also I downloaded the game completly new today... so the mod must cause the crush also for the Thalan ... :S

any advice ?

16,695 views 12 replies
Reply #1 Top

Got the Thalan working now .... but my other race does not work at all. Hmmm I don't get it.

The abilities all show up in the Race Screen when i look at them. IMO they're not the problem. I dont get error messages ... only a crash at game start.

 

Reply #2 Top

It would help a lot if you showed the code, otherwise people here can only make guesses.

Reply #4 Top

So here is my code, (The opener like <FactionList are always missing here, but in my XML they exist with a propriate closure).

As I don't how to use Spoiler here its all in one :( , ---- indicate new file

<Faction>

<InternalName>FACTION_PROTOSS</InternalName>

<DisplayName>FACTION_PROTOSS_Name</DisplayName>

<DisplayNameShort>FACTION_PROTOSS_ShortName</DisplayNameShort>

<LeaderName>FACTION_PROTOSS_LeaderName</LeaderName>

<Description>FACTION_PROTOSS_Dec</Description>

<LeaderDescription>FACTION_PROTOSS_LeaderDec</LeaderDescription>

<RaceType>Major</RaceType>

<PersonalityTraits>Aggressive</PersonalityTraits>

<PersonalityTraits>Scientific</PersonalityTraits>

<PersonalityTraits>Spiritual</PersonalityTraits>

<RaceTraits>PatrioticAbility</RaceTraits>

<RaceTraits>StarfaringAbility</RaceTraits>

<RaceTraits>AdaptableAbility</RaceTraits>

<RaceTraits>UnrelentingAbility</RaceTraits>

<RaceTraits>ZealotsAbility</RaceTraits>

<RaceTraits>KnowledgeableAbility</RaceTraits>

<RaceTraits>ParanoidAbility</RaceTraits>

<RaceTraits>UnwaveringAbility</RaceTraits>

<RaceTraits>Brutal1</RaceTraits>

<RaceTraits>Productive1</RaceTraits>

<RaceTraits>Tough4</RaceTraits>

<RaceTraits>SharpEyed1</RaceTraits>

<RaceTraits>Agile4</RaceTraits>

<RaceTraits>Resilient1</RaceTraits>

<RaceTraits>Adventuresome1</RaceTraits>

<RaceTraits>Observant1</RaceTraits>

<RaceTraits>Fast1</RaceTraits>

<RaceTraits>Farmers4</RaceTraits>

<RaceTraits>Fertile4</RaceTraits>

<RaceTraits>Militant4</RaceTraits>

<RaceTraits>Clever1</RaceTraits>

<RaceTraits>Influential4</RaceTraits>

<RaceTraits>Likeable4</RaceTraits>

<RaceTraits>Organized1</RaceTraits>

<RaceTraits>Dense1</RaceTraits>

<RaceTraits>Handy4</RaceTraits>

<RaceTraits>Content3</RaceTraits>

<RequiresHomeworld>true</RequiresHomeworld>

<HomeStarSystem>AiurSystem</HomeStarSystem>

<StartingShips>ColonyStaticBlueprint</StartingShips>

<StartingShips>SurveyStaticBlueprint</StartingShips>

<StartingShips>ColonyStaticBlueprint</StartingShips>

<StartingShips>ColonyStaticBlueprint</StartingShips>

<StartingShips>ColonyStaticBlueprint</StartingShips>

<TechTree>Thalan_Tree</TechTree>

<ShipCallsign>FACTION_PROTOSS_Callsign</ShipCallsign>

<LogoImage>RaceLogo08.png</LogoImage>

<LeaderThumbnail>GC3_Thalan_Small.png</LeaderThumbnail>

<NewsRobotMovie_Approach>Thalan_NewsBot_Idle.bk2</NewsRobotMovie_Approach>

<NewsRobotMovie_Idle>Thalan_NewsBot_Idle.bk2</NewsRobotMovie_Idle>

<StartupImage>StartGameThalan.png</StartupImage>

<StartupTitle>FACTION_PROTOSS_StartupTitle</StartupTitle>

<StartupDescription>FACTION_PROTOSS_StartupDescription</StartupDescription>

<StartupTraitsDescription>FACTION_PROTOSS_StartupTraitsDescription</StartupTraitsDescription>

<ConquestMovie>MilVic_THALAN.bk2</ConquestMovie>

<MapColorDef>ProtossMapColors</MapColorDef>

<UIColorDef>ProtossUIColors</UIColorDef>

<FactionMusicDef>ThalanMusic</FactionMusicDef>

<Material1>GC3_Ship_Material_ThalanSteel</Material1>

<Material2>GC3_Ship_Material_ThalanPainted</Material2>

<Surface1>GC3_Default_Surface_16</Surface1>

<Surface2>GC3_Default_Surface_17</Surface2>

<Appearance>GC3_Thalan_Appearance</Appearance>

<ShipStyleSet>ThalanShipStyleSet</ShipStyleSet>

<CreditsInit>5000</CreditsInit>

<WarEnduranceInit>100</WarEnduranceInit>

<DefaultResistance>0.5</DefaultResistance>

<InfluenceTallyInit>11</InfluenceTallyInit>

<StartingColonyPopulation>10</StartingColonyPopulation>

<AICategoryWeight>

<Military>25</Military>

<Growth>5</Growth>

<Tech>25</Tech>

<Diplomacy>5</Diplomacy>

<Expansion>25</Expansion>

<Wealth>5</Wealth>

<Influence>5</Influence>

<Fortification>5</Fortification>

</AICategoryWeight>

</Faction>

------

<StarSystemGroup>

<InternalName>FactionStart2</InternalName>

 

<StarSystem>

<InternalName>AiurSystem</InternalName>

<DisplayName>AiurSystem_Name</DisplayName>

<Description>AiurSystem_Dec</Description>

<OrbitLane>

<LaneType>Star</LaneType>

<Body>

<BodyType>UnaryStar</BodyType>

<BodyDef>AiurStar</BodyDef>

</Body>

</OrbitLane>

<OrbitLane>

<LaneType>DeadZone</LaneType>

</OrbitLane>

<OrbitLane>

<LaneType>HabitableZone</LaneType>

<Body>

<BodyType>Planet</BodyType>

<BodyDef>Aeon</BodyDef>

</Body>

<Body>

<BodyType>Planet</BodyType>

<BodyDef>Aiur</BodyDef>

<IsHomeworld>true</IsHomeworld>

<Position>5</Position>

</Body>

<Body>

<BodyType>Planet</BodyType>

<BodyDef>Khas</BodyDef>

</Body>

<Body>

<BodyType>Planet</BodyType>

<BodyDef>Shakuras</BodyDef>

</Body>

<Body>

<BodyType>Planet</BodyType>

<BodyDef>Adun</BodyDef>

</Body>

</OrbitLane>

<OrbitLane>

<LaneType>OuterZone</LaneType>

<Body>

<BodyType>Asteroid</BodyType>

<BodyDef>NormalAsteroid</BodyDef>

<Position>0</Position>

</Body>

</OrbitLane>

</StarSystem>

 

 

 

</StarSystemGroup>

-----

<Star>

<InternalName>AiurStar</InternalName>

<DisplayName>AiurStar_Name</DisplayName>

<ObjectType>Star</ObjectType>

<Type>BlueStar</Type>

<ArtDefine>BlueStarArt</ArtDefine>

<SFXDefine>STAR_AMBIENT</SFXDefine>

</Star>

</StarList>

------

 

<Planet>

<InternalName>Aiur</InternalName>

<DisplayName>Aiur_Name</DisplayName>

<PlanetType>Habitable</PlanetType>

<PlanetClass>7</PlanetClass>

<PlanetTrait>BreadBasketWorld</PlanetTrait>

<ArtDefine>DrengiArt</ArtDefine>

 

</Planet>

 

<Planet>

<InternalName>Aeon</InternalName>

<DisplayName>Aeon_Name</DisplayName>

<PlanetType>Habitable</PlanetType>

<PlanetClass>3</PlanetClass>

<PlanetTrait>GhostWorld</PlanetTrait>

<ArtDefine>IconiaArt</ArtDefine>

</Planet>

 

<Planet>

<InternalName>Khas</InternalName>

<DisplayName>Khas_Name</DisplayName>

<PlanetType>Habitable</PlanetType>

<PlanetClass>3</PlanetClass>

<PlanetTrait>DesertWorld</PlanetTrait>

<ArtDefine>ThalaArt</ArtDefine>

</Planet>

 

<Planet>

<InternalName>Shakuras</InternalName>

<DisplayName>Shakuras_Name</DisplayName>

<PlanetType>Habitable</PlanetType>

<PlanetClass>3</PlanetClass>

<PlanetTrait>FrozenWorld</PlanetTrait>

<ArtDefine>NewIconiaArt</ArtDefine>

</Planet>

 

<Planet>

<InternalName>Adun</InternalName>

<DisplayName>Adun_Name</DisplayName>

<PlanetType>Habitable</PlanetType>

<PlanetClass>3</PlanetClass>

<PlanetTrait>SereneWorld</PlanetTrait>

<ArtDefine>ArceaArt</ArtDefine>

</Planet>

 -----

<UIColorDef>

<InternalName>ProtossUIColors</InternalName>

<DisplayName>UI_Color_Protoss</DisplayName>

<Color>

<OriginalColor>UIDefault</OriginalColor>

<OverrideColor>ProtossUIDefault</OverrideColor>

</Color>

<Color>

<OriginalColor>UIDefaultHot</OriginalColor>

<OverrideColor>ProtossUIDefaultHot</OverrideColor>

</Color>

<Color>

<OriginalColor>UIDefaultHighlight</OriginalColor>

<OverrideColor>ProtossUIDefaultHighlight</OverrideColor>

</Color>

<Color>

<OriginalColor>FOWUnexplored</OriginalColor>

<OverrideColor>ProtossFOWUnexplored</OverrideColor>

</Color>

</UIColorDef>

------

 

<Color>

<InternalName>ProtossRaceYellow</InternalName>

<Red>255</Red>

<Green>255</Green>

<Blue>0</Blue>

</Color>

<Color>

<InternalName>ProtossMapYellow</InternalName>

<Red>255</Red>

<Green>255</Green>

<Blue>0</Blue>

</Color>

 

<Color>

<InternalName>ProtossUIYellow</InternalName>

<Red>255</Red>

<Green>255</Green>

<Blue>0</Blue>

</Color>

<Color>

<InternalName>ProtossUIDefault</InternalName>

<Red>255</Red>

<Green>255</Green>

<Blue>0</Blue>

</Color>

 

<Color>

<InternalName>ProtossUIDefaultHot</InternalName>

<Red>255</Red>

<Green>255</Green>

<Blue>0</Blue>

</Color>

 

<Color>

<InternalName>ProtossUIDefaultHighlight</InternalName>

<Red>255</Red>

<Green>255</Green>

<Blue>0</Blue>

</Color>

 

<Color>

<InternalName>ProtossFOWUnexplored</InternalName>

<Red>255</Red>

<Green>255</Green>

<Blue>0</Blue>

</Color>

 

<!-- <Color>

<InternalName>ProtossFOWExposed</InternalName>

<Red>60</Red>

<Green>50</Green>

<Blue>70</Blue>

</Color>

 

<Color>

<InternalName>ProtossMiniMapFogColor</InternalName>

<Red>50</Red>

<Green>40</Green>

<Blue>60</Blue>

</Color>

 

<Color>

<InternalName>ProtossFOWBorderColor</InternalName>

<Red>110</Red>

<Green>80</Green>

<Blue>120</Blue>

</Color>

------

 

<StringTable>

<Label>FACTION_PROTOSS_Name</Label>

<String>Protoss High Court</String>

</StringTable>

 

<StringTable>

<Label>FACTION_PROTOSS_ShortName</Label>

<String>Protoss</String>

</StringTable>

 

<StringTable>

<Label>FACTION_PROTOSS_LeaderName</Label>

<String>Hierach Artanis</String>

</StringTable>

 

<StringTable>

<Label>FACTION_PROTOSS_Dec</Label>

<String>Protoss </String>

</StringTable>

 

<StringTable>

<Label>FACTION_PROTOSS_LeaderDec</Label>

<String>Artanis is the Hierach of the Protoss</String>

</StringTable>

 

<StringTable>

<Label>FACTION_PROTOSS_Callsign</Label>

<String>G.A.</String>

</StringTable>

 

<StringTable>

<Label>FACTION_PROTOSS_StartupTitle</Label>

<String>Back into the void</String>

</StringTable>

 

<StringTable>

<Label>FACTION_PROTOSS_StartupDescription</Label>

<String>Protoss2

</String>

</StringTable>

 

<StringTable>

<Label>UI_Color_Protoss</Label>

<String>Protoss</String>

</StringTable>

 

<StringTable>

<Label>FACTION_PROTOSS_StartupTraitsDescription</Label>

<String>Race Protoss</String>

</StringTable>

 --------

<StringTable>

<Label>AiurSystem_Name</Label>

<String>Aiur</String>

</StringTable>

 

<StringTable>

<Label>Aiur_Dec</Label>

<String>The Home System of the Protoss</String>

</StringTable>

 

<StringTable>

<Label>AiurStar_Name</Label>

<String>Aiur Star</String>

</StringTable>

 

<StringTable>

<Label>Aiur_Name</Label>

<String>Aiur</String>

</StringTable>

<StringTable>

<Label>Aeon_Name</Label>

<String>Aeon</String>

</StringTable>

 

<StringTable>

<Label>Khas_Name</Label>

<String>Khas</String>

</StringTable>

 

<StringTable>

<Label>Shakuras_Name</Label>

<String>Shakuras</String>

</StringTable>

 

<StringTable>

<Label>Adun_Name</Label>

<String>Adun</String>

</StringTable>

 

Reply #5 Top

Advice number one: Do not show this to Brad(Frogboy)  :grin:

Your XMLs seem to be valid. You may able to find out on what it crashes by looking at the debug log. Right before the game makes a crash dump. It is right beside Prefs.ini, called "Debug.err".

Reply #6 Top

Going to give this a look as soon as I get home.

Reply #7 Top

Quoting pendrokar, reply 5

Advice number one: Do not show this to Brad(Frogboy)  :grin:

Your XMLs seem to be valid. You may able to find out on what it crashes by looking at the debug log. Right before the game makes a crash dump. It is right beside Prefs.ini, called "Debug.err".

Why won't he like it because of the Protoss thing :D ? Or because of my XML data ?

Here is the Debug data from the last crash:

It repeats itself afterwards... and all other bugs which I found are fixed atm.

Debug Message:  No files found matching mask C:\Users\Dennis\Documents\My Games\GalCiv3\Mods\Core\*.xml
Debug Message:  No files found matching mask C:\Users\Dennis\Documents\My Games\GalCiv3\Mods\ExampleMod\Core\*.xml
Debug Message:  No files found matching mask C:\Users\Dennis\Documents\My Games\GalCiv3\Mods\Text\*.xml
Debug Message:  No files found matching mask C:\Users\Dennis\Documents\My Games\GalCiv3\Mods\ExampleMod\Text\*.xml
Debug Message:  No files found matching mask C:\Users\Dennis\Documents\My Games\GalCiv3\Mods\Campaign\Game\*.xml
Debug Message:  No files found matching mask C:\Users\Dennis\Documents\My Games\GalCiv3\Mods\Core\Game\*.xml
Debug Message:  No files found matching mask C:\Users\Dennis\Documents\My Games\GalCiv3\Mods\ExampleMod\Game\*.xml
Debug Message:  No files found matching mask C:\Users\Dennis\Documents\My Games\GalCiv3\Mods\Factions\Game\*.xml
Debug Message:  No files found matching mask C:\Users\Dennis\Documents\My Games\GalCiv3\Mods\Game\Game\*.xml
Debug Message:  No files found matching mask C:\Users\Dennis\Documents\My Games\GalCiv3\Mods\Text\Game\*.xml
Debug Message:  No files found matching mask ..\Campaigns\Campaign_01\Game\*.xml
Debug Message:  No files found matching mask ..\Campaigns\Campaign_01\Campaign_01_Scenario_01\Game\*.xml
Debug Message:  No files found matching mask ..\Campaigns\Tutorial\Game\*.xml
Debug Message:  No files found matching mask ..\Campaigns\Tutorial\Tutorial_Refuge\Game\*.xml

Thy for help

Quoting Sorentoft, reply 6

Going to give this a look as soon as I get home.

Thx :)

Reply #8 Top

Alright, so. I looked at it and got it to work. From what I can see then the error you made was in the snippet:

<MapColorDef>ProtossMapColors</MapColorDef>

Without a map colour defined with that actual name then the game will crash. :)

Also for some reason your planets show as 'dead', I am not sure why, but I fixed it by changing them to use generic art.

Reply #9 Top

Quoting Sorentoft, reply 8

Alright, so. I looked at it and got it to work. From what I can see then the error you made was in the snippet:




<MapColorDef>ProtossMapColors</MapColorDef>




Without a map colour defined with that actual name then the game will crash. :)

Also for some reason your planets show as 'dead', I am not sure why, but I fixed it by changing them to use generic art.

 

Okay cool that you found it.

I get it... I made an extra file for the Map colors.

Now ittl work.

Oh the planet designs nvm. I will change them as soon as i tried it out :)

Thx man !

Reply #10 Top

Quoting AzraeldeBaphuon, reply 9


Quoting Sorentoft,

Alright, so. I looked at it and got it to work. From what I can see then the error you made was in the snippet:






<MapColorDef>ProtossMapColors</MapColorDef>





Without a map colour defined with that actual name then the game will crash. :)

Also for some reason your planets show as 'dead', I am not sure why, but I fixed it by changing them to use generic art.



 

Okay cool that you found it.

I get it... I made an extra file for the Map colors.

Now ittl work.

Oh the planet designs nvm. I will change them as soon as i tried it out :)

Thx man !

You're welcome, buddy. :)

Reply #11 Top

Redacted comment. It was already mentioned.

Reply #12 Top

Quoting Sorentoft, reply 8
Also for some reason your planets show as 'dead', I am not sure why, but I fixed it by changing them to use generic art.

This is because every planet looks at the heightmap of the art you used to determine where to put your workable hexes. This is also how terraforming finds out what tiles are worthy (by checking what % of the hex is made up of "land"). You can't just slap a skin on it with no continent heightmap, or else it will have nowhere to put the hexes, leading to colonizable class 0 worlds.

+1 Loading…