-
Notifications
You must be signed in to change notification settings - Fork 42
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
Un-hardcode Hero Appearance #251
Comments
Hero Appearance FRMs can be packed into individual .dat files. |
You mean each one separately, or how does it work? |
Each one separately in |
Oh, that's much better. Now if only I figure out a good way to handle translations... |
Edit: spoke too soon. Still, the mod can't be moved into mods dir, nor packaged as a single file. |
Dat names are the same as dir names for the mod to sort race/style data, I guess what you're asking is close to overhaul the hero appearance mod. |
Unhardcoding, overhauling - doesn't really matter how to call it, does it? |
Ничего не планирую менять в системе внешности. Слишком мутный в нем код. |
@burner1024 вроде как мод не может читать одновременно из .dat и из папки, да? |
Не знаю, одновременно не пробовал. |
Сделал чтобы искало файлы одновреименно из папки и из dat как у Cratty.
Могу предложить такой вид
Изменить название для самих .dat файлов нельзя, они подключаются при выборе соответствующего внешнего вида Героя. |
* now it will search files in .dat files and folders simultaneously. * files in folders have higher priority than .dat files.
For now the folder structure for a race/style can be:
I think that should be enough to support installing multiple languages? |
* now it will search files in .dat files and folders simultaneously. * files in folders have higher priority than .dat files.
* now it will search files in .dat files and folders simultaneously. * files in folders have higher priority than .dat files.
Да вроде и не надо менять?
Это менее удобно, но я думаю не критично.
Installing is not a problem, I think hero appearance ships with multiple languages since a long time ago? |
On the same note, what path should be used with |
по идеи точно без |
Тоже не работает. Непонятно, когда подмена происходит. Ну в общем это не так критично, у этих frm и так fps достаточно высокий. |
путь к папке подключается динамически, уже после того как выполнена функция скопировать файл, т.е. такого файла еще не существует. |
Да, -1. |
All the paths and names for this mod seem to be hardcoded in sfall. Would it be possible to un-hardcode, so that it could be packaged like a normal .dat?
Also, paths to msg files are the same, which makes it troublesome for hooking into translation system. If they included appearance name (
text/english/game/apprace_hfr00s00.msg
, for example), that would solve the problem.The text was updated successfully, but these errors were encountered: