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

Backdrop visual list #85

Closed
ual002 opened this issue Aug 7, 2023 · 12 comments
Closed

Backdrop visual list #85

ual002 opened this issue Aug 7, 2023 · 12 comments

Comments

@ual002
Copy link

ual002 commented Aug 7, 2023

It appears that no matter what I do to the resdata txt file, the backdrop visual list still shows the same set of backdrops, additionally, adding a backdrop replacer via INI in the hook assignment tool also appears to have no effect on the visual list (but it does affect the dat for actual in game purposes). Unless I'm missing something, I do think the hook assignment tool, backdrop replacer section is a good way to not only set the dat file for the mission, but hard set the visual catalogue of available backdrops in YOGME rather than relying on resdata text file edits.

@MikeG621
Copy link
Owner

MikeG621 commented Aug 8, 2023 via email

@ual002
Copy link
Author

ual002 commented Aug 8, 2023

Its the TFTC 1.3.3 standard, but I've messed with it since. Let me see if I can re-upload the mod's file in original state.

All I was saying is that it might be prudent to override YOGME reading any particular dat from the resdata file when a mission ini specifies something else, negating the need to have any particular resdata formatting or order. All of the TFTC missions include a mission INI and I think all of them specify at lease a different planet.dat. Its its like pulling teeth getting changes to certain files to stick with all of us doing edits to the mod. So the backdrop picker could load defaults according to the resdata file, and if is formatted weird, as in the case of TFTC, use the hook assignment tool and overwrite it with an INI, both for the mission in-game and yogme itself.

A good example use of this would be, even if TFTC formatted the resdata file properly, maybe I'd make a mission addon pack for the tour MP hook, in that case I might make my own UAL002planet.dat, distribute it with the mission pack, and it would be easier for me to edit my missions with the right backdrops if YOGME just read my mission.ini pointing to UAL002planet.dat

RESDATA.TXT

@MikeG621
Copy link
Owner

MikeG621 commented Aug 8, 2023 via email

@ual002
Copy link
Author

ual002 commented Aug 8, 2023

yeah that dll is present

@MikeG621
Copy link
Owner

MikeG621 commented Aug 9, 2023 via email

@ual002
Copy link
Author

ual002 commented Aug 9, 2023

ill be on standby

@MikeG621
Copy link
Owner

Redoing, original attachment didn't work. Zip of the whole debug build.

Okay, so this will have two message boxes. First one is right when you click the backdrops button, lets you know where YOGEME is looking and if it detects the hook. Second one lists the details of the load.
Debug.zip

@ual002
Copy link
Author

ual002 commented Aug 10, 2023

Still appears to load the default images @ 512 x 512 in the editor, but thanks to the mission.ini the larger tftc backdrops are loaded in the mission as before.

image
image
image

@MikeG621
Copy link
Owner

MikeG621 commented Aug 10, 2023 via email

@ual002
Copy link
Author

ual002 commented Aug 10, 2023

INI was just what the wizard was adding.

;8B84M9B.ini

[Resdata]
Resdata\PlanetTFTC.dat

This is stuff in the Combat folder though, not the mission folder.

@MikeG621
Copy link
Owner

MikeG621 commented Aug 10, 2023 via email

@ual002
Copy link
Author

ual002 commented Aug 10, 2023

And thats fine, I'll try and keep that in mind and if running into walls like that, take the time to test things in a more typical SP situation to see if I have similar results to help you get to the solution quicker.

The tour MP hook justagai made and Jeremy took over is truely very powerful, and if you can manage to wrangle enough people in the same place for coop stuff its a lot of fun, but theres plenty of little polish bugs to sort out in the hook itself anyway. Sometimes I make single missions just for my own enjoyment because I get the benefit of having a mission selector, rather than the linear progression of the campaign room.

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