MacPortal
<div class="IPBDescription">Infantry portal that spawns MACs?!</div>I've extended Infantry portal and created my very own MacPortal, using the functions from the Robotics Factory. I had initially put them right into the infantry portal but ran into Client/Server file consistency problems. With that solved I set about to get my MacPortal to appear in the Commander's UI. What an adventure.
With that said :
o I have added my tech to TechData essentially copying InfantryPortal but giving it the MacPortal's name.
o I added my button kTechId.MacPortal to the MarineCommander BuildMenu
o I copied the MaterialOffset in TechTreeButtons of InfantryPortal (not really sure what that does)
o I also added MacPortal to the tech tree constants
After all that my game runs without errors! But MacPortal does not show up in the commander UI. Can someone point me in the right direction?
With that said :
o I have added my tech to TechData essentially copying InfantryPortal but giving it the MacPortal's name.
o I added my button kTechId.MacPortal to the MarineCommander BuildMenu
o I copied the MaterialOffset in TechTreeButtons of InfantryPortal (not really sure what that does)
o I also added MacPortal to the tech tree constants
After all that my game runs without errors! But MacPortal does not show up in the commander UI. Can someone point me in the right direction?