Discussion in 'Mod Discussions' started by Quitch, April 20, 2015.
Or I could just remove the postfix from another AI. Good lord I'm slow
@Quitch I've updated github
- Make renamed copes of individual `ai_config.json`
- Import personalities as server scene mod
- Install task to overwrite `commander_manager`
- Update commander names with AI name
- Use default commanders
- Typo correction in Queller
- Note node and grunt cli dependencies
- Note clean command (Many of these changes will affect files names, so projects should be cleaned)
I've not made clean default. I suppose the non-forced version could be done somewhat safely, although copy:vanilla would need be to be included, or the full path specified.
Got this error running grunt clean during clean:4
Warning: Cannot delete files outside the current working directory. Use --force to continue.
Also got this error during grunt build
Warning: Unable to read "../server_mods/Queller-AI/pa/ai/ai_unit_map.json" file
(Error code: ENOENT). Use --force to continue.
The tool shouldn't assume this file exists as it's not required for an AI mod to work. None of them are. It only raised this concern for the missing ai_unit_map not the missing ai_config. It should be noted that using --force meant it didn't copy over the ai_unit_map from either of the other two AIs.
--force is the same as -f mentioned in the readme. The grunt developers were suitably paranoid about "rm -rf /" scenario; it concerns me a little given that we are using a generated path (the mod id) The only way around it is to copy (or at least clean) the mod yourself, or figure out a setup where server_mods is below the project directory. Actually... soft links perhaps?
Thanks, added a file-exists check for specific paths I'm reading.
That one is my bad for going "I know what I'm doing!" and not reading the readme
82000: pte branch on github handles unit_maps and platoon_templates as directories instead of single files.
Separate names with a comma.