Bringing in reinforcements?
Posted: Sun Feb 19, 2017 8:52 pm
I was hoping to send in a Campaign to the Contest.
I would love to have some "reinforcements" be part of it but I can't reproduce the one good attempt I did have So the question is:
Is it required that both sides get reinforcements or can one side get more than 1 set per Match?
When I tried at first, nothing. I then tried to add code to the .BSF and till nothing. So I went back to scratch, built a basic map and units and with very basic reinforce orders it did work. I even moved the .BSF's to the campaign folder and it continued to work. Although I did notice that the Turn #'s in the .BSF's were not the same in the exported code.
Example: IN a 10 round Match the code exported this, if (GetTurn() == 17), which I then simply edited to what I wanted and it seem to work.
I then redid my first attempt to simplify, everything looks the exact same, for files and their placement but still NADA...
Anyone have any idea how reinforcements actually work ???
Sincerely, Confused
Is it required that both sides get reinforcements or can one side get more than 1 set per Match?
When I tried at first, nothing. I then tried to add code to the .BSF and till nothing. So I went back to scratch, built a basic map and units and with very basic reinforce orders it did work. I even moved the .BSF's to the campaign folder and it continued to work. Although I did notice that the Turn #'s in the .BSF's were not the same in the exported code.
Example: IN a 10 round Match the code exported this, if (GetTurn() == 17), which I then simply edited to what I wanted and it seem to work.
I then redid my first attempt to simplify, everything looks the exact same, for files and their placement but still NADA...
Anyone have any idea how reinforcements actually work ???
Sincerely, Confused