Jump to content

Recommended Posts

Posted

I'm trying to add this Mod to CTLD but I can't seem to get the unit name correct.  I've used Soldier bgm-71, soldier bgm-71, soldier_bgm-71, bgm-71, and many varieties of 9k115 and 9k135.  Does anyone know the precise procedure for CTLD and these units?

if _countOrTemplate.at then
    ctld.logTrace(string.format("_countOrTemplate.at=%s", ctld.p(_countOrTemplate.at)))
    if _side == 2 then
        _troops = ctld.insertIntoTroopsArray("soldier BGM-71",_countOrTemplate.at,_troops)
    else    
        _troops = ctld.insertIntoTroopsArray("soldier 9k135",_countOrTemplate.at,_troops)
    end    
    _weight = _weight + getSoldiersWeight(_countOrTemplate.at, ctld.RPG_WEIGHT)
    ctld.logTrace(string.format("_weight=%s", ctld.p(_weight)))
end

  • 2 weeks later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...