George412395 Posted August 17, 2022 Posted August 17, 2022 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
George412395 Posted August 28, 2022 Author Posted August 28, 2022 I found the name in the entry files: d-30 howitzer = "2a18m" "Infantry AT-7 Soldier" "Infantry BGM-71 Soldier" "Infantry AT-14 Soldier" 1
Recommended Posts