I've been working on an emplacement made from the Pack Howitzer and the Small (Bofors) Pit. Started with the 17lbr, and everything works great except for the crew: there isn't one.
Currently, I have them set up in crew_ext, using attach_gunner_pack_howitzer and attach_loader_pack_howitzer in the sync_action_name field. The crew is also enabled upon construction.
Is there anything tricky to look for when setting this up? (.abp edit, more actions, etc.)
OR, should I be using team_weapon_ext instead for this model?
Check if you have apply_crew_actions under "construction_ext" > "on_construction_actions". This is where your crew is applyed.
I made a small tweak to my mod yesterday, a simple one line change.
I noticed when I opened it that there was a lot of red in the output file.
Literally every entry has a line like this:
Instance instanceRef upgrade_name in file c:\users\chris\onedrive\documents\my games\company of heroes 2\mod projects\luftwaffe\instances\abilities\aef\modal_ability\dispatch_ability\m10_deploy.xml references an instance that doesn't exist (00000000000000000000000000000000:upgrade\aef\commander\ability\m10_deploy_clone). Value changed to default.
Nothing has changed since I last built it, just a few days ago. I am very confused as to what is happening as it whipping out a lot of work!
Any ideas here would be greatly appreciated!
Try to check all your paths to the tools, game, java. Because something similar happened to me and it was because for some reason all my paths were removed.
Basically, if you build this mod and play it with it your HQs will be removed and there is no winning condition so the game would last forever.
So if you would like to create your own winning condition I can recommend this SCAR documentation where you can find all the functions you can use in your code.
I hope this helped. If you have any further questions I will be happy to answer them.
what is the required posses to go through for making it so I dont need to have a HQ and make my units spawn in from off map. Thanks
It is possible to do with a win condition pack. But you would have to write a new win condition where having no HQ dosent resolve in losing the match. Because if you would do it without your own win condition your game would have ended as soon as your game started.