Star base more upgrade problem

Ok Im trying to make it so you can max all of the starbases upgrades but Iv tried but when I change this part of the code, when i build the starbase it just appears and than dissapers.

 

Here is the coding.

StarBaseTech.entity

 

TXT
entityType "StarBase"
ability:0 "AbilityResupply"
ability:1 "AbilitySelfDestruct"
ability:2 ""
ability:3 "AbilityDestabilizeHyperspacePhase"
ability:4 ""
defaultAutoAttackRange "None"
defaultAutoAttackOn TRUE
prefersToFocusFire TRUE
usesFighterAttack FALSE
numRandomDebrisLarge 12
numRandomDebrisSmall 24

etc( a bought middle of coding)
experiencePointsForDestroying 400.000000
nameStringID "IDS_STARBASETECH_NAME"
picture "PICTURE_STARBASETECH"
statCountType "StarBase"
maxUpgradeLevelCount 20 THis was 8
UpgradeTypeCount 8
UpgradeType "StarBaseUpgradeTechWeapons"
UpgradeType "StarBaseUpgradeTechToughness"
UpgradeType "StarBaseUpgradeTechHangar"
UpgradeType "StarBaseUpgradeTechTradePort"
UpgradeType "StarBaseUpgradeTechBlockColonize"
UpgradeType "StarBaseUpgradeTechFactory"
UpgradeType "StarBaseUpgradeTechResupply"
UpgradeType "StarBaseUpgradeTechSelfDestruct"
etc
I also tired changing Upgrade tupe count 8 and it did the same. I also tried changing them both. same thing happened.
5,159 views 13 replies
Reply #1 Top

im my megabase mod(24 /30 upgrades for the TEC and similar counts for the other races), I have had  a similiar problem occasionally, but, never did figure out what was happening or why, but as the only files I had changed were the starbase entitys and starbase upgrade entitys .

and yes it was frustrating especially as the entiys were taken from the standard game and altered only in the numbers, and added levels(for the upgrades).

harpo

Reply #2 Top

The way i did it is by changing only this line "maxUpgradeLevelCount 8" to 24 and it works. i don't know what you did that do this but maybe it's because of another mod enabled if you got any.

Reply #3 Top

Thanks and the only other mod that was enabled was my flagship mod which did not in any way edit the star base.

Reply #4 Top

Ok I tried what Joebenz did and it did the same thing, and I disabled my other mod.

Reply #5 Top

which version of the reference files are you using?

if it is an old reference file versuion it could be the cause of the problems

harpo

 

Reply #6 Top

Im using the entrenchment version that came with the download and I downloaded Diplomacy 1.31 and the files are not all there.

Reply #7 Top

the download version with the forge tools IS the oldest entrenchment version available, AND IS THE CAUSE of the crashes, and I have uploaded the latest set of files for each of the versions in my reference files thread.

 in my files if you do not find the file you need in the entrenchment set then look in the sins set, as all entrenchment and diplomacy mods and files stack in the following sequence and are searched in sequence till the file is found

top enabled mod

second enabled mod

third enabled mod

.... enabled mod

 

program files 'diplomacy' (if diplomacy game, otherwise ignored)

program files 'entrenchment', and if the file can not be found it then checks

program files 'sins of a solar empire',

 

BUT vanilla sins behaves completely differently

 if it doe NOT find the file in the mod it crashes, it does NOT search fo the file.

harpo

 

Reply #8 Top

Yes Im using the latest starbase file. But it does not crasj it is just when I build the star base it just appears and dissapers, but when I look at the list of units I got, the star base appears as one of the m and I click on it and it takes me to this black space background with no star base.

All I did was what Joebenz told me to do.

Reply #9 Top

I also had that issue back in entrenchment 1.04 patch time, and the cause was the five files in the pipelineeffects folder in a mod, the five files were

GS_Asteroid.fx
GS_Planet.fx
GS_Ship.fx
GS_ShipBuilding.fx
GS_ShipPhasedOut.fx

BUT I am not sure if the issue IS related to them, but if you have the files, make sure you are using the latest versions(in the diplomacy piplineeffects folder) or just delete the pipeline effects folder from the mod(s)

harpo

 

Reply #10 Top

Maybe there is a threshold for how high you can make that factor. On my end I only tried to push the max Upgrades to 10 and that works without a problem.

Reply #11 Top

as I had stated, my megasb mod has 24 upgrades from 30 possible upgrades in the tec and similar counts for advent AND vasari, and usually has no issues at all, even when run without manifests.

harpo

 

Reply #12 Top

where does one find this file to modify their bases, i've tried the "Game info" file and got no where

Reply #13 Top

the total upgrades ALLOWED are in the entrenchment\gameinfo\starbaseRACE.entitys, and the upgrades are in the entrenchment\gameinfo\StarBaseUpgradeRACEfunction.entitys (each of these can have a total of ten levels from 0 to 9, with nine upgrades possible there is a theoretical limit of ninety  upgrades

and the line you want to alter  to increase the total upgrades that can be buit per starbase reads

maxUpgradeLevelCount 8    <== change the 8 to whatever you want, but the total count of stock starbase upgrades is 24, so if you want more than 24 upgrades then you will have to edit the starbase upgrades to add the extra levels.

 and the starebases were hidden in the ENTRENCHMENT gameinfo's

and before I forget, do NOT change the files in the program files folders, first make a copy of them in ANOTHER location, then create a MOD with the files you want to alter in them and change the files in the MOD, the enable the mod in game AND apply the mod in the game

harpo