PLANETMODULE_PSIORBITALBEAMDEFENSE.entity causing game to not load

when I put this file in mod folder the game just stops before the movies start playing

I have a mod folder at: \Local Settings\Application Data\Ironclad Games\Sins of a Solar Empire\Mods-Entrenchment v1.02\WTF\Gameinfo

It has about 50 edited entity files in it that work. When I put PLANETMODULE_PSIORBITALBEAMDEFENSE.entity into the Gameinfo folder (edited or unedited) the game doesn't even start playing the movies. It's just a black screen.

Help. Thanks

3,176 views 7 replies
Reply #1 Top

Then it simply means that your file contains an error opr thats its label is miswritten! meaning hte game doesnt recognise it and thus..BOOM! crash!

 

Give us more detail!

Look into your debug logs and give us concrete errors!

Reply #2 Top

For the concrete error thing, set showErrors to TRUE in your user.setting file :P

Reply #3 Top

The errors are like:

Text FileArchive missing Label.

File: C:\Documents and Settings\Administrator\Local Settings\Application Data\Ironclad Games\Sins of a Solar Empire\Mods-Entrenchment v1.02\WTF\GameInfo\PLANETMODULE_PSIORBITALBEAMDEFENSE.entity
Label: ability:4
Line Number:7
Line Contents:MaxAntiMatter 0.000000

I went here: C:\Program Files\Stardock Games\Sins of a Solar Empire\Entrenchment\GameInfo

ReCopied the file. Except it's bin I guess. Used ConvertData_Entrenchment.exe and cmd line to manually convert to txt. The file in this post's title would not convert. I tested my command entry on three other files and they worked so I'm typing it in right: convertdata_entrenchment entity BLA.entity BLA.entity txt

So I got a different PSIORBITALBEAMDEFENSE.entity from the original sins gameinfo folder and converted that to txt. The game still freezes whenever I add this

Neither of the two GUI entity conversion progs worked.

Reply #4 Top

Your entity's structure does not match what the game is expecting to find.

It should look somthing like this:

...

ability:1 ""
ability:2 ""
ability:3 ""
ability:4 ""
MaxAntiMatter 120.000000
AntiMatterRestoreRate 0.750000

...

End of quote

Are you missing the "" after ability:3 or ability:4?

-dolynick

Reply #5 Top

Ok. I copied PLANETMODULE_PSIORBITALBEAMDEFENSE.entity from C:\Program Files\Stardock Games\Sins of a Solar Empire\Entrenchment\GameInfo so it should be the latest 1.02 version. I used ConvertData_Entrenchment.exe in the main directory to convert it to txt. Below are the errors. It's like the conversion wiped out lines 46-55? 

Text FileArchive missing Label.

File: C:\Documents and Settings\Administrator\Local Settings\Application Data\Ironclad Games\Sins of a Solar Empire\Mods-Entrenchment v1.02\WTF\GameInfo\PLANETMODULE_PSIORBITALBEAMDEFENSE.entity
Label: rotateFacingType
Line Number:46
Line Contents:rotateToFacePlanet FALSE

Failed to convert '' to an enum value.

Text FileArchive missing Label.

File: C:\Documents and Settings\Administrator\Local Settings\Application Data\Ironclad Games\Sins of a Solar Empire\Mods-Entrenchment v1.02\WTF\GameInfo\PLANETMODULE_PSIORBITALBEAMDEFENSE.entity
Label: rotateConstantly
Line Number:47
Line Contents:rotateToFacePlanet FALSE

Text FileArchive missing Label.

File: C:\Documents and Settings\Administrator\Local Settings\Application Data\Ironclad Games\Sins of a Solar Empire\Mods-Entrenchment v1.02\WTF\GameInfo\PLANETMODULE_PSIORBITALBEAMDEFENSE.entity
Label: ShieldMeshName
Line Number:48
Line Contents:rotateToFacePlanet FALSE

Text FileArchive missing Label.

File: C:\Documents and Settings\Administrator\Local Settings\Application Data\Ironclad Games\Sins of a Solar Empire\Mods-Entrenchment v1.02\WTF\GameInfo\PLANETMODULE_PSIORBITALBEAMDEFENSE.entity
Label: NumSoundsFor:ONATTACKORDERISSUED
Line Number:49
Line Contents:rotateToFacePlanet FALSE

