Those working on this mod do so in their own free time and for no pay.
Show your support for them by enabling ads on this site!

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Voss Parck

Pages: [1]
1
EaW and FoC Mods / [SOLVED] New faction problem : cant'build anything
« on: July 25, 2017, 12:47:42 PM »
Hello,

The awesome ICW developped here made me want to be able to mod the game myself.

So, a week ago, I began to read every tutorial I could find and I (relatively) successfully tweaked the game files.

However, I can't seem to make new factions work properly. If anyone has encountered the same problem, I'd be glad to learn the solution.

What I did :

1/
I've introduced a new faction, "NusoEsvaFaction", into Expanded_Factions. It's basically a copy-paste of the Yevethas.

Here is what has changed in the faction description :
Code: [Select]
<Text_ID> TEXT_FACTION_NUSOESVAFACTION </Text_ID>
<Icon_Name> i_icon_nusoesvafaction.tga </Icon_Name>
<Alternate_Icon_Name> i_icon_nusoesvafaction.tga </Alternate_Icon_Name>
<Color> 250, 250, 250, 255 </Color>
<No_Colorization_Color> 250, 250, 250, 255 </No_Colorization_Color>
<Display_Font_Color>  250, 250, 250, 255  </Display_Font_Color>
<Big_Fleet_Color>  250, 250, 250, 255 </Big_Fleet_Color>
<Alternate_Icon_Prefix> NEF_ </Alternate_Icon_Prefix>

<Allies></Allies>
<Enemies>Rebel, Pirates, Sarlacc, Hostile, Underworld, Hutts, Pentastar, Hapans, Empire, URThreats</Enemies>
<Primary_Enemy> Underworld </Primary_Enemy>
<Skirmish_Land_Bomber> Y-Wing_Bombing_Run </Skirmish_Land_Bomber>

2/
In addition to that, I've assigned a Warlord ship

Code: [Select]
<SpaceUnit Name="Warlord_NEF">
<Variant_Of_Existing_Type>Warlord</Variant_Of_Existing_Type>
        <Affiliation>NusoEsvaFaction</Affiliation>
        <Tech_Level>1</Tech_Level>
        <Required_Star_Base_Level>1</Required_Star_Base_Level>
<Required_Planets></Required_Planets>
        <Build_Cost_Credits>1250</Build_Cost_Credits>
        <Build_Time_Seconds>30</Build_Time_Seconds>
</SpaceUnit>

3/
Then, I've added the Starbases. I just changed affiliation and Prev/Next level references :

Code: [Select]
<StarBase Name="NEF_Star_Base_1">
<Affiliation>NusoEsvaFaction</Affiliation>
<Next_Level_Base>NEF_Star_Base_2</Next_Level_Base>
etc.

4/
Finally, I've created a GC where I give the NusoEsvaFaction one planet, one starbase lvl 1 and one warlord ship.


Symptoms :

I can't build anything, as the building options (buttons) do not appear (no new ship even though the Warlord should be buildable, and no starbase lvl 2.)
Moreover, after about half a ingame week, I lose the game (losing credits then stat screen appear)

Same problem when adding other units and when trying land units or buildings.


If anyone has an explanation, I'd be grateful. Thanks !

Pages: [1]
Those working on this mod do so in their own free time and for no pay.
Show your support for them by enabling ads on this site!