And nay chance on edit traits like ck2? and how to add immortality traits?
Yeah it shouldn't be too hard especially since Recifense has lua routine to scrape the traits id->name map. Adding will be out but removing and editing are probably straight forward. I'll look at it probably this weekend.
Weird, the table was working well, and today I started a new game, and instant building doesn't work anymore. Is there something I should have done but missed?
Only guess is that maybe you closed CE while the option was enabled and reattach couldn't activate because the previous hook was still in place. That or another table was using same address so couldn't do both at same time.
Is there a way to destroy a barony/holding and build a new one in its place?
A lot of good counties are ruined by AI and has city and temple spam. Can this even be added to the table? It would be an insanely good option.
Probably unlikely. I'll look at it. Its mostly straight forward to edit certain lists to remove things but there are almost always unforeseen consequences. Adding is generally hard. Removing easier (just reduce size of the array).
Only guess is that maybe you closed CE while the option was enabled and reattach couldn't activate because the previous hook was still in place. That or another table was using same address so couldn't do both at same time.
Is there a way to fix that? In general I close the game and then CE, I've never had that issue. And so far that's the only option that doesn't work. The other cheats work fine.
Last edited by Guanfei on Thu Sep 17, 2020 1:47 am, edited 1 time in total.
Probably unlikely. I'll look at it. Its mostly straight forward to edit certain lists to remove things but there are almost always unforeseen consequences. Adding is generally hard. Removing easier (just reduce size of the array).
I see.
I looked around for info on this. Apparently its not even possible to destroy holdings with a mod (yet) but there is a mod that utilizes decision interface to replace holdings. So you go to decisions and active the mod's decision, pick the barony from a list and then choose what you want to transform it in to. City, Temple or Castle. It even costs you the same amount of gold, as if you built a new one. But obviously this will not work in Ironman.
I am not very familiar with cheat engine, but it seems we could have that in the selected barony tab. So when you select a holding/barony and go to cheat engine, the selected holding interface can have a drop down menu for you to pick between Castle, City or Temple but not destroy.
I don't know I am just trying to help if I can. The table is amazing already, thanks a lot!
Is there a way to fix that? In general I close the game and then CE, I've never had that issue. And so far that's the only option that doesn't work. The other cheats work fine.
This is correct way. If game (like the whole application) was restarted then hook would not be in place. I couldn't say why this table wouldn't work unless you were using another table or the code changed which is really unlikely with this game.
I am not very familiar with cheat engine, but it seems we could have that in the selected barony tab. So when you select a holding/barony and go to cheat engine, the selected holding interface can have a drop down menu for you to pick between Castle, City or Temple but not destroy.
I though CompactDisc's table helped with ironman and using mods but I'll be honest I dont use it so not sure what you can do with it.
Changing holding type might be possible, I dont know. I'm still playing tribal games so really haven't gotten into that. If its just a field that indicates the type then edits should be easy. If its a different class then it will be hard/impossible.
And nay chance on edit traits like ck2? and how to add immortality traits?
Set your health to something insane and it'll work pretty much the same as immortality in CK2, you won't die from old age nor diseases but can still be killed, like in combat or executed.
Tried to figure out barony edits. Too complex for now for me to know how to do.
Warning about Traits. Hopefully obvious but people will try anyway and probably corrupt the game. Do not edit the max number of traits. You can increase the number of traits to equal max number of traits if its less and then update the list and change the "new" traits. The table cannot increase the max number and has to be done by the game.
Also changed slightly where some of the pointers are located to a new "_PointerCodeLocations" field. Hopefully will not cause issues but I guess there could be timing issues with it activating. I'll probably move most of the static pointers here over time so I'm not trying resolve them repeatedly in other parts of the table.
Tried to figure out barony edits. Too complex for now for me to know how to do.
Warning about Traits. Hopefully obvious but people will try anyway and probably corrupt the game. Do not edit the max number of traits. You can increase the number of traits to equal max number of traits if its less and then update the list and change the "new" traits. The table cannot increase the max number and has to be done by the game.
Also changed slightly where some of the pointers are located to a new "_PointerCodeLocations" field. Hopefully will not cause issues but I guess there could be timing issues with it activating. I'll probably move most of the static pointers here over time so I'm not trying to resolve them repeatedly in other parts of the table.
is that a trick to make it work? everything is work except the traits list.
this is what I got and hope it helps.
<<Lua error in the script at line 1:[string "local syntaxcheck,memrec=...
..."]:7: attempt to perform arithmetic on a nil value (global 'pArea')>>
is that a trick to make it work? everything is work except the traits list.
this is what I got and hope it helps.
There was a typo. It was global at one point in my script which is why it happend to work when I tested. On a new CE instance its obvious. Oh well need more testing. Anyway it should be fixed now
Any chance of a release that works with the Xbox Gamepass for PC version? The other table works with that version but unfortunately I cannot seem to get this version to work.
is that a trick to make it work? everything is work except the traits list.
this is what I got and hope it helps.
There was a typo. It was global at one point in my script which is why it happend to work when I tested. On a new CE instance its obvious. Oh well need more testing. Anyway it should be fixed now
ok, get it to test now.
edit 1: whatever you do its work. Could you do a small favor by putting a name on traits instead of the number that would improve the table a lot? for the ID traits I have provided in the previous post