I've got to the point in the development of my mod where I want to make everything work with custom skill. Unfortunately it seems like adding a XML file for new skill is not even an option as it's "crashing" the UI and throwing UI exception file. Trying to creating new class with inheritance of Skill class has the same effect.
Is there any way to create new skills?
Why does it look like skills are in some way hard coded into the game?
Below are the contents of the UI exception (there isn't even anything to refer to as this goes beyond python scripts):
<report>
<version>2</version>
<sessionid>eec4ba1f76f75fd0575b24bc</sessionid>
<type>desync</type>
<sku>ea.maxis.sims4_64.15.pc</sku>
<createtime>2016-06-10 20:37:04</createtime>
<buildsignature>Local.Unknown.Unknown.1.19.28.1010-1.300.000.72.Release</buildsignature>
<categoryid>(AS)olympus.core::OlympusObject</categoryid>
<desyncid>eec4ba1f76f75fd0575b24bc</desyncid>
<systemconfig/>
<screenshot/>
<desyncdata>Error: Unable to retrieve static data for skill with skill id: 14685324468023653777
at olympus.core::OlympusObject/ParseObject()
at OlympusObject instance constructor()
at SimSkillInfo instance constructor()
at olympus.io::CommunicationManager/SendUIMessage()
</desyncdata>
</report>
<report>
<version>2</version>
<sessionid>eec4ba1f76f75fd0575b24bc</sessionid>
<type>desync</type>
<sku>ea.maxis.sims4_64.15.pc</sku>
<createtime>2016-06-10 20:37:04</createtime>
<buildsignature>Local.Unknown.Unknown.1.19.28.1010-1.300.000.72.Release</buildsignature>
<categoryid>(AS)olympus.core::OlympusObject</categoryid>
<desyncid>eec4ba1f76f75fd0575b24bc</desyncid>
<systemconfig/>
<screenshot/>
<desyncdata>Error: Unable to retrieve static data for skill with skill id: 14685324468023653777
at olympus.core::OlympusObject/ParseObject()
at OlympusObject instance constructor()
at SkillProgressUpdate instance constructor()
at get gamedata.Gameplay.shared::GameplayStateData/AllSkillProgressUpdates()
at widgets.Gameplay.SimInfoHUD.SkillPanel::SimInfoSkillPanelMain/RefreshDataFeed()
at widgets.shared.controls::SimInfoPanel/HandleSimActivated()
at olympus.io::CommunicationObject/Dispatch()
at olympus.io::CommunicationManager/SendUIMessage()
</desyncdata>
</report>
Comments
Is there any way to edit sims overall statistics? I am talking about the statistics that are available right next to the button for sim genealogy tree. Stuff like: how many times sims slept, eaten and others.
I looked through tuning files and haven't found anything. How are these things counted and is there a way to edit these with commands, tuning or scripts?
I went through tuning files and found 'AspirationSimInfoPanel' classes which seem to be what I was looking for, thanks.
Now I need to figure out how to add 1 to it since completing the objective that this aspiration is hooked to makes the value maxed.
<root>
<report>
<version>2</version>
<sessionid>8495dc72f097f5935aa83697</sessionid>
<type>desync</type>
<sku>ea.maxis.sims4_64.15.pc</sku>
<createtime>2018-03-13 23:14:47</createtime>
<buildsignature>Local.Unknown.Unknown.1.41.38.1020-1.200.000.330.Release</buildsignature>
<categoryid>(AS)olympus.core::OlympusObject</categoryid>
<desyncid>8495dc72f097f5935aa83697</desyncid>
<systemconfig/>
<screenshot/>
<desyncdata>Error: Unable to retrieve static data for skill with skill id: 149665
at olympus.core::OlympusObject/ParseObject()
at OlympusObject instance constructor()
at SimSkillInfo instance constructor()
at olympus.io::CommunicationManager/SendUIMessage()
</desyncdata>
</report>
<report>
<version>2</version>
<sessionid>8495dc72f097f5935aa83697</sessionid>
<type>desync</type>
<sku>ea.maxis.sims4_64.15.pc</sku>
<createtime>2018-03-13 23:14:48</createtime>
<buildsignature>Local.Unknown.Unknown.1.41.38.1020-1.200.000.330.Release</buildsignature>
<categoryid>(AS)olympus.core::OlympusObject</categoryid>
<desyncid>8495dc72f097f5935aa83697</desyncid>
<systemconfig/>
<screenshot/>
<desyncdata>Error: Unable to retrieve static data for skill with skill id: 149665
at olympus.core::OlympusObject/ParseObject()
at OlympusObject instance constructor()
at SimSkillInfo instance constructor()
at olympus.io::CommunicationManager/SendUIMessage()
</desyncdata>
</report>
</root>