OlliN
User-
Content Count
175 -
Joined
-
Last visited
Community Reputation
13 NoobContacts
-
Nick
OlliN
Recent Profile Visitors
3,956 profile views
-
SimpleUIListTeamResultRowRendererLeft and Right seem to be the only screens where 'ids_ship_name' is in use. I cannot figure out from which SWF they are called. player.ids_ship_name will return 'IDS_PRSC103' but is there a way to just return 'PRSC103' (the equivalent of shipShortName or shipInfo.shortName on other screens) or to cut off 'IDS_' with the XML commands?
-
TankIconMaker - программа для создания иконок танков.
OlliN replied to ktulho's topic in Mods and Software
Create a new CSV file, e.g. WotData-HasDrum-Test-1.csv Content: WOT-DATA,2 {{EN}},Has Drum {{RU}},Has Drum france-F10_AMX_50B,Drum france-F18_Bat_Chatillon25t,Drum france-F75_Char_de_25t,Drum Create an image Drum.png in the Images folder and add Images\{HasDrum}.png as image template. -
infoPanel средствами XVM.
OlliN replied to Kotyarko_O's topic in Components of XVM and Addons (py_macro)
Is this error InfoPanel related? 2017-01-15 19:02:56.607: ERROR: [EXCEPTION] (scripts/common/Event.py, 46): Traceback (most recent call last): File "scripts/common/Event.py", line 44, in __call__ File "res_mods/configs/xvm/py_macro\infoPanel.py", line 90, in targetFocus InfoPanel.update(entity) File "res_mods/configs/xvm/py_macro\infoPanel.py", line 76, in update info_panel_data.init(vehicle) File "C:\World_of_Tanks\res_mods\mods/../configs/xvm/py_macro\info_panel_data.py", line 17, in init _typeDescriptor = vehicle.typeDescriptor File "scripts/client/svarog_script/py_component_system.py", line 74, in __getattr__ AttributeError: 'Svarog.ComponentSystem' object has no attribute 'typeDescriptor' -
Thanks a lot.
-
bug in battleloading.xc, overlayed values
OlliN replied to ChuckNorris's topic in XVM: English Support and Discussions
Wrong file, battleLoadingTips.xc is the correct one. -
Can't get the hook working, am I doing something wrong? import BigWorld from gui.scaleform.daapi.view.battle.shared.postmortem_panel import PostmortemPanel from gui.shared.gui_items import Vehicle from helpers import int2roman _VEHICLE_SMALL_ICON_RES_PATH = '../maps/icons/vehicle/small/{0}.png' def new_showOwnDeathInfo(self): print 'Test' if self.__deathAlreadySet: self.as_showDeadReasonS() else: deathInfo = self.getDeathInfo() if deathInfo: reason = self.__makeReasonInfo(deathInfo) killerVehID = deathInfo['killerVehicle'] battleCtx = self.sessionProvider.getCtx() if killerVehID and not battleCtx.isCurrentPlayer(killerVehID) and battleCtx.getArenaDP().getVehicleInfo(killerVehID).vehicleType.compactDescr: showVehicle = True vTypeInfoVO = battleCtx.getArenaDP().getVehicleInfo(killerVehID).vehicleType vehLvl = int2roman(vTypeInfoVO.level) vehImg = _VEHICLE_SMALL_ICON_RES_PATH.format(vTypeInfoVO.iconName) vehClass = Vehicle.getTypeBigIconPath(vTypeInfoVO.classTag, False) vehName = vTypeInfoVO.shortNameWithPrefix else: showVehicle = False vehLvl = vehImg = vehClass = vehName = None self.as_setDeadReasonInfoS(reason, showVehicle, None, vehImg, None, vehName) self.__deathAlreadySet = True else: self.as_setDeadReasonInfoS('', False, None, None, None, None) return PostmortemPanel._PostmortemPanel__showOwnDeathInfo = new_showOwnDeathInfo
-
infoPanel средствами XVM.
OlliN replied to Kotyarko_O's topic in Components of XVM and Addons (py_macro)
Two suggestions: -localize the shell_type text -add a macro for shell travel time to target (usefull for arty sights) And a very minor issue: plural of macro is macros, not macroses. -
"IS-6 B" v.battletiermax might be wrong.
OlliN replied to Rhopegorn's topic in XVM: English Support and Discussions
Battle tier, not tank tier. http://wiki.wargaming.net/en/Matchmaker_(WoT) -
damageLog средствами XVM.
OlliN replied to ktulho's topic in Components of XVM and Addons (py_macro)
// Insert order: begin - insert new values to begin, end - add to end. // Сортировка попаданий: begin - новые значения добавляются сверху, end - снизу. "insertOrder": "begin", Any plans adding an "insertOrder" option to the damage log (like in the hit log)? -
@xvm.export('xvm.anglesAiming_xRight', deterministic=False) def xvm_anglesAiming_xRight(): return dataHor[1] if dataHor is not None else BigWorld.screenWidth() @xvm.export('xvm.anglesAiming_y', deterministic=False) def xvm_anglesAiming_xRight(): return dataHor[2] if dataHor is not None else - BigWorld.screenHeight() * 0.0775 Is the second "xvm_anglesAiming_xRight()" definition name correct?
-
Made a mistake. All okay now.
-
20161229_2124_ussr-R104_Object_430_II_13_erlenberg.wotreplay 20161229_2012_sweden-S20_Ikv_72_11_murovanka.wotreplay
-
Okay, with the new version the bound errors are gone end the log is error free, but I don't see any markers.
-
damageLog средствами XVM.
OlliN replied to ktulho's topic in Components of XVM and Addons (py_macro)
Is it possible that the ratings and their color addition broke in this https://bitbucket.org/XVM/xvm/commits/370387d4339252667831e85760a9d1f20df23821commit? The following code did work till build 6965: "formatHistory": "<textformat tabstops='[20,90,126]'><font color='{{c:team-dmg}}'>{{number%2d~.}}</font><tab><font color='{{c:dmg-kind}}'>{{dmg-kind}} {{costShell}}<tab>{{dmg?-{{dmg}}|---}}{{critical-hit}}{{splash-hit}}</font><tab><img src='xvm://res/icons/contour/{{vehiclename}}.png' width='53' height='16' align='baseline' vspace='-2'><font color='{{c:vtype}}'>{{vehicle%.13s~...}}</font> <font alpha='#A0' color='{{c:wn8}}'>({{name%.15s~...}})</font></textformat>" -
Small problem: 2016-12-25 19:14:50.030: INFO: 2016-12-25 19:14:50: [ERROR] ./res_mods/mods//xfw/python\xfw\events.pyc 2016-12-25 19:14:50.030: ERROR: Traceback (most recent call last): 2016-12-25 19:14:50.030: ERROR: File "./res_mods/mods//xfw/python\xfw\events.py", line 55, in __event_handler 2016-12-25 19:14:50.031: ERROR: e.fire(*a, **k) 2016-12-25 19:14:50.031: ERROR: File "./res_mods/mods//xfw/python\xfw\events.py", line 24, in fire 2016-12-25 19:14:50.031: ERROR: handler(*args, **keywargs) 2016-12-25 19:14:50.031: ERROR: File "res_mods/configs/xvm/py_macro\anglesAiming.py", line 85, in set_gunAnglesPacked 2016-12-25 19:14:50.031: ERROR: pitch = minBound + t * (maxBound - minBound) 2016-12-25 19:14:50.031: ERROR: NameError: global name 'minBound' is not defined