Text FileArchive missing Label.

File: C:\Documents and Settings\Administrator\Local Settings\Application Data\Ironclad Games\Sins of a Solar Empire\Mods-Entrenchment v1.02\WTF\GameInfo\PLANETMODULE_PSIORBITALBEAMDEFENSE.entity
Label: NumSoundsFor:ONCREATION
Line Number:50
Line Contents:rotateToFacePlanet FALSE

Text FileArchive missing Label.

File: C:\Documents and Settings\Administrator\Local Settings\Application Data\Ironclad Games\Sins of a Solar Empire\Mods-Entrenchment v1.02\WTF\GameInfo\PLANETMODULE_PSIORBITALBEAMDEFENSE.entity
Label: NumSoundsFor:ONGENERALORDERISSUED
Line Number:51
Line Contents:rotateToFacePlanet FALSE

Text FileArchive missing Label.

File: C:\Documents and Settings\Administrator\Local Settings\Application Data\Ironclad Games\Sins of a Solar Empire\Mods-Entrenchment v1.02\WTF\GameInfo\PLANETMODULE_PSIORBITALBEAMDEFENSE.entity
Label: NumSoundsFor:ONSELECTED
Line Number:52
Line Contents:rotateToFacePlanet FALSE

Text FileArchive missing Label.

File: C:\Documents and Settings\Administrator\Local Settings\Application Data\Ironclad Games\Sins of a Solar Empire\Mods-Entrenchment v1.02\WTF\GameInfo\PLANETMODULE_PSIORBITALBEAMDEFENSE.entity
Label: NumSoundsFor:ONSTARTPHASEJUMP
Line Number:53
Line Contents:rotateToFacePlanet FALSE

Text FileArchive missing Label.

File: C:\Documents and Settings\Administrator\Local Settings\Application Data\Ironclad Games\Sins of a Solar Empire\Mods-Entrenchment v1.02\WTF\GameInfo\PLANETMODULE_PSIORBITALBEAMDEFENSE.entity
Label: MeshNameInfoCount
Line Number:54
Line Contents:rotateToFacePlanet FALSE

MeshNameInfoCount exceeds the maximum allowed. 7536750 requested but only 12 allowed. If a larger number is needed bug a programmer!

Text FileArchive missing Label.

File: C:\Documents and Settings\Administrator\Local Settings\Application Data\Ironclad Games\Sins of a Solar Empire\Mods-Entrenchment v1.02\WTF\GameInfo\PLANETMODULE_PSIORBITALBEAMDEFENSE.entity
Label: MeshNameInfo
Line Number:55
Line Contents:rotateToFacePlanet FALSE

 

 

 

TXT
entityType "PlanetModuleWeaponDefense"
minZoomDistanceMult 2.500000
ability:0 "AbilityDefenseSynergy"
ability:1 ""
ability:2 ""
ability:3 ""
ability:4 ""
MaxAntiMatter 40.000000
AntiMatterRestoreRate 0.000000
numRandomDebrisLarge 5
numRandomDebrisSmall 18
numSpecificDebris 0
armorType "Module"
hudIcon "HUDICON_PLANETMODULE_PSIORBITALBEAMDEFENSE"
smallHudIcon "HUDICONSMALL_PLANETMODULE_PSIORBITALBEAMDEFENSE"
infoCardIcon "INFOCARDICON_PLANETMODULE_PSIORBITALBEAMDEFENSE"
planetUpgradeSlotType "Tactical"
planetUpgradeSlotCount 1.000000
basePrice
 credits 250.000000
 metal 75.000000
 crystal 35.000000
NameStringID "IDS_PLANETMODULE_PSIORBITALBEAMDEFENSE_NAME"
DescriptionStringID "IDS_PLANETMODULE_PSIORBITALBEAMDEFENSE_DESCRIPTION"
planetModuleRoleType "WEAPONDEFENSE"
statCountType "ModulePointDefense"
Prerequisites
 NumResearchPrerequisites 0
