kaukui has requested on the Steam group to be able to use the right-click menu already in the esf editor on "RECORD" entries when it is currently restricted to "RECORD_BLOCK" entries's children.
Note that I intentionally did not allow RECORD entries to be edited to protect users from themselves.
In all instances I can think of, the game expects the RECORD type field to have the exact format it currently has in the file; if you change it (add or remove a field, or change the type of an existing one), the game will crash. In other instances, you can edit the RECORD, but only if you edit other places referencing it (eg add a starting army to a faction, but also need to define the army itself as well as provide a place for it on the map).
I'm sure users that know what they're doing can do this anyway, but without a) an automatic integrity check, b) the game telling you why it crashed, and c) knowing my way around the intricacies of ESF files myself, this is just asking for user tickets you won't be able to answer IMO.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I also noticed that and came to the same conclusion. The specific request was to be able to use the duplicate/move/delete function on family_member RECORDs in the family_tree RECORD (for Rome 2), which at first glance seems to fill the role of a RECORD_BLOCK. I intended on simultaneously adding a toggle to the menu for something like "disable safety restrictions" so users would have to intentionally get rid of the restriction when they wanted to work around it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
That's exactly why I wanted the duplicate/move/delete option, because at the mo I can duplicate a general/agent/family member or (even a faction array) to my hearts content, without restriction, but I can't do the same in the RECORDS for said duplicated character, thus guarenteeing a crash (if I want to create a new family member with children). But if that option were there I would be able to create a new character (duplicate a CHARACTER_ARRAY-X and edit) and also duplicate the characters entry in FAMILY_TREE (making the corrisponding edits) and as long as the entries were unique there would be no issues. But this isn't possible at the mo, hence my request. I guess what I'm getting at is that I can only (duplicate) do a "half edit" for family members which WILL cause issues but if I were able to make the full edit (correctly, and delete any incidents of unedited duplicates of course) it wouldn't. Thanks at least for looking at it tho.
Last edit: kaukui 2020-07-03
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry for the delay in making that change Kaukui. I was expecting to have time to sit down and make that change in the last few days but haven't been able to make time yet. My next few days are also probably full, but I will try to make time this week.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Note that I intentionally did not allow RECORD entries to be edited to protect users from themselves.
In all instances I can think of, the game expects the RECORD type field to have the exact format it currently has in the file; if you change it (add or remove a field, or change the type of an existing one), the game will crash. In other instances, you can edit the RECORD, but only if you edit other places referencing it (eg add a starting army to a faction, but also need to define the army itself as well as provide a place for it on the map).
I'm sure users that know what they're doing can do this anyway, but without a) an automatic integrity check, b) the game telling you why it crashed, and c) knowing my way around the intricacies of ESF files myself, this is just asking for user tickets you won't be able to answer IMO.
I also noticed that and came to the same conclusion. The specific request was to be able to use the duplicate/move/delete function on family_member RECORDs in the family_tree RECORD (for Rome 2), which at first glance seems to fill the role of a RECORD_BLOCK. I intended on simultaneously adding a toggle to the menu for something like "disable safety restrictions" so users would have to intentionally get rid of the restriction when they wanted to work around it.
That's exactly why I wanted the duplicate/move/delete option, because at the mo I can duplicate a general/agent/family member or (even a faction array) to my hearts content, without restriction, but I can't do the same in the RECORDS for said duplicated character, thus guarenteeing a crash (if I want to create a new family member with children). But if that option were there I would be able to create a new character (duplicate a CHARACTER_ARRAY-X and edit) and also duplicate the characters entry in FAMILY_TREE (making the corrisponding edits) and as long as the entries were unique there would be no issues. But this isn't possible at the mo, hence my request. I guess what I'm getting at is that I can only (duplicate) do a "half edit" for family members which WILL cause issues but if I were able to make the full edit (correctly, and delete any incidents of unedited duplicates of course) it wouldn't. Thanks at least for looking at it tho.
Last edit: kaukui 2020-07-03
Sorry for the delay in making that change Kaukui. I was expecting to have time to sit down and make that change in the last few days but haven't been able to make time yet. My next few days are also probably full, but I will try to make time this week.
No probs. Very happy that it's possible, and I can wait. Thanks again!