PapaMonkey
Warlord
I recall earlier conversations about flying units being difficult to impliment with the code base. With BtS will this be any easier? Is there any plan to impliment more/truer flying units?
With BtS will this be any easier?
bool CyUnit::canCoexistWithEnemyUnit()
{
return m_pUnit ? m_pUnit->canCoexistWithEnemyUnit() : false;
}
or that could be part of kaels/others attempts to make flying toomaybe. while looking through the sdk for bts i found a very strange python function or something. i have absolutely no sdk coding knowledge but i found a very strange piece of code in the first cy unit file
Code:bool CyUnit::canCoexistWithEnemyUnit() { return m_pUnit ? m_pUnit->canCoexistWithEnemyUnit() : false; }
"can coexist with enemy unit" seems like it would allow flying units to pass over non ranged units if it were to be coded correctly and might allow units to be "flying"
and of course, suicidal goblins*![]()
Personally I would really like it if invisibility also gave the ability to coexist with an enemy instead of ejecting the unit.
I believe that's one of the few hardcoded things in Civ4, it causes CTD.