MaxHullPoints 3000.000000
HullPointRestoreRate 2.000000
BaseArmorPoints 12.000000
MaxShieldPoints 0.000000
ShieldPointRestoreRate 2.500000
maxShieldMitigation 0.600000
ExperiencePointsForDestroying 50.000000
resourceExtractionType "Invalid"
cultureSpreadRate 0.000000
isAffectedBySimilarModuleCostResearch FALSE
placementRadius 340.000000
nearPlacementDistOffset 0.000000
farPlacementDistOffset 9000.000000
spawnCount 1
swapMineType ""
angularSpeed 19.999992
rotateSoundName ""
rotateToFacePlanet FALSE
rotateConstantly FALSE
ShieldMeshName "Shield_ModulePsiBeamDefense"
NumSoundsFor:ONATTACKORDERISSUED 0
NumSoundsFor:ONCREATION 0
NumSoundsFor:ONGENERALORDERISSUED 0
NumSoundsFor:ONSELECTED 1
SoundID "PLANETMODULE_PSIORBITALBEAMDEFENSE_ONSELECTION_0"
NumSoundsFor:ONSTARTPHASEJUMP 0
MeshNameInfoCount 2
MeshNameInfo
 meshName "PlanetModule_PsiOrbitalBeamDefense"
 criteriaType "None"
MeshNameInfo
 meshName "PlanetModule_PsiOrbitalBeamDefenseUpgraded"
 criteriaType "Research"
 prerequisites
  NumResearchPrerequisites 1
  ResearchPrerequisite
   Subject "RESEARCHSUBJECT_ABILITYACCESS_SYNERGY"
   Level 1
meshNameIncreasedEffectName ""
meshNameDecreasedEffectName ""
ExplosionName "PlanetModuleSmall"
mainViewIcon "MAINVIEWICON_PLANETMODULE_PSIORBITALBEAMDEFENSE"
picture "PLANETMODULEPICTURE_PSIORBITALBEAMDEFENSE"
minShadow 0.000000
maxShadow 0.300000
formationRank 3
baseBuildTime 55.000000
buildEffectName ""
defaultAutoAttackRange "None"
defaultAutoAttackOn TRUE
prefersToFocusFire TRUE
usesFighterAttack FALSE
NumWeapons 1
Weapon
 WeaponType "Beam"
 damageEnums
  AttackType "CAPITALSHIP"
  DamageAffectType "AFFECTS_SHIELDS_AND_HULL"
  DamageApplyType "OVERTIME"
  DamageType "ENERGY"
  WeaponClassType "BEAM"
 DamagePerBank:FRONT 180.000000
 DamagePerBank:BACK 0.000000
 DamagePerBank:LEFT 0.000000
 DamagePerBank:RIGHT 0.000000
 Range 7500.000000
 PreBuffCooldownTime 9.000000
 CanFireAtFighter FALSE
 SynchronizedTargeting TRUE
 PointStaggerDelay 0.750000
 TravelSpeed 0.000000
 Duration 4.000000
 fireConstraintType "CanAlwaysFire"
 WeaponEffects
  weaponType "Beam"
  burstCount 1
  burstDelay 0.000000
  muzzleEffectName "Weapon_PsiCapitalBeamHeavy_Muzzle"
  muzzleSoundMinRespawnTime 0.100000
  muzzleSounds
   soundCount 1
   sound ""
  hitEffectName "Weapon_PsiCapitalBeamHeavy_Hit"
  hitHullEffectSounds
   soundCount 1
   sound ""
  hitShieldsEffectSounds
   soundCount 1
   sound ""
  beamEffectSounds
   soundCount 1
   sound "WEAPON_PSICAPITALBEAMHEAVY_TRAVEL"
  beamGlowTextureName "PsiCapitalBeam_Glow"
  beamCoreTextureName "PsiCapitalBeam_Core"
  beamWidth 30.000000
  beamGlowColor ffffffff
  beamCoreColor ffffffff
  beamTilingRate 3.000000
m_weaponIndexForRange 0
firingAlignmentType "Default"
TargetCountPerBank:FRONT 1
TargetCountPerBank:BACK 0
TargetCountPerBank:LEFT 0
TargetCountPerBank:RIGHT 0
canOnlyTargetStructures FALSE

Reply #6 Top

Fixed it. I just changed line 46 from

rotateToFacePlanet FALSE

to

rotateFacingType "AwayFromOrbitBody"

 

Reply #7 Top

That was the only major change from 1.01 to 1.02.  All structures had their rotation control parameter changed.  Your source entity file must have been from the 1.01 source while your game version was 1.02.  You'd have to repeat that change for every other structure or starbase you customized.

-dolynick