MegaMek / mekhq

MekHQ is a java helper program for the MegaMek game that allows users to load a list of entities from an XML file, perform repairs and customizations, and then save the new entities to another XML file that can be loaded into MegaMek.
http://megamek.org
130 stars 168 forks source link

Reinforce from Campaign #196

Open VampireSeraphin opened 7 years ago

VampireSeraphin commented 7 years ago

I don't know how hard this would be to do, but can we get another reinforcement option to reinforce from an open campaign file if the current instance of MM was opened through mekhq?

Currently, you can create a mul and use it to reinforce, but those units cannot claim kills, take damage, etc...

neoancient commented 7 years ago

Rather than having MM pull from an open instance of HQ (which would not be simple and would violate principles of good design), I would suguest the ability to designate certain units in MM as "reserve". They are part of the game but do not deploy unless specifically activated. MHQ could then send a list of reserve units along with your starting forced and reinforcements.

VampireSeraphin commented 7 years ago

That sounds like a better idea.

On Tue, Oct 11, 2016 at 5:23 PM, neoancient notifications@github.com wrote:

Rather than having MM pull from an open instance of HQ (which would not be simple and would violate principles of good design), I would suguest the ability to designate certain units in MM as "reserve". They are part of the game but do not deploy unless specifically activated. MHQ could then send a list of reserve units along with your starting forced and reinforcements.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/MegaMek/mekhq/issues/196#issuecomment-253050944, or mute the thread https://github.com/notifications/unsubscribe-auth/AS8rvdfz7wiAYDxzvadP9JR7u04Qxlcmks5qy_5igaJpZM4KUG-N .

mkerensky commented 7 years ago

+1 to this. I run a very large MHQ unit and have a use for reserves in every mission. How would experience gained from deploying for a mission affect MHQ reserves?

Dylan-M commented 7 years ago

Umm, you guys all realize you can already do this right?

Make scenario for reinforcement. Deploy units to scenario. Export to MUL, import reinforcements using existing system. This works fully, including XP and kills.

Yes, it means you have another scenario, but it also means you can do this now without any code adjustments that won't be done until after the next stable.

VampireSeraphin commented 7 years ago

I did exactly that. It didn't work for some reason. The artillery units I used did not show up in the battle resolution window at all.

TBH, I've always found Mekhq a little screwy if you play more than one scenario in a row. Its always at its most stable if I save, close, and reopen the program after each game. Play 2-3 games in a row and odd bugs crop up.

Dylan-M commented 7 years ago

You have to resolve twice, once for each scenario. You can do both from the final save (make sure you use paranoid auto-save). @jayof9s and I have been doing it for a long time. It works fine.

VampireSeraphin commented 7 years ago

These kinds of things are why mekhq needs a better manual.

mkerensky commented 7 years ago

Cool! I'll try that.