dacubz145
Deity
What do you think about the possibility of a permanent borders mod comp? ITs heavily looked for
Is it possibly via only python?
Is it possibly via only python?
I think Tigranes means that since buildings have a tag giving a chance they are captured. Can such a thing be added to units.Not sure what you mean.
There is only a 20% chance to capture, (which is adjustable) which means 80% are destroyed.
self.lChance = [("UNIT_DESTROYER", 20), ("UNIT_GALLEY", 50)]
At least provide me a screenshot or error message if any
self.iIncreaseButtonTenID = 557
screen.setImageButtonAt("IncreaseButtonTen%d" %(iPlayerID), attach, ArtFileMgr.getInterfaceArtInfo("INTERFACE_BUTTONS_PLUS").getPath(), [COLOR="Red"]85[/COLOR], iY + 1, iSize, iSize, WidgetTypes.WIDGET_GENERAL, self.iIncreaseButtonTenID, iPlayerID );
self.iIncreaseButtonID = 555
screen.setImageButtonAt("IncreaseButton%d" %(iPlayerID), attach, ArtFileMgr.getInterfaceArtInfo("INTERFACE_BUTTONS_PLUS").getPath(), [COLOR="red"]100[/COLOR], iY + 1, iSize, iSize, WidgetTypes.WIDGET_GENERAL, self.iIncreaseButtonID, iPlayerID );
self.iDecreaseButtonID = 556
screen.setImageButtonAt("DecreaseButton%d" %(iPlayerID), attach, ArtFileMgr.getInterfaceArtInfo("INTERFACE_BUTTONS_MINUS").getPath(), [COLOR="red"]115[/COLOR], iY + 1, iSize, iSize, WidgetTypes.WIDGET_GENERAL, self.iDecreaseButtonID, iPlayerID );
self.iDecreaseButtonTenID = 558
screen.setImageButtonAt("DecreaseButtonTen%d" %(iPlayerID), attach, ArtFileMgr.getInterfaceArtInfo("INTERFACE_BUTTONS_MINUS").getPath(), [COLOR="red"]130[/COLOR], iY + 1, iSize, iSize, WidgetTypes.WIDGET_GENERAL, self.iDecreaseButtonTenID, iPlayerID );
What do you think about the possibility of a permanent borders mod comp? ITs heavily looked for
Is it possibly via only python?
Not sure what you mean.
There is only a 20% chance to capture, (which is adjustable) which means 80% are destroyed.
If you click my sig -- we are playing PBEM which has that modcomp in it.
Code:self.iIncreaseButtonTenID = 557 screen.setImageButtonAt("IncreaseButtonTen%d" %(iPlayerID), attach, ArtFileMgr.getInterfaceArtInfo("INTERFACE_BUTTONS_PLUS").getPath(), [COLOR="Red"]85[/COLOR], iY + 1, iSize, iSize, WidgetTypes.WIDGET_GENERAL, self.iIncreaseButtonTenID, iPlayerID ); self.iIncreaseButtonID = 555 screen.setImageButtonAt("IncreaseButton%d" %(iPlayerID), attach, ArtFileMgr.getInterfaceArtInfo("INTERFACE_BUTTONS_PLUS").getPath(), [COLOR="red"]100[/COLOR], iY + 1, iSize, iSize, WidgetTypes.WIDGET_GENERAL, self.iIncreaseButtonID, iPlayerID ); self.iDecreaseButtonID = 556 screen.setImageButtonAt("DecreaseButton%d" %(iPlayerID), attach, ArtFileMgr.getInterfaceArtInfo("INTERFACE_BUTTONS_MINUS").getPath(), [COLOR="red"]115[/COLOR], iY + 1, iSize, iSize, WidgetTypes.WIDGET_GENERAL, self.iDecreaseButtonID, iPlayerID ); self.iDecreaseButtonTenID = 558 screen.setImageButtonAt("DecreaseButtonTen%d" %(iPlayerID), attach, ArtFileMgr.getInterfaceArtInfo("INTERFACE_BUTTONS_MINUS").getPath(), [COLOR="red"]130[/COLOR], iY + 1, iSize, iSize, WidgetTypes.WIDGET_GENERAL, self.iDecreaseButtonTenID, iPlayerID );
Numbers in Red affect X position of those buttons.