Brand-new Modder in desperate need of help.
Well, I just recently downloaded Forge Tools, and decided to try my hand at making a Mod. For my first attempt, I decided to try building a new type of planet. After a little brainstorming, I decided to try building a temporally unstable planet (based off the one in the Star Trek: Voyager episode “Blink of an Eye”), which would randomly trap ships in time for short periods. Since I am horrible with meshes, I used the desert planet mesh.
However, the result of trying to load this mod was a crashed computer (Yes, I included all the other necessary files ). Can someone please tell me what I did wrong? I have the feeling that it's something extremely obvious that I'm managing to overlook.
Note: (I know, time-frozen ships should probably be invulnerable. I'll probably try to add that once I get this working.)
Planet .entity file.
TXT
entityType "Planet"
meshInfoCount 1
meshInfo
typeNameStringID "IDS_PLANETTYPE_TIME"
asteroidTemplate "Sparse"
dustCloudTemplate "IceSafe"
meshName "Planet_Desert_0"
cloudColor ffdafcff
nullMeshRadius 0.000000
nullMeshParticleEffect ""
hudIcon "HUDICON_PLANET_DESERT0"
smallHudIcon "HUDICONSMALL_PLANET_DESERT0"
infoCardIcon "INFOCARDICON_PLANET_DESERT0"
mainViewIcon "MAINVIEWICON_PLANET_DESERT0"
undetectedMainViewIcon "MAINVIEWUNDETECTEDICON_PLANET_DESERT0"
picture "PICTURE_PLANET_DESERT0"
minZoomDistanceMult 1.250000
glowColor 7f82743c
ringColor ffdafcff
cloudLayerTextureName "PlanetCloudLayer"
planetResourceSetupInfo
asteroidSpawnAngleVariance 3.141593
totalMaxResourceAsteroids 0
metalResourceAsteroidSetup
minCount 0
maxCount 0
extractionRate 0.000000
refineryRate 0.000000
maxRefineryCount 0
crystalResourceAsteroidSetup
minCount 0
maxCount 0
extractionRate 0.000000
refineryRate 0.000000
maxRefineryCount 0
neutralMetalResourceAsteroidSetup
minCount 0
maxCount 0
extractionRate 0.533333
refineryRate 0.080000
maxRefineryCount 4
neutralCrystalResourceAsteroidSetup
minCount 0
maxCount 0
extractionRate 0.533333
refineryRate 0.080000
maxRefineryCount 4
isAsteroid FALSE
healthRegenRate 6.000000
planetUpgradeDef
path:Population
stageCount 1
stage
price
credits 0.000000
metal 0.000000
crystal 0.000000
upgradeTime 0.000000
maxPopulation 0.000000
populationGrowthRate 0.000000
developmentTaxPenalty 0.000000
path:CivilianModules
stageCount 1
stage
price
credits 0.000000
metal 0.000000
crystal 0.000000
upgradeTime 0.000000
maxModuleSlotCount:Civilian 0.000000
maxModuleConstructorCount 0
path:TacticalModules
stageCount 1
stage
price
credits 0.000000
metal 0.000000
crystal 0.000000
upgradeTime 0.000000
maxModuleSlotCount:Tactical 0.000000
maxModuleConstructorCount 0
path:Home
stageCount 1
stage
price
credits 0.000000
metal 0.000000
crystal 0.000000
upgradeTime 0.000000
isHomePlanet FALSE
homePlanetTaxRateBonus 0.000000
path:ArtifactLevel
stageCount 1
stage
price
credits 0.000000
metal 0.000000
crystal 0.000000
upgradeTime 0.000000
path:Infrastructure
stageCount 1
stage
price
credits 0.000000
metal 0.000000
crystal 0.000000
upgradeTime 0.000000
maxHealth 1.000000
ringsChance 0.000000
isColonizable FALSE
planetTypeForResearch "Uncolonizable"
skyboxScalarsCount 5
skyboxScalars
diffuseScalar 0.910000
ambientScalar 0.150000
skyboxScalars
diffuseScalar 0.670000
ambientScalar 0.400000
skyboxScalars
diffuseScalar 0.800000
ambientScalar 0.400000
skyboxScalars
diffuseScalar 0.550000
ambientScalar 0.600000
skyboxScalars
diffuseScalar 0.720000
ambientScalar 0.800000
requiredPlanetBonusesCount 0
possibleRandomPlanetBonusesCount 1
ambienceSoundID ""
renderAsVolcanic FALSE
ShieldMeshName "Shield_PlanetSmall"
moveAreaRadius 30000.000000
hyperspaceExitRadius 18000.000000
isWormhole FALSE
minShadow 0.000000
maxShadow 0.000000
ability:0 "AbilityTimeLock"
ability:1 ""
ability:2 ""
ability:3 ""
The AbilityTimeLock .entity file.
TXT
entityType "Ability"
buffInstantActionType "ApplyBuffToTargetsAtOrbitBody"
instantActionTriggerType "AlwaysPerform"
buffType "BuffTimeLock"
targetFilter
numOwnerships 0
numObjects 6
object "CapitalShip"
object "Frigate"
numConstraints 0
maxTargetCount
Level:0 -1.000000
effectInfo
effectAttachInfo
attachType "Invalid"
smallEffectName ""
largeEffectName ""
soundID ""
needsToFaceTarget FALSE
canCollideWithTarget TRUE
moveThruTarget FALSE
isUltimateAbility FALSE
maxNumLevels 1
levelSourceType "FixedLevel0"
aiUseTime "Invalid"
aiUseTargetCondition "Invalid"
isAutoCastAvailable FALSE
isAutoCastOnByDefault FALSE
pickRandomPlanetToExploreForAutoCastTarget FALSE
ignoreNonCombatShipsForAutoCastTarget FALSE
onlyAutoCastWhenDamageTakenExceedsPerc 0.000000
useCostType "Passive"
researchPrerequisites
NumResearchPrerequisites 0
nameStringID "IDS_ABILITY_TIMELOCK_NAME"
descStringID "IDS_ABILITY_TIMELOCK_DESCRIPTION"
hudIcon "HUDICON_ABILITY_UNSTABLEGAS"
smallHudIcon "HUDICON_ABILITY_UNSTABLEGAS"
infoCardIcon ""
The BuffTimeLock .entity file.
TXT
entityType "Buff"
onReapplyDuplicateType "KeepOldBuff"
buffExclusivityForAIType "ExclusiveForAllPlayers"
isInterruptable FALSE
isChannelling FALSE
numInstantActions 2
instantAction
buffInstantActionType "PlayPersistantAttachedEffect"
instantActionTriggerType "OnDelay"
delayTime 0.050000
effectInfo
effectAttachInfo
attachType "Above"
smallEffectName "CapitalBuff_IonDisableSmall"
largeEffectName "CapitalBuff_IonDisableLarge"
soundID ""
instantAction
buffInstantActionType "DoInterrupt"
instantActionTriggerType "OnDelay"
delayTime 0.000000
numPeriodicActions 0
numOverTimeActions 0
numEntityModifiers 0
numEntityBoolModifiers 8
entityBoolModifier "DisableAbilities"
entityBoolModifier "DisableConstruction"
entityBoolModifier "DisableModuleFunctionality"
entityBoolModifier "DisablePhaseJump"
entityBoolModifier "DisableLinearEngines"
entityBoolModifier "DisableAngularEngines"
entityBoolModifier "DisableRegeneration"
entityBoolModifier "DisableWeapons"
numFinishConditions 2
finishCondition
finishConditionType "TimeElapsed"
time
Level:0 8.000000