whats this error mean?

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...

7,069 views 5 replies
Reply #1 Top

You need to make a unique constructor with only the starbase deploy ability of your new race. Apparently giving a constructor two starbase deployment abilities won't work.

+1 Loading…
Reply #2 Top

yeah i tracked down the frigate file (havent imported those into the mod yet) which referenced the ability file which specifically calls for StarBaseTech as the type which was shut off under the race file's references. im gonna give that a shot and see where it leads to...

Reply #3 Top

So i imported and updated the frigate file and a new ability file and the starbase construction is fine but I still get that same error at the load of the mod with repeated errors of "False" during gameplay:

Assert @ c:\projects\Perforce\SinsDiplomacy\main\CodeSource\GS/Entity/EntitySystemHelpers.cpp(694)

starBaseName == sourceAbility->GetIAbilityPtr()->GetDef()->m_buffApplyAction.entityTypeToCreate

Reply #4 Top

I'm pretty sure it has something to do with the creationSourceAbility line or something in the player.entity files, so make sure you've changed all the TEC references of starbases/constructors/constructor abilities to your new race.

Reply #5 Top

found it
Line 171 of starbase file
creationSourceAbility "AbilityDeployStarBaseTech"

update that and the retest drops the error messages.

thanks for all the help