- Joined
- Aug 16, 2019
- Messages
- 199
Disclaimer: This is not even a question, but rather concerns sharing existing experience on a broader scale.
It concerns Reforged and its advantage of working with maps as directories. The problem and its solution are more global and automated. Surely, there are already some ideas and methods for implementing this in other projects.
By default, we import/export all data from Map A (custom Triggers, Units, Decorations, Models, Icons, Textures), and then import it with full replacement into Map B.
But what if the project includes multiple maps? How can we do this quickly while avoiding critical errors?
And what if each map needs to contain its own unique set of triggers, in addition to a common set for all maps? Can we separate .j or .lua files and then compile the projects as a whole? Are there any similar compilers available at the moment?
I am a web developer, so in theory, I could write a PHP script for my own needs and tasks.
To specify the tasks: my project is WarCraft Legend, and I want to manage the project not just for a single map but for multiple maps, while ensuring that the entire codebase applies to all maps. Each map also carries its own unique logic—custom victory and defeat conditions, and perhaps unique decorations and units specific to that map. The problem is that I want to integrate pre-existing maps into the project with minimal time investment, such as a campaign map, which already has its own set of triggers.
From my own experience, I can share the following: working with a map and linking it to a GitHub repository helps avoid creating local copies of the map, as I can track only the changes and maintain version history in a remote repository. Using my IDE, I also manage models and icons efficiently. Once a model is integrated, I save the project in the editor to apply the changes.
It concerns Reforged and its advantage of working with maps as directories. The problem and its solution are more global and automated. Surely, there are already some ideas and methods for implementing this in other projects.
By default, we import/export all data from Map A (custom Triggers, Units, Decorations, Models, Icons, Textures), and then import it with full replacement into Map B.
But what if the project includes multiple maps? How can we do this quickly while avoiding critical errors?
And what if each map needs to contain its own unique set of triggers, in addition to a common set for all maps? Can we separate .j or .lua files and then compile the projects as a whole? Are there any similar compilers available at the moment?
I am a web developer, so in theory, I could write a PHP script for my own needs and tasks.
To specify the tasks: my project is WarCraft Legend, and I want to manage the project not just for a single map but for multiple maps, while ensuring that the entire codebase applies to all maps. Each map also carries its own unique logic—custom victory and defeat conditions, and perhaps unique decorations and units specific to that map. The problem is that I want to integrate pre-existing maps into the project with minimal time investment, such as a campaign map, which already has its own set of triggers.
From my own experience, I can share the following: working with a map and linking it to a GitHub repository helps avoid creating local copies of the map, as I can track only the changes and maintain version history in a remote repository. Using my IDE, I also manage models and icons efficiently. Once a model is integrated, I save the project in the editor to apply the changes.