Вышел новый инструмент от РТР-тим - Для просмотра ссылки Зарегистрируйтесь. Позволяет редактировать и менять многие скриптовые вещи в игре. Опробую в деле - распишу тему.
Описание: RESERVED
Английское:
Спойлер (раскрыть)
Currently included in the toolkit is a small but powerful and expandable set of features and tools:
*Historical event messages
*Debug logging (including spitting out positional information, to help with startpos development)
*Settings file parser
*Forced march UI button removal (can be easily disabled)
*A number of utility functions to assist with scripting development
To use the tools, you can simply enable them in the mod manager. Please note that these tools are not for players - they are designed for other modders, and do not include any content other than testing. The historical messages, for example, only include a few test events. Any content is up to the mods to add - the toolkit serves simply as a basis for these features.
The tools should work with any mod that doesn't replace the scripting.lua file. Upon starting a new campaign, a text file named R2TR_settings.txt will appear in your root directory folder. To enable logging, you can set the variable in there named "debugLevel" to any value above 0 - set it to 3 to enable all logging including the character positional data. Please note that although the logging is easily expandable to include more detail, the toolkit currently only logs a small fraction of in-game occurrences. However, adding further logging is easy.
After starting a new game or loading a save, all the logging will be included in a file named R2TR_log.txt.
Take aware of any licenses included at the top of our scripting files! We have tried to make them as free as possible, but without allowing plagiarism.
Please note that the set of tools is far from completion and our knowledge of Rome 2's scripting is limited. The toolkit will be continually updated as work on R2TR continues. Please report any bugs or give feature requests!
Further information and documentation on how to use the currently included features will be released at a later date.