So in the continuation of my effort to create a super race mod i have come across an error i cant make sense of, fortunately i keep a txt file where i log each and every action i perform. i test in debug mode the error pops up:
Assert @ c:\projects\Perforce\SinsDiplomacy\main\CodeSource\GS/Entity/EntitySystemHelpers.cpp(694)
starBaseName == sourceAbility->GetIAbilityPtr()->GetDef()->m_buffApplyAction.entityTypeToCreate
you hit skip and the mod will finish loading, you can load a game and everything and occasionally an additional error will pop up just saying "False"
so looking at my txt tracking file since the last successful test i did the following:
attempted to increase capital ship experience level beyond 10, got a slew of error codes, went through the forums and found you cant increase that it is hardcoded, so i reversed those changes.
copied into the mod the entity files for StarBaseTech and nine of the StarBaseUpgrades i want for my super race, renamed the file for my new race and updated entity.manifest file to include the ten files.
thats all i did. i havent even referenced the new starbase file in the race file or the starbaseupgrade files in the starbase file. the game shouldnt even be looking for any new abilities or whatnot which is why i cant make sense of the error code... i didnt alter any of the name string ids yet so that doesnt need to update... because the new upgrade files have only had their filenames alterred they should still be referencing the standard abilities so i dont need to alter the ability files. can anyone explain what this error code is talking about plz?
*UPDATE* I can research and build the starbase constructor (all the main files are based on TEC) and the ability exists on the constructor's unit but the ability is cast and nothing happens besides resources are deducted. The constructor remains and no starbase is made...