Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import TWAD files from pre warhammer AKs to make editing some of the tables easier (like the rpfm unit editor for warhammer 2/3?) #292

Open
GregoireDerrough opened this issue Aug 5, 2024 · 3 comments

Comments

@GregoireDerrough
Copy link

In the assembly kit for shogun 2, Rome 2, attila, and thrones of Britannia, there is something called a form launcher, which allows you to edit multiple linked tables in one window (eg new incidents/events). I think this feature is controlled by some of the TWAD files (there seems to be 2 kinds, TWAD and TWaD_, but I'm not sure which one is used by the AK form launcher).

Since RPFM has the unit editor for warhammer 2/3, I was wondering if it would be possible to add that sort of functionality but for the tables? And maybe for the other games as well? Does the rpfm unit editor use some sort of UI template?

I'll try to look into this more, add some screenshots and look into which TWaD files are used for the form launcher.

@Frodo45127
Copy link
Owner

The unit editor, in its current form, doesn't use any kind of template. It's all hardcoded, which is why it hasn't been expanded much.

About the AK forms, they're in the TWADFORMDESCR files, but RPFM has no template system to use them. There was an old json-based template I made a while ago, but it got scraped and replaced with the currently hardcoded editors due to bugs and nobody using it.

@GregoireDerrough
Copy link
Author

Damn, shame. I'll try to see if I can't help with anything related to that, but looking at those ui files rpfm has, looks complicated as hell.

@Frodo45127
Copy link
Owner

The ui files are not intended to be manually edited. They're created and edited using QtDesigner, which is a visual editor rather easy to use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants