Asterix Gaming Guild Logo GeneralXXLXXL 2XXL 3XXXLOlympic GamesXXL EditorToolsOff-TopicXXL RomasteredXXL 2 RemasteredOther GamesModsCaesar's ChallengeUnfair XXLPatchesFan ArtPersonal ArtSpeedrunningMediaRandomizerBETA RomeHSKALPresence AdrienPresence SPQRSupport Bot Helpdesk

#editor

pegperegogaucho
What can this be used for? To quickly generate a JSON if you want to fill out properties or need the encyclopedia entries to look up information (see the problem of DeathHound)
pegperegogaucho
I forgot to mention that there is a bit of manual work involved. Currently, the script can't figure out the categories if the class inherits from a class with an unknwon category. I already put in some classes and their known categories, so all derived classes will carry over the category. I believe it should be possible to also figure this problem out without defining some class categories by hand, but it is easier to just put the few base category classes in yourself :Obelul:
adrientd
Nice! I can see it can be helpful to have a quick template for a class with all properties, so you just need to fill out.
adrientd
But it does create a giant file, and not sure if all the properties ever need to be named.
adrientd
Not sure which problem from DeathHound you're referring to.
pegperegogaucho
Sure, the main reason why I made it is to get a correct property list fast, because I made many mistakes in the JSON with the property names
pegperegogaucho
He needed to get the name of an unregistered class and I believe he got it through the encyclopedia?
pegperegogaucho
I think it would be smart to use the script to add the missing classes into the JSON without getting the properties from the hearders, so at least all game classes are already in the JSON and ready to go! :)
adrientd
Yes, it's just that he may also want to names for classes that don't exist yet.
pegperegogaucho
Ah yeah true, but I guess those can be added to the headers already as partly unknown?
adrientd
Maybe
adrientd
Hooks could be added as partly unknown of CKHook, same for the groups
adrientd
for rest not sure
adrientd
But yeah at first I thought about parsing the class list of old editor, and just define classes in json with just the name but without properties
adrientd
But I guess you did more than that :Obelul:
pegperegogaucho
Sure, kill two birds with one stone
pegperegogaucho
Because adding it into the code and then also into the JSON is twice the work and the JSON should for the most part just be generated automatically anyways
pegperegogaucho
Because filling it out by hand you will make mistakes with the commas, the names or indentation
pegperegogaucho
I've also had an issue where, for some reason, there was like a unicode character 'f' or whatever instead of a normal f and it could not find the property
pegperegogaucho
I'm not sure how that even got in there :KEKW: