Hi there folks me again.
So I wanted to add two thingst to Research. Although I managed to add them into vanilla Sins, I can´t seem to figure out what I´m doing wrong with Entrenchment though? I followed the same procedures as with adding a research to vanilla Sins.
I´ll get into the specifics now, note I´m using frontier0.9b mod to edit on:
1. Research -> adding Capitalshipfactory to be researched
- I added new research named "RESEARCHSUBJECT_CAPITALACCESS_CAPPHASE"
TXT
entityType "ResearchSubject"
hudIcon "HUDICON_RESEARCHSUBJECT_CAPITALACCESS_CAPPHASE"
smallHudIcon "HUDICON_RESEARCHSUBJECT_CAPITALACCESS_CAPPHASE"
infoCardIcon ""
NameStringID "IDS_RESEARCHSUBJECT_CAPITALACCESS_CAPPHASE_NAME"
DescriptionStringID "IDS_RESEARCHSUBJECT_CAPITALACCESS_CAPPHASE_DESCRIPTION"
researchWindowLocation
block 0
pos [ 0 , 3 ]
ResearchField "Combat"
Prerequisites
NumResearchPrerequisites 0
MinimumArtifactLevel -1
BaseUpgradeTime 80.000000
PerLevelUpgradeTime 5.000000
BaseCost
credits 1500.000000
metal 200.000000
crystal 300.000000
PerLevelCostIncrease
credits 100.000000
metal 25.000000
crystal 25.000000
Tier 3
onlyWorksIfTierLabsExist FALSE
MaxNumResearchLevels 1
priority 0.000000
researchBoolModifiers 0
researchFloatModifiers 0
artifactPicture ""
- added the research into String File and changed numstrings according to entrys (+2)
StringInfo
ID "IDS_RESEARCHSUBJECT_CAPITALACCESS_CAPPHASE_NAME"
Value "Capital Ship Factory"
StringInfo
ID "IDS_RESEARCHSUBJECT_CAPITALACCESS_CAPPHASE_DESCRIPTION"
Value "Grants access to Capital Ship Factory, enabling Capital Ship Frames to be build. A mayor breakthrough for advanced Deep Space Operations.
- added Icons to "Unit_Hud_CursorOver", "Unit_Hud_Disabled", "Unit_Hud_Normal", "Unit_Hud_Pressed"
- added brushes to "FrontierResearch.brushes" and changed bruschcount according to it (+1)
brush
name "HUDICON_RESEARCHSUBJECT_CAPITALACCESS_CAPPHASE"
content "States"
Disabled
fileName "Unit_Hud_Disabled"
pixelBox [ 447 , 469 , 47 , 33 ]
Pressed
fileName "Unit_Hud_Pressed"
pixelBox [ 447 , 469 , 47 , 33 ]
CursorOver
fileName "Unit_Hud_CursorOver"
pixelBox [ 447 , 469 , 47 , 33 ]
Focused
fileName "Unit_Hud_Normal"
pixelBox [ 447 , 469 , 47 , 33 ]
Normal
fileName "Unit_Hud_Normal"
pixelBox [ 447 , 469 , 47 , 33 ]
- edited "PLANETMODULE_PHASEORBITALCAPITALSHIPFACTORY.entity" to have research as a prequisit
TXT
entityType "PlanetModuleShipFactory"
minZoomDistanceMult 1.000000
ability:0 "AbilityProtectedShutdown"
ability:1 ""
ability:2 ""
ability:3 ""
ability:4 ""
MaxAntiMatter 0.000000
AntiMatterRestoreRate 0.000000
numRandomDebrisLarge 3
numRandomDebrisSmall 18
numSpecificDebris 0
armorType "Module"
hudIcon "HUDICON_PLANETMODULE_PHASEORBITALCAPITALSHIPFACTORY"
smallHudIcon "HUDICONSMALL_PLANETMODULE_PHASEORBITALCAPITALSHIPFACTORY"
infoCardIcon "INFOCARDICON_PLANETMODULE_PHASEORBITALCAPITALSHIPFACTORY"
planetUpgradeSlotType "Civilian"
planetUpgradeSlotCount 4.000000
basePrice
credits 2000.000000
metal 500.000000
crystal 200.000000
NameStringID "IDS_PLANETMODULE_PHASEORBITALCAPITALSHIPFACTORY_NAME"
DescriptionStringID "IDS_PLANETMODULE_PHASEORBITALCAPITALSHIPFACTORY_DESCRIPTION"
planetModuleRoleType "CAPITALSHIPFACTORY"
statCountType "ModuleCapitalShipFactory"
Prerequisites
NumResearchPrerequisites 1
ResearchPrerequisite
Subject "RESEARCHSUBJECT_CAPITALACCESS_CAPPHASE"
Level 1
MaxHullPoints 4500.000000
HullPointRestoreRate 2.000000
BaseArmorPoints 6.000000
MaxShieldPoints 1200.000000
ShieldPointRestoreRate 3.600000
maxShieldMitigation 0.84
ExperiencePointsForDestroying 25.000000
resourceExtractionType "Invalid"
cultureSpreadRate 0.000000
isAffectedBySimilarModuleCostResearch FALSE
placementRadius 750.000000
nearPlacementDistOffset 0.000000
farPlacementDistOffset 9000.000000
spawnCount 1
swapMineType ""
angularSpeed 0.000000
rotateSoundName ""
rotateToFacePlanet FALSE
rotateConstantly FALSE
ShieldMeshName ""
NumSoundsFor:ONATTACKORDERISSUED 0
NumSoundsFor:ONCREATION 0
NumSoundsFor:ONGENERALORDERISSUED 0
NumSoundsFor:ONSELECTED 1
SoundID "PLANETMODULE_PHASEORBITALCAPITALSHIPFACTORY_ONSELECTION_0"
NumSoundsFor:ONSTARTPHASEJUMP 0
MeshNameInfoCount 1
MeshNameInfo
meshName "PlanetModule_PhaseOrbitalCapitalShipFactory"
criteriaType "None"
meshNameIncreasedEffectName ""
meshNameDecreasedEffectName ""
ExplosionName "PlanetModuleLarge"
mainViewIcon "MAINVIEWICON_PLANETMODULE_PHASEORBITALCAPITALSHIPFACTORY"
picture "PLANETMODULEPICTURE_PHASEORBITALCAPITALSHIPFACTORY"
minShadow 0.000000
maxShadow 1.000000
formationRank 3
baseBuildTime 90.000000
buildEffectName ""
- added Research to "PlayerPhase.entity" changed count according to it (+1)
So and this is it, isn´t it?
I start the game and guess what!!! Nothing, after few seconds loading time the Sins cursor pops up on the balck screen, the typical sign of something is wrong. Well obviously it is, but I can´t seem to figure out where the error is.
So any help or comment would be very nice. Thank you in advance!
Greetz
Dr.Zod