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

Custom Soldiers Names #65

Open
TsukiZero opened this issue Jan 22, 2023 · 3 comments
Open

Custom Soldiers Names #65

TsukiZero opened this issue Jan 22, 2023 · 3 comments

Comments

@TsukiZero
Copy link

TsukiZero commented Jan 22, 2023

This is more of a question than a suggestion for feature, but you can take as such if you will: Is it possible to make a custom soldier names mod that perhaps from an ASCII text file with one name per linebreak?

To contribute some more, in the SNES version it's straight-up stored in text format, 6-characters long, A-Z (all caps), doesn't support numbers nor symbols, low caps results in a different text color (highlighted) with an "offset" to which character correspond to what ("o" becomes golden "K"), needs a space to fill the blank.

So a name like COOKS is perfectly fine, but Coffee, Max!me, BL0RB1, PIZZA are not

@segrax
Copy link
Member

segrax commented Feb 24, 2023

This is possible,
its similar to this already, except its compiled in and still contains data from a dropped feature

https://github.com/OpenFodder/openfodder/blob/master/Source/Recruits.cpp#L27

@TsukiZero
Copy link
Author

So it should be simple to implement, I presume?

@drnovice
Copy link
Contributor

drnovice commented Jul 6, 2023

Hello, it could be a check in the resources loading: if a Recruits.ini file is present, it could override the default mRecruits[] struct.
The file reader will take only first 6 characters and a capitalization of the letters, maybe a regExp to discard names with non-alphabetical chars.

I'll try to see what can I do for a PR, but time is very limited.

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

No branches or pull requests

3 